⨍
Advanced mathematical tool • Composite functions
\((f \circ g)(x) = f(g(x))\)
\((g \circ f)(x) = g(f(x))\)
Where:
Function composition creates new functions by chaining operations. The domain of the composition is restricted by both functions' domains. For \((f \circ g)(x)\), x must be in g's domain and g(x) must be in f's domain.
Common compositions include polynomial functions, trigonometric functions, exponential functions, and their combinations.
Function composition is the process of combining two or more functions to create a new function. Given functions f and g, the composition (f ∘ g)(x) = f(g(x)) means we first apply g to x, then apply f to the result of g(x). This creates a chain of operations that can model complex mathematical relationships.
When composing functions, the domain of the composition is restricted by both functions. The domain of (f ∘ g)(x) consists of all x in the domain of g such that g(x) is in the domain of f. This restriction is crucial for ensuring the composition is well-defined.
Given f(x) = 2x + 1 and g(x) = x², what is f(g(3))?
The answer is A) 19. To evaluate f(g(3)), we work from inside out:
Step 1: Calculate g(3) = 3² = 9
Step 2: Calculate f(g(3)) = f(9) = 2(9) + 1 = 18 + 1 = 19
It's important to note that f(g(3)) ≠ g(f(3)). If we calculated g(f(3)): f(3) = 2(3) + 1 = 7, then g(7) = 7² = 49. This demonstrates that function composition is not commutative.
This question emphasizes the non-commutative property of function composition. When evaluating f(g(x)), we must always work from the inside out: first evaluate g(x), then use that result as input to f. The order of composition matters significantly and changes the result.
Function Composition: Creating a new function by applying one function to the result of another
Non-Commutative: Order of operations matters (f∘g ≠ g∘f)
Domain Restriction: Values that make the composition valid
• Always evaluate composition from inside out
• Order matters: f(g(x)) ≠ g(f(x)) in general
• Check that intermediate values are in function domains
• Work from innermost function outward
• Verify by checking that intermediate results make sense
• Remember: order of composition is crucial
• Evaluating in the wrong order
• Assuming composition is commutative
• Not checking domain restrictions
Given f(x) = 3x - 2 and g(x) = x + 5, find the expression for f(g(x)) and evaluate f(g(4)). Show your work.
Step 1: Find the expression for f(g(x))
f(g(x)) means substitute g(x) into f(x)
Since f(x) = 3x - 2, we substitute g(x) = x + 5 for x
f(g(x)) = 3(g(x)) - 2 = 3(x + 5) - 2
f(g(x)) = 3x + 15 - 2 = 3x + 13
Step 2: Evaluate f(g(4))
Method 1: Use the expression we found
f(g(4)) = 3(4) + 13 = 12 + 13 = 25
Method 2: Evaluate step by step
g(4) = 4 + 5 = 9
f(g(4)) = f(9) = 3(9) - 2 = 27 - 2 = 25
Both methods give the same result: f(g(x)) = 3x + 13 and f(g(4)) = 25.
This problem demonstrates two approaches to function composition: (1) finding the general expression first, then substituting, and (2) evaluating step by step. Both approaches are valid and should give the same result. The first approach is more efficient when evaluating the composition for multiple inputs.
Function Expression: General form of a function without specific input values
Substitution: Replacing variables with expressions or values
Algebraic Manipulation: Performing operations on expressions
• Replace the variable in f(x) with the entire expression g(x)
• Distribute multiplication over addition/subtraction
• Combine like terms to simplify
• Always replace the variable completely
• Use parentheses to keep track of substitutions
• Verify by evaluating both ways
• Forgetting to distribute multiplication
• Only substituting the variable, not the entire expression
• Arithmetic errors in simplification
A company's production function is P(h) = 50h - h², where h is hours worked and P is units produced. The revenue function is R(u) = 15u - 0.1u², where u is units produced and R is revenue in dollars. Find the revenue function in terms of hours worked, R(P(h)), and calculate the revenue when 5 hours are worked.
Step 1: Find the composition R(P(h))
We need to substitute P(h) into R(u)
P(h) = 50h - h²
R(u) = 15u - 0.1u²
R(P(h)) = 15(P(h)) - 0.1(P(h))²
R(P(h)) = 15(50h - h²) - 0.1(50h - h²)²
Step 2: Expand the expression
First part: 15(50h - h²) = 750h - 15h²
Second part: (50h - h²)² = (50h)² - 2(50h)(h²) + (h²)² = 2500h² - 100h³ + h⁴
So: 0.1(50h - h²)² = 0.1(2500h² - 100h³ + h⁴) = 250h² - 10h³ + 0.1h⁴
Step 3: Combine terms
R(P(h)) = 750h - 15h² - (250h² - 10h³ + 0.1h⁴)
R(P(h)) = 750h - 15h² - 250h² + 10h³ - 0.1h⁴
R(P(h)) = 750h - 265h² + 10h³ - 0.1h⁴
Step 4: Calculate revenue when h = 5
R(P(5)) = 750(5) - 265(5²) + 10(5³) - 0.1(5⁴)
R(P(5)) = 3750 - 265(25) + 10(125) - 0.1(625)
R(P(5)) = 3750 - 6625 + 1250 - 62.5 = -1687.5
Wait, this gives a negative revenue, which doesn't make sense. Let's recalculate P(5) first:
P(5) = 50(5) - 5² = 250 - 25 = 225 units
R(225) = 15(225) - 0.1(225²) = 3375 - 0.1(50625) = 3375 - 5062.5 = -1687.5
This indicates that producing 225 units results in a loss. The model shows that there's an optimal production level.
This problem demonstrates how function composition models real-world scenarios. The composition R(P(h)) represents the complete chain: hours worked → units produced → revenue earned. This is a practical example of how mathematical functions can model business processes and help with decision-making.
Production Function: Relates inputs (hours) to outputs (units)
Revenue Function: Relates sales volume to revenue
Composite Function: Function that combines multiple processes• Always substitute the entire expression
• Pay attention to units and real-world meaning
• Check if results make practical sense
• Break complex compositions into smaller steps
• Verify intermediate results make sense
• Consider the practical implications of mathematical results
• Not properly expanding squared binomials
• Arithmetic errors in polynomial multiplication
• Forgetting to consider the practical meaning of results
Given f(x) = 2x + 3, find f⁻¹(x) and verify that f(f⁻¹(x)) = x. Then find the composition f⁻¹(f(x)) and explain what you notice.
Step 1: Find f⁻¹(x)
Start with y = f(x) = 2x + 3
Solve for x in terms of y:
y = 2x + 3
y - 3 = 2x
(y - 3)/2 = x
Therefore, f⁻¹(x) = (x - 3)/2
Step 2: Verify f(f⁻¹(x)) = x
f(f⁻¹(x)) = f((x - 3)/2)
f(f⁻¹(x)) = 2((x - 3)/2) + 3
f(f⁻¹(x)) = (x - 3) + 3 = x
Step 3: Find f⁻¹(f(x))
f⁻¹(f(x)) = f⁻¹(2x + 3)
f⁻¹(f(x)) = ((2x + 3) - 3)/2
f⁻¹(f(x)) = 2x/2 = x
Step 4: Conclusion
We notice that both f(f⁻¹(x)) = x and f⁻¹(f(x)) = x. This demonstrates that f and f⁻¹ are inverse functions, meaning they "undo" each other. This is the fundamental property of inverse functions.
This problem explores the relationship between a function and its inverse. The inverse function reverses the action of the original function. The verification steps confirm that the functions are indeed inverses of each other. This property is fundamental in solving equations and understanding function relationships.
Inverse Function: Function that reverses the action of another function
Inverse Property: f(f⁻¹(x)) = f⁻¹(f(x)) = x
One-to-One Function: Function that has an inverse
• To find inverse: swap x and y, solve for y
• Verify by checking both compositions equal x
• Only one-to-one functions have inverses
• Always verify inverse functions by composition
• Inverse functions are reflections over y = x
• Domain of f becomes range of f⁻¹
• Forgetting to swap x and y when finding inverse
• Not verifying the inverse relationship
• Assuming all functions have inverses
Given f(x) = √x and g(x) = x - 4, what is the domain of f(g(x))?
The answer is B) x ≥ 4. To find the domain of f(g(x)), we need to ensure that:
1. x is in the domain of g(x) = x - 4
2. g(x) is in the domain of f(x) = √x
For condition 1: g(x) = x - 4 is defined for all real numbers, so x can be any real number.
For condition 2: f(x) = √x requires x ≥ 0, so we need g(x) ≥ 0
This means: x - 4 ≥ 0
Therefore: x ≥ 4
So the domain of f(g(x)) is x ≥ 4, which ensures that g(x) = x - 4 is non-negative, allowing f(g(x)) = √(x - 4) to be defined.
This question demonstrates the importance of domain restrictions in function composition. The domain of the composition is not simply the intersection of the individual domains, but rather is constrained by the requirement that the output of the inner function must be in the domain of the outer function.
Domain of Composition: Values for which the composition is defined
Domain Restriction: Conditions that limit the possible input values
Inner Function: Function applied first in composition
• Domain of f(g(x)) = {x ∈ Dom(g) : g(x) ∈ Dom(f)}
• Always check that intermediate values are valid
• Restrictions come from the outer function's domain
• Work backwards: check what the inner function outputs
• Ensure those outputs are valid inputs for the outer function
• Consider restrictions from square roots, logs, denominators
• Only considering the domain of the inner function
• Forgetting that the outer function restricts valid inputs
• Not checking the composition of domain restrictions
Q: Why is function composition not commutative? Why does f(g(x)) usually not equal g(f(x))?
A: Function composition is not commutative because the order in which operations are performed affects the result. When we compute f(g(x)), we first apply g to x, then apply f to the result of g(x). When we compute g(f(x)), we first apply f to x, then apply g to the result of f(x).
Consider f(x) = 2x and g(x) = x + 1:
f(g(x)) = f(x + 1) = 2(x + 1) = 2x + 2
g(f(x)) = g(2x) = 2x + 1
Since 2x + 2 ≠ 2x + 1, we see that f(g(x)) ≠ g(f(x)).
This is similar to how putting on shoes and socks is not commutative - the order matters. Function composition models sequential processes where the order of operations fundamentally changes the outcome.
Q: How do domain restrictions affect function composition in practical applications?
A: Domain restrictions are crucial in practical applications:
Physical Constraints: In engineering, if f(x) represents efficiency as a function of temperature, and g(x) converts Celsius to Fahrenheit, then f(g(x)) is only valid for temperatures that make physical sense.
Mathematical Operations: If f(x) = 1/x and g(x) = x - 3, then f(g(x)) = 1/(x-3) is undefined when x = 3, even though g(x) is defined for all x.
Real-world Context: In economics, if f(x) calculates profit from revenue x, and g(x) calculates revenue from units sold x, then f(g(x)) only makes sense for non-negative values of x (can't sell negative units).
These restrictions ensure that mathematical models accurately represent real-world scenarios and prevent impossible or meaningless calculations.