Composite Function

About this exercise

Applying one function to the result of another.

Example problems

A few of the problems this exercise asks. The printable worksheet holds ten fresh ones.

  1. f(x) = 3x + 5 g(x) = 3x + 1 f(g(5)) =
  2. f(x) = 3x g(x) = 2x + 5 f(g(5)) =
  3. f(x) = 4x − 1 g(x) = 3x + 1 f(g(3)) =
  4. f(x) = 4x + 1 g(x) = 3x f(g(2)) =

Try it yourself first — open a section below only if you get stuck.

How to solve it

Work from the inside outwards: evaluate the inner function first, then feed its result into the outer one.

Worked example

With f(x) = x + 1 and g(x) = 2x, the value of f(g(3)) is f(6) = 7.

Common mistake

Applying them in the wrong order. The inner function is the one written closest to the input.