πŸ“Œ What is a Composite Function?

A composite function is formed when the output of one function is used as the input of another. We evaluate the inner function first, then plug that result into the outer function.

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

Both notations mean the same thing: evaluate g first, then plug into f.

Read aloud: β€œf of g of x”

Key Rule: When evaluating f(g(x)), always work inside-out (right to left). Evaluate g(x) first, then use that answer as the input for f.

f(x) = 2x βˆ’ 3

f(5)

= 2(5) βˆ’ 3 = 7

f(a)

= 2a βˆ’ 3

f(4t)

= 2(4t) βˆ’ 3 = 8t βˆ’ 3

f(5x βˆ’ 1)

= 2(5x βˆ’ 1) βˆ’ 3
= 10x βˆ’ 2 βˆ’ 3
= 10x βˆ’ 5

f(x) = 3x + 1. Let f(2) = b. Find f(b).

1
Find b: f(2) = 3(2) + 1 = 7  β†’  b = 7
2
Find f(b): f(7) = 3(7) + 1 = 22

f(x) = 3x βˆ’ 5  Β·  g(x) = 2x + 1

f(g(3))
1
g(3) = 2(3)+1 = 7
2
f(7) = 3(7)βˆ’5 = 16
g(f(3))
1
f(3) = 3(3)βˆ’5 = 4
2
g(4) = 2(4)+1 = 9
f(f(4))
1
f(4) = 3(4)βˆ’5 = 7
2
f(7) = 3(7)βˆ’5 = 16
Notice: f(g(3)) β‰  g(f(3)). Composition is generally NOT commutative β€” order matters!

f(x) = 3x βˆ’ 5  Β·  g(x) = 2x + 1

f(g(x))
f(g(x)) = f(2x+1)
= 3(2x+1) βˆ’ 5
= 6x+3βˆ’5
= 6x βˆ’ 2
g(f(x))
g(f(x)) = g(3xβˆ’5)
= 2(3xβˆ’5) + 1
= 6xβˆ’10+1
= 6x βˆ’ 9

h(x) = 2xβˆ’3  Β·  k(x) = xΒ²+4x+5  Β·  p(x) = √(3x+1)  Β·  m(x) = 3x+2

k(h(2))
1
h(2) = 2(2)βˆ’3 = 1
2
k(1) = 1+4+5 = 10
(h ∘ m)(βˆ’1)
1
m(βˆ’1) = 3(βˆ’1)+2 = βˆ’1
2
h(βˆ’1) = 2(βˆ’1)βˆ’3 = βˆ’5
(k ∘ p)(x)
k(p(x)) = k(√(3x+1))
= (√(3x+1))² + 4√(3x+1) + 5
= 3x+1 + 4√(3x+1) + 5
= 3x+6+4√(3x+1)

Multiple Representations

f(x) from graph  Β·  g(x) from table  Β·  h(x) piecewise  Β·  k(x) = (xβˆ’2)Β²βˆ’3 (verbal: quadratic, shift right 2, down 3)

xβˆ’4βˆ’1257
g(x)Ο€33βˆ’24
h(x) = |βˆ’7+3x|, x<1
        βˆ’4,      x=1
        βˆ’x,      x>1
f(g(3))

g(3) = not defined (3 not in table)
β†’ not defined

(h∘f)(8)
1
f(8) = βˆ’1 (from graph)
2
h(βˆ’1) = |βˆ’7+3(βˆ’1)| = |βˆ’10| = 10
(g∘k)(0)
1
k(0) = (0βˆ’2)Β²βˆ’3 = 4βˆ’3 = 1
2
g(1) = not defined β†’ not defined
f(f(2))
1
f(2) = 1 (from graph)
2
f(1) = 4 (from graph)
(g∘h)(1)
1
h(1) = βˆ’4 (x=1 case)
2
g(βˆ’4) = Ο€ (from table)
(g∘f∘h∘k)(3)
1
k(3) = (3βˆ’2)Β²βˆ’3 = βˆ’2
2
h(βˆ’2) = |βˆ’7+3(βˆ’2)| = 13
3
f(13) = not defined
Key takeaway: A composite function is not defined whenever any intermediate step produces a value outside the domain of the next function.
Card 1 of 6
Concept
What does f(g(x)) mean? How do you evaluate it?
Tap to reveal ✨
Answer
Evaluate g(x) FIRST, then plug that result into f
Work inside-out (right to left). f(g(x)) = f applied to the output of g. Also written (f ∘ g)(x).
Composition of Functions
0 / 5
Question 1 of 5
f(x) = 3x βˆ’ 5 and g(x) = 2x + 1. Evaluate f(g(3)).
Start with the inner function: g(3) = ?
Question 2 of 5
f(x) = 3x βˆ’ 5 and g(x) = 2x + 1. Find an expression for f(g(x)).
Substitute g(x) = 2x + 1 into f
Question 3 of 5
h(x) = 2x βˆ’ 3 and k(x) = xΒ² + 4x + 5. Evaluate k(h(2)).
h(2) = 2(2) βˆ’ 3 = 1, then k(1) = ?
Question 4 of 5
Using the table: g(βˆ’4)=Ο€, g(βˆ’1)=3, g(2)=3, g(5)=βˆ’2, g(7)=4. And h(x): h(1)=βˆ’4, h(x)=βˆ’x for x>1. Evaluate (g ∘ h)(1).
Start with h(1), then plug into g
Question 5 of 5
f(x) = 3x βˆ’ 5, g(x) = 2x + 1. Is f(g(x)) = g(f(x))? Justify.
f(g(x)) = 6x βˆ’ 2  Β·  g(f(x)) = 6x βˆ’ 9
0/5
Keep going!

πŸ’¬ Ask a Question

Stuck on something? Your teacher will reply to your email!

Only used to reply β€” never shared.
0 / 8000
πŸŽ‰

Question Sent!

Your teacher will reply soon. Keep studying! πŸš€