Function composition and function analysis Knowledge-Based Study

Math · Functions & Trigonometry · Math · Function Fundamentals

Math topic explanations on Function composition and function analysis.

Study notes

  1. Definition of Composite Functions

    Function composition is an operation that takes two functions, ff and gg, and produces a new function by applying ff to the output of gg. The composite function is denoted as f∘gf \circ g (read as 'f circle g' or 'f composed with g').

    Formally, for any input xx in the appropriate domain:

    (f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x))

    In this process:

    • The input xx is first processed by the inner function gg to produce the intermediate value g(x)g(x).
    • The intermediate value g(x)g(x) then acts as the input to the outer function ff, producing the final output f(g(x))f(g(x)).

    Algebraic Evaluation

    To evaluate a composite function algebraically, substitute the expression of the inner function into every occurrence of the independent variable in the outer function.

    Example: General Form

    Let f(x)=2x2−3f(x) = 2x^2 - 3 and g(x)=3x+1g(x) = 3x + 1.

    • To find (f∘g)(x)(f \circ g)(x), substitute g(x)g(x) into ff:
      (f∘g)(x)=f(3x+1)=2(3x+1)2−3=2(9x2+6x+1)−3=18x2+12x−1(f \circ g)(x) = f(3x + 1) = 2(3x + 1)^2 - 3 = 2(9x^2 + 6x + 1) - 3 = 18x^2 + 12x - 1.
    • To find (g∘f)(x)(g \circ f)(x), substitute f(x)f(x) into gg:
      (g∘f)(x)=g(2x2−3)=3(2x2−3)+1=6x2−9+1=6x2−8(g \circ f)(x) = g(2x^2 - 3) = 3(2x^2 - 3) + 1 = 6x^2 - 9 + 1 = 6x^2 - 8.

    Key Insight: In general, function composition is not commutative; that is, (f∘g)(x)≠(g∘f)(x)(f \circ g)(x) \neq (g \circ f)(x).

    Determining the Domain

    The domain of f∘gf \circ g consists of all real numbers xx such that:

    1. xx is in the domain of gg (the inner function).
    2. g(x)g(x) is in the domain of ff (the outer function).

    Expressed symbolically, the domain is {x∈dom(g):g(x)∈dom(f)}\{x \in \text{dom}(g) : g(x) \in \text{dom}(f)\}.

    Worked Example

    Consider f(x)=1x−4f(x) = \frac{1}{x - 4} and g(x)=x+2g(x) = \sqrt{x + 2}.

    • Step 1: Find the domain of gg. The radicand must be non-negative: x+2≥0x + 2 \ge 0, so x≥−2x \ge -2.
    • Step 2: Find values where g(x)g(x) is in the domain of ff. The denominator of ff cannot be zero, so g(x)≠4g(x) \neq 4, which means x+2≠4\sqrt{x + 2} \neq 4. Squaring both sides yields x+2≠16x + 2 \neq 16, so x≠14x \neq 14.
    • Conclusion: Combining these restrictions, the domain of (f∘g)(x)(f \circ g)(x) is [−2,14)∪(14,∞)[-2, 14) \cup (14, \infty).

    Decomposing Functions

    Decomposition is the reverse process of composition: breaking a complex function h(x)h(x) into simpler constituent functions ff and gg such that h(x)=f(g(x))h(x) = f(g(x)).

    For example, if h(x)=(5x3−7)4h(x) = (5x^3 - 7)^4, a natural choice is:

    • Inner function: g(x)=5x3−7g(x) = 5x^3 - 7
    • Outer function: f(u)=u4f(u) = u^4, yielding f(g(x))=(5x3−7)4f(g(x)) = (5x^3 - 7)^4.

    Analytical Properties

    Analyzing composite functions often simplifies determining properties such as parity and inverses:

    • Parity: If gg is an even function, then (f∘g)(−x)=f(g(−x))=f(g(x))=(f∘g)(x)(f \circ g)(-x) = f(g(-x)) = f(g(x)) = (f \circ g)(x), making the composite function even regardless of whether ff is even or odd.
    • Inverses: Two functions ff and gg are inverses if and only if (f∘g)(x)=x(f \circ g)(x) = x for all xx in the domain of gg, and (g∘f)(x)=x(g \circ f)(x) = x for all xx in the domain of ff.