ACT® · Math: Functions — Composition, Transformation, and Inverse Functions
Writing an Expression for the Composite of Two Functions (F 708)
Composing two functions means feeding the output of one machine straight into the other, so f(g(x)) is built by replacing every x in f(x) with the entire expression for g(x).
Think of f and g as two machines wired in series. A number goes into g first, g spits out a value, and that value goes straight into f. The composite f(g(x)) is the single formula that describes the whole pipeline without ever stopping to compute a number in the middle. That's the intuition: instead of plugging in one number at a time, you plug in the entire expression g(x) at once, so the formula works for every input simultaneously.
Mechanically, composing is just substitution with expressions instead of numbers. To find f(g(x)), take the formula for f(x), and everywhere you see x, write g(x) in its place, parentheses and all, then simplify. For f(x) = 2x + 5 and g(x) = x2 - 3, replace x in f with the whole expression x2 - 3: f(g(x)) = 2(x2 - 3) + 5 = 2x2 - 6 + 5 = 2x2 - 1. Order matters completely: g(f(x)) sends f's output into g instead, giving a different formula almost every time.
This substitution habit connects directly to the rest of the unit. Transformations are really composition with simple outer functions, like replacing x with x - 3 to shift a graph, or multiplying by -1 to flip it. Inverse functions are the special case where composing f with its own inverse undoes everything, leaving f(f−1(x)) = x. Once substitution-of-expressions feels automatic here, both of those ideas become the same skill applied to a new situation.
Key terms
- Composite function
- A new function formed by using the output of one function as the input of another, written f(g(x)).
- f(g(x))
- The result of substituting the entire expression g(x) for x in the formula for f.
- Inner function
- The function applied first, whose output becomes the input to the other function.
- Outer function
- The function applied last, which receives the inner function's output as its entire input.
Watch it explained
- How it worksHow do you substitute an entire expression into x rather than substituting a number?
- Worked exampleFind an expression for f(g(x)) when f(x) = 2x + 5 and g(x) = x2 - 3.
- Worked exampleFind an expression for g(f(x)) when f(x) = 4x - 1 and g(x) = x2 + 2x.
- Common mistakeWhy doesn't composing two linear functions ever produce a quadratic?
- Going furtherWhat happens to a composite when one of its two functions is swapped for its own inverse?
Check yourself
End of topic.