# 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) = x^{2} - 1, what is f(g(x))?

Students then plug (x^{2} - 1) into f: f(g(x)) = f(x^{2} - 1) = 3(x^{2} + 1) - 1 = 3x^{2} + 3 - 1 = 3x^{2} + 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**

^{2}- 1

If g(x) = x^{2} - 1, then

^{2}- 1; f(x) =

**Example #2**

^{2}+ 7g(x) + 12 Therefore, g(x) =

^{2}+ 7x + 12

**Example #3**

^{2}+ 8x + 16 +

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) = x^{2} + x

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

**NOTES**

- These should be graded carefully, as there may be multiple answers to each question. I would recommend adding alternate answers to your own answer key, so you'll have them for future years.
- Students should be discouraged from using "trivial" functions. For example, setting g(x) = x makes each problem trivial

## Handouts/Worksheets

## Function Composition

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

Example: f(g(x)) =^{2}- x

Solution: f(x) =

^{2}- x

- f(g(x)) = 1x
^{3}+ 3x

- f(g(x)) = x
^{2}+ 6x + 9

- f(g(x)) = -1x
^{2}12x^{2}

- f(g(x)) = x + 1 + x + 1

- f(g(x)) = x
^{3}- 3x^{2}+ 3x - 1

- f(g(x)) = x + 2x
^{2}+ 2x + 1

- f(g(x)) = x + 2 +x
^{2}+ 4x + 4

- f(g(x)) = (x + 3)
^{2}+ x + 6

- f(g(x)) = x + 8x+ 16

- f(g(x)) = 3x
^{2}+ 1

- f(g(x)) = x
^{2}+ 18x + 82x + 9

- f(g(x)) = x+1x

- f(g(x)) = (x
^{4}+ 8x^{3}+ 16x^{2}) - x(x + 4)

- f(g(x)) = x
^{2}+ 10x + 24x + 5

- f(g(x)) = x + 4x
^{34}+ 6x^{12}+ 4x^{14}+ 1

## Function Composition: Answer Key

*This content is for teachers only, and can only be accessed with a site subscription.*

# Ask Professor Puzzler

Do you have a question you would like to ask Professor Puzzler? Click here to ask your question!**Over 3,000 Pages of Free Content**

We've been providing free educational games and resources since 2002.

Would you consider a donation of any size to help us continue providing great content for students of all ages?