Working with Functions

Composite Functions and Mathematical Modelling

1 / 26
next
Slide 1: Slide
New lesson editor

This lesson contains 26 slides, with interactive quizzes and text slides.

Report this lesson

Items in this lesson

Composite Functions and Mathematical Modelling

This item has no instructions

Learning Goal

I can evaluate composite functions and apply them to solve mathematical and real-world problems using digital technology.

This item has no instructions

What words come to mind when you hear composite functions?

Use this to surface prior knowledge and misconceptions such as 'order', 'substitute', 'input', 'output' or 'inside first'.

Let's Review

Recall how function notation works.


  • If f(x) = 2x + 3, then f(2) = 2(2) + 3 = 7

  • If g(x) = x^2, then g(3) = 3^2 = 9

  • The number inside the brackets is the input

  • The function rule tells us what operation to do

Emphasise that function notation names a process: input first, then apply the rule. This review sets up the idea that in a composite function, the output from one process becomes the input to the next.

What Is a Composite Function?

A composite function is formed when one function is applied to the output of another function.


  • (f ∘ g)(x) means f(g(x))

  • Work out g(x) first

  • Then substitute that result into f

Students often reverse the order. Stress that the function nearest to x is done first.

Worked Example

Given:


  • f(x) = 2x + 1

  • g(x) = x^2


Find (f ∘ g)(2).


First evaluate g(2) = 2^2 = 4.

Then evaluate f(4) = 2(4) + 1 = 9.

You can also write the chain as 2 → g(2)=4 → f(4)=9 to make the order visually clear.

Writing the Composite Rule

Using the same functions:


(f ∘ g)(x) = f(g(x)) = f(x^2)


Substitute x^2 into f(x) = 2x + 1:


f(x^2) = 2x^2 + 1


So the composite function is (f ∘ g)(x) = 2x^2 + 1.

Connect the evaluated example to the general rule. This helps students see that composition can be done for a specific input or as an algebraic expression.

Order Matters

Composite functions are not usually equal when the order changes.


  • (f ∘ g)(x) = f(g(x))

  • (g ∘ f)(x) = g(f(x))

  • These often give different results because the input is changed in a different order

This prepares students for the guided practice where both orders are compared.

Guided Practice

Given:


  • f(x) = 3x - 2

  • g(x) = x + 4


Find:


  • (f ∘ g)(1)

  • (g ∘ f)(1)

Allow students time to attempt both before revealing the worked answers.

Worked Answers

g(1) = 1 + 4 = 5


Then:


f(5) = 3(5) - 2 = 13


So (f ∘ g)(1) = 13

(g ∘ f)(1)

f(1) = 3(1) - 2 = 1


Then:


g(1) = 1 + 4 = 5


So (g ∘ f)(1) = 5

(f ∘ g)(1)

Use this to reinforce that the same two functions can produce different results depending on the order.

In (f ∘ g)(x), which function is done first?

A

f(x)

B

g(x)

C

both together

D

either one

Checks the key misconception from slides 3 to 6: students must apply the function nearest to x first.

Complete the summary

A composite function is formed when one function is applied to the output of another. In f(g(x)), work out g(x) first, then substitute into f. Changing the order can give a different result.

output
f(g(x))
g(x)
f
input
g(f(x))
f(x)
g

Echoes the exact language from the teaching slides and reinforces the process and notation.

Why are (f ∘ g)(1) and (g ∘ f)(1) different?

Expected elements: composite functions depend on order; (f∘g)(1)=13 while (g∘f)(1)=5 because each function changes the input before the next one is applied.

Using Desmos

Enter these functions into Desmos:


  • f(x) = 2x + 1

  • g(x) = x^2

  • y = 2x^2 + 1


This lets you verify that (f ∘ g)(x) = 2x^2 + 1 by comparing the graphs.

If students know Desmos notation for composition, you may also show it directly. The main goal is verification: the algebraic composite and its graph should match.

What the Graph Shows

When you graph the composite function, you can see the effect of applying two rules in sequence.


  • g(x) = x^2 makes a parabola

  • Applying f(x) = 2x + 1 to that output gives y = 2x^2 + 1

  • The graph is stretched vertically by a factor of 2 and shifted up by 1

Keep the focus on how the second function acts on the output of the first, rather than treating graphing as a separate topic.

What does graphing y = 2x^2 + 1 in Desmos help you do?

A

verify the composite

B

change the function

C

find the gradient

D

swap the order

Targets the purpose of the ICT activity: verification by comparing the algebraic rule and the graph.

Complete the Desmos description

In Desmos, graphing g(x) = x^2 shows a parabola. Applying f(x) = 2x + 1 to that output gives y = 2x^2 + 1. The graph is stretched by a factor of 2 and shifted up by 1.

g(x) = x^2
f(x) = 2x + 1
y = 2x^2 + 1
2
g(x) = x + 2
f(x) = x^2
y = x^2 + 1
1

Keeps the focus on how the second rule acts on the output of the first and on the graph transformation described on slide 10.

Taxi Fare Model

Functions are useful for modelling real situations.


A taxi company charges:


  • $4 flag fall

  • $2 per kilometre


Model the fare with f(x) = 2x + 4, where x is the distance in kilometres.

Clarify that the fixed charge is the starting value and the rate per kilometre is the coefficient of x.

Using the Model

Substitute the distance into f(x) = 2x + 4.


  • f(5) = 2(5) + 4 = 14

  • f(8) = 2(8) + 4 = 20

  • f(12) = 2(12) + 4 = 28


The function gives the fare for each journey length.

Point out that the output has meaning: it represents cost, not just a number.

Why Functions Help in Modelling

A function model helps us describe a relationship between quantities.


  • distance changes → fare changes

  • the rule works for any valid distance

  • the model makes calculation quick and consistent

  • the same structure can be used in many real-world situations

Link back to the lesson objective: students are not only evaluating functions but using them to represent situations mathematically.

What does the 4 represent in f(x) = 2x + 4?

A

cost per kilometre

B

distance travelled

C

flag fall

D

total fare

Tests whether students can interpret parameters in a model, not just substitute values.

Complete the taxi model summary

The taxi fare model f(x) = 2x + 4 links distance and cost. The 2 shows the charge per kilometre, and the 4 is the fixed starting charge. For 12 kilometres, the fare is 28 dollars.

f(x) = 2x + 4
2
4
12
f(x) = x + 6
8
5
20

Reinforces modelling language: coefficient as rate, constant as fixed charge, and substitution for a real context.

Why are functions useful for modelling?

Expected elements: functions show relationships between quantities, work for any valid input, make calculations quick and consistent, and give outputs with real meaning such as cost.

What is one thing you learned today?

Reflection prompt only. Encourage students to mention either evaluating composites, using Desmos, or modelling with functions.

What helped you understand this best?

Reflection prompt only. Useful for identifying whether worked examples, the function machine idea, Desmos, or the taxi model supported learning best.

Glossary

function - a rule that assigns each input exactly one output

function notation - a way of writing a function using symbols such as f(x)

input - the value substituted into a function

output - the result produced by a function

composite function - a function formed by applying one function to the output of another

model - a mathematical rule used to represent a real-world situation

verify - to check that a result is correct

This item has no instructions