35.9k views
4 votes
If the student is a domain/inout and the hair color is the range/output how is these two set of relation not a function?

User Deeps
by
5.3k points

1 Answer

2 votes

Answer:

A function is a relation that maps inputs from a set called the domain, into outputs from a set called the range.

Such that each input can be mapped into only one output.

So for example, if we have a relation that maps the input 2 into two different values:

f(2) = 4

f(2) = 8

Then this is not a function.

In the case of the problem, we have a student as the input, and the hair color as the output.

So we will have something like:

f(student) = blond

And if this student decides to change his/her hair color to red?

Then the function becomes:

f(student) = red

So for the same input, we had two different outputs, which means that this is not a function.

We also could have the case where a given student has two colors (Californian for example)

Where again, we would see two different outputs for one single input.

User Pieter Ennes
by
5.1k points