4.5 Algebra of Functions & Function Composition
Key Takeaways
- Function arithmetic defines (f + g)(x), (f - g)(x), (f · g)(x), and (f/g)(x) with domains equal to the intersection D_f ∩ D_g (excluding denominator zeros for quotients).
- Function composition (f ∘ g)(x) = f(g(x)) evaluates the inner function g(x) first and feeds that output directly into the outer function f(x).
- The domain of (f ∘ g)(x) consists of all x in the domain of g such that g(x) lies within the domain of f.
- Function composition is non-commutative in general: f(g(x)) ≠ g(f(x)) for most functions.
- Decomposing complex composite functions h(x) = f(g(x)) into inner and outer components is an essential analytical skill for calculus.
4.5 Algebra of Functions & Function Composition
Just as real numbers can be added, subtracted, multiplied, and divided, functions can also be combined using arithmetic operations to create new functions. Furthermore, functions can be composed by using the output of one function as the direct input to another. Understanding function operations, domain restrictions, and composition is essential for advanced algebra and calculus.
1. Arithmetic Operations on Functions
Given two functions and with domains and respectively, we define the four fundamental algebraic operations as follows:
- Sum Function:
- Difference Function:
- Product Function:
- Quotient Function:
Domain Rules for Arithmetic Combination
For the sum, difference, and product functions, the new domain consists of all real numbers that are common to both individual domains (the intersection of and ):
For the quotient function , the domain requires an additional restriction: any input that causes the denominator must be excluded:
Worked Example 1: Domain of a Quotient Function
Let and . Determine the domain of .
- Step 1: Find . The radical requires , so .
- Step 2: Find . Polynomial function has no restrictions, so .
- Step 3: Intersect domains: .
- Step 4: Exclude zeros of : Set .
- Conclusion: Exclude from . The domain of is .
2. Function Composition
Function composition is the process of evaluating one function inside another function. The operation is denoted by the circle symbol .
Read as " composed with of " or " of of ".
- Inner Function (): Evaluated first on input .
- Outer Function (): Evaluated second on the resulting output .
Non-Commutativity of Composition
Unlike addition and multiplication, function composition is not commutative. In general:
Worked Example 2: Evaluating Composite Functions
Given and , evaluate and .
-
Evaluate :
- Compute inner value : .
- Substitute into outer function : .
- Thus, .
-
Evaluate :
- Compute inner value : .
- Substitute into outer function : .
- Thus, .
Notice that , confirming non-commutativity.
3. Finding the Domain of Composite Functions
Determining the domain of requires a strict two-step domain analysis:
To find the domain of algebraically:
- Step 1: State any domain restrictions on the inner function ().
- Step 2: Form the combined rule and state any additional restrictions imposed by the outer function.
- Step 3: Take the intersection of both sets of restrictions.
Worked Example 3: Rational Composite Domain
Find the domain of where and .
- Step 1: Inner function has domain . No inner restrictions.
- Step 2: Compose rule: . The outer function requires the denominator :
- Step 3: Combining all restrictions gives:
4. Decomposing Composite Functions
In advanced mathematics and calculus (such as using the Chain Rule), it is often necessary to reverse the composition process by breaking a single complex function into an inner function and an outer function such that .
Strategy for Decomposition
- Identify the Inner Function : Look for expressions inside parentheses, under radicals, inside absolute value bars, or in denominators.
- Replace with variable or : The remaining outer structure becomes .
Worked Example 4: Decomposing a Radical Expression
Decompose into .
- Identify inner function: The expression inside the cube root is .
- Identify outer function: Replacing the inner expression with variable input yields .
- Check composition: , verifying the decomposition.
Given f(x) = x^2 - 4 and g(x) = 3x + 2, what is the value of (f ∘ g)(2)?
What is the domain of (f ∘ g)(x) where f(x) = 1 / (x - 9) and g(x) = x^2?
If f(x) = sqrt(x - 1) and g(x) = x - 5, what is the domain of the quotient function (f/g)(x)?
Which choice represents a correct decomposition of h(x) = cube root of (4x^2 - 9) into inner function g(x) and outer function f(x) such that h(x) = f(g(x))?