Worked solution: f(x)=2x+3 g(x)=x^2 find fg(x)

Step-by-step working for this composite and inverse function problem, produced and checked by the solver.

Composite function Answer checked
Answer
fg(x)=2x2+3fg(x) = 2 x^{2}+3
fg(x)-6-4-20246020406080fg(x)fg(x)Graph with x from -6 to 6 and y from -7.351 to 83.051. Shows the curve fg(x).
  1. The functions
  2. Meaning of
    Apply g first, then put that result into f.
  3. Substitute for in
  4. Expand and simplify
  5. Check: compare with applying the functions one after the other

Change the numbers and solve your own

The method in brief

  1. fg(x) means do g first, then f. Replace x in f with the whole of g(x).
  2. To evaluate gf(2), work out f(2) first, then put that into g.
  3. For the inverse, write y = f(x), swap x and y, then make y the subject.
  4. Check by showing f(f⁻¹(x)) = x.

Full guide: Composite functions fg(x) and inverse functions.

More A-level examples on this topic