Function decomposition (writing as a composite)
Function Decomposition
Function Decomposition is a topic in Functions in the Texas Essential Knowledge and Skills (Precalculus, §111.42). It is aligned to Standard P.2(C), which requires students to represent a function as a composite of two or more functions.
Function decomposition is the reverse of composition: it rewrites a single function \(h(x)\) as \(f(g(x))\) by identifying an inner function \(g\) and an outer function \(f\).
Theory
by choosing an inner function \(g\) and an outer function \(f\).
The trick is to spot the “inside” block — the expression tucked under a root, raised to a power, or sitting in a denominator. That block becomes \(g(x)\); whatever is done to it becomes \(f(u)\).
A decomposition satisfies
There is no single correct answer — any pair \((f,g)\) that rebuilds \(h\) when composed is valid. The most useful choice is usually the one that makes \(g\) the expression you would evaluate first.
How to decompose a function
- Find the inside. Look for the expression under a root, inside a power, or in a denominator — the part you would compute first.
- Set \(g(x)=\) that inside expression.
- Set \(f(u)=\) whatever is done to it, written in terms of a placeholder \(u\).
- Verify by forming \(f(g(x))\) — it must reproduce \(h(x)\).
The expression inside the power is \(3x-1\); the outer action is “raise to the 4th power.” So take
| \(g(x)\) | \(=\) | \(3x-1\) |
| \(f(u)\) | \(=\) | \(u^4\) |
Check by composing:
| \(f(g(x))\) | \(=\) | \((3x-1)^4=h(x)\) |
The radicand \(x^2+9\) sits inside the square root, so let it be the inner function and let the square root be the outer function.
| \(g(x)\) | \(=\) | \(x^2+9\) |
| \(f(u)\) | \(=\) | \(\sqrt{u}\) |
| \(f(g(x))\) | \(=\) | \(\sqrt{x^2+9}=h(x)\) |
Take the inner function to be the base \(x+2\); the outer function squares and reciprocates.
| \(g(x)\) | \(=\) | \(x+2\) |
| \(f(u)\) | \(=\) | \(\dfrac{1}{u^2}\) |
| \(f(g(x))\) | \(=\) | \(\dfrac{1}{(x+2)^2}=h(x)\) |
One natural split puts everything under the bars inside:
| \(g(x)=2x-7,\ \ f(u)\) | \(=\) | \(|u|\) |
Another keeps only \(2x\) inside and lets the outer function handle the shift:
| \(g(x)=2x,\ \ f(u)\) | \(=\) | \(|u-7|\) |
Both give \(f(g(x))=|2x-7|\), so a composite can be decomposed in more than one valid way.
Common pitfalls
Frequently asked questions
What does it mean to decompose a function?
To rewrite a single function \(h(x)\) as a composition \(f(g(x))\) by choosing an inner function \(g\) and an outer function \(f\). It is the reverse of composing.
How do you find the inner and outer functions?
Find the expression you would evaluate first — the part inside a root, power, or denominator. That is the inner function \(g\); the operation applied to it is the outer function \(f\).
Is a decomposition unique?
No. A function can be written as a composite in more than one valid way; any pair \((f,g)\) with \(f(g(x))=h(x)\) works.
Why is decomposition useful?
It is the first step of the chain rule in calculus: to differentiate a composite you must first see it as an inner and an outer function.