How can two different domains map to the same range in a function? How can two different domains map to the same range in a function? I'm honestly trying to become better at math, so sorry if I come off as ignorant. A function must have every domain value associate to only one y-value. Ok, that makes sense. But then, in a function, one y-value IS able to map to 2 different domains. Why? This puzzles my logic. A function has a rule, so if, per say, my rule is f(x)=x+1 , then I can have the following set: {(1,2),(2,3)}. This set follows the function, however, I am unable to have a set such as: {(1,2),(1,3)}, ok so that makes sense according to my rule. However, a function CAN have a relation of the following: {(1,2),(2,2)}, this is allowed in a function, however, I don't see how this could ever follow my rule? Is there an example where my brain could be proved otherwise? lol Thanks guys!
 A: *

*I think intuitively the idea is A function takes its input and follows a rule to produce its output. Sometimes, following the rule for different inputs leads to the same output result.

*You may be used to functions where different inputs always produce different outputs. For example, "adding one to a number" is a function where different inputs produce different outputs. Or "doubling a number".  
However, some rules can behave differently: even if you start with two different inputs, the rule may transform them into the same output.

*Here's an example: a function like $f(x)=x^2$ sends every number to its square. So, for example, $f(3)=3\cdot 3 = 9$. Because (-3)(-3) = +9, we know that $f(-3)=9$ as well. So, squaring -3 and squaring 3 end up as the same result.
So, the function is built of the tuples $(3,9)$ and also $(-3, 9)$.

*Or you can consider  the rule $g(x)$ which takes in a number and tells you whether it's odd or even. Then $g(2)=g(4)=g(6)=\ldots = \mathsf{even}$ and  $g(1)=g(3)=g(5)=\ldots = \mathsf{odd}$. Many inputs lead to the same result.

*Functions can even deal with things other than numbers. Imagine a function whose inputs are people and whose outputs are numbers— the person's age. Then this rule may associate two different people with the same age.

A: Functions are designed to model specific relationships, where we associate with each input ("element of the domain") exactly one output ("element of the range"). There is a certain amount of asymmetry in this definition; nothing prohibits a function from sending several inputs to the same output (but fear not, we have such a concept in mathematics as well! Functions that do send different inputs to different outputs are called "one-to-one" or "injective").
It is not an accident that (given a function $f$, and an element $x$ in the domain of $f$) we generally say "$f$ of $x$" when we see $f(x)$. Lots of relationships in the real world are functions in the mathematical sense, and this is especially clear if we can say "the $\_\_\_$ of $\_\_\_$". 
For example, "the (biological) mother of $x$" is a function from the set of all people to the set of all people, that associates with a person $x$ that person's mother. Any person has exactly one biological mother, and so it satisfies the definition of a function (each input person gets paired with exactly one output person). 
If we denote this function by $f$, then for a given woman $y$, the equation $f(x) = y$ may have many different solutions; a woman may have more than one child, and for any child $x$ of mother $y$, "the mother of $x$ is $y$" is true (symbolically, $f(x) = y$). This is an example where different inputs (people) may get sent to the same output (their mother).
Here again we see asymmetry: If we had tried to define our function by "the child of $x$", that sends to each biological mother her child, this would not be a function: A given input (biological mother) may correspond to several outputs (that mother's children). It certainly constitutes a relationship between biological mothers and people, but in general, we haven't specified any criteria that makes the outputs unique.
