Solved Exercises on One-to-One Functions and the Horizontal Line Test in Algebra 2

Master one-to-one functions and the horizontal line test: linear, quadratic, rational, radical, and exponential functions through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Linear Function
Exercise 1
Determine whether the function \(f(x) = 3x - 7\) is one-to-one. Use the horizontal line test and explain your reasoning algebraically.
Definition:

One-to-one function: A function where each output value corresponds to exactly one input value. No two distinct inputs produce the same output.

Horizontal line test: A function is one-to-one if and only if every horizontal line intersects the graph at most once.

Methods to determine if a function is one-to-one:
  1. Horizontal line test: Graph the function and check if any horizontal line intersects the graph more than once
  2. Algebraic method: Show that if \(f(a) = f(b)\), then \(a = b\)
  3. Monotonicity: Show the function is strictly increasing or decreasing
Function
\(f(x) = 3x - 7\)
Result
One-to-one
Step 1: Apply algebraic method

Assume \(f(a) = f(b)\)

\(3a - 7 = 3b - 7\)

Step 2: Solve for a and b

\(3a - 7 = 3b - 7\)

\(3a = 3b\)

\(a = b\)

Step 3: Apply horizontal line test

Graph: f(x) = 3x - 7 is a straight line with slope 3

Any horizontal line y = k intersects the graph at exactly one point

Step 4: Check monotonicity

Slope = 3 > 0, so f(x) is strictly increasing

Strictly increasing functions are one-to-one

Step 5: Conclusion

Since f(a) = f(b) implies a = b, the function is one-to-one

The function f(x) = 3x - 7 is one-to-one
Final answer:

Yes, \(f(x) = 3x - 7\) is one-to-one because:

1) The algebraic method shows that \(f(a) = f(b)\) implies \(a = b\)

2) The horizontal line test confirms each horizontal line intersects the graph at most once

3) The function is strictly increasing (slope > 0)

Applied rules:

• Definition: A function is one-to-one if distinct inputs produce distinct outputs

• Algebraic method: If f(a) = f(b) implies a = b, then f is one-to-one

• Monotonicity: Strictly increasing/decreasing functions are one-to-one

Tip: Linear functions with non-zero slope are always one-to-one.
Mistake: Don't assume all functions are one-to-one without verification.
2 Quadratic Function
Exercise 2
Determine whether the function \(f(x) = x^2 + 4\) is one-to-one. Use the horizontal line test and explain why this function is not one-to-one.
Definition:

Quadratic function: A function of the form \(f(x) = ax^2 + bx + c\) where \(a \neq 0\)

Parabola: The U-shaped graph of a quadratic function

Function
\(f(x) = x^2 + 4\)
Result
Not one-to-one
Step 1: Apply algebraic method

Assume \(f(a) = f(b)\)

\(a^2 + 4 = b^2 + 4\)

\(a^2 = b^2\)

\(a = \pm b\)

Step 2: Analyze the result

Since \(a = \pm b\), we have \(a = b\) or \(a = -b\)

This means different inputs can produce the same output

Example: \(f(2) = 4 + 4 = 8\) and \(f(-2) = 4 + 4 = 8\)

Step 3: Apply horizontal line test

Graph: f(x) = x² + 4 is a parabola opening upward with vertex at (0, 4)

Horizontal line y = 8 intersects the graph at two points: (-2, 8) and (2, 8)

Step 4: Check monotonicity

The function decreases for x < 0 and increases for x > 0

It is not strictly monotonic over its entire domain

Step 5: Conclusion

Since there exist distinct values a and b such that f(a) = f(b), the function is not one-to-one

The function f(x) = x² + 4 is not one-to-one
Final answer:

No, \(f(x) = x^2 + 4\) is not one-to-one because:

1) The algebraic method shows that \(f(a) = f(b)\) does not imply \(a = b\)

2) The horizontal line test fails: y = 8 intersects the graph at (-2, 8) and (2, 8)

3) The function has a parabolic shape, which is symmetric about the y-axis

Applied rules:

• Quadratic functions: Generally not one-to-one over their entire domain

• Horizontal line test: If any horizontal line intersects the graph more than once, the function is not one-to-one

• Even functions: Functions where f(-x) = f(x) are never one-to-one (except trivial cases)

Tip: Quadratic functions are not one-to-one over their entire domain unless restricted.
Mistake: Don't forget that parabolas fail the horizontal line test.
3 Rational Function
Exercise 3
Determine whether the function \(f(x) = \frac{2x + 1}{x - 3}\) is one-to-one. Use both the horizontal line test and algebraic method.
Definition:

Rational function: A function that is the ratio of two polynomials

Vertical asymptote: A vertical line that the graph approaches but never touches

Function
\(f(x) = \frac{2x + 1}{x - 3}\)
Result
One-to-one
Step 1: Apply algebraic method

Assume \(f(a) = f(b)\)

\(\frac{2a + 1}{a - 3} = \frac{2b + 1}{b - 3}\)

Step 2: Cross multiply

\((2a + 1)(b - 3) = (2b + 1)(a - 3)\)

\(2ab - 6a + b - 3 = 2ab - 6b + a - 3\)

Step 3: Simplify

\(2ab - 6a + b - 3 = 2ab - 6b + a - 3\)

\(-6a + b = -6b + a\)

\(-6a - a = -6b - b\)

\(-7a = -7b\)

\(a = b\)

Step 4: Apply horizontal line test

Graph: f(x) has vertical asymptote at x = 3 and horizontal asymptote at y = 2

The function is strictly monotonic (decreasing) on each piece of its domain

Step 5: Verify monotonicity

For x ≠ 3, the function is either increasing or decreasing on each interval

Since f'(x) = -7/(x-3)² < 0 for all x ≠ 3, the function is strictly decreasing

The function f(x) = (2x+1)/(x-3) is one-to-one
Final answer:

Yes, \(f(x) = \frac{2x + 1}{x - 3}\) is one-to-one because:

1) The algebraic method shows that \(f(a) = f(b)\) implies \(a = b\)

2) The horizontal line test confirms each horizontal line intersects the graph at most once

3) The function is strictly decreasing on each piece of its domain

Applied rules:

• Rational functions: Can be one-to-one if they pass the horizontal line test

• Algebraic method: Cross multiply to solve f(a) = f(b)

• Monotonicity: Strictly monotonic functions are one-to-one

Tip: Rational functions can be one-to-one if they are strictly monotonic.
Mistake: Don't forget to consider the domain restrictions of rational functions.
One-to-One Functions: Complete Guide
f(a) = f(b) \Rightarrow a = b
Algebraic Definition
\text{Horizontal line intersects graph at most once}
Horizontal Line Test
Key definitions:

One-to-one function (injective): A function where each output value corresponds to exactly one input value. If \(f(a) = f(b)\), then \(a = b\).

Horizontal line test: A graphical method to determine if a function is one-to-one. If every horizontal line intersects the graph at most once, the function is one-to-one.

Invertible function: A function that has an inverse. A function has an inverse if and only if it is one-to-one.

Monotonic function: A function that is either entirely non-increasing or non-decreasing. Strictly monotonic functions are one-to-one.

Methods to determine if a function is one-to-one:
  1. Horizontal line test: Graph the function and verify that no horizontal line intersects the graph more than once
  2. Algebraic method: Assume \(f(a) = f(b)\) and show this implies \(a = b\)
  3. Monotonicity test: Show the function is strictly increasing or decreasing
  4. Contrapositive method: Show that if \(a \neq b\), then \(f(a) \neq f(b)\)
Key properties: One-to-one functions have inverses, pass the horizontal line test, and each output corresponds to exactly one input.
Function types: Linear functions (non-zero slope) are one-to-one, quadratic functions are not (without domain restriction), exponential functions are one-to-one.
Essential rules for one-to-one functions:

• Definition: A function is one-to-one if distinct inputs produce distinct outputs

• Horizontal line test: Passes if every horizontal line intersects the graph at most once

• Algebraic condition: If f(a) = f(b), then a = b

• Inverse existence: A function has an inverse if and only if it is one-to-one

• Monotonicity: Strictly increasing or decreasing functions are one-to-one

Tip 1: The easiest way to show a function is not one-to-one is to find two distinct inputs with the same output.
Tip 2: Linear functions with non-zero slope are always one-to-one.
Tip 3: Odd-degree polynomials are generally one-to-one (but not always).
Tip 4: Even functions (f(-x) = f(x)) are never one-to-one unless defined on a restricted domain.
Linear Function
\(f(x) = ax + b\) (a ≠ 0) → One-to-one
Always one-to-one
Quadratic Function
\(f(x) = ax^2 + bx + c\) → Not one-to-one
Unless domain is restricted
Exponential Function
\(f(x) = a^x\) (a > 0, a ≠ 1) → One-to-one
Always one-to-one
Solution: Exercises 4 to 5
4 Radical Function
Exercise 4
Determine whether the function \(f(x) = \sqrt{x + 5}\) is one-to-one. Explain why the domain restriction is necessary and use the horizontal line test.
Definition:

Radical function: A function containing a radical expression, typically a square root

Principal square root: The non-negative square root of a number

Function
\(f(x) = \sqrt{x + 5}\)
Result
One-to-one
Step 1: Determine the domain

For the square root to be defined: \(x + 5 \geq 0\)

Domain: \(x \geq -5\)

Step 2: Apply algebraic method

Assume \(f(a) = f(b)\) where \(a, b \geq -5\)

\(\sqrt{a + 5} = \sqrt{b + 5}\)

Step 3: Square both sides

\((\sqrt{a + 5})^2 = (\sqrt{b + 5})^2\)

\(a + 5 = b + 5\)

\(a = b\)

Step 4: Apply horizontal line test

Graph: f(x) = √(x+5) is the right half of a sideways parabola

Any horizontal line y = k (where k ≥ 0) intersects the graph at most once

Step 5: Check monotonicity

The function is strictly increasing on its domain \([-5, ∞)\)

As x increases, √(x+5) increases

The function f(x) = √(x+5) is one-to-one on domain [-5,∞)
Final answer:

Yes, \(f(x) = \sqrt{x + 5}\) is one-to-one because:

1) The domain is restricted to \([-5, \infty)\) making it a function

2) The algebraic method shows that \(f(a) = f(b)\) implies \(a = b\)

3) The horizontal line test confirms each horizontal line intersects the graph at most once

Applied rules:

• Domain restriction: Necessary for radical functions to be functions

• Principal square root: Ensures function property

• Strictly increasing: Functions that are strictly increasing are one-to-one

Tip: Radical functions with even roots are one-to-one when properly restricted.
Mistake: Don't forget that radical functions require domain restrictions.
5 Exponential Function
Exercise 5
Determine whether the function \(f(x) = 2^x\) is one-to-one. Use both algebraic and graphical methods, and explain why exponential functions are always one-to-one.
Definition:

Exponential function: A function of the form \(f(x) = a^x\) where \(a > 0\) and \(a \neq 1\)

Base property: The base determines if the function is increasing (a > 1) or decreasing (0 < a < 1)

Function
\(f(x) = 2^x\)
Result
One-to-one
Step 1: Apply algebraic method

Assume \(f(a) = f(b)\)

\(2^a = 2^b\)

Step 2: Take logarithm of both sides

\(\log(2^a) = \log(2^b)\)

\(a \log(2) = b \log(2)\)

\(a = b\)

Step 3: Apply horizontal line test

Graph: f(x) = 2ˣ is an exponential curve that increases rapidly

Any horizontal line y = k (where k > 0) intersects the graph at exactly one point

Step 4: Check monotonicity

Since the base 2 > 1, the function is strictly increasing

For exponential functions with base > 1: if a < b, then aˣ < bˣ

Step 5: General property of exponential functions

For any exponential function f(x) = aˣ where a > 0, a ≠ 1:

- If a > 1, function is strictly increasing

- If 0 < a < 1, function is strictly decreasing

- Both cases result in one-to-one functions

The function f(x) = 2ˣ is one-to-one (strictly increasing)
Final answer:

Yes, \(f(x) = 2^x\) is one-to-one because:

1) The algebraic method shows that \(2^a = 2^b\) implies \(a = b\)

2) The horizontal line test confirms each horizontal line intersects the graph at most once

3) The function is strictly increasing (base > 1)

4) All exponential functions with base ≠ 1 are one-to-one

Applied rules:

• Exponential property: If aˣ = aʸ and a > 0, a ≠ 1, then x = y

• Monotonicity: Exponential functions are strictly monotonic

• One-to-one guarantee: Strictly monotonic functions are always one-to-one

Tip: Exponential functions are always one-to-one regardless of the base (≠ 1).
Mistake: Don't forget that exponential functions with 0 < a < 1 are decreasing but still one-to-one.
Advanced Properties of One-to-One Functions
f(a) = f(b) \Leftrightarrow a = b
Biconditional Definition
Comprehensive definitions:

One-to-one function (injective): A function \(f: A \to B\) is injective if for every \(a_1, a_2 \in A\), \(f(a_1) = f(a_2)\) implies \(a_1 = a_2\).

Horizontal line test: A function is one-to-one if and only if every horizontal line intersects its graph at most once.

Strictly monotonic: A function is strictly increasing if \(x_1 < x_2\) implies \(f(x_1) < f(x_2)\), and strictly decreasing if \(x_1 < x_2\) implies \(f(x_1) > f(x_2)\).

Invertible function: A function has an inverse if and only if it is one-to-one.

Complete methodology for determining one-to-one property:
  1. Identify the function type: Determine if it's linear, quadratic, rational, etc.
  2. Check domain restrictions: Consider any limitations on the function's domain
  3. Apply algebraic method: Assume f(a) = f(b) and prove a = b
  4. Use graphical method: Apply the horizontal line test
  5. Check monotonicity: Determine if the function is strictly increasing or decreasing
  6. Consider special properties: Apply known properties of specific function types
Tip 1: The horizontal line test is the most intuitive method for visual learners.
Tip 2: For proving a function is NOT one-to-one, find just one counterexample.
Tip 3: Strictly monotonic functions (increasing or decreasing) are always one-to-one.
Tip 4: Remember that odd functions can be one-to-one, but even functions cannot (unless restricted).
Tip 5: If a function is not one-to-one over its entire domain, it may be one-to-one on a restricted domain.
Common applications: Function inversion, solving equations, cryptography, data encoding, and scientific modeling.
Common errors: Assuming all functions are one-to-one, forgetting domain restrictions, misapplying the horizontal line test.
Advanced rules for one-to-one functions:

• Composition property: The composition of two one-to-one functions is one-to-one

• Inverse existence: A function has an inverse if and only if it is one-to-one

• Graph symmetry: The graph of a function and its inverse are symmetric about y = x

• Derivative test: If f'(x) > 0 or f'(x) < 0 for all x in the domain, f is one-to-one

• Odd vs. Even: Odd functions may be one-to-one; even functions are never one-to-one (except trivial cases)

Linear Function
\(f(x) = ax + b\) (a ≠ 0) → Always one-to-one
Non-zero slope guarantees one-to-one
Exponential Function
\(f(x) = a^x\) (a > 0, a ≠ 1) → Always one-to-one
Strictly monotonic
Logarithmic Function
\(f(x) = \log_a(x)\) (a > 0, a ≠ 1) → Always one-to-one
Inverse of exponential function
Memorization aids: "One-to-one" means each output comes from exactly one input; think of a locker assignment where each person gets exactly one locker.
Visualization technique: Imagine pulling horizontal strings across the graph - if any string touches more than one point, it's not one-to-one.

Questions & Answers

Question: I understand that linear functions with non-zero slope are one-to-one, but what about constant functions? Are they one-to-one?

Answer: Great question! Constant functions are never one-to-one. Here's why:

Definition of constant function:

  • A constant function has the form f(x) = c, where c is a constant
  • No matter what input x you provide, the output is always c

Violation of one-to-one property:

  • Take any two different inputs, say x₁ = 1 and x₂ = 2
  • f(x₁) = c and f(x₂) = c
  • So f(x₁) = f(x₂) even though x₁ ≠ x₂
  • This violates the definition of one-to-one

Horizontal line test: The graph of f(x) = c is a horizontal line. Any horizontal line y = c intersects the graph infinitely many times, failing the horizontal line test.

Constant functions are the extreme opposite of one-to-one functions!

Question: Can a function be one-to-one if it has a restricted domain? For example, is f(x) = x² one-to-one if we only consider x ≥ 0?

Answer: Yes! This is a crucial insight. Let's analyze f(x) = x² with domain x ≥ 0:

Algebraic verification:

  • Assume f(a) = f(b) where a, b ≥ 0
  • Then a² = b²
  • This gives a = ±b
  • But since a, b ≥ 0, we must have a = b

Horizontal line test:

  • The graph is now only the right half of the parabola
  • Any horizontal line y = k (where k ≥ 0) intersects the graph at most once

Monotonicity:

  • On [0, ∞), f(x) = x² is strictly increasing
  • Strictly increasing functions are one-to-one

Yes, f(x) = x² is one-to-one when restricted to x ≥ 0. This is why we can define the square root function as its inverse!

Question: I've heard that derivatives can help determine if a function is one-to-one. How does this work?

Answer: Yes, the derivative test is very useful! Here's how it works:

Derivative test for one-to-one:

  • If f'(x) > 0 for all x in the domain, then f is strictly increasing and thus one-to-one
  • If f'(x) < 0 for all x in the domain, then f is strictly decreasing and thus one-to-one
  • If f'(x) changes sign, then f has local extrema and is not one-to-one

Examples:

  • f(x) = 2x + 3 → f'(x) = 2 > 0, so it's one-to-one
  • f(x) = x² → f'(x) = 2x, which changes sign at x = 0, so not one-to-one
  • f(x) = eˣ → f'(x) = eˣ > 0 for all x, so it's one-to-one

Important note: If f'(x) = 0 at isolated points but doesn't change sign, the function can still be one-to-one. The key is that f'(x) should not change sign!