Non-Commutativity: The property that (f ∘ g)(x) ≠ (g ∘ f)(x) in general. Function composition is not commutative, unlike addition or multiplication of real numbers.
- Calculate (f ∘ g)(x) = f(g(x)) by substituting g(x) into f
- Calculate (g ∘ f)(x) = g(f(x)) by substituting f(x) into g
- Compare the results to show they are different
- Verify with a specific value to confirm the inequality
First find g(x): g(x) = 2x - 3
Then substitute g(x) into f: f(g(x)) = f(2x - 3)
f(2x - 3) = (2x - 3)² + 1
= 4x² - 12x + 9 + 1 = 4x² - 12x + 10
First find f(x): f(x) = x² + 1
Then substitute f(x) into g: g(f(x)) = g(x² + 1)
g(x² + 1) = 2(x² + 1) - 3
= 2x² + 2 - 3 = 2x² - 1
(f ∘ g)(x) = 4x² - 12x + 10
(g ∘ f)(x) = 2x² - 1
Since 4x² - 12x + 10 ≠ 2x² - 1, function composition is not commutative
Let x = 1:
(f ∘ g)(1) = 4(1)² - 12(1) + 10 = 4 - 12 + 10 = 2
(g ∘ f)(1) = 2(1)² - 1 = 2 - 1 = 1
Since 2 ≠ 1, this confirms non-commutativity
(f ∘ g)(x): First double x and subtract 3, then square and add 1
(g ∘ f)(x): First square x and add 1, then double and subtract 3
These are fundamentally different processes
(f ∘ g)(x) = 4x² - 12x + 10
(g ∘ f)(x) = 2x² - 1
Since (f ∘ g)(x) ≠ (g ∘ f)(x), composition is not commutative
Order of application fundamentally changes the result
(f ∘ g)(x) = 4x² - 12x + 10 and (g ∘ f)(x) = 2x² - 1. Since these expressions are different, this demonstrates that function composition is not commutative.
• Non-commutativity: (f ∘ g)(x) ≠ (g ∘ f)(x) in general
• Substitution principle: Replace x in outer function with entire inner function
• Order dependency: The sequence of operations matters significantly
• Verification: Specific values confirm theoretical results
Associative Property: The property that ((f ∘ g) ∘ h)(x) = (f ∘ (g ∘ h))(x). Function composition is associative, meaning the grouping of functions doesn't affect the result.
First find (f ∘ g)(x) = f(g(x)) = f(2x) = 2x + 1
Then calculate ((f ∘ g) ∘ h)(x) = (f ∘ g)(h(x)) = (f ∘ g)(x²)
= 2(x²) + 1 = 2x² + 1
First find (g ∘ h)(x) = g(h(x)) = g(x²) = 2(x²) = 2x²
Then calculate (f ∘ (g ∘ h))(x) = f((g ∘ h)(x)) = f(2x²)
= 2x² + 1
Left side: (f ∘ g) ∘ h = 2x² + 1
Right side: f ∘ (g ∘ h) = 2x² + 1
Since both sides equal 2x² + 1, the associative property holds
Let x = 2:
Left side: (f ∘ g) ∘ h at x = 2: h(2) = 4, (f ∘ g)(4) = 2(4) + 1 = 9
Right side: f ∘ (g ∘ h) at x = 2: (g ∘ h)(2) = 2(4) = 8, f(8) = 8 + 1 = 9
Both sides equal 9, confirming associativity
Associativity means we can write f ∘ g ∘ h without parentheses
Whether we group as (f ∘ g) ∘ h or f ∘ (g ∘ h), the result is the same
This allows flexibility in computation and notation
For any three functions f, g, h where compositions are defined:
(f ∘ g) ∘ h = f ∘ (g ∘ h)
This property holds regardless of the specific forms of the functions
(f ∘ g) ∘ h = 2x² + 1
f ∘ (g ∘ h) = 2x² + 1
Since both sides are equal, composition is associative
Grouping doesn't affect the result
Both (f ∘ g) ∘ h and f ∘ (g ∘ h) equal 2x² + 1, confirming that function composition is associative. This means the way functions are grouped in composition does not affect the final result.
• Associative property: (f ∘ g) ∘ h = f ∘ (g ∘ h)
• Sequential evaluation: Work from innermost to outermost
• Grouping independence: Parentheses placement doesn't affect result
• Notation simplification: Allows writing f ∘ g ∘ h without parentheses
Identity Function: The function I(x) = x that leaves all inputs unchanged. When composed with any function f, it acts as a neutral element: (f ∘ I)(x) = f(x) and (I ∘ f)(x) = f(x).
I(x) = x
(f ∘ I)(x) = f(I(x)) = f(x) = 3x² - 2x + 1
f(x) = 3x² - 2x + 1
(I ∘ f)(x) = I(f(x)) = f(x) = 3x² - 2x + 1
(f ∘ I)(x) = 3x² - 2x + 1 = f(x) ✓
(I ∘ f)(x) = 3x² - 2x + 1 = f(x) ✓
Let x = 2:
f(2) = 3(4) - 2(2) + 1 = 12 - 4 + 1 = 9
(f ∘ I)(2) = f(I(2)) = f(2) = 9 ✓
(I ∘ f)(2) = I(f(2)) = I(9) = 9 ✓
The identity function I(x) = x acts as the "neutral element" for composition
Composing any function with the identity leaves the function unchanged
This is analogous to multiplying by 1 in arithmetic
For any function f and identity function I:
(f ∘ I)(x) = f(x) and (I ∘ f)(x) = f(x)
This property holds for all functions where the compositions are defined
(f ∘ I)(x) = f(x) = 3x² - 2x + 1
(I ∘ f)(x) = f(x) = 3x² - 2x + 1
Identity function acts as neutral element for composition
Analogous to multiplication by 1 in arithmetic
Both (f ∘ I)(x) and (I ∘ f)(x) equal f(x) = 3x² - 2x + 1. This demonstrates that the identity function I(x) = x acts as a neutral element for function composition, leaving the original function unchanged.
• Identity property: (f ∘ I)(x) = (I ∘ f)(x) = f(x)
• Neutral element: Identity function preserves the original function
• Commutativity with identity: Composition with identity is commutative
• Foundation property: Essential for defining inverse functions
Function Composition: The operation of combining two functions where the output of one function becomes the input of another
Associative Property: The property that allows us to group function compositions differently without changing the result
Non-Commutative Property: The property that the order of functions in composition matters
Identity Function: The function I(x) = x that leaves all inputs unchanged when composed with other functions
Domain of Composition: The set of inputs for which the composition is defined
- State the property: Clearly identify which property you're verifying
- Calculate both sides: Compute the expressions on both sides of the equation
- Simplify: Reduce both expressions to their simplest forms
- Compare: Check if both sides are equal (or different)
- Verify: Test with specific values to confirm your conclusion
• Associative: (f ∘ g) ∘ h = f ∘ (g ∘ h)
• Non-commutative: (f ∘ g)(x) ≠ (g ∘ f)(x) in general
• Identity: (f ∘ I)(x) = (I ∘ f)(x) = f(x)
• Domain: dom(f ∘ g) = {x ∈ dom(g) : g(x) ∈ dom(f)}
• Inverse connection: If f and g are inverses, then (f ∘ g)(x) = (g ∘ f)(x) = x
Domain of Composite 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 creates compound restrictions.
f(x) = √(x - 2): requires x - 2 ≥ 0, so x ≥ 2
g(x) = 1/(x - 3): requires x - 3 ≠ 0, so x ≠ 3
dom(f) = [2, ∞), dom(g) = (-∞, 3) ∪ (3, ∞)
First, x must be in dom(g): x ≠ 3
Second, g(x) must be in dom(f): g(x) ≥ 2
This means 1/(x - 3) ≥ 2
Case 1: x - 3 > 0 (i.e., x > 3): 1 ≥ 2(x - 3) → 1 ≥ 2x - 6 → 7 ≥ 2x → x ≤ 7/2
But x > 3 and x ≤ 7/2 = 3.5, so 3 < x ≤ 3.5
Case 2: x - 3 < 0 (i.e., x < 3): 1 ≤ 2(x - 3) → 1 ≤ 2x - 6 → 7 ≤ 2x → x ≥ 7/2
But x < 3 and x ≥ 3.5 is impossible
So we need x ≠ 3 and 3 < x ≤ 3.5, which gives 3 < x ≤ 3.5
We need 1/(x - 3) ≥ 2
1/(x - 3) ≥ 2 → 1 ≥ 2(x - 3) when x - 3 > 0 → 1 ≥ 2x - 6 → 7 ≥ 2x → x ≤ 3.5
But we also need x - 3 > 0 → x > 3
So 3 < x ≤ 3.5
When x - 3 < 0, multiplying by a negative number flips the inequality:
1 ≤ 2(x - 3) → x ≥ 3.5, but x < 3, which is impossible
Actually, let's reconsider: 1/(x - 3) ≥ 2
1/(x - 3) - 2 ≥ 0 → [1 - 2(x - 3)]/(x - 3) ≥ 0 → (1 - 2x + 6)/(x - 3) ≥ 0 → (7 - 2x)/(x - 3) ≥ 0
Zeros: 7 - 2x = 0 → x = 3.5
Undefined: x - 3 = 0 → x = 3
Test intervals: (-∞, 3), (3, 3.5), (3.5, ∞)
For x ∈ (3, 3.5): (7 - 2x) > 0 and (x - 3) > 0 → positive/positive = positive ✓
For x ∈ (3.5, ∞): (7 - 2x) < 0 and (x - 3) > 0 → negative/positive = negative ✗
For x ∈ (-∞, 3): (7 - 2x) > 0 and (x - 3) < 0 → positive/negative = negative ✗
At x = 3.5: (7 - 2(3.5))/(3.5 - 3) = 0/0.5 = 0 ✓
So dom(f ∘ g) = (3, 3.5]
First, x must be in dom(f): x ≥ 2
Second, f(x) must be in dom(g): f(x) ≠ 3
This means √(x - 2) ≠ 3 → x - 2 ≠ 9 → x ≠ 11
So dom(g ∘ f) = [2, 11) ∪ (11, ∞)
(f ∘ g)(x) domain: (3, 3.5]
(g ∘ f)(x) domain: [2, 11) ∪ (11, ∞)
Domains differ because restrictions apply differently
Order of composition affects domain restrictions
The domain of (f ∘ g)(x) is (3, 3.5], and the domain of (g ∘ f)(x) is [2, 11) ∪ (11, ∞). The domains differ because the order of composition affects how the individual domain restrictions interact.
• Domain of composition: dom(f ∘ g) = {x ∈ dom(g) : g(x) ∈ dom(f)}
• Compound restrictions: Both functions must be defined in sequence
• Order dependency: Different orders create different domain restrictions
• Inequality solving: Careful consideration of sign changes when multiplying/dividing
Inverse Function Property: If f and f⁻¹ are inverse functions, then (f ∘ f⁻¹)(x) = (f⁻¹ ∘ f)(x) = x. This means composing a function with its inverse yields the identity function.
(f ∘ f⁻¹)(x) = f(f⁻¹(x)) = f((x - 3)/2)
= 2((x - 3)/2) + 3 = (x - 3) + 3 = x
(f⁻¹ ∘ f)(x) = f⁻¹(f(x)) = f⁻¹(2x + 3)
= ((2x + 3) - 3)/2 = 2x/2 = x
Let x = 5:
(f ∘ f⁻¹)(5) = f(f⁻¹(5)) = f((5-3)/2) = f(1) = 2(1) + 3 = 5 ✓
(f⁻¹ ∘ f)(5) = f⁻¹(f(5)) = f⁻¹(2(5) + 3) = f⁻¹(13) = (13-3)/2 = 5 ✓
f undoes what f⁻¹ does, and vice versa
Applying a function then its inverse returns to the original input
This is the fundamental definition of inverse functions
This property defines what it means for functions to be inverses
It's the foundation for solving equations using inverse operations
It shows that inverse functions are mutual inverses of each other
For any function f and its inverse f⁻¹:
(f ∘ f⁻¹)(x) = (f⁻¹ ∘ f)(x) = x
This is the defining characteristic of inverse functions
(f ∘ f⁻¹)(x) = x
(f⁻¹ ∘ f)(x) = x
Composition with inverse yields identity function
Defines the inverse relationship
Both (f ∘ f⁻¹)(x) and (f⁻¹ ∘ f)(x) equal x, confirming that f and f⁻¹ are indeed inverse functions. This property is the fundamental definition of inverse functions.
• Inverse property: (f ∘ f⁻¹)(x) = (f⁻¹ ∘ f)(x) = x
• Mutual inverse: Functions are inverses of each other
• Undoing operation: Function and inverse cancel each other
• Definition property: This property defines inverse functions
Function Composition: The operation of combining two functions f and g to create a new function (f ∘ g) such that (f ∘ g)(x) = f(g(x)). This means we first apply g to x, then apply f to the result of g(x).
Associative Property: The property that (f ∘ g) ∘ h = f ∘ (g ∘ h), meaning the grouping of functions in composition doesn't affect the result.
Non-Commutative Property: The property that (f ∘ g)(x) ≠ (g ∘ f)(x) in general, meaning the order of functions in composition matters.
Identity Function: The function I(x) = x that acts as a neutral element for composition, satisfying (f ∘ I)(x) = (I ∘ f)(x) = f(x).
Domain of Composition: The set of all x in the domain of the inner function such that the output of the inner function is in the domain of the outer function.
- Identify the property: Determine which property you're examining (associative, commutative, identity, etc.)
- Calculate both sides: Compute the expressions on both sides of the property equation
- Simplify expressions: Reduce both sides to their simplest equivalent forms
- Compare results: Determine if both sides are equal (or different)
- Verify with examples: Test with specific values to confirm your findings
- Generalize findings: Extend the specific case to the general property
• Associative property: (f ∘ g) ∘ h = f ∘ (g ∘ h)
• Non-commutative: (f ∘ g)(x) ≠ (g ∘ f)(x) in general
• Identity property: (f ∘ I)(x) = (I ∘ f)(x) = f(x), where I(x) = x
• Domain of composition: dom(f ∘ g) = {x ∈ dom(g) : g(x) ∈ dom(f)}
• Inverse property: If f and g are inverses, then (f ∘ g)(x) = (g ∘ f)(x) = x
• Composition with constant: If c is constant, (f ∘ g)(c) = f(g(c))
• Multiple composition: (f ∘ g ∘ h)(x) = f(g(h(x)))
Questions & Answers
Question: Why is function composition associative but not commutative? This seems contradictory to me.
Answer: These properties address different aspects of function composition:
Associativity concerns grouping: whether we compute (f ∘ g) ∘ h or f ∘ (g ∘ h). Both represent the sequence: apply h, then g, then f. The order of operations is the same, just the grouping differs.
Commutativity concerns ordering: whether f ∘ g equals g ∘ f. These represent different sequences: f ∘ g means "apply g then f", while g ∘ f means "apply f then g".
Analogy: Consider putting on clothes:
- Associativity: ((socks then shoes) then shirt) = (socks then (shoes then shirt)) - you still put on socks first, then shoes, then shirt
- Commutativity: (socks then shoes) vs (shoes then socks) - these are clearly different!
Many mathematical operations have one property without the other.
Question: How do I remember which function is the "inner" and which is the "outer" function in composition?
Answer: Here are some helpful memory aids:
Reading order: In (f ∘ g)(x), read as "f of g of x". The function closest to x (g) is applied first, so g is the inner function.
Position in notation: The function furthest to the right in the composition is the inner function:
- (f ∘ g): g is inner, f is outer
- (g ∘ f): f is inner, g is outer
- (f ∘ g ∘ h): h is innermost, f is outermost
Process order: Inner function is applied first, then the outer function processes its output.
Mnemonic: "Right to left" - the rightmost function in the composition notation is evaluated first.
Question: What's the difference between (f ∘ g)(x) and f(x) · g(x)? They seem similar but I know they're different.
Answer: These are completely different operations:
Function Composition: (f ∘ g)(x) = f(g(x))
- First apply g to x, then apply f to the result
- Example: If f(x) = x² and g(x) = x + 1, then (f ∘ g)(x) = f(x + 1) = (x + 1)²
- Order matters: (f ∘ g)(x) ≠ (g ∘ f)(x) in general
- Creates a new function that represents a sequence of operations
Function Multiplication: (f · g)(x) = f(x) · g(x)
- Apply both functions to x, then multiply the results
- Example: If f(x) = x² and g(x) = x + 1, then (f · g)(x) = x² · (x + 1) = x³ + x²
- Order doesn't matter: (f · g)(x) = (g · f)(x) (commutative)
- Simply multiplies the outputs of both functions
The symbol ∘ specifically denotes composition (sequential operations), while · (or juxtaposition) denotes multiplication (arithmetic product of outputs).