Function Composition: Creating a new function by applying one function to the result of another
Notation (f ∘ g)(x): Read as "f composed with g of x" or "f of g of x"
Order Matters: In general, (f ∘ g)(x) ≠ (g ∘ f)(x) - composition is not commutative
Domain Restrictions: The output of the inner function must be in the domain of the outer function
- Identify functions: Determine which function is the inner and outer function
- Substitute: Replace the input variable of the outer function with the entire inner function
- Simplify: Perform algebraic operations to get the final expression
- Check domain: Ensure the composition is defined for the given inputs
For (f ∘ g)(x): Substitute g(x) into f(x). For (g ∘ f)(x): Substitute f(x) into g(x).
- Find (f ∘ g)(x) by substituting g(x) into f(x)
- Find (g ∘ f)(x) by substituting f(x) into g(x)
- Compare results to demonstrate non-commutativity
\( (f \circ g)(x) = f(g(x)) \)
Substitute g(x) = x² - 1 into f(x) = 2x + 3
\( f(g(x)) = f(x^2 - 1) = 2(x^2 - 1) + 3 \)
\( f(g(x)) = 2(x^2 - 1) + 3 = 2x^2 - 2 + 3 = 2x^2 + 1 \)
\( (g \circ f)(x) = g(f(x)) \)
Substitute f(x) = 2x + 3 into g(x) = x² - 1
\( g(f(x)) = g(2x + 3) = (2x + 3)^2 - 1 \)
\( g(f(x)) = (2x + 3)^2 - 1 = 4x^2 + 12x + 9 - 1 = 4x^2 + 12x + 8 \)
\( (f \circ g)(x) = 2x^2 + 1 \)
\( (g \circ f)(x) = 4x^2 + 12x + 8 \)
Since they are different, composition is not commutative.
\( (g \circ f)(x) = 4x^2 + 12x + 8 \)
\( (f \circ g)(x) = 2x^2 + 1 \)
\( (g \circ f)(x) = 4x^2 + 12x + 8 \)
• Substitution: Replace input variable with entire function
• Algebraic Expansion: Expand binomials when necessary
• Non-Commutativity: Order of composition matters
Substitute g(x) into f(x): Replace x in f(x) with g(x), then determine domain restrictions.
\( (f \circ g)(x) = f(g(x)) \)
Substitute g(x) = x + 2 into f(x) = 1/x
\( f(g(x)) = f(x + 2) = \frac{1}{x + 2} \)
For f(g(x)) to be defined, we need g(x) ≠ 0 (since f(x) = 1/x)
So x + 2 ≠ 0, which means x ≠ -2
g(x) = x + 2 is defined for all real numbers
The domain of (f ∘ g)(x) is all real numbers except x = -2
\( (f \circ g)(x) = \frac{1}{x + 2} \)
Domain: \( x \in \mathbb{R}, x \neq -2 \)
• Domain Restriction: Output of inner function must be in domain of outer function
• Rational Functions: Denominator cannot be zero
• Composition Domain: Intersection of all relevant domains
Substitute g(x) into f(x): Replace x in f(x) with g(x), then determine domain restrictions for both functions.
\( (f \circ g)(x) = f(g(x)) \)
Substitute g(x) = 4 - x² into f(x) = √x
\( f(g(x)) = f(4 - x^2) = \sqrt{4 - x^2} \)
For f(g(x)) to be defined, we need g(x) ≥ 0 (since f(x) = √x)
So 4 - x² ≥ 0
4 - x² ≥ 0
4 ≥ x²
x² ≤ 4
-2 ≤ x ≤ 2
g(x) = 4 - x² is defined for all real numbers
The domain of (f ∘ g)(x) is [-2, 2]
\( (f \circ g)(x) = \sqrt{4 - x^2} \)
Domain: \( x \in [-2, 2] \)
• Radical Functions: Argument must be non-negative
• Domain Intersection: All restrictions must be satisfied
• Inequality Solving: Solve step by step
Chain of compositions: Evaluate from right to left: h(x), then g(h(x)), then f(g(h(x))).
\( h(x) = x - 3 \)
\( g(h(x)) = g(x - 3) = 2(x - 3) + 1 = 2x - 6 + 1 = 2x - 5 \)
\( f(g(h(x))) = f(2x - 5) = (2x - 5)^2 \)
\( (2x - 5)^2 = 4x^2 - 20x + 25 \)
\( (f \circ g \circ h)(x) = (2x - 5)^2 = 4x^2 - 20x + 25 \)
\( (f \circ g \circ h)(x) = (2x - 5)^2 \)
• Right-to-Left Evaluation: Evaluate compositions from inside out
• Chain Rule: Each function feeds into the next
• Binomial Expansion: Expand when necessary
Two approaches: Either find the general composition then evaluate, or evaluate step by step.
First find g(2): \( g(2) = 2^2 + 1 = 4 + 1 = 5 \)
Then find f(g(2)) = f(5): \( f(5) = 3(5) - 4 = 15 - 4 = 11 \)
Find the general composition: \( (f \circ g)(x) = f(x^2 + 1) = 3(x^2 + 1) - 4 = 3x^2 + 3 - 4 = 3x^2 - 1 \)
Then evaluate at x = 2: \( (f \circ g)(2) = 3(2)^2 - 1 = 3(4) - 1 = 12 - 1 = 11 \)
First find f(-1): \( f(-1) = 3(-1) - 4 = -3 - 4 = -7 \)
Then find g(f(-1)) = g(-7): \( g(-7) = (-7)^2 + 1 = 49 + 1 = 50 \)
Find general composition: \( (g \circ f)(x) = g(3x - 4) = (3x - 4)^2 + 1 \)
\( = 9x^2 - 24x + 16 + 1 = 9x^2 - 24x + 17 \)
At x = -1: \( (g \circ f)(-1) = 9(-1)^2 - 24(-1) + 17 = 9 + 24 + 17 = 50 \)
\( (f \circ g)(2) = 11 \)
\( (g \circ f)(-1) = 50 \)
• Point Evaluation: Either compose then evaluate or evaluate step by step
• Order of Operations: Always follow function order
• Verification: Use both methods to verify answer
Domain Considerations: The range of the inner function must be contained in the domain of the outer function
Associativity: Composition is associative: (f ∘ g) ∘ h = f ∘ (g ∘ h)
Non-Commutativity: Generally f ∘ g ≠ g ∘ f
Identity Element: The identity function I(x) = x acts as an identity element
- Step-by-step evaluation: Evaluate inner functions first
- Domain analysis: Check restrictions at each step
- Pattern recognition: Identify when compositions simplify
- Graphical interpretation: Understand composition visually
• Composition Order: (f ∘ g)(x) = f(g(x)) - evaluate g first
• Domain Restriction: Range of g ⊆ Domain of f
• Associativity: (f ∘ g) ∘ h = f ∘ (g ∘ h)
• Non-Commutativity: f ∘ g ≠ g ∘ f in general
• Identity Function: I(x) = x, where f ∘ I = I ∘ f = f