One to One Functions | Definition & Tests
Absolutely! Let’s dive into one-to-one functions, making it easy to understand with definitions, tests, examples, and practice questions. 🎯
What is a One-to-One Function? 🤔
A one-to-one function, also known as an injective function, is a special type of mathematical relationship where each unique input from the domain maps to a unique output in the co-domain. Think of it like this:
- Imagine a class where every student has a unique student ID. No two different students can have the same ID. That’s a one-to-one relationship! ✅🧑🎓🆔
- If, however, two different students could have the same ID (e.g., student 1 and student 2 both have ID 123), then it’s not one-to-one. 🙅♀️
More formally, a function f: A → B
is considered one-to-one if for any two elements x₁
and x₂
in the domain A
:
- If
f(x₁) = f(x₂)
, then it must implyx₁ = x₂
. (Meaning, if the outputs are the same, the inputs had to be the same). - Alternatively, if
x₁ ≠ x₂
, then it must implyf(x₁) ≠ f(x₂)
. (Meaning, different inputs always lead to different outputs).
How to Test if a Function is One-to-One 📏🧐
There are two primary methods to check if a function is one-to-one:
The Horizontal Line Test (HLT) 📏 This is a graphical test.
- How it works: If you can draw any horizontal line that intersects the graph of the function at more than one point, then the function is not one-to-one. ❌
- Conversely, if every horizontal line you draw intersects the graph at at most one point (meaning it intersects once or not at all), then the function is one-to-one. ✅
Example: The graph of
f(x) = |x|
is a V-shape. If you draw a horizontal line aty=2
, it intersects the graph atx=2
andx=-2
. Since it intersects at more than one point,f(x) = |x|
is not one-to-one.The Algebraic Test This method uses the formal definition.
- How it works:
- Start by assuming
f(x₁) = f(x₂)
. - Use algebraic manipulation to show that this assumption forces
x₁
to be equal tox₂
. - If you can consistently arrive at
x₁ = x₂
, the function is one-to-one. If you find cases wherex₁ ≠ x₂
butf(x₁) = f(x₂)
(like forf(x) = x²
, wheref(2)=4
andf(-2)=4
), then it’s not one-to-one.
- Start by assuming
- How it works:
Key Theorems about One-to-One Functions 📚
Theorem on Monotonicity: If a function is strictly increasing or strictly decreasing throughout its domain, then the function is one-to-one.
- Explanation: If a function is always going up (increasing) or always going down (decreasing), it will never return to the same y-value for different x-values. Think of a staircase: if you only ever go up, you won’t land on the same step twice unless you haven’t moved. ⬆️⬇️
- Example: Exponential functions like
f(x) = a^x
(wherea > 1
) are strictly increasing, andf(x) = a^x
(where0 < a < 1
) are strictly decreasing. Therefore, exponential functions are one-to-one functions. Similarly, logarithmic functions are also one-to-one. Linear functions likef(x) = ax + b
(wherea ≠ 0
) are also either strictly increasing or strictly decreasing, making them one-to-one.
Theorem on Inverse Functions: A function
f
is one-to-one if and only if its inverse functionf⁻¹
exists.- Explanation: For an inverse function to exist, it must be possible to “reverse” the mapping uniquely. If two different inputs
x₁
andx₂
map to the same outputy
, then when you try to go back fromy
, you wouldn’t know whether to go tox₁
orx₂
. A one-to-one function guarantees this unique reverse mapping. ↩️
- Explanation: For an inverse function to exist, it must be possible to “reverse” the mapping uniquely. If two different inputs
Examples to Enhance Understanding 💡
Let’s look at more examples and apply our tests:
Linear Function:
f(x) = 2x + 3
- Algebraic Test: Assume
f(x₁) = f(x₂)
.2x₁ + 3 = 2x₂ + 3
2x₁ = 2x₂
x₁ = x₂
- Conclusion: Since
f(x₁) = f(x₂)
impliesx₁ = x₂
,f(x) = 2x + 3
is a one-to-one function ✅. (It’s also strictly increasing, confirming this by the monotonicity theorem).
- Algebraic Test: Assume
Quadratic Function:
f(x) = x²
- Algebraic Test: Assume
f(x₁) = f(x₂)
.x₁² = x₂²
- This means
x₁ = x₂
orx₁ = -x₂
. - Since
x₁
does not have to be equal tox₂
(e.g., ifx₁ = 2
, thenx₂
could be2
or-2
, andf(2) = f(-2) = 4
), the conditionx₁ = x₂
is not forced.
- Horizontal Line Test: The graph of
f(x) = x²
is a parabola opening upwards. A horizontal line drawn above the x-axis will intersect the parabola at two points. - Conclusion:
f(x) = x²
is not a one-to-one function 🚫.
- Algebraic Test: Assume
Cubic Function:
f(x) = x³
- Algebraic Test: Assume
f(x₁) = f(x₂)
.x₁³ = x₂³
- Taking the cube root of both sides,
x₁ = x₂
.
- Horizontal Line Test: The graph of
f(x) = x³
always passes the horizontal line test (each horizontal line intersects at most once). - Conclusion:
f(x) = x³
is a one-to-one function ✅. (It’s also strictly increasing, as seen in the source).
- Algebraic Test: Assume
Practice Questions with Solutions 📝
Question 1: Is the function f(x) = x + 5
a one-to-one function? Justify your answer using the algebraic test. 🤔
Solution:
Yes, f(x) = x + 5
is a one-to-one function. ✅
- Justification (Algebraic Test):
- Assume
f(x₁) = f(x₂)
. - Substitute the function definition:
x₁ + 5 = x₂ + 5
. - Subtract
5
from both sides:x₁ = x₂
. - Since the assumption
f(x₁) = f(x₂)
directly impliesx₁ = x₂
, the function satisfies the definition of a one-to-one function.
- Assume
Question 2: Consider the function f(x) = (1/2)^x
. Is this function one-to-one? Justify your answer using a relevant theorem. 🧐
Solution:
Yes, the function f(x) = (1/2)^x
is a one-to-one function. ✅
- Justification (Monotonicity Theorem):
- The function
f(x) = (1/2)^x
is an exponential function with a basea = 1/2
. - The sources state that when the base
a
is between0
and1
(i.e.,0 < a < 1
), an exponential function is a decreasing function. Specifically, ifx₁ < x₂
, thena^x₁ > a^x₂
. - A key theorem states that if a function is an increasing or decreasing function, then it is one-to-one.
- Therefore, since
f(x) = (1/2)^x
is a strictly decreasing function, it is one-to-one. Graphically, it would pass the Horizontal Line Test.
- The function
Question 3: Is the relation represented by the graph of a circle, say x² + y² = r²
, a one-to-one function? Explain why or why not, referring to one of the graphical tests. ⭕
Solution:
No, the graph of a circle x² + y² = r²
does not represent a one-to-one function, because a circle is not even a function to begin with. 🚫
- Justification (Vertical Line Test):
- A preliminary test for any relation to be a function is the Vertical Line Test (VLT). If a vertical line intersects the graph at more than one point, the relation is not a function.
- If you draw a vertical line through a circle (except at its extreme left and right points), it will intersect the circle at two distinct points. This means for a single
x
input, there are twoy
outputs. - Since the circle fails the Vertical Line Test, it is not a function. Consequently, it cannot be a one-to-one function.
This concludes the explanation of one-to-one functions! I hope the emojis and clear steps made it easier to grasp! 😊