Solved Exercises on Restricting Domains for Inverses in Precalculus

Master restricting domains for inverse functions: horizontal line test, one-to-one functions, domain restrictions, and inverse relationships through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Horizontal line test
Exercise 1
Determine if the function \(f(x) = x^2\) has an inverse by applying the horizontal line test. If not, restrict the domain to make it one-to-one.
Definition:

Horizontal Line Test: A function has an inverse if and only if every horizontal line intersects its graph at most once.

One-to-One Function: A function where each output corresponds to exactly one input.

Domain restriction method:
  1. Apply the horizontal line test to determine if the function is one-to-one
  2. If not one-to-one, identify intervals where the function is strictly increasing or decreasing
  3. Restrict the domain to one of these intervals
  4. Verify the restricted function is one-to-one
Original Function
\(f(x) = x^2\)
Test Result
Not one-to-one
Restricted Domain
\(x \geq 0\)
Step 1: Analyze the function

\(f(x) = x^2\) is a parabola opening upward with vertex at (0,0)

Horizontal lines at y > 0 intersect the graph twice

Step 2: Apply horizontal line test

For example, y = 4 intersects at x = 2 and x = -2

This violates the one-to-one condition

Step 3: Identify monotonic intervals

\(f(x) = x^2\) is decreasing on \((-\infty, 0]\) and increasing on \([0, \infty)\)

Restrict to either interval to ensure one-to-one

Step 4: Choose restriction

Common choice: restrict to \([0, \infty)\)

\(f(x) = x^2\) with \(x \geq 0\) is now one-to-one

Step 5: Verify the inverse exists

On \([0, \infty)\), each y-value ≥ 0 corresponds to exactly one x-value

The inverse is \(f^{-1}(x) = \sqrt{x}\)

\(f(x) = x^2\) with domain \([0, \infty)\) has inverse \(f^{-1}(x) = \sqrt{x}\)
Final answer:

The function \(f(x) = x^2\) does not have an inverse on its natural domain because it fails the horizontal line test. By restricting the domain to \([0, \infty)\), the function becomes one-to-one and has the inverse \(f^{-1}(x) = \sqrt{x}\).

Applied rules:

• Horizontal Line Test: Check for one-to-one correspondence

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

• Domain Restriction: Limit to intervals where function is monotonic

2 Finding restricted domain
Exercise 2
For the function \(f(x) = x^2 - 4x + 3\), find the largest possible domain containing \(x = 2\) such that \(f\) has an inverse.
Definition:

Vertex Form: For quadratic functions, converting to vertex form reveals the axis of symmetry.

Axis of Symmetry: Vertical line passing through the vertex, where function changes direction.

Original Function
\(f(x) = x^2 - 4x + 3\)
Vertex Form
\(f(x) = (x-2)^2 - 1\)
Restricted Domain
\([2, \infty)\)
Step 1: Complete the square to find vertex

\(f(x) = x^2 - 4x + 3\)

\(f(x) = x^2 - 4x + 4 - 4 + 3\)

\(f(x) = (x-2)^2 - 1\)

Step 2: Identify vertex and axis of symmetry

Vertex is at (2, -1)

Axis of symmetry is \(x = 2\)

Step 3: Determine monotonic intervals

Since coefficient of \(x^2\) is positive, parabola opens upward

Function decreases on \((-\infty, 2]\) and increases on \([2, \infty)\)

Step 4: Select interval containing x = 2

We need largest interval containing x = 2 where f is one-to-one

Options: \((-\infty, 2]\) or \([2, \infty)\)

Since we want the largest possible domain, we can choose either

Step 5: Verify the choice

Choosing \([2, \infty)\): function is strictly increasing

Each y-value ≥ -1 corresponds to exactly one x-value ≥ 2

\(f(x) = x^2 - 4x + 3\) with domain \([2, \infty)\) has an inverse
Final answer:

The largest possible domain containing \(x = 2\) such that \(f(x) = x^2 - 4x + 3\) has an inverse is \([2, \infty)\). On this domain, the function is strictly increasing and therefore one-to-one.

Applied rules:

• Completing the Square: Convert to vertex form to find axis of symmetry

• Monotonic Intervals: Quadratic functions are one-to-one on each side of their axis

• Domain Selection: Choose largest interval containing required point

3 Trigonometric domain restriction
Exercise 3
Explain why the function \(f(x) = \sin(x)\) must be restricted to \(\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]\) to have an inverse, and identify the inverse function.
Definition:

Periodic Function: A function that repeats its values at regular intervals.

Principal Domain: The standard restricted domain for inverse trigonometric functions.

Original Function
\(f(x) = \sin(x)\)
Principal Domain
\(\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]\)
Inverse Function
\(\arcsin(x)\)
Step 1: Analyze the sine function

\(\sin(x)\) is periodic with period \(2\pi\)

It oscillates between -1 and 1 infinitely many times

Step 2: Apply horizontal line test

Any horizontal line y = c (where -1 ≤ c ≤ 1) intersects the graph infinitely many times

Therefore, \(\sin(x)\) is not one-to-one on its natural domain

Step 3: Identify the principal domain

Need an interval where \(\sin(x)\) is strictly monotonic

\(\sin(x)\) is increasing on \(\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]\)

Step 4: Verify the restriction works

On \(\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]\), \(\sin(x)\) is strictly increasing

Range is \([-1, 1]\) and each output corresponds to exactly one input

Step 5: Identify the inverse

The inverse function is \(\arcsin(x)\) or \(\sin^{-1}(x)\)

Domain of \(\arcsin(x)\) is \([-1, 1]\) and range is \(\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]\)

\(f(x) = \sin(x)\) with domain \(\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]\) has inverse \(f^{-1}(x) = \arcsin(x)\)
Final answer:

The function \(f(x) = \sin(x)\) must be restricted to \(\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]\) because sine is not one-to-one on its natural domain due to periodicity. On this interval, sine is strictly increasing and achieves all values in \([-1, 1]\). The inverse function is \(f^{-1}(x) = \arcsin(x)\).

Applied rules:

• Periodicity: Periodic functions fail horizontal line test

• Principal Domains: Standard intervals for inverse trig functions

• Monotonicity: Required for one-to-one correspondence

Key Concepts: Domain Restrictions for Inverses
\(f \text{ one-to-one} \iff f(x_1) = f(x_2) \Rightarrow x_1 = x_2\)
One-to-One Condition
Horizontal Line Test
Every horizontal line intersects the graph at most once
Verifies one-to-one property
Domain Restriction
Limit to intervals where function is strictly monotonic
Ensures one-to-one correspondence
Inverse Relationship
If \(y = f(x)\), then \(x = f^{-1}(y)\)
Domain and range swap for inverse
Key definitions:

One-to-One Function: Each output corresponds to exactly one input

Inverse Function: Reverses the action of the original function

Horizontal Line Test: Criterion for determining if a function has an inverse

Domain Restriction Methodology:
  1. Identify the function: Analyze the function's behavior and graph
  2. Apply horizontal line test: Determine if function is one-to-one
  3. Find monotonic intervals: Locate where function is strictly increasing/decreasing
  4. Select appropriate domain: Choose interval that satisfies requirements
  5. Verify the result: Confirm the restricted function is one-to-one
Tip 1: For quadratic functions, restrict to one side of the vertex.
Tip 2: For trigonometric functions, use standard principal domains.
Tip 3: Always verify by checking if the restricted function passes the horizontal line test.
Tip 4: The domain of the inverse function equals the range of the original function.
Common errors: Forgetting to restrict domains for non-injective functions, confusing domain and range of inverse functions.
Exam preparation: Practice with various function types, memorize principal domains for inverse trig functions, master completing the square.
Essential Rules:

• Existence: A function has an inverse if and only if it's one-to-one

• Domain/Range Swap: Domain of \(f\) = Range of \(f^{-1}\), Range of \(f\) = Domain of \(f^{-1}\)

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

• Composition Property: \(f(f^{-1}(x)) = x\) and \(f^{-1}(f(x)) = x\)

Solution: Exercises 4 to 5
4 Cubic function restriction
Exercise 4
Consider the function \(f(x) = x^3 - 3x\). Determine if it needs domain restriction for an inverse, and explain your reasoning.
Definition:

Derivative Test: A function is strictly increasing if its derivative is always positive.

Critical Points: Points where the derivative is zero or undefined.

Original Function
\(f(x) = x^3 - 3x\)
Derivative
\(f'(x) = 3x^2 - 3\)
Critical Points
\(x = \pm 1\)
Step 1: Find the derivative

\(f'(x) = 3x^2 - 3 = 3(x^2 - 1) = 3(x-1)(x+1)\)

Step 2: Find critical points

\(f'(x) = 0\) when \(x = 1\) or \(x = -1\)

Step 3: Analyze intervals of increase/decrease

For \(x < -1\): \(f'(x) = 3(x-1)(x+1) > 0\) (positive), so function increases

For \(-1 < x < 1\): \(f'(x) = 3(x-1)(x+1) < 0\) (negative), so function decreases

For \(x > 1\): \(f'(x) = 3(x-1)(x+1) > 0\) (positive), so function increases

Step 4: Apply horizontal line test

Since the function increases, then decreases, then increases, it's not one-to-one on \(\mathbb{R}\)

Horizontal lines near the local maximum and minimum will intersect the graph multiple times

Step 5: Determine necessary restrictions

To have an inverse, we must restrict to intervals where the function is strictly monotonic

Possible choices: \((-\infty, -1]\), \([-1, 1]\), or \([1, \infty)\)

\(f(x) = x^3 - 3x\) requires domain restriction since it's not one-to-one on \(\mathbb{R}\)
Final answer:

The function \(f(x) = x^3 - 3x\) does require domain restriction to have an inverse. It has critical points at \(x = \pm 1\), causing it to increase, decrease, then increase again. Therefore, it fails the horizontal line test on its natural domain. We must restrict to intervals like \((-\infty, -1]\), \([-1, 1]\), or \([1, \infty)\) where the function is strictly monotonic.

Applied rules:

• Derivative Test: Determine intervals of increase/decrease

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

• Horizontal Line Test: Verify one-to-one property

5 Piecewise function inverse
Exercise 5
Let \(f(x) = \begin{cases} x^2 & \text{if } x \geq 0 \\ -x^2 & \text{if } x < 0 \end{cases}\). Show that \(f\) is one-to-one and find its inverse.
Definition:

Piecewise Function: A function defined by different expressions on different intervals.

One-to-One Verification: Show that \(f(x_1) = f(x_2)\) implies \(x_1 = x_2\).

Original Function
\(f(x) = \begin{cases} x^2 & x \geq 0 \\ -x^2 & x < 0 \end{cases}\)
Range Analysis
Outputs \(\geq 0\)
Inverse Function
\(f^{-1}(x) = \begin{cases} \sqrt{x} & x \geq 0 \\ -\sqrt{-x} & x < 0 \end{cases}\)
Step 1: Analyze the piecewise function

For \(x \geq 0\): \(f(x) = x^2 \geq 0\)

For \(x < 0\): \(f(x) = -x^2 < 0\)

Step 2: Verify one-to-one property

Positive inputs produce positive outputs

Negative inputs produce negative outputs

Within each piece, the function is strictly increasing

Step 3: Prove injectivity formally

Case 1: If both \(x_1, x_2 \geq 0\) and \(f(x_1) = f(x_2)\), then \(x_1^2 = x_2^2\), so \(x_1 = x_2 \geq 0\)

Case 2: If both \(x_1, x_2 < 0\) and \(f(x_1) = f(x_2)\), then \(-x_1^2 = -x_2^2\), so \(x_1 = x_2 < 0\)

Case 3: If \(x_1 \geq 0, x_2 < 0\), then \(f(x_1) \geq 0 > f(x_2)\), so they cannot be equal

Step 4: Find the inverse function

If \(y \geq 0\): \(y = x^2\) with \(x \geq 0\), so \(x = \sqrt{y}\)

If \(y < 0\): \(y = -x^2\) with \(x < 0\), so \(x^2 = -y\), giving \(x = -\sqrt{-y}\)

Step 5: Write the inverse

\(f^{-1}(x) = \begin{cases} \sqrt{x} & \text{if } x \geq 0 \\ -\sqrt{-x} & \text{if } x < 0 \end{cases}\)

\(f^{-1}(x) = \begin{cases} \sqrt{x} & x \geq 0 \\ -\sqrt{-x} & x < 0 \end{cases}\)
Final answer:

The function \(f(x) = \begin{cases} x^2 & \text{if } x \geq 0 \\ -x^2 & \text{if } x < 0 \end{cases}\) is one-to-one because it maps positive inputs to positive outputs bijectively and negative inputs to negative outputs bijectively. Its inverse is \(f^{-1}(x) = \begin{cases} \sqrt{x} & \text{if } x \geq 0 \\ -\sqrt{-x} & \text{if } x < 0 \end{cases}\).

Applied rules:

• Piecewise Analysis: Handle each piece separately

• Bijection: Ensure both pieces contribute to one-to-one mapping

• Inverse Construction: Solve for x in terms of y for each piece

Comprehensive Guide: Domain Restrictions for Inverse Functions
\(f \text{ invertible} \iff f \text{ is one-to-one}\)
Invertibility Condition
Key definitions:

One-to-One Function: A function where each output corresponds to exactly one input. Formally: \(f(x_1) = f(x_2) \Rightarrow x_1 = x_2\)

Inverse Function: A function \(f^{-1}\) such that \(f(f^{-1}(x)) = x\) and \(f^{-1}(f(x)) = x\)

Horizontal Line Test: A graphical method to determine if a function is one-to-one

Complete Methodology:
  1. Analyze the function: Determine if the function is one-to-one on its natural domain
  2. Apply horizontal line test: Visually or analytically check for one-to-one property
  3. Identify critical points: Find where the function changes direction
  4. Select monotonic intervals: Choose intervals where the function is strictly increasing or decreasing
  5. Define the restricted function: Specify the new domain and verify one-to-one property
  6. Find the inverse: Solve for x in terms of y
Tip 1: For polynomial functions of even degree, domain restriction is usually necessary.
Tip 2: Odd-degree polynomials are often one-to-one on their entire domain.
Tip 3: Use derivatives to identify intervals of increase/decrease efficiently.
Tip 4: Remember that domain of inverse = range of original function.
Tip 5: Always verify by checking that \(f(f^{-1}(x)) = x\) and \(f^{-1}(f(x)) = x\).
Common errors: Forgetting to restrict domains for non-injective functions, misidentifying the correct intervals, confusing domain and range of inverse functions.
Exam preparation: Master the horizontal line test, practice with various function types (quadratic, cubic, trigonometric), memorize principal domains for inverse trig functions.
Essential Formulas and Properties:

• One-to-One Definition: \(f(x_1) = f(x_2) \Rightarrow x_1 = x_2\)

• Horizontal Line Test: At most one intersection with any horizontal line

• Domain/Range Swap: \(\text{Domain}(f) = \text{Range}(f^{-1})\), \(\text{Range}(f) = \text{Domain}(f^{-1})\)

• Composition Property: \(f \circ f^{-1} = f^{-1} \circ f = \text{Identity}\)

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

Visual Analysis: Domain Restrictions for Inverses
Exercise 6: Graphical Understanding
Consider the following functions and their domain restrictions:
\(f_1(x) = x^2\) (restricted to \([0,\infty)\))
\(f_2(x) = \sin(x)\) (restricted to \([-π/2, π/2]\))
\(f_3(x) = x^3\) (no restriction needed)

Analysis: The visualization shows how domain restrictions affect the existence of inverse functions.

  • \(f_1(x) = x^2\) requires restriction to \([0,\infty)\) to become one-to-one
  • \(f_2(x) = \sin(x)\) requires restriction to \([-π/2, π/2]\) due to periodicity
  • \(f_3(x) = x^3\) is naturally one-to-one on \(\mathbb{R}\) (strictly increasing)

Questions & Answers

Question: I'm confused about why we need to restrict the domain of some functions to get an inverse. Can you explain the connection between one-to-one functions and inverses?

Answer: Great question! The connection between one-to-one functions and inverses is fundamental:

  • An inverse function reverses the action of the original function. If \(f\) takes input \(x\) to output \(y\), then \(f^{-1}\) takes \(y\) back to \(x\).
  • For this to work, each output \(y\) must correspond to exactly one input \(x\). Otherwise, the inverse wouldn't know which input to return.
  • This is exactly what the one-to-one property ensures: each output corresponds to exactly one input.

Think of it like a lock and key system: if multiple keys open the same lock, you can't determine which key was used just by knowing the lock is open. Similarly, if multiple inputs produce the same output, you can't uniquely determine the input from the output.

Example: \(f(x) = x^2\) gives \(f(2) = 4\) and \(f(-2) = 4\). So if we only knew the output was 4, we couldn't uniquely determine if the input was 2 or -2. That's why we restrict the domain to make it one-to-one.

Question: How do I know which part of the domain to restrict to? For example, with \(f(x) = x^2\), why do we choose \([0,∞)\) instead of \((-∞,0]\)?

Answer: Both choices would work mathematically! The selection of \([0,∞)\) over \((-∞,0]\) is largely a matter of convention and practicality:

  • Convention: For square root functions, mathematicians standardized on the non-negative branch to ensure consistency.
  • Practicality: The positive branch often has more physical applications (lengths, areas, etc. are typically positive).
  • Continuity: The positive branch connects naturally with the principal square root function.

Both restrictions would create a one-to-one function:

  • With domain \([0,∞)\): \(f(x) = x^2\) has inverse \(f^{-1}(x) = \sqrt{x}\)
  • With domain \((-∞,0]\): \(f(x) = x^2\) has inverse \(f^{-1}(x) = -\sqrt{x}\)

However, \([0,∞)\) is the conventional choice that aligns with the definition of the principal square root.

Question: Are there functions that don't need domain restrictions to have an inverse? How can I tell?

Answer: Yes, absolutely! Functions that are naturally one-to-one don't need domain restrictions:

  • Strictly increasing functions: \(f(x) = x^3\), \(f(x) = e^x\), \(f(x) = \ln(x)\)
  • Strictly decreasing functions: \(f(x) = -x^3\), \(f(x) = e^{-x}\)
  • Linear functions: \(f(x) = ax + b\) (where \(a ≠ 0\))

How to tell if a function needs restriction:

  • Graphically: Use the horizontal line test - if any horizontal line intersects the graph more than once, domain restriction is needed
  • Analytically: Check if \(f(x_1) = f(x_2)\) always implies \(x_1 = x_2\)
  • Using derivatives: If \(f'(x) > 0\) or \(f'(x) < 0\) for all \(x\) in the domain, the function is strictly monotonic and thus one-to-one

Example: \(f(x) = x^3\) is strictly increasing since \(f'(x) = 3x^2 ≥ 0\) (and only equals 0 at isolated points), so it's one-to-one on all of \(\mathbb{R}\) and doesn't need domain restriction.

Question: What happens to the domain and range when we find an inverse function? How do domain restrictions affect this relationship?

Answer: There's a beautiful symmetry in the domain-range relationship between a function and its inverse:

  • Domain of \(f\) = Range of \(f^{-1}\)
  • Range of \(f\) = Domain of \(f^{-1}\)

When you restrict the domain of \(f\), you're essentially defining a new function with a smaller domain. This affects the relationship:

Example: Let \(f(x) = x^2\) with restricted domain \([0,∞)\):

  • Domain of \(f\): \([0,∞)\)
  • Range of \(f\): \([0,∞)\) (since \(x^2 ≥ 0\) for \(x ≥ 0\))
  • Domain of \(f^{-1}\): \([0,∞)\) (same as range of \(f\))
  • Range of \(f^{-1}\): \([0,∞)\) (same as domain of \(f\))

The domain restriction ensures that the function is one-to-one, which makes the inverse well-defined. The restricted domain of the original function becomes the range of the inverse, and the range of the original function becomes the domain of the inverse.

Question: Why do we specifically choose \([-π/2, π/2]\) as the domain restriction for sine, and \([0, π]\) for cosine? What's the reasoning behind these intervals?

Answer: These intervals were chosen strategically for several important reasons:

For sine function:

  • \(y = \sin(x)\) is strictly increasing on \([-π/2, π/2]\)
  • At \(x = -π/2\), \(\sin(x) = -1\); at \(x = π/2\), \(\sin(x) = 1\)
  • This interval includes the origin and covers the full range \([-1, 1]\)
  • The interval is symmetric about the origin, which preserves odd function properties

For cosine function:

  • \(y = \cos(x)\) is strictly decreasing on \([0, π]\)
  • At \(x = 0\), \(\cos(x) = 1\); at \(x = π\), \(\cos(x) = -1\)
  • This interval covers the full range \([-1, 1]\) and includes the maximum value
  • The interval starts at the origin, which is convenient

These intervals ensure that the restricted functions are strictly monotonic (hence one-to-one) while achieving all possible output values in the range \([-1, 1]\). They also have convenient endpoints and preserve important symmetries of the original functions.