Function composition: The operation of combining two functions where the output of one function becomes the input of another. Denoted as (f ∘ g)(x) = f(g(x)).
- Identify the inner function g(x)
- Substitute g(x) into f(x) wherever x appears
- Simplify the resulting expression
- To evaluate at a specific value, substitute the value into the composed function
g(x) = x - 1
f(x) = 2x + 3 (outer function)
g(x) = x - 1 (inner function)
(f ∘ g)(x) = f(g(x))
This means we substitute g(x) into f(x)
f(g(x)) = f(x - 1)
f(x - 1) = 2(x - 1) + 3
f(x - 1) = 2(x - 1) + 3
f(x - 1) = 2x - 2 + 3
f(x - 1) = 2x + 1
(f ∘ g)(4) = 2(4) + 1 = 8 + 1 = 9
g(4) = 4 - 1 = 3
f(3) = 2(3) + 3 = 6 + 3 = 9 ✓
(f ∘ g)(x) = 2x + 1 and (f ∘ g)(4) = 9
• Function composition: (f ∘ g)(x) = f(g(x))
• Substitution: Replace every x in f(x) with g(x)
• Distributive property: a(b + c) = ab + ac
Order matters: Function composition is generally not commutative, meaning (f ∘ g)(x) ≠ (g ∘ f)(x) in most cases.
g(x) = 3x + 2
(3x + 2)²
(g ∘ f)(x) = g(f(x))
g(f(x)) = g(x²)
g(x²) = 3(x²) + 2 = 3x² + 2
(f ∘ g)(x) = f(g(x))
f(g(x)) = f(3x + 2)
f(3x + 2) = (3x + 2)²
f(3x + 2) = 9x² + 12x + 4
(g ∘ f)(x) = 3x² + 2
(f ∘ g)(x) = 9x² + 12x + 4
These are different functions!
Let x = 1:
(g ∘ f)(1) = 3(1)² + 2 = 5
(f ∘ g)(1) = 9(1)² + 12(1) + 4 = 25
Function composition is not commutative: order matters!
(g ∘ f)(x) = 3x² + 2 and (f ∘ g)(x) = 9x² + 12x + 4. These are different functions.
• Non-commutativity: (f ∘ g)(x) ≠ (g ∘ f)(x) in general
• Order matters: The sequence of function application affects the result
• Verification: Check with specific values to confirm different results
Domain restriction: The domain of a composite function is restricted by both the domain of the inner function and the domain of the composite function itself.
g(x) = x² - 1
(f ∘ g)(x) = f(g(x)) = f(x² - 1)
f(x² - 1) = √((x² - 1) + 4)
f(x² - 1) = √(x² - 1 + 4)
f(x² - 1) = √(x² + 3)
g(x) = x² - 1 has domain: all real numbers
For f(x) = √(x + 4), we need x + 4 ≥ 0, so x ≥ -4
Therefore, we need g(x) ≥ -4
x² - 1 ≥ -4
x² ≥ -3
x² ≥ -3 is true for all real numbers since x² ≥ 0 for all real x
So x² ≥ -3 is automatically satisfied
Domain of (f ∘ g)(x) is all real numbers
(f ∘ g)(x) = √(x² + 3) and the domain is all real numbers
• Domain of composite: Domain ⊆ Domain of inner function
• Range consideration: Range of inner function ⊆ Domain of outer function
• Square root domain: Expression under root ≥ 0
Function composition: The operation that combines two functions f and g to create a new function (f ∘ g) such that (f ∘ g)(x) = f(g(x)).
Inner function: The function that receives the input first in a composition. In (f ∘ g)(x), g(x) is the inner function.
Outer function: The function that processes the output of the inner function. In (f ∘ g)(x), f(x) is the outer function.
Domain of composite: The set of all x values for which the composite function is defined. This requires x to be in the domain of g and g(x) to be in the domain of f.
Non-commutative: Function composition does not commute in general: (f ∘ g)(x) ≠ (g ∘ f)(x).
Associative: Function composition is associative: (f ∘ g) ∘ h = f ∘ (g ∘ h).
- Identify functions: Determine f(x) and g(x) from the problem
- Identify order: Determine which function is inner and which is outer
- Set up composition: Write (f ∘ g)(x) = f(g(x)) or (g ∘ f)(x) = g(f(x))
- Substitute: Replace every instance of x in the outer function with the inner function
- Simplify: Expand and combine like terms if possible
- Determine domain: Find restrictions based on both functions
- Verify: Check with specific values if needed
Rational function composition: When composing functions that involve fractions, the domain is restricted by values that make the denominator zero.
g(x) = 2x - 3
(f ∘ g)(x) = f(g(x)) = f(2x - 3)
f(2x - 3) = 1/((2x - 3) + 2)
f(2x - 3) = 1/(2x - 3 + 2)
f(2x - 3) = 1/(2x - 1)
For f(x) = 1/(x + 2), we need x + 2 ≠ 0, so x ≠ -2
Therefore, we need g(x) ≠ -2
2x - 3 ≠ -2
2x ≠ 1
x ≠ 1/2
g(x) = 2x - 3 has domain: all real numbers
Domain of (f ∘ g)(x) is all real numbers except x = 1/2
Let x = 0: g(0) = -3, f(-3) = 1/(-3 + 2) = 1/(-1) = -1
(f ∘ g)(0) = 1/(2(0) - 1) = 1/(-1) = -1 ✓
(f ∘ g)(x) = 1/(2x - 1) and the domain is all real numbers except x = 1/2
• Rational function domain: Denominator cannot equal zero
• Composite domain: Inner function's output must be in outer function's domain
• Restriction propagation: Domain restrictions from outer function apply to composite
Associative property: Function composition is associative, meaning (f ∘ g) ∘ h = f ∘ (g ∘ h). We can compose functions in stages.
g(x) = 2x - 1
h(x) = x + 3
(f ∘ g)(x) = f(g(x)) = f(2x - 1)
f(2x - 1) = (2x - 1)² + 1
f(2x - 1) = 4x² - 4x + 1 + 1 = 4x² - 4x + 2
((f ∘ g) ∘ h)(x) = (f ∘ g)(h(x)) = (f ∘ g)(x + 3)
(f ∘ g)(x + 3) = 4(x + 3)² - 4(x + 3) + 2
4(x + 3)² - 4(x + 3) + 2
= 4(x² + 6x + 9) - 4x - 12 + 2
= 4x² + 24x + 36 - 4x - 12 + 2
= 4x² + 20x + 26
We can also compute f ∘ (g ∘ h):
(g ∘ h)(x) = g(h(x)) = g(x + 3) = 2(x + 3) - 1 = 2x + 5
f((g ∘ h)(x)) = f(2x + 5) = (2x + 5)² + 1 = 4x² + 20x + 26 ✓
All functions have domain of all real numbers, so the composite function also has domain of all real numbers
Let x = 0: h(0) = 3, g(3) = 5, f(5) = 25 + 1 = 26
((f ∘ g) ∘ h)(0) = 0 + 0 + 26 = 26 ✓
((f ∘ g) ∘ h)(x) = 4x² + 20x + 26
• Associativity: (f ∘ g) ∘ h = f ∘ (g ∘ h)
• Multi-stage composition: Compose functions step by step
• Perfect square expansion: (a + b)² = a² + 2ab + b²
Function composition: The operation that combines two functions f and g to create a new function denoted (f ∘ g)(x) = f(g(x)). The output of g becomes the input of f.
Inner function: The function applied first in a composition. In (f ∘ g)(x), g(x) is the inner function.
Outer function: The function applied second in a composition. In (f ∘ g)(x), f(x) is the outer function.
Domain of composite: The set of all x in the domain of g such that g(x) is in the domain of f.
Non-commutative: In general, (f ∘ g)(x) ≠ (g ∘ f)(x). The order of composition matters.
Associative: Function composition is associative: (f ∘ g) ∘ h = f ∘ (g ∘ h).
Identity function: The function I(x) = x such that f ∘ I = I ∘ f = f.
- Identify functions: Determine which functions to compose
- Determine order: Identify which function is inner and which is outer
- Set up composition: Write the composition notation correctly
- Substitute systematically: Replace every x in the outer function with the inner function
- Simplify algebraically: Expand, combine like terms, factor if needed
- Determine domain: Find restrictions based on both functions
- Verify correctness: Check with specific values if needed
• Definition: (f ∘ g)(x) = f(g(x))
• Non-commutativity: (f ∘ g)(x) ≠ (g ∘ f)(x) in general
• Associativity: (f ∘ g) ∘ h = f ∘ (g ∘ h)
• Domain: Domain of (f ∘ g) ⊆ Domain of g, and Range of g ⊆ Domain of f
• Identity: (f ∘ I)(x) = (I ∘ f)(x) = f(x) where I(x) = x