Pre-Calculus
Functions and Their Graphs: Transformations, Inverse, and Composite Functions
Pre-Calculus
- ✓By the end of this lesson students will be able to identify and apply transformations (translations, reflections, stretches, and compressions) to the graphs of parent functions.
- ✓By the end of this lesson students will be able to determine if a function is one-to-one and find the equation of its inverse function.
- ✓By the end of this lesson students will be able to evaluate and determine the domain of composite functions.
- ✓By the end of this lesson students will be able to understand the relationship between the domain and range of a function and its inverse.
Key concepts
Transformations alter the position, size, or orientation of a function's graph. These include translations (shifts), reflections (flips), and stretches/compressions (dilations). Given a parent function y = f(x), common transformations are:\n- Vertical Translation: y = f(x) + c (up c units), y = f(x) - c (down c units)\n- Horizontal Translation: y = f(x - c) (right c units), y = f(x + c) (left c units)\n- Reflection: y = -f(x) (across x-axis), y = f(-x) (across y-axis)\n- Vertical Stretch/Compression: y = c * f(x) (stretch if c > 1, compression if 0 < c < 1)\n- Horizontal Stretch/Compression: y = f(c * x) (compression if c > 1, stretch if 0 < c < 1)\nWhen multiple transformations are applied, the order generally follows: reflections and stretches/compressions first, then translations.
An inverse function, denoted f⁻¹(x), 'undoes' the action of the original function f(x). For f⁻¹(x) to exist, the function f(x) must be one-to-one, meaning each output corresponds to exactly one input. This can be tested graphically using the Horizontal Line Test. If any horizontal line intersects the graph more than once, the function is not one-to-one.\nTo find the inverse function algebraically:\n1. Replace f(x) with y.\n2. Swap x and y in the equation.\n3. Solve the new equation for y.\n4. Replace y with f⁻¹(x).\nThe domain of f(x) is the range of f⁻¹(x), and the range of f(x) is the domain of f⁻¹(x). The graph of f⁻¹(x) is a reflection of the graph of f(x) across the line y = x.
A composite function is formed when one function is substituted into another function. The notation (f o g)(x) means f(g(x)), where the output of the inner function g(x) becomes the input for the outer function f(x).\nTo evaluate (f o g)(x):\n1. Evaluate the inner function g(x) first.\n2. Use the result as the input for the outer function f(x).\nThe domain of (f o g)(x) consists of all x-values in the domain of g(x) such that g(x) is in the domain of f(x).
Key facts to remember
- 1Horizontal transformations (inside the function) often behave counter-intuitively (e.g., x+c shifts left).
- 2A function must pass the Horizontal Line Test (be one-to-one) to have an inverse function.
- 3The graph of an inverse function f⁻¹(x) is a reflection of the graph of f(x) across the line y = x.
- 4The domain of f(x) is the range of f⁻¹(x), and the range of f(x) is the domain of f⁻¹(x).
- 5The domain of a composite function f(g(x)) includes all x in the domain of g such that g(x) is in the domain of f.
- 6Order of transformations matters: generally, reflections and stretches/compressions are applied before translations.
Worked examples
Example 1
Describe the sequence of transformations applied to the graph of the parent function f(x) = |x| to obtain the graph of g(x) = -3|x - 2| + 4.
Answer
The graph of g(x) is obtained from f(x) = |x| by:\n1. Vertically stretching by a factor of 3.\n2. Reflecting across the x-axis.\n3. Translating 2 units to the right.\n4. Translating 4 units up.
The order of transformations is crucial. Generally, reflections and stretches/compressions are applied before translations.
Example 2
Find the inverse function f⁻¹(x) for f(x) = (2x + 1) / (x - 3). State the domain and range of both f(x) and f⁻¹(x).
Answer
f⁻¹(x) = (3x + 1) / (x - 2)\nDomain of f(x): (-∞, 3) U (3, ∞)\nRange of f(x): (-∞, 2) U (2, ∞)\nDomain of f⁻¹(x): (-∞, 2) U (2, ∞)\nRange of f⁻¹(x): (-∞, 3) U (3, ∞)
Notice that the domain of f(x) is the range of f⁻¹(x), and the range of f(x) is the domain of f⁻¹(x).
Example 3
Given f(x) = sqrt(x + 5) and g(x) = x² - 1. Find (f o g)(x) and state its domain.
Answer
(f o g)(x) = sqrt(x² + 4)\nDomain of (f o g)(x): (-∞, ∞)
When finding the domain of a composite function, you must consider both the domain of the inner function and the domain restrictions imposed by the outer function on the output of the inner function.
Common mistakes
- ✗Applying transformations in the incorrect order, especially confusing the order of stretches/compressions with translations.
- ✗Incorrectly interpreting horizontal transformations (e.g., thinking f(x+c) shifts right instead of left).
- ✗Assuming every function has an inverse without checking if it's one-to-one, or failing to restrict the domain to make it one-to-one.
- ✗Forgetting to consider the domain of the inner function when determining the domain of a composite function.
- ✗Algebraic errors when solving for y after swapping x and y to find an inverse function.
Exam tips
- ★Always verify your inverse function by checking if f(f⁻¹(x)) = x and f⁻¹(f(x)) = x.
- ★When describing transformations, be precise with direction (left/right, up/down) and type (stretch/compression, reflection).
- ★Pay close attention to domain restrictions, especially for functions involving square roots (radicand ≥ 0) and rational functions (denominator ≠ 0).
- ★Practice with a variety of parent functions (e.g., absolute value, quadratic, square root, cubic) to master transformations.
Ready to practise?
Try a problem on this topic
Snap a photo or type a question — get step-by-step working instantly.
