
Definition: The composition of two functions f and g creates a new function where the output of g becomes the input of f.
Notation:
(f∘g)(x)=f(g(x))
To find (f∘g)(x):
Start with the inner function g(x)
Substitute g(x) into f(x) wherever you see x
Simplify the resulting expression
Example 1: Let $$f(x)=x^2+1$$ and $$g(x)=2x-3$$
(f∘g)(x)=f(g(x))=f(2x−3)=$$(2x-3)^2+1=4x^2-12x+10$$
Critical Concept: The domain of (f∘g)(x) must satisfy BOTH:
x is in the domain of g
g(x) is in the domain of f
Step-by-step domain analysis:
Find domain of g(x)
Find domain of f(x)
Restrict domain of g so that g(x) is in domain of f
Example 3: $$f(x)=\sqrt{x} , g(x)=x-4$$
Domain of g: all real numbers
Domain of f: x≥0
For (f∘g)(x)=$$\sqrt{x-4}$$, need x−4≥0⇒ x≥4
Domain: [4,∞)
Two Methods:
Find formula first, then substitute
Chain evaluation: Start inside, work outward
Example 4: If $$f(x)=x^2$$ and $$g(x)=x+2$$, find (f∘g)(3)
Method 1 (formula):
(f∘g)(x)=$$(x+2)^2 \rightarrow (3+2)^2=25$$
Method 2 (chain):
g(3)=3+2=5 f(5)=25
We can compose three or more functions:
(f∘g∘h)(x)=f(g(h(x)))
Work from inside to outside
Example 5: $$f(x)=\sqrt{x} , g(x)=x+1 , h(x)=2x$$
(f∘g∘h)(x)=f(g(h(x)))=f(g(2x))=f(2x+1)=$$\sqrt{2x+1}$$
Often we need to decompose a function into simpler parts.
Example 6: Decompose H(x)=$$\sqrt{3x^2+1}$$
Possible decomposition:
g(x)=$$3x^2+1$$ (inner)
f(x)=$$\sqrt{x}$$ (outer)
Then H(x)=(f∘g)(x)
If I(x)=x, then:
(f∘I)(x)=(I∘f)(x)=f(x)
If f and g are inverses, then:
(f∘g)(x)=(g∘f)(x)=x
Test for inverses: Check if f(g(x))=x and g(f(x))=x
To understand (f∘g)(a)(f∘g)(a) graphically:
Start at x=ax=a on x-axis
Find g(a)g(a) on graph of gg (y-value)
Use that y-value as input to ff
Read final output from graph of ff
This is why composition represents a chain of processes!
Given algebraic expressions for f and g, find (f∘g)(x) or (g∘f)(x)
Given tables, graphs, or equations, find value of composition at specific input
“Find the domain of (f∘g)(x)“
“Express H(x)=$$\frac{1}{\sqrt{x^2+4}}$$ as composition of two functions”
Word problems involving chains of processes
For composition problems:
Identify inner and outer functions
Substitute carefully (use parentheses!)
Simplify the resulting expression
Check domain restrictions from both functions
Verify with specific values if possible
You have not completed all required lessons and assessments.