topic badge

2.7 Composition of functions

Worksheet
What do you remember?
1

Define function composition.

2

Consider the composite function h(x)=(x-3)^2+(x-3)+1, where h(x)=f(g(x)).

a

State the input of f(x).

b

State the input of g(x).

3

Given the following functions, determine the expression that defines each function composition.

  • f(x)=3x^2+5x+4
  • g(x)=-2\sqrt{x}+1
  • h(x)=7x^2
a

(f\circ g)(x)

b

(g\circ f)(x)

c

(f\circ f)(x)

d

\left(f(g(h))\right)(x)

4

Consider the functions A\left(x\right) = 4x^2 + 3 and B\left(x\right) = x - 5.

a

State the domain of A.

b

State the domain of B.

c

Find an expression for \left(A (B)\right)\left(x\right).

d

State the domain of the function \left(B(A)\right).

5

The table shows some of the outputs of the functions f, g, and h.

Use the table to evaluate the following:

a
\left(f \circ g\right)\left(4\right)
b
\left(g \circ h\right)\left(2\right)
c
\left(f \circ h\right)\left(0\right)
d
\left(g \circ f\right)\left(8\right)
e
\left(g \circ f \circ h\right)\left(16\right)
f
\left(f \circ g \circ h \right) (x)
xf\left(x\right)g\left(x\right)h\left(x\right)
0182
1-184
2058
42011
816-25
1664-122
Let's practice
6

Given the functions: f(x) = x^2 + 2x + 1 and g(x) = x - 1.

a

Find (f \circ g)(x).

b

Find (g \circ f)(x).

c

Explain why these composite functions are not equivalent.

7

Using the given set of functions, evaluate the following composite functions.

i

(f \circ g)(x)

ii

(f \circ f)(x)

ii

(f\circ g\circ h)(x)

iii

(h\circ g\circ f)(x)

a

f(x) = 3x^2 - 2x + 1, g(x) = -x+4, and h(x) = 5x

b

f(x) = 9x + 7, g(x) = x^2 - 6 and h(x)=x+4

c

f(x) = \sqrt x +3, g(x) = 16x^2 , and h(x) = 3x - 1

d

f(x) = 4x+5, g(x) = x^2 - 2 and h(x) = \sqrt x

8

Using the given set of functions, evaluate the following composite functions.

i

(f \circ g)(2)

ii

(h \circ f)(2)

ii

(f\circ g\circ h)(2)

iii

(h\circ g\circ f)(2)

a

f(x) = x^3 + x^2 + x + 1, g(x) = - 2x + 1, and h(x) = - 4x

b

f(x) = - 4x + 4, g(x) = 2x^2 - x + 3, and h(x) = x^3

c

f(x) = x^2 - 3, g(x) = \sqrt x, and h(x) = 2x + 6

d

f(x) = \sqrt x, g(x) = x^2 + 1, and h(x) = x - 9

9

Given the function f(x) = x^2.

a

Describe the transformation represented by the composition of g(x) = x + 3 with f.

b

How does this transformation affect the graph of f?

10

Consider the functions f(x) = x^2 - 2x + 1 and g(x) = 3x + 1, determine the domain of the composite function (f \circ g)(x).

11

Given the function f(x) = \sqrt{x}.

a

Describe the transformation represented by the composition of g(x) = 2x with f.

b

How does this transformation affect the graph of f?

12

Given the function f(x) = 5x^2 + 3x - 2, show an analytic representation of the composite function f(f(x)).

13

The functions h(x) = 3x + 2 and j(x) = x - 4 are composed to form a new function k(x). If k(5) = 7, determine whether h was composed with j, or j was composed with h.

14

The functions f and g are given by the graphs below.

-4
-3
-2
-1
1
2
3
4
x
-5
-4
-3
-2
-1
1
2
3
4
5
f
-4
-3
-2
-1
1
2
3
4
x
-5
-4
-3
-2
-1
1
2
3
4
5
g

Based on the graphs, evaluate:

a

(f\circ g)(2)

b

(g\circ f)(-3)

c

(f\circ g)(1)

d

(g\circ f)\left(-\dfrac32\right)

15

Given the following composite functions h(x), decompose this into two functions f(x) and g(x) such that h(x) = f(g(x)).

a

h(x) = (2x^3 - x + 1)^5

b

h(x) = \sqrt{4x - 7}

c

h(x) = (3x^2 - 4x + 2)^4+8

d

h(x) =2\sqrt{x^4 - 2x^2 + x - 1}

Let's extend our thinking
16

Explain why function composition is not commutative. Use an example to illustrate your answer.

17

Consider the function h(x) = 4x^{2} - 2x + 1.

a

When composing the function h(x) with the identity function g(x) = x, what is the resulting function?

b

How does this demonstrate the role of the identity function in function composition?

18

The distance, D, in meters that a car travels is given by D = v \times t where v is the velocity in \text{m/s} and t is the time in seconds. The velocity of the car changes with time according to the function v = a \times t, where a is the acceleration in \text{m/s}^2.

a

Write a composite function that gives the distance travelled by the car in terms of acceleration and time.

b

Find the distance if the acceleration of the car is 2 \text{ m/s}^2 in 5 seconds.

19

A coffee shop sells coffee at \$2 per cup and pastries at \$3 each. The function f(x) denotes the total cost of x cups of coffee and g(x) denotes the total cost of x pastries. If a customer orders 3 cups of coffee and 2 pastries, calculate the total cost as a composition of the two functions, f(g(x)).

20

A gym charges a monthly membership fee of \$30 and an additional \$10 fee per class attended. Let's denote the monthly membership fee function as f(x) and the per class fee as g(x). If a member attends 5 classes in a month, what is the total cost? Calculate this as a composition of two functions, f(g(x)).

Sign up to access Worksheet
Get full access to our content with a Mathspace account

Outcomes

2.7.A

Evaluate the composition of two or more functions for given values.

2.7.B

Construct a representation of the composition of two or more functions.

2.7.C

Rewrite a given function as a composition of two or more functions.

What is Mathspace

About Mathspace