POPStudying

Pearson Edexcel 4MA1 IGCSE  ·  Topic G7.9  ·  Higher tier

G7.9 Inverse and Composite Functions

Image  ·  914 × 270

01 — Explanation

What's the difference between evaluating and solving a function?

f(2)f(2) means "substitute 2 in" — a calculation. f(x)=2f(x)=2 means "find the xx that gives output 2" — an equation to solve. These are commonly confused but are opposite directions of the same mapping.

02 — Explanation

How do I evaluate a composite function like gf(2)?

Work from the inside out: the function closest to the bracket happens first. For f(x)=2x+1f(x)=2x+1, g(x)=1xg(x)=\dfrac1x: find f(2)=5f(2)=5 first, then g(5)=15g(5)=\dfrac15. So gf(2)=15gf(2)=\dfrac15.

Exam Tip: fg(x)fg(x) means "gg first, then ff" — it is read right-to-left, the opposite of how it's written. Rewriting it explicitly as f(g(x))f(g(x)) before you start prevents the most common error in this topic: applying the functions in the wrong order.

03 — Explanation

How do I find the algebraic expression for a composite function?

Substitute the entire expression for the inner function into every xx of the outer function.

f(x)=x+2, g(x)=x2+1f(x)=x+2,\ g(x)=x^2+1:

fg(x)=f(x2+1)=(x2+1)+2=x2+3fg(x)=f(x^2+1)=(x^2+1)+2=x^2+3
gf(x)=g(x+2)=(x+2)2+1=x2+4x+5gf(x)=g(x+2)=(x+2)^2+1=x^2+4x+5

Note fg(x)≠gf(x)fg(x)\neq gf(x) in general.

04 — Explanation

How do I find an unknown constant from a composite equation?

Worked example: f(x)=4x−1f(x)=4x-1, g(x)=kx2g(x)=kx^2. Given fg(2)=12fg(2)=12, find kk.

g(2)=4kg(2)=4k, so f(4k)=4(4k)−1=16k−1=12⇒k=1316f(4k)=4(4k)-1=16k-1=12 \Rightarrow k=\dfrac{13}{16}.

05 — Explanation

What's the method for finding a simple inverse function?

"Swap, rearrange, rename": write y=f(x)y=f(x), swap every xx and yy, solve for yy, then rename it f−1(x)f^{-1}(x).

f(x)=3x−5f(x)=3x-5: y=3x−5→x=3y−5→y=x+53→f−1(x)=x+53y=3x-5 \to x=3y-5 \to y=\dfrac{x+5}{3} \to f^{-1}(x)=\dfrac{x+5}{3}.

Exam Tip: f−1(x)f^{-1}(x) is never 1f(x)\dfrac{1}{f(x)} — the inverse "undoes" the function via composition, it isn't a reciprocal.

06 — Explanation

How do I find the inverse of a fraction where x appears twice?

Clear the denominator, expand, collect every yy-term on one side, factorise yy out, then isolate it.

Worked example: f(x)=3x+1x−2f(x)=\dfrac{3x+1}{x-2}.

  1. y=3x+1x−2→y=\dfrac{3x+1}{x-2} \to swap: x=3y+1y−2x=\dfrac{3y+1}{y-2}.
  2. Clear fraction: x(y−2)=3y+1→xy−2x=3y+1x(y-2)=3y+1 \to xy-2x=3y+1.
  3. Collect: xy−3y=2x+1xy-3y=2x+1.
  4. Factorise: y(x−3)=2x+1y(x-3)=2x+1.
  5. Isolate: f−1(x)=2x+1x−3f^{-1}(x)=\dfrac{2x+1}{x-3}.

07 — Explanation

How do I find the inverse of a quadratic?

A quadratic is many-to-one, so it only has an inverse over a restricted domain. Complete the square first, then use that restricted domain to choose the correct ±\pm sign.

Worked exam-style question: f(x)=5+6x−x2f(x)=5+6x-x^2 for x≤3x\le3. Find f−1(x)f^{-1}(x), then the values of xx for which f−1(x)>0f^{-1}(x)>0.

  1. Complete the square: f(x)=14−(x−3)2f(x)=14-(x-3)^2.
  2. Swap: x=14−(y−3)2⇒(y−3)2=14−x⇒y=3±14−xx=14-(y-3)^2 \Rightarrow (y-3)^2=14-x \Rightarrow y=3\pm\sqrt{14-x}.
  3. Choose the sign using the domain/range swap rule: domain of ff (x≤3x\le3) becomes the range of f−1f^{-1}, so f−1(x)≤3f^{-1}(x)\le3 — this forces the minus sign: f−1(x)=3−14−xf^{-1}(x)=3-\sqrt{14-x}.
  4. Solve 3−14−x>0⇒3>14−x⇒9>14−x⇒x>53-\sqrt{14-x}>0 \Rightarrow 3>\sqrt{14-x}\Rightarrow 9>14-x\Rightarrow x>5.
  5. Combine with the domain of f−1f^{-1} (range of ff is f(x)≤14f(x)\le14, so domain of f−1f^{-1} is x≤14x\le14): final answer 5<x≤145<x\le14.

08 — Explanation

How do I find where f(x) meets its own inverse without solving a hard equation?

Since y=f(x)y=f(x) and y=f−1(x)y=f^{-1}(x) are reflections in the line y=xy=x, any intersection point must lie on y=xy=x — so just solve f(x)=xf(x)=x instead of the much messier f(x)=f−1(x)f(x)=f^{-1}(x).

09 — Common mistakes

Common mistakes to avoid

  • Reading fg(x)fg(x) left-to-right instead of applying the inner function first.
  • Treating f−1(x)f^{-1}(x) as a reciprocal.
  • Trying to rearrange a quadratic for xx without completing the square first.
  • Forgetting to use the original domain to pick the correct sign after taking a square root.