Finding and evaluating composite functions, and how to find and verify an inverse.
Composite and inverse functions are about processes. A composite function performs one rule and then another; an inverse function reverses a rule and takes you back to the original input.
In CSEC, this topic sits in Relations, Functions and Graphs, where questions may ask you to evaluate, form, or rearrange functions. Pay close attention to order: f(g(x)) usually gives a different result from g(f(x)). For inverse functions, explain how each algebraic step undoes the original operation.
What Is a Composite Function?
A composite function is when you apply one function, then apply another function to the result.
Notation:(f∘g)(x) or f(g(x))
Read as: "f composed with g of x"
Process:
First, find g(x) (apply inner function)
Then, apply f to that result: f(g(x))
Important:f(g(x))=g(f(x)) (order matters!)
Finding Composite Functions
Example
Given f(x)=2x+1 and g(x)=x2, find f(g(x)):
Step 1: Identify what we're doing
f(g(x))=apply g first, then apply f
Step 2: Find g(x)=x2
Step 3: Apply f to the result: wherever we see x in the definition of f, substitute g(x)=x2f(g(x))=f(x2)=2(x2)+1=2x2+1
Answer:f(g(x))=2x2+1
This is a new function that takes x, squares it, multiplies by 2, and adds 1.
Example
Given f(x)=2x+1 and g(x)=x2, find g(f(x)):
Step 1: Apply f first to get f(x)=2x+1
Step 2: Apply g to the result: wherever x appears in g, substitute f(x)=2x+1g(f(x))=g(2x+1)=(2x+1)2
Step 3: Expand
g(f(x))=4x2+4x+1
Compare:
f(g(x))=2x2+1
g(f(x))=4x2+4x+1
They're DIFFERENT! Order matters!
Evaluating Composite Functions
To find f(g(3)) where f(x)=2x+1 and g(x)=x2:
Method 1: Find g(x) first, then f of thatg(3)=32=9f(g(3))=f(9)=2(9)+1=19
Method 2: Use the composite function formula we foundf(g(x))=2x2+1f(g(3))=2(3)2+1=18+1=19
Both methods give the same answer (as they should!).
Part 8: Inverse Functions
What Is an Inverse Function?
An inverse function "undoes" what the original function does.
If f takes input x to output y, then f−1 takes input y back to output x.
Notation:f−1(x) (read as "f inverse of x")
Key property:f(f−1(x))=xf−1(f(x))=x
When Does an Inverse Exist?
Not every function has an inverse! A function has an inverse ONLY if it's one-to-one (injective):
Each output comes from exactly one input
No two different inputs produce the same output
Passes the horizontal line test: any horizontal line crosses the graph at most once
Example
Does f(x)=2x+3 have an inverse?
Check: Different inputs give different outputs
f(1)=5
f(2)=7
f(3)=9
...
Each input x produces a unique output. YES, it has an inverse. ✓
Does g(x)=x2 have an inverse (for all real numbers)?
Check: Multiple inputs give same output
g(2)=4
g(−2)=4
Same output (4) from different inputs (2 and -2). NO, it doesn't have an inverse for all reals. ✗
(Note: If we restrict the domain to x≥0, then g is one-to-one and has an inverse.)
Finding Inverse Functions Algebraically
To find f−1(x) from f(x):
Step 1: Write y=f(x)
Step 2: Swap x and y
Step 3: Solve for y in terms of x
Step 4: Replace y with f−1(x)
Example
Find the inverse of f(x)=2x+3:
Step 1: Write y=2x+3
Step 2: Swap x and yx=2y+3
Step 3: Solve for yx−3=2yy=2x−3
Step 4: Write as inverse function
f−1(x)=2x−3
Verify:
f(f−1(x))=f(2x−3)=2⋅2x−3+3=(x−3)+3=x ✓
f−1(f(x))=f−1(2x+3)=2(2x+3)−3=22x=x ✓
Finding the Inverse of a Linear Function
Example
Find the inverse of f(x)=x3−2:
Step 1: Write y=x3−2
Step 2: Swap x and yx=y3−2
Step 3: Solve for yx+2=y3y=3x+2
Step 4: Write as inverse
f−1(x)=3x+2
Verify:f(f−1(x))=(3x+2)3−2=(x+2)−2=x ✓
Inverse Functions and Composition
The fundamental relationship:
f∘f−1=I (identity function)f−1∘f=I
And if you have composite functions:
(f∘g)−1=g−1∘f−1
Note the order reverses when taking inverses of composites!