Functions 2 Composite Functions
Functions 2 Composite Functions
Starter
Answer these questions, based on the following functions:
𝑓 ( 𝑥 )=𝑥 2 𝑔 ( 𝑥 )=𝑥 − 4
1a) Calculate fg(8) The function fg(8) means you calculate g(8),
and then calculate f(the answer)
𝑔 ( 𝑥 )=𝑥 − 4
Sub in 8
So substitute 8 into g(x) to find the
𝑔 ( 8 )=8 − 4 value of g(8)
Calculate
𝑔 ( 8 )=4 Then take the answer, and substitute it
into f(x)
𝑓 ( 𝑥 )=𝑥 2
Sub in 4, which was g(8)
𝑓𝑔 ( 8 ) =( 4)2 We are calculating ‘f of g of 8’
Calculate
𝑓 𝑔 ( 8 )=16
Therefore: 𝑓𝑔(8)=16
Composite Functions
Lets start with the following functions:
𝑓 ( 𝑥 )=𝑥 2 𝑔 ( 𝑥 )=𝑥 − 4
1b) Calculate gf(8) The function gf(8) means you calculate f(8),
and then calculate g(the answer)
𝑓 ( 𝑥 )=𝑥 2
Sub in 8
So substitute 8 into f(x) to find the
𝑓 ( 8 ) =(8)2
Calculate value of f(8)
𝑓 ( 8 ) =64 Then take the answer, and substitute it
into g(x)
𝑔 ( 𝑥 )=𝑥 − 4
Sub in 64, which was f(8)
𝑔 𝑓 ( 8 )=64 − 4 We are calculating ‘g of f of 8’
Calculate
𝑔 𝑓 ( 8 )=60 Notice that the order is
important – you get a different
Therefore: 𝑔𝑓 (8)=60 answer if it is changed!
Composite Functions
Lets start with the following functions:
𝑓 ( 𝑥 )=𝑥 2 𝑔 ( 𝑥 )=𝑥 − 4
1c) Calculate fg(x) The function fg(x) means you calculate g(x),
and then calculate f(the answer)
𝑔 ( 𝑥 )=𝑥 − 4 Sub in x (actually,
So substitute x into g(x) to find the
𝑔 ( 𝑥 )=𝑥 − 4 nothing happens!)
value of g(x)
Then take the answer, and substitute it
𝑓 ( 𝑥 )=𝑥 2 into f(x)
Sub in (x – 4) for all ‘x’
2 terms (This was g(x))
𝑓 ( 𝑥 − 4 ) =(𝑥 − 4)
Calculate We are calculating ‘f of g of x’
2
𝑓 ( 𝑥 − 4 ) =𝑥 −8 𝑥+16
Simplify
𝑓 ( 𝑥 +1 )=3 𝑥 +2
2 2
Composite Functions
Lets start with the following functions: