Games
Problems
Go Pro!

# Function Composition

Lesson Plans > Mathematics > Algebra > Functions

## Function Composition

When math textbooks provide exercises in function composition, the typical exercise works as follows: the two functions are given, and the composition must be found. For example:

If f(x) = 3x + 1 and g(x) = x2 - 1, what is f(g(x))?

Students then plug (x2 - 1) into f: f(g(x)) = f(x2 - 1) = 3(x2 + 1) - 1 = 3x2 + 3 - 1 = 3x2 + 2.

What's often missing is the type of problem in which the composition is given, and the student must find two functions whose composition is the given function. This sort of problem is helpful when students reach calculus, and have to use the Chain Rule. The Chain Rule involves finding the derivate of a composite function, but we are rarely given the function in a composite form; we must identify two functions that form the composite function in order to use the Chain Rule.

Before expecting students to accomplish this task, we give them at least a couple sample problems with solutions.

Example #1

Find an f(x) and g(x) such that f(g(x)) =
x2 - 1

If g(x) = x2 - 1, then

f(g(x)) =
g(x)

So g(x) = x2 - 1; f(x) =
x

Example #2

Find an f(x) and g(x) such that f(g(x)) = x + 7
x
+ 12

If g(x) =
x
then f(g(x)) = g(x)2 + 7g(x) + 12

Therefore, g(x) =
x
; f(x) = x2 + 7x + 12

Example #3

Find an f(x) and g(x) such that f(g(x)) = x2 + 8x + 16 +
1
2
(2x + 8)

f(g(x)) = (x + 4)2 + (x + 4)

Noticing that we have a repeated (x + 4), this gives us the idea of setting g(x) = x + 4

Now the equation is: f(g(x)) = g(x)2 + g(x)

Therefore, g(x) = x + 4; f(x) = x2 + x

This worksheet requires students to work backwards to find composite functions.

NOTES

• Students should be discouraged from using "trivial" functions. For example, setting g(x) = x makes each problem trivial
Lesson by Mr. H

## Function Composition

Find functions that, when composed, form the given function.

Example:   f(g(x)) =
x2 - x

Solution:    f(x) =
x
; g(x) = x2 - x

1. f(g(x)) =
1
x3 + 3x

2. f(g(x)) = x2 + 6x + 9

3. f(g(x)) =
1
x2
-
1
2x2

4. f(g(x)) = x + 1 +
x + 1

5. f(g(x)) = x3 - 3x2 + 3x - 1

6. f(g(x)) =
x + 2
x2 + 2x + 1

7. f(g(x)) =
x + 2 +
x2 + 4x + 4

8. f(g(x)) = (x + 3)2 + x + 6

9. f(g(x)) = x + 8
x
+ 16

10. f(g(x)) =
3
x2 + 1

11. f(g(x)) =
x2 + 18x + 82
x + 9

12. f(g(x)) =
x
+
1
x

13. f(g(x)) = (x4 + 8x3 + 16x2) - x(x + 4)

14. f(g(x)) =
x2 + 10x + 24
x + 5

15. f(g(x)) = x + 4x
3
4
+ 6x
1
2
+ 4x
1
4
+ 1