Function composition: The combination of two functions where the output of one function becomes the input of another
(f ∘ g)(x): Read as "f composed with g of x", meaning f(g(x))
(g ∘ f)(x): Read as "g composed with f of x", meaning g(f(x))
- Identify the functions: Determine which function is the outer and which is the inner
- Substitute: Replace the variable in the outer function with the inner function
- Simplify: Perform algebraic operations to get the final expression
- Evaluate: Substitute specific values if required
First, find g(x): g(x) = x - 4
Now substitute g(x) into f: f(g(x)) = f(x - 4)
Apply f to (x - 4): f(x - 4) = 2(x - 4) + 3
= 2x - 8 + 3 = 2x - 5
So (f ∘ g)(x) = 2x - 5
First, find f(x): f(x) = 2x + 3
Now substitute f(x) into g: g(f(x)) = g(2x + 3)
Apply g to (2x + 3): g(2x + 3) = (2x + 3) - 4
= 2x + 3 - 4 = 2x - 1
So (g ∘ f)(x) = 2x - 1
(f ∘ g)(5) = 2(5) - 5 = 10 - 5 = 5
(g ∘ f)(5) = 2(5) - 1 = 10 - 1 = 9
For (f ∘ g)(5): g(5) = 5 - 4 = 1, then f(1) = 2(1) + 3 = 5 ✓
For (g ∘ f)(5): f(5) = 2(5) + 3 = 13, then g(13) = 13 - 4 = 9 ✓
(f ∘ g)(x) = 2x - 5, (g ∘ f)(x) = 2x - 1. (f ∘ g)(5) = 5, (g ∘ f)(5) = 9.
• Composition order: Work from inside out (apply inner function first)
• Substitution: Replace variable in outer function with entire inner function
• Non-commutativity: Generally (f ∘ g)(x) ≠ (g ∘ f)(x)
Quadratic function composition: Composing functions where at least one is quadratic (contains x² term)
First, find k(x): k(x) = 3x - 2
Now substitute k(x) into h: h(k(x)) = h(3x - 2)
Apply h to (3x - 2): h(3x - 2) = (3x - 2)² + 1
Expand (3x - 2)²: (3x - 2)² = 9x² - 12x + 4
So h(3x - 2) = 9x² - 12x + 4 + 1 = 9x² - 12x + 5
Therefore (h ∘ k)(x) = 9x² - 12x + 5
First, find h(x): h(x) = x² + 1
Now substitute h(x) into k: k(h(x)) = k(x² + 1)
Apply k to (x² + 1): k(x² + 1) = 3(x² + 1) - 2
= 3x² + 3 - 2 = 3x² + 1
Therefore (k ∘ h)(x) = 3x² + 1
(h ∘ k)(x) = 9x² - 12x + 5
(k ∘ h)(x) = 3x² + 1
These are not equal since the coefficients of x² and x terms are different
Let x = 0:
(h ∘ k)(0) = 9(0)² - 12(0) + 5 = 5
(k ∘ h)(0) = 3(0)² + 1 = 1
Since 5 ≠ 1, the compositions are not equivalent
(h ∘ k)(x) = 9x² - 12x + 5, (k ∘ h)(x) = 3x² + 1. These compositions are not equivalent.
• Binomial expansion: (a + b)² = a² + 2ab + b²
• Distribution: a(b + c) = ab + ac
• Non-commutativity: Function composition is generally not commutative
Polynomial function composition: Composing functions where both are polynomials of any degree
First, find q(x): q(x) = x² + 1
Now substitute q(x) into p: p(q(x)) = p(x² + 1)
Apply p to (x² + 1): p(x² + 1) = (x² + 1)³ - 2(x² + 1)
(x² + 1)³ = (x²)³ + 3(x²)²(1) + 3(x²)(1)² + (1)³
= x⁶ + 3x⁴ + 3x² + 1
p(x² + 1) = (x⁶ + 3x⁴ + 3x² + 1) - 2(x² + 1)
= x⁶ + 3x⁴ + 3x² + 1 - 2x² - 2
= x⁶ + 3x⁴ + x² - 1
Wait, let me recalculate: x² - 2x² = -x², and 1 - 2 = -1
= x⁶ + 3x⁴ - x² - 1
First, find p(x): p(x) = x³ - 2x
Now substitute p(x) into q: q(p(x)) = q(x³ - 2x)
Apply q to (x³ - 2x): q(x³ - 2x) = (x³ - 2x)² + 1
(x³ - 2x)² = (x³)² - 2(x³)(2x) + (2x)²
= x⁶ - 4x⁴ + 4x²
q(x³ - 2x) = (x⁶ - 4x⁴ + 4x²) + 1
= x⁶ - 4x⁴ + 4x² + 1
(p ∘ q)(x) = x⁶ + 3x⁴ - x² - 1
(q ∘ p)(x) = x⁶ - 4x⁴ + 4x² + 1
(p ∘ q)(x) = x⁶ + 3x⁴ - x² - 1, (q ∘ p)(x) = x⁶ - 4x⁴ + 4x² + 1.
• Binomial expansion: Use binomial theorem for higher powers
• Polynomial multiplication: Distribute each term carefully
• Like terms: Combine terms with the same degree
Function composition: The operation of combining two functions where the output of one function becomes the input of another. The composition (f ∘ g)(x) is defined as f(g(x)).
Domain of composition: The set of all x in the domain of g such that g(x) is in the domain of f.
Non-commutativity: In general, (f ∘ g)(x) ≠ (g ∘ f)(x), meaning the order of composition matters.
Associativity: 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 function is the outer function and which is the inner
- Check domains: Ensure the composition is defined for the given domain
- Substitute: Replace the variable in the outer function with the entire inner function
- Expand: Use algebraic techniques to simplify the expression
- Combine: Collect like terms and arrange in standard form
- Verify: Check that the result makes mathematical sense
• Non-commutative: (f ∘ g)(x) ≠ (g ∘ f)(x) in general
• Associative: ((f ∘ g) ∘ h)(x) = (f ∘ (g ∘ h))(x)
• Identity element: There exists an identity function I(x) = x such that f ∘ I = I ∘ f = f
• Domain restriction: The domain of f ∘ g is restricted to values where g(x) is in the domain of f
• Degree property: The degree of a polynomial composition is the product of the degrees of the composed functions
Standard notation: (f ∘ g)(x) = f(g(x)) - read as "f composed with g of x"
Alternative notation: fg(x) or f[g(x)] - less common but equivalent
Chain notation: For multiple compositions: (f ∘ g ∘ h)(x) = f(g(h(x)))
Rational function composition: Composing functions where at least one is a rational function (ratio of polynomials)
First, find s(x): s(x) = 2x - 1
Now substitute s(x) into r: r(s(x)) = r(2x - 1)
Apply r to (2x - 1): r(2x - 1) = 1/((2x - 1) + 2)
= 1/(2x - 1 + 2) = 1/(2x + 1)
So (r ∘ s)(x) = 1/(2x + 1)
The composite function is undefined when the denominator is zero
2x + 1 = 0
2x = -1
x = -1/2
Domain of (r ∘ s)(x): ℝ∖{-1/2}
First, find r(x): r(x) = 1/(x + 2)
Now substitute r(x) into s: s(r(x)) = s(1/(x + 2))
Apply s to 1/(x + 2): s(1/(x + 2)) = 2(1/(x + 2)) - 1
= 2/(x + 2) - 1
2/(x + 2) - 1 = 2/(x + 2) - (x + 2)/(x + 2)
= (2 - (x + 2))/(x + 2)
= (2 - x - 2)/(x + 2)
= (-x)/(x + 2)
= -x/(x + 2)
Or equivalently: (2 - x)/(x + 2) - 1 = (2 - x - x - 2)/(x + 2) = -2x/(x + 2)
Actually: 2/(x + 2) - 1 = (2 - (x + 2))/(x + 2) = (2 - x - 2)/(x + 2) = -x/(x + 2)
The composite function is undefined when the denominator is zero
x + 2 = 0
x = -2
Domain of (s ∘ r)(x): ℝ∖{-2}
Let x = 0: (r ∘ s)(0) = 1/(2(0) + 1) = 1/1 = 1
Direct calculation: s(0) = -1, r(-1) = 1/(-1 + 2) = 1/1 = 1 ✓
(r ∘ s)(x) = 1/(2x + 1), (s ∘ r)(x) = -x/(x + 2). Domain of (r ∘ s)(x) is all real numbers except x = -1/2. Domain of (s ∘ r)(x) is all real numbers except x = -2.
• Rational function substitution: Replace variable carefully in denominator
• Domain restrictions: Exclude values that make any denominator zero
• Algebraic simplification: Find common denominators when combining fractions
Trigonometric function composition: Composing functions where at least one is a trigonometric function
First, find v(x): v(x) = x²
Now substitute v(x) into u: u(v(x)) = u(x²)
Apply u to x²: u(x²) = sin(x²)
So (u ∘ v)(x) = sin(x²)
First, find u(x): u(x) = sin(x)
Now substitute u(x) into v: v(u(x)) = v(sin(x))
Apply v to sin(x): v(sin(x)) = (sin(x))²
= sin²(x)
So (v ∘ u)(x) = sin²(x)
(u ∘ v)(x) = sin(x²): The sine function is applied to x²
(v ∘ u)(x) = sin²(x): The square function is applied to sin(x)
For (u ∘ v)(x) = sin(x²):
- The input to sine is x², which grows quadratically
- The function oscillates more rapidly as |x| increases
- Domain: ℝ, Range: [-1, 1]
For (v ∘ u)(x) = sin²(x):
- This is the square of the sine function
- Always non-negative: 0 ≤ sin²(x) ≤ 1
- Periodic with period π (not 2π like sin(x))
- Domain: ℝ, Range: [0, 1]
Let x = π/2:
(u ∘ v)(π/2) = sin((π/2)²) = sin(π²/4) ≈ sin(2.47) ≈ 0.62
(v ∘ u)(π/2) = sin²(π/2) = (1)² = 1
These are clearly different values
(u ∘ v)(x) = sin(x²), (v ∘ u)(x) = sin²(x). These are different functions: sin(x²) oscillates with varying frequency, while sin²(x) is always non-negative with range [0,1].
• Trigonometric composition: Apply trigonometric function to algebraic expression
• Notation: sin²(x) means (sin(x))²
• Function behavior: Composition order significantly affects the resulting function's properties
Function composition: The process of applying one function to the results of another function. The composition (f ∘ g)(x) means "apply g first, then apply f to the result."
Outer function: The function that receives the output of another function as its input (f in f(g(x))).
Inner function: The function whose output becomes the input of another function (g in f(g(x))).
Domain of composition: The set of all x-values in the domain of the inner function such that the output is in the domain of the outer function.
Identity function: The function I(x) = x that leaves any input unchanged when composed with another function.
- Identify the functions: Determine which function is the outer function and which is the inner function
- Check the domain: Ensure that the composition is defined for the given domain
- Substitute systematically: Replace the variable in the outer function with the entire inner function
- Simplify algebraically: Use appropriate algebraic techniques to expand and combine terms
- Verify the result: Check that the composition makes mathematical sense
- Compare with alternatives: If applicable, compare (f ∘ g)(x) with (g ∘ f)(x)
• Non-commutativity: (f ∘ g)(x) ≠ (g ∘ f)(x) in general
• Associativity: (f ∘ g) ∘ h = f ∘ (g ∘ h)
• Identity: f ∘ I = I ∘ f = f, where I(x) = x
• Degree property: For polynomials, deg(f ∘ g) = deg(f) × deg(g)
• Domain restriction: Domain of f ∘ g is {x ∈ domain(g) | g(x) ∈ domain(f)}
Inverse functions: If f and g are inverse functions, then (f ∘ g)(x) = (g ∘ f)(x) = x
Self-composition: (f ∘ f)(x) = f(f(x)), often denoted as f²(x)
Constant functions: Composing with a constant function yields a constant output
Linear functions: Composition of linear functions results in another linear function
Polynomial functions: Composition preserves the polynomial nature but increases complexity
• Direct substitution: Replace variable with the entire inner function expression
• Step-by-step evaluation: Evaluate the inner function first, then apply the outer function
• Verification: Use specific values to check that your composition is correct
• Domain checking: Ensure that the composition is defined for all values in the domain
• Graphical verification: Plot both the composition and the step-by-step evaluation to confirm