Composite Functions: f∘g and f∘f — Domain Analysis
Problem Setup
- Given functions:
- f(x)=x+41
- g(x)=x−34
- Goal: find parts (a) and (b):
- (a) f∘g
- (b) f∘f
- Then determine the domain of each composite function.
Functions and Their Domains
- Domain of f:
- Dom(f)=x∈R∣x=−4
- Domain of g:
- Dom(g)=x∈R∣x=3
Part (a): Compute and simplify f∘g
- Start with definition:
- f∘g(x)=f(g(x))=f(x−34)
- Substitute into rule for f:
- f(x−34)=x−34+41
- Simplify the complex fraction by multiplying numerator and denominator by (x-3):
- f∘g(x)=4+4(x−3)x−3
- Expand and simplify the denominator:
- 4+4(x−3)=4+4x−12=4x−8=4(x−2)
- Final simplified form:
- f∘g(x)=4(x−2)x−3
- Domain considerations for f∘g:
- Must be in Dom(g) and also not make the outer function undefined when substituted:
- Outer function f is undefined when its input equals (-4). That is, require (g(x) \neq -4).
- Solve for (g(x) = -4): (\dfrac{4}{x-3} = -4) → (4 = -4(x-3)) → (4 = -4x + 12) → (x = 2).
- Therefore, exclude (x=2) in addition to (x=3) (from the domain of g).
- Domain of f∘g:
- Dom(f∘g)=x∈R∣x=2,x=3
- Key takeaway: Domain is the intersection of the inner domain and the preimage under the inner function of the outer function’s domain.
Part (b): Compute and simplify f∘f
- Start with definition:
- f∘f(x)=f(f(x))=f(x+41)
- Substitute into rule for f:
- f(x+41)=x+41+41
- Simplify the complex fraction by multiplying numerator and denominator by (x+4):
- f∘f(x)=1+4(x+4)x+4
- Expand the denominator:
- 1+4(x+4)=1+4x+16=4x+17
- Final simplified form:
- f∘f(x)=4x+17x+4
- Domain considerations for f∘f:
- First, the inner function f requires (x \neq -4).
- Outer function f is undefined when its input equals (-4). So require
- (f(x) \neq -4) → (\dfrac{1}{x+4} \neq -4).
- Solve: (\dfrac{1}{x+4} = -4) → (1 = -4(x+4)) → (x = -\dfrac{17}{4}).
- Therefore, exclude (x = -4) and (x = -\dfrac{17}{4}).
- Domain of f∘f:
- Dom(f∘f)=x∈R∣x=−4,x=−417
- Note: The final expression has denominator zero at (x = -\tfrac{17}{4}), which matches the domain restriction above.
Summary of Results
- Part (a):
- f∘g(x)=4(x−2)x−3
- Domain: Dom(f∘g)=x∈R∣x=2,x=3
- Part (b):
- f∘f(x)=4x+17x+4
- Domain: Dom(f∘f)=x∈R∣x=−4,x=−417
Connections to Core Principles
- Composition rule: To form f\circ g, substitute the entire expression for g(x) into f's rule.
- Domain propagation: You must ensure both the inner function's domain and the outer function's domain are satisfied after substitution.
- When simplifying, always check that algebraic steps do not introduce new domain restrictions beyond those already present from the original domain considerations.
Common Checks and Tips
- Always check both inner-domain restrictions and outer-domain restrictions after substitution.
- For f(x) = 1/(x+4), the outer domain excludes x = -4; for a composition, solve g(x) ≠ -4 when f is applied to g(x).
- When you simplify, the resulting denominator shows where the expression is undefined; ensure these correspond to domain restrictions identified earlier.