Part 1: Function Composition 🔗 Function Composition
Part 1 of 7
What Is Composition?
The composition of f f f and g g g , written ( f ∘ g ) ( x ) (f \circ g)(x) ( f ∘ g ) ( x ) , means "f f f of g g g of x x x " :
( f ∘ g ) ( x ) = f ( g ( x ) ) (f \circ g)(x) = f(g(x)) ( f ∘ g ) ( x ) = f ( g ( x ))
Think of it as a pipeline : input x x x flows into g g g first, then the output flows into f f f .
Example
If f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 and g ( x ) = x + 3 g(x) = x+3 g ( x ) = x + 3 :
( f ∘ g ) ( x ) = f ( g ( x ) ) = f ( x + 3 ) = ( x + 3 ) 2 (f \circ g)(x) = f(g(x)) = f(x+3) = (x+3)^2 ( f ∘ g ) ( x ) = f ( g ( x )) = f ( x + 3 ) = ( x + 3 ) 2
( g ∘ f ) ( x ) = g ( f ( x ) ) = g ( x 2 ) = x 2 + 3 (g \circ f)(x) = g(f(x)) = g(x^2) = x^2+3 ( g ∘ f ) ( x ) = g ( f ( x )) = g ( x 2 ) = x 2 + 3
⚠️ Order matters! f ∘ g ≠ g ∘ f f \circ g \neq g \circ f f ∘ g = g ∘ f in general.
📝 More Examples
Example 1
f ( x ) = 2 x + 1 , g ( x ) = x 2 − 4 f(x)=2x+1, g(x)=x^2-4 f ( x ) = 2 x + 1 , g ( x ) = x 2 − 4
( f ∘ g ) ( x ) = 2 ( x 2 − 4 ) + 1 = 2 x 2 − 7 (f \circ g)(x) = 2(x^2-4)+1 = 2x^2-7 ( f ∘ g ) ( x ) = 2 ( x 2 − 4 ) + 1 = 2 x 2 − 7
( g ∘ f ) ( x ) = ( 2 x + 1 ) 2 − 4 = 4 x 2 + 4 x − 3 (g \circ f)(x) = (2x+1)^2-4 = 4x^2+4x-3 ( g ∘ f ) ( x ) = ( 2 x + 1 ) 2 − 4 = 4 x 2 + 4 x − 3
Example 2: Evaluating at a Point
f ( x ) = x , g ( x ) = 3 x + 1 f(x)=\sqrt{x}, g(x)=3x+1 f ( x ) = x , g ( x ) = 3 x + 1
( f ∘ g ) ( 5 ) = f ( g ( 5 ) ) = f ( 16 ) = 4 (f \circ g)(5) = f(g(5)) = f(16) = 4 ( f ∘ g ) ( 5 ) = f ( g ( 5 )) = f ( 16 ) = 4
Example 3: Three Functions
f ( x ) = x 2 , g ( x ) = x + 1 , h ( x ) = 2 x f(x)=x^2, g(x)=x+1, h(x)=2x f ( x ) = x 2 , g ( x ) = x + 1 , h ( x ) = 2 x
( f ∘ g ∘ h ) ( x ) = f ( g ( h ( x ) ) ) = f ( g ( 2 x ) ) = f ( 2 x + 1 ) = ( 2 x + 1 ) 2 (f \circ g \circ h)(x) = f(g(h(x))) = f(g(2x)) = f(2x+1) = (2x+1)^2 ( f ∘ g ∘ h ) ( x ) = f ( g ( h ( x ))) = f ( g ( 2 x )) = f ( 2 x + 1 ) = ( 2 x + 1 ) 2
Decomposition
Express h ( x ) = 3 x + 7 h(x) = \sqrt{3x+7} h ( x ) = 3 x + 7 as a composition: let f ( x ) = x , g ( x ) = 3 x + 7 f(x) = \sqrt{x}, g(x) = 3x+7 f ( x ) = x , g ( x ) = 3 x + 7 . Then h = f ∘ g h = f \circ g h = f ∘ g .
🔍 Domain of a Composition
The domain of f ∘ g f \circ g f ∘ g requires:
x x x must be in the domain of g g g
g ( x ) g(x) g ( x ) must be in the domain of f f f
Example
f ( x ) = x , g ( x ) = 4 − x 2 f(x) = \sqrt{x}, g(x) = 4-x^2 f ( x ) = x , g ( x ) = 4 − x 2
( f ∘ g ) ( x ) = 4 − x 2 (f \circ g)(x) = \sqrt{4-x^2} ( f ∘ g ) ( x ) = 4 − x 2
Domain: 4 − x 2 ≥ 0 ⟹ − 2 ≤ x ≤ 2 4-x^2 \geq 0 \implies -2 \leq x \leq 2 4 − x 2 ≥ 0 ⟹ − 2 ≤ x ≤ 2
Another Example
f ( x ) = 1 x , g ( x ) = x − 3 f(x) = \frac{1}{x}, g(x) = x-3 f ( x ) = x 1 , g ( x ) = x − 3
( f ∘ g ) ( x ) = 1 x − 3 (f \circ g)(x) = \frac{1}{x-3} ( f ∘ g ) ( x ) = x − 3 1
Domain: x ≠ 3 x \neq 3 x = 3 (so g ( x ) ≠ 0 g(x) \neq 0 g ( x ) = 0 , which is not in domain of f f f ).
Composition Practice 🧮
Let f ( x ) = 2 x − 1 , g ( x ) = x + 5 f(x)=2x-1, g(x)=x+5 f ( x ) = 2 x − 1 , g ( x ) = x + 5 .
1) ( f ∘ g ) ( 3 ) (f \circ g)(3) ( f ∘ g ) ( 3 ) = ?
2) ( g ∘ f ) ( 3 ) (g \circ f)(3) ( g ∘ f ) ( 3 ) = ?
3) ( f ∘ f ) ( 2 ) (f \circ f)(2) ( f ∘ f ) ( 2 ) = ?
Part 2: Inverse Functions 🔄 Inverse Functions
Part 2 of 7
What Is an Inverse?
f − 1 f^{-1} f − 1 undoes f f f . If f ( a ) = b f(a)=b f ( a ) = b , then f − 1 ( b ) = a f^{-1}(b)=a f − 1 ( b ) = a .
f ( f − 1 ( x ) ) = x and f − 1 ( f ( x ) ) = x f(f^{-1}(x)) = x \quad \text{and} \quad f^{-1}(f(x)) = x f ( f − 1 ( x )) = x and f − 1 ( f ( x )) = x
Key Properties
Domain of f − 1 f^{-1} f − 1 = Range of f f f
Range of f − 1 f^{-1} f − 1 = Domain of f f f
The graph of f − 1 f^{-1} f − 1 is the reflection of f f f across the line y = x y = x y = x
When Does f − 1 f^{-1} f − 1 Exist?
f f f must be one-to-one (each output comes from exactly one input).
One-to-one → passes the Horizontal Line Test
Not one-to-one → no inverse (unless we restrict the domain)
📝 Finding Inverse Functions
Algorithm
Replace f ( x ) f(x) f ( x ) with y y y
Swap x x x and y y y
Solve for y y y
Write f − 1 ( x ) = y f^{-1}(x) = y f − 1 ( x ) = y
Example 1: f ( x ) = 3 x − 7 f(x) = 3x - 7 f ( x ) = 3 x − 7
y = 3 x − 7 y = 3x-7 y = 3 x − 7 → x = 3 y − 7 x = 3y-7 x = 3 y − 7 → x + 7 = 3 y x+7 = 3y x + 7 = 3 y → y = x + 7 3 y = \frac{x+7}{3} y = 3 x + 7
f − 1 ( x ) = x + 7 3 f^{-1}(x) = \frac{x+7}{3} f − 1 ( x ) = 3 x + 7
Verify : f ( f − 1 ( x ) ) = 3 ⋅ x + 7 3 − 7 = x + 7 − 7 = x f(f^{-1}(x)) = 3\cdot\frac{x+7}{3}-7 = x+7-7 = x f ( f − 1 ( x )) = 3 ⋅ 3 x + 7 − 7 = x + 7 − 7 = x ✓
Example 2: f ( x ) = x 2 + 1 , x ≥ 0 f(x) = x^2+1, x \geq 0 f ( x ) = x 2 + 1 , x ≥ 0
x = y 2 + 1 ⟹ y = x − 1 x = y^2+1 \implies y = \sqrt{x-1} x = y 2 + 1 ⟹ y = x − 1
f − 1 ( x ) = x − 1 , x ≥ 1 f^{-1}(x) = \sqrt{x-1}, \quad x \geq 1 f − 1 ( x ) = x − 1 , x ≥ 1
📊 The Horizontal Line Test
Function One-to-one? Inverse exists? f ( x ) = 2 x + 3 f(x) = 2x+3 f ( x ) = 2 x + 3 Yes Yes f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 (all reals)No No (without restriction) f ( x ) = x 3 f(x) = x^3 f ( x ) = x 3 Yes Yes (f − 1 ( x ) = x 3 f^{-1}(x) = \sqrt[3]{x} f − 1 ( x ) = 3 x ) f ( x ) = sin x f(x) = \sin x f ( x ) = sin x (all reals)No No (restrict to [ − π / 2 , π / 2 ] [-\pi/2, \pi/2] [ − π /2 , π /2 ] ) f ( x ) = e x f(x) = e^x f ( x ) = e x Yes Yes (f − 1 ( x ) = ln x f^{-1}(x) = \ln x f − 1 ( x ) = ln x )
Restricting Domains
f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 on x ≥ 0 x \geq 0 x ≥ 0 : now one-to-one!
f − 1 ( x ) = x f^{-1}(x) = \sqrt{x} f − 1 ( x ) = x (the principal square root)
💡 When we write sin − 1 x \sin^{-1}x sin − 1 x , we use the restricted domain [ − π / 2 , π / 2 ] [-\pi/2, \pi/2] [ − π /2 , π /2 ] .
Finding Inverses 🧮
1) f ( x ) = 4 x − 3 f(x) = 4x - 3 f ( x ) = 4 x − 3 . Find f − 1 ( 9 ) f^{-1}(9) f − 1 ( 9 ) :
2) f ( x ) = x + 1 2 f(x) = \frac{x+1}{2} f ( x ) = 2 x + 1 . Find f − 1 ( x ) = a x + b f^{-1}(x) = ax + b f − 1 ( x ) = a x + b . What is a a a ?
3) Same function: What is b b b ?
Part 3: Inverses of Common Functions 🧮 Inverses of Common Functions
Part 3 of 7
Inverse Pairs
Function f ( x ) f(x) f ( x ) Inverse f − 1 ( x ) f^{-1}(x) f − 1 ( x ) Domain restriction x 2 x^2 x 2 x \sqrt{x} x x ≥ 0 x \geq 0 x ≥ 0 for bothx 3 x^3 x 3 x 3 \sqrt[3]{x} 3 x All reals e x e^x e x ln x \ln x ln x x > 0 x > 0 x > 0 for ln \ln ln 10 x 10^x 1 0 x log 10 x \log_{10} x log 10 x x > 0 x > 0 x > 0 for log \log log a x a^x a x log a x \log_a x log a x x > 0 x > 0 x > 0 for log a \log_a log a sin x \sin x sin x sin − 1 x \sin^{-1} x sin − 1 x [ − π / 2 , π / 2 ] [-\pi/2, \pi/2] [ − π /2 , π /2 ] , [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] cos x \cos x cos x cos − 1 x \cos^{-1} x cos − 1 x [ 0 , π ] [0, \pi] [ 0 , π ] , [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] tan x \tan x tan x tan − 1 x \tan^{-1} x tan − 1 x ( − π / 2 , π / 2 ) (-\pi/2, \pi/2) ( − π /2 , π /2 )
💡 The graph of each inverse is the reflection of the original function over y = x y = x y = x .
📝 Exponential & Logarithmic Inverses
Why ln \ln ln and e x e^x e x are inverses
e ln x = x ( x > 0 ) e^{\ln x} = x \quad (x > 0) e l n x = x ( x > 0 )
ln ( e x ) = x ( all x ) \ln(e^x) = x \quad (\text{all } x) ln ( e x ) = x ( all x )
Solving with Inverses
Solve e 2 x = 15 e^{2x} = 15 e 2 x = 15 :
ln ( e 2 x ) = ln 15 \ln(e^{2x}) = \ln 15 ln ( e 2 x ) = ln 15
2 x = ln 15 2x = \ln 15 2 x = ln 15
x = ln 15 2 ≈ 1.354 x = \frac{\ln 15}{2} \approx 1.354 x = 2 l n 15 ≈ 1.354
Solve log 2 ( x − 3 ) = 5 \log_2(x-3) = 5 log 2 ( x − 3 ) = 5 :
x − 3 = 2 5 = 32 x-3 = 2^5 = 32 x − 3 = 2 5 = 32
x = 35 x = 35 x = 35
Key Identities
log a ( a x ) = x \log_a(a^x) = x log a ( a x ) = x
a log a x = x a^{\log_a x} = x a l o g a x = x
🔀 Inverses of Rational Functions
Example: f ( x ) = 2 x + 1 x − 3 f(x) = \frac{2x+1}{x-3} f ( x ) = x − 3 2 x + 1
Swap and solve:
x = 2 y + 1 y − 3 x = \frac{2y+1}{y-3} x = y − 3 2 y + 1
x ( y − 3 ) = 2 y + 1 x(y-3) = 2y+1 x ( y − 3 ) = 2 y + 1
x y − 3 x = 2 y + 1 xy - 3x = 2y + 1 x y − 3 x = 2 y + 1
x y − 2 y = 3 x + 1 xy - 2y = 3x + 1 x y − 2 y = 3 x + 1
y ( x − 2 ) = 3 x + 1 y(x-2) = 3x+1 y ( x − 2 ) = 3 x + 1
f − 1 ( x ) = 3 x + 1 x − 2 f^{-1}(x) = \frac{3x+1}{x-2} f − 1 ( x ) = x − 2 3 x + 1
Verification : f ( f − 1 ( x ) ) f(f^{-1}(x)) f ( f − 1 ( x )) :
f ( 3 x + 1 x − 2 ) = 2 ⋅ 3 x + 1 x − 2 + 1 3 x + 1 x − 2 − 3 = 6 x + 2 + x − 2 x − 2 3 x + 1 − 3 x + 6 x − 2 = 7 x 7 = x f\left(\frac{3x+1}{x-2}\right) = \frac{2 \cdot \frac{3x+1}{x-2}+1}{\frac{3x+1}{x-2}-3} = \frac{\frac{6x+2+x-2}{x-2}}{\frac{3x+1-3x+6}{x-2}} = \frac{7x}{7} = x f ( x − 2 3 x + 1 ) = x − 2 3 x + 1 − 3 2 ⋅ x − 2 3 x + 1 + 1 = x − 2 3 x + 1 − 3 x + 6 x − 2 6 x + 2 + x − 2 = 7 7 x = x ✓
Inverse Calculations 🧮
1) Solve e x = 20 e^x = 20 e x = 20 : x = ln ( x = \ln( x = ln ( ?) ) ) . Enter the number.
2) Solve log 3 x = 4 \log_3 x = 4 log 3 x = 4 : x x x = ?
3) If f ( x ) = 5 x − 3 f(x) = 5x-3 f ( x ) = 5 x − 3 , then f − 1 ( 12 ) f^{-1}(12) f − 1 ( 12 ) = ?
Part 4: Composition with Tables & Graphs 📊 Composition with Tables & Graphs
Part 4 of 7
Reading from Tables
Given tables of f f f and g g g :
x x x f ( x ) f(x) f ( x ) g ( x ) g(x) g ( x ) 1 3 2 2 5 4 3 1 1 4 2 3 5 4 5
Find ( f ∘ g ) ( 2 ) (f \circ g)(2) ( f ∘ g ) ( 2 ) :
g ( 2 ) = 4 g(2) = 4 g ( 2 ) = 4 , then f ( 4 ) = 2 f(4) = 2 f ( 4 ) = 2 . So ( f ∘ g ) ( 2 ) = 2 (f \circ g)(2) = 2 ( f ∘ g ) ( 2 ) = 2 .
Find ( g ∘ f ) ( 3 ) (g \circ f)(3) ( g ∘ f ) ( 3 ) :
f ( 3 ) = 1 f(3) = 1 f ( 3 ) = 1 , then g ( 1 ) = 2 g(1) = 2 g ( 1 ) = 2 . So ( g ∘ f ) ( 3 ) = 2 (g \circ f)(3) = 2 ( g ∘ f ) ( 3 ) = 2 .
📝 Inverse from Tables
If f f f is one-to-one, we can read f − 1 f^{-1} f − 1 from the table by swapping input/output:
So f − 1 ( 3 ) = 1 , f − 1 ( 5 ) = 2 , f − 1 ( 1 ) = 3 , f − 1 ( 2 ) = 4 f^{-1}(3) = 1, f^{-1}(5) = 2, f^{-1}(1) = 3, f^{-1}(2) = 4 f − 1 ( 3 ) = 1 , f − 1 ( 5 ) = 2 , f − 1 ( 1 ) = 3 , f − 1 ( 2 ) = 4 .
Verifying One-to-One from a Table
Check: does any output appear more than once? If yes, f f f is NOT one-to-one.
Composition Chains from Tables
( f ∘ f ) ( 1 ) (f \circ f)(1) ( f ∘ f ) ( 1 ) : f ( 1 ) = 3 f(1) = 3 f ( 1 ) = 3 , then f ( 3 ) = 1 f(3) = 1 f ( 3 ) = 1 . So ( f ∘ f ) ( 1 ) = 1 (f \circ f)(1) = 1 ( f ∘ f ) ( 1 ) = 1 .
This means 1 1 1 and 3 3 3 form a 2-cycle under f f f .
📈 Composition with Graphs
To find ( f ∘ g ) ( a ) (f \circ g)(a) ( f ∘ g ) ( a ) from graphs:
Go to x = a x = a x = a on the graph of g g g → read g ( a ) g(a) g ( a )
Go to x = g ( a ) x = g(a) x = g ( a ) on the graph of f f f → read f ( g ( a ) ) f(g(a)) f ( g ( a ))
Graph of f − 1 f^{-1} f − 1
Reflect the graph of f f f across y = x y = x y = x .
Key observations:
If f f f passes through ( 2 , 5 ) (2, 5) ( 2 , 5 ) , then f − 1 f^{-1} f − 1 passes through ( 5 , 2 ) (5, 2) ( 5 , 2 )
Increasing functions have increasing inverses
x x x -intercepts of f f f become y y y -intercepts of f − 1 f^{-1} f − 1
Fixed Points
A fixed point is where f ( x ) = x f(x) = x f ( x ) = x (the graph crosses y = x y = x y = x ).
At fixed points: f ( a ) = a = f − 1 ( a ) f(a) = a = f^{-1}(a) f ( a ) = a = f − 1 ( a ) . Both the function and its inverse share this point!
Tables & Graphs Quiz 🎯
Use this table:
x x x 1 2 3 4 f ( x ) f(x) f ( x ) 4 1 2 3 g ( x ) g(x) g ( x ) 2 3 4 1
Table Practice 🧮
Use: f ( 1 ) = 3 , f ( 2 ) = 5 , f ( 3 ) = 7 , f ( 4 ) = 9 f(1)=3, f(2)=5, f(3)=7, f(4)=9 f ( 1 ) = 3 , f ( 2 ) = 5 , f ( 3 ) = 7 , f ( 4 ) = 9
1) ( f ∘ f − 1 ) ( 7 ) (f \circ f^{-1})(7) ( f ∘ f − 1 ) ( 7 ) = ?
2) f − 1 ( 9 ) f^{-1}(9) f − 1 ( 9 ) = ?
3) f − 1 ( f − 1 ( 7 ) ) f^{-1}(f^{-1}(7)) f − 1 ( f − 1 ( 7 )) = ? (Hint: find f − 1 ( 7 ) f^{-1}(7) f − 1 ( 7 ) first, then apply f − 1 f^{-1} f − 1 again)
Part 5: Piecewise & Absolute Value Compositions 🧩 Piecewise & Absolute Value Compositions
Part 5 of 7
Composing with Piecewise Functions
If f ( x ) = { x + 2 x < 0 x 2 x ≥ 0 f(x) = \begin{cases} x+2 & x < 0 \\ x^2 & x \geq 0 \end{cases} f ( x ) = { x + 2 x 2 x < 0 x ≥ 0 and g ( x ) = x − 1 g(x) = x-1 g ( x ) = x − 1 :
( f ∘ g ) ( 3 ) = f ( g ( 3 ) ) = f ( 2 ) = 2 2 = 4 (f \circ g)(3) = f(g(3)) = f(2) = 2^2 = 4 ( f ∘ g ) ( 3 ) = f ( g ( 3 )) = f ( 2 ) = 2 2 = 4 (since 2 ≥ 0 2 \geq 0 2 ≥ 0 )
( f ∘ g ) ( − 2 ) = f ( g ( − 2 ) ) = f ( − 3 ) = − 3 + 2 = − 1 (f \circ g)(-2) = f(g(-2)) = f(-3) = -3+2 = -1 ( f ∘ g ) ( − 2 ) = f ( g ( − 2 )) = f ( − 3 ) = − 3 + 2 = − 1 (since − 3 < 0 -3 < 0 − 3 < 0 )
Composing with Absolute Value
∣ f ( x ) ∣ |f(x)| ∣ f ( x ) ∣ takes the output and makes it positive.
f ( ∣ x ∣ ) f(|x|) f ( ∣ x ∣ ) takes the input and makes it positive first.
These are different! For f ( x ) = x − 3 f(x) = x - 3 f ( x ) = x − 3 :
∣ f ( x ) ∣ = ∣ x − 3 ∣ |f(x)| = |x-3| ∣ f ( x ) ∣ = ∣ x − 3∣ (V-shape at x = 3 x=3 x = 3 )
f ( ∣ x ∣ ) = ∣ x ∣ − 3 f(|x|) = |x|-3 f ( ∣ x ∣ ) = ∣ x ∣ − 3 (V-shape at x = 0 x=0 x = 0 , shifted down 3 3 3 )
📝 Transformations Are Compositions
Every transformation from earlier in the course is a composition with a simple linear function.
Transformation As a composition Inner or outer? f ( x ) + k f(x) + k f ( x ) + k (vertical shift)g ( f ( x ) ) g(f(x)) g ( f ( x )) with g ( x ) = x + k g(x) = x + k g ( x ) = x + k g g g is outerf ( x + h ) f(x + h) f ( x + h ) (horizontal shift)f ( g ( x ) ) f(g(x)) f ( g ( x )) with g ( x ) = x + h g(x) = x + h g ( x ) = x + h g g g is innerk ⋅ f ( x ) k \cdot f(x) k ⋅ f ( x ) (vertical dilation)g ( f ( x ) ) g(f(x)) g ( f ( x )) with g ( x ) = k x g(x) = kx g ( x ) = k x g g g is outerf ( k x ) f(kx) f ( k x ) (horizontal dilation)f ( g ( x ) ) f(g(x)) f ( g ( x )) with g ( x ) = k x g(x) = kx g ( x ) = k x g g g is inner
Outer = vertical, inner = horizontal. That is the same inside/outside rule you used for transformations.
Order Matters
Composition is not commutative. With f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 and g ( x ) = x + 3 g(x) = x + 3 g ( x ) = x + 3 :
f ( g ( x ) ) = ( x + 3 ) 2 f(g(x)) = (x + 3)^2 f ( g ( x )) = ( x + 3 ) 2 , a horizontal shift left 3 3 3
g ( f ( x ) ) = x 2 + 3 g(f(x)) = x^2 + 3 g ( f ( x )) = x 2 + 3 , a vertical shift up 3 3 3
The Identity Function
The function i ( x ) = x i(x) = x i ( x ) = x changes nothing: f ( i ( x ) ) = i ( f ( x ) ) = f ( x ) f(i(x)) = i(f(x)) = f(x) f ( i ( x )) = i ( f ( x )) = f ( x ) . It plays the role for composition that 0 0 0 plays for addition and 1 1 1 plays for multiplication.
🔧 Decomposition Strategies
Breaking a complex function into simpler pieces:
Decomposing a Composite Function
Complex Function Inner g ( x ) g(x) g ( x ) Outer f ( u ) f(u) f ( u ) x 2 + 1 \sqrt{x^2+1} x 2 + 1 x 2 + 1 x^2+1 x 2 + 1 u \sqrt{u} u ( 3 x − 5 ) 7 (3x-5)^7 ( 3 x − 5 ) 7 3 x − 5 3x-5 3 x − 5 u 7 u^7 u 7 sin ( x 2 ) \sin(x^2) sin ( x 2 ) x 2 x^2 x 2 sin u \sin u sin u e − x 2 e^{-x^2} e − x 2 − x 2 -x^2 − x 2 e u e^u e u ln ( cos x ) \ln(\cos x) ln ( cos x ) cos x \cos x cos x ln u \ln u ln u
💡 Decomposing a function this way tells you its domain (the inner output must be a legal input for the outer function) and the order for building an inverse: undo the outer layer first.
Transformations & Decomposition Quiz 🎯
Composition Practice 🧮
f ( x ) = x + 3 , g ( x ) = 2 x f(x) = x+3, g(x) = 2x f ( x ) = x + 3 , g ( x ) = 2 x
1) f ( g ( 4 ) ) f(g(4)) f ( g ( 4 )) = ?
2) g ( f ( 4 ) ) g(f(4)) g ( f ( 4 )) = ?
3) g ( f ( x ) ) = 2 x + k g(f(x)) = 2x + k g ( f ( x )) = 2 x + k . What is k k k ?
Part 6: Verifying Inverses & Algebraic Techniques 📐 Verifying Inverses & Algebraic Techniques
Part 6 of 7
How to Verify Two Functions Are Inverses
If f f f and g g g are inverses, BOTH must hold:
f ( g ( x ) ) = x AND g ( f ( x ) ) = x f(g(x)) = x \quad \text{AND} \quad g(f(x)) = x f ( g ( x )) = x AND g ( f ( x )) = x
⚠️ Verifying only ONE direction is not enough! You need both.
Example: Are f ( x ) = 3 x − 6 f(x) = 3x-6 f ( x ) = 3 x − 6 and g ( x ) = x + 6 3 g(x) = \frac{x+6}{3} g ( x ) = 3 x + 6 inverses?
Check 1 : f ( g ( x ) ) = 3 ⋅ x + 6 3 − 6 = x + 6 − 6 = x f(g(x)) = 3\cdot\frac{x+6}{3}-6 = x+6-6 = x f ( g ( x )) = 3 ⋅ 3 x + 6 − 6 = x + 6 − 6 = x ✓
Check 2 : g ( f ( x ) ) = ( 3 x − 6 ) + 6 3 = 3 x 3 = x g(f(x)) = \frac{(3x-6)+6}{3} = \frac{3x}{3} = x g ( f ( x )) = 3 ( 3 x − 6 ) + 6 = 3 3 x = x ✓
Both hold → yes, they are inverses!
🔧 Algebraic Techniques for Finding Inverses
Technique 1: Quadratic Inverses
f ( x ) = x 2 − 4 x + 7 , x ≥ 2 f(x) = x^2 - 4x + 7, x \geq 2 f ( x ) = x 2 − 4 x + 7 , x ≥ 2
Complete the square: f ( x ) = ( x − 2 ) 2 + 3 f(x) = (x-2)^2+3 f ( x ) = ( x − 2 ) 2 + 3
Swap: x = ( y − 2 ) 2 + 3 x = (y-2)^2+3 x = ( y − 2 ) 2 + 3
( y − 2 ) 2 = x − 3 (y-2)^2 = x-3 ( y − 2 ) 2 = x − 3
y = 2 + x − 3 y = 2+\sqrt{x-3} y = 2 + x − 3 (positive root, since x ≥ 2 x \geq 2 x ≥ 2 )
Technique 2: Implicit Solving
f ( x ) = x 2 + 1 x 2 − 1 , x > 1 f(x) = \frac{x^2+1}{x^2-1}, x > 1 f ( x ) = x 2 − 1 x 2 + 1 , x > 1
x = y 2 + 1 y 2 − 1 ⟹ x ( y 2 − 1 ) = y 2 + 1 ⟹ x y 2 − x = y 2 + 1 x = \frac{y^2+1}{y^2-1} \implies x(y^2-1) = y^2+1 \implies xy^2-x = y^2+1 x = y 2 − 1 y 2 + 1 ⟹ x ( y 2 − 1 ) = y 2 + 1 ⟹ x y 2 − x = y 2 + 1
y 2 ( x − 1 ) = x + 1 ⟹ y 2 = x + 1 x − 1 ⟹ y = x + 1 x − 1 y^2(x-1) = x+1 \implies y^2 = \frac{x+1}{x-1} \implies y = \sqrt{\frac{x+1}{x-1}} y 2 ( x − 1 ) = x + 1 ⟹ y 2 = x − 1 x + 1 ⟹ y = x − 1 x + 1
🔗 Composition & Inverse Connections
Self-Inverse Functions (Involutions)
Some functions are their own inverse: f ( f ( x ) ) = x f(f(x)) = x f ( f ( x )) = x .
Examples:
f ( x ) = 1 x f(x) = \frac{1}{x} f ( x ) = x 1 : f ( f ( x ) ) = 1 1 / x = x f(f(x)) = \frac{1}{1/x} = x f ( f ( x )) = 1/ x 1 = x ✓
f ( x ) = − x f(x) = -x f ( x ) = − x : f ( f ( x ) ) = − ( − x ) = x f(f(x)) = -(-x) = x f ( f ( x )) = − ( − x ) = x ✓
f ( x ) = a − x 1 + a x f(x) = \frac{a-x}{1+ax} f ( x ) = 1 + a x a − x for certain a a a
Composition of Inverses
If h = f ∘ g h = f \circ g h = f ∘ g , then h − 1 = g − 1 ∘ f − 1 h^{-1} = g^{-1} \circ f^{-1} h − 1 = g − 1 ∘ f − 1
💡 The inverse of a composition reverses the order — like undoing layers. Remove the outer layer first!
Verification & Techniques Quiz 🎯
Verification Practice 🧮
f ( x ) = 2 x + 5 , g ( x ) = x − 5 2 f(x)=2x+5, g(x)=\frac{x-5}{2} f ( x ) = 2 x + 5 , g ( x ) = 2 x − 5
1) f ( g ( 10 ) ) f(g(10)) f ( g ( 10 )) = ?
2) g ( f ( 10 ) ) g(f(10)) g ( f ( 10 )) = ?
3) Are they inverses? (Enter "yes" or "no")
Advanced Inverse Concepts 🔽
Part 7: Composition & Inverses — Full Synthesis 🎯 Composition & Inverses — Full Synthesis
Part 7 of 7
Master Summary
Concept Key Formula Composition ( f ∘ g ) ( x ) = f ( g ( x ) ) (f \circ g)(x) = f(g(x)) ( f ∘ g ) ( x ) = f ( g ( x )) Inverse f ( f − 1 ( x ) ) = f − 1 ( f ( x ) ) = x f(f^{-1}(x)) = f^{-1}(f(x)) = x f ( f − 1 ( x )) = f − 1 ( f ( x )) = x Finding inverse Swap x , y x,y x , y and solve One-to-one test Horizontal Line Test Self-inverse f ( f ( x ) ) = x f(f(x)) = x f ( f ( x )) = x Inverse of composition ( f ∘ g ) − 1 = g − 1 ∘ f − 1 (f \circ g)^{-1} = g^{-1} \circ f^{-1} ( f ∘ g ) − 1 = g − 1 ∘ f − 1
Essential Inverse Pairs
x n ↔ x n x^n \leftrightarrow \sqrt[n]{x} x n ↔ n x , e x ↔ ln x e^x \leftrightarrow \ln x e x ↔ ln x , a x ↔ log a x a^x \leftrightarrow \log_a x a x ↔ log a x , sin x ↔ sin − 1 x \sin x \leftrightarrow \sin^{-1}x sin x ↔ sin − 1 x (restricted)
🗺️ Problem-Solving Strategies
Composition
Identify inner and outer functions
Substitute the inner into the outer
Simplify
Check domain restrictions
Finding Inverses
Check one-to-one (HLT or algebraic)
Write y = f ( x ) y = f(x) y = f ( x ) , swap x x x and y y y
Solve for y y y
Verify with f ( f − 1 ( x ) ) = x f(f^{-1}(x)) = x f ( f − 1 ( x )) = x
Decomposition
Identify the "last operation" → outer function
Everything inside → inner function
Practice: h ( x ) = e sin ( x 2 ) → h(x) = e^{\sin(x^2)} \to h ( x ) = e s i n ( x 2 ) → outer e u e^u e u , middle sin v \sin v sin v , inner x 2 x^2 x 2
📝 Mixed Practice
Problem 1
f ( x ) = x + 1 x − 1 f(x) = \frac{x+1}{x-1} f ( x ) = x − 1 x + 1 . Show f f f is its own inverse.
f ( f ( x ) ) = x + 1 x − 1 + 1 x + 1 x − 1 − 1 = x + 1 + x − 1 x − 1 x + 1 − x + 1 x − 1 = 2 x 2 = x f(f(x)) = \frac{\frac{x+1}{x-1}+1}{\frac{x+1}{x-1}-1} = \frac{\frac{x+1+x-1}{x-1}}{\frac{x+1-x+1}{x-1}} = \frac{2x}{2} = x f ( f ( x )) = x − 1 x + 1 − 1 x − 1 x + 1 + 1 = x − 1 x + 1 − x + 1 x − 1 x + 1 + x − 1 = 2 2 x = x ✓
Problem 2
f ( x ) = 2 x , g ( x ) = x 2 f(x) = 2^x, g(x) = x^2 f ( x ) = 2 x , g ( x ) = x 2 . Find ( f ∘ g ) ( 3 ) (f \circ g)(3) ( f ∘ g ) ( 3 ) :
g ( 3 ) = 9 , f ( 9 ) = 2 9 = 512 g(3)=9, f(9)=2^9=512 g ( 3 ) = 9 , f ( 9 ) = 2 9 = 512
Problem 3
Find f − 1 ( x ) f^{-1}(x) f − 1 ( x ) for f ( x ) = ln ( x − 3 ) + 2 f(x) = \ln(x-3)+2 f ( x ) = ln ( x − 3 ) + 2 :
x = ln ( y − 3 ) + 2 ⟹ x − 2 = ln ( y − 3 ) ⟹ y − 3 = e x − 2 x = \ln(y-3)+2 \implies x-2 = \ln(y-3) \implies y-3 = e^{x-2} x = ln ( y − 3 ) + 2 ⟹ x − 2 = ln ( y − 3 ) ⟹ y − 3 = e x − 2
f − 1 ( x ) = e x − 2 + 3 f^{-1}(x) = e^{x-2}+3 f − 1 ( x ) = e x − 2 + 3
Mixed Calculations 🧮
1) f ( x ) = 3 x + 1 , g ( x ) = x 2 f(x)=3x+1, g(x)=x^2 f ( x ) = 3 x + 1 , g ( x ) = x 2 . Find ( g ∘ f ) ( − 1 ) (g \circ f)(-1) ( g ∘ f ) ( − 1 ) :
2) f ( x ) = ln x f(x)=\ln x f ( x ) = ln x . Find f − 1 ( 0 ) f^{-1}(0) f − 1 ( 0 ) :
3) If f ( 2 ) = 7 f(2) = 7 f ( 2 ) = 7 and f ( 5 ) = 2 f(5) = 2 f ( 5 ) = 2 , find ( f ∘ f − 1 ) ( 7 ) (f \circ f^{-1})(7) ( f ∘ f − 1 ) ( 7 ) :