Function Composition, Decompositions, and Geometric Transformations

Fundamentals of Function Composition

  • Definition of Composite Function:

    • A composite function applies one function to the result of another function.

    • The output of the inner function becomes the direct input of the outer function.

    • Conceptual flow of values: Input x⟶Inner Function g(x)⟶Output g(x)⟶Outer Function f(g(x))⟶Final Output\text{Input } x \longrightarrow \text{Inner Function } g(x) \longrightarrow \text{Output } g(x) \longrightarrow \text{Outer Function } f(g(x)) \longrightarrow \text{Final Output}.

  • Notation and Terminology:

    • Written algebraically as (f∘g)(x)(f \circ g)(x) or f(g(x))f(g(x)).

    • Read aloud as "ff of gg of xx".

    • In the expression f(g(x))f(g(x)), g(x)g(x) is the inner function and f(x)f(x) is the outer function.

    • In the expression g(f(x))g(f(x)), f(x)f(x) is the inner function and g(x)g(x) is the outer function.

Algebraic Function Composition

  • Basic Algebraic Composition (Example 1):

    • Given the base functions:

    • f(x)=x2+3f(x) = x^2 + 3

    • g(x)=2x−1g(x) = 2x - 1

    • Finding (f∘g)(x)(f \circ g)(x) / f(g(x))f(g(x)):

    • Substitute the entire expression for g(x)g(x) into every instance of xx within f(x)f(x):

      • f(g(x))=f(2x−1)f(g(x)) = f(2x - 1)

    • Apply the rule for ff:

      • f(2x−1)=(2x−1)2+3f(2x - 1) = (2x - 1)^2 + 3

    • Expand the binomial squared:

      • (2x−1)2=(2x)2−2(2x)(1)+12=4x2−4x+1(2x - 1)^2 = (2x)^2 - 2(2x)(1) + 1^2 = 4x^2 - 4x + 1

    • Combine like terms:

      • 4x2−4x+1+3=4x2−4x+44x^2 - 4x + 1 + 3 = 4x^2 - 4x + 4

    • Final simplified expression:

      • (f∘g)(x)=4x2−4x+4(f \circ g)(x) = 4x^2 - 4x + 4

    • Finding (g∘f)(x)(g \circ f)(x) / g(f(x))g(f(x)):

    • Substitute the entire expression for f(x)f(x) into every instance of xx within g(x)g(x):

      • g(f(x))=g(x2+3)g(f(x)) = g(x^2 + 3)

    • Apply the rule for gg:

      • g(x2+3)=2(x2+3)−1g(x^2 + 3) = 2(x^2 + 3) - 1

    • Distribute the constant 22:

      • 2(x2)+2(3)−1=2x2+6−12(x^2) + 2(3) - 1 = 2x^2 + 6 - 1

    • Combine constants:

      • 2x2+52x^2 + 5

    • Final simplified expression:

      • (g∘f)(x)=2x2+5(g \circ f)(x) = 2x^2 + 5

    • Core Principle of Non-Commutativity:

    • Function composition is generally not commutative:

      • (f∘g)(x)≠(g∘f)(x)(f \circ g)(x) \neq (g \circ f)(x)

  • 4x2−4x+4≠2x2+54x^2 - 4x + 4 \neq 2x^2 + 5

Numerical Evaluation of Composite Functions

  • Evaluating at a Specific Input Value (Example 2):

    • Given f(x)=x2+3f(x) = x^2 + 3 and g(x)=2x−1g(x) = 2x - 1, evaluate (f∘g)(4)(f \circ g)(4).

    • Method: Inside-Out Stepwise Evaluation:

    • Step 1: Evaluate the inner function g(x)g(x) at x=4x = 4:

      • g(4)=2(4)−1g(4) = 2(4) - 1

      • g(4)=8−1=7g(4) = 8 - 1 = 7

    • Step 2: Use the resulting output (77) as the input for the outer function f(x)f(x):

      • f(7)=(7)2+3f(7) = (7)^2 + 3

      • f(7)=49+3=52f(7) = 49 + 3 = 52

    • Final value:

    • (f∘g)(4)=52(f \circ g)(4) = 52

Composition with Domain Restrictions

  • Determining Composite Formulas and Restricted Domains (Example 3):

    • Given the functions:

    • f(x)=1xf(x) = \frac{1}{x}

    • g(x)=x−5g(x) = \sqrt{x - 5}

    • Finding the Composite Function (f∘g)(x)(f \circ g)(x):

    • Substitute g(x)g(x) into f(x)f(x):

      • (f∘g)(x)=f(x−5)=1x−5(f \circ g)(x) = f(\sqrt{x - 5}) = \frac{1}{\sqrt{x - 5}}

    • Determining the Domain of f(g(x))f(g(x)):

    • The domain of a composite function f(g(x))f(g(x)) requires that two conditions are simultaneously satisfied:

      • Condition 1 (Inner Function Domain): The input xx must reside within the domain of the inner function g(x)g(x).

      • For g(x)=x−5g(x) = \sqrt{x - 5}, the radicand must be non-negative:

        • x−5≥0x - 5 \ge 0

        • x≥5x \ge 5

      • Condition 2 (Outer Function Domain): The output of g(x)g(x) must reside within the domain of the outer function f(x)f(x).

      • For f(u)=1uf(u) = \frac{1}{u}, the denominator cannot equal zero:

        • u≠0  ⟹  g(x)≠0u \neq 0 \implies g(x) \neq 0

  • x−5≠0\sqrt{x - 5} \neq 0

  • x−5≠0x - 5 \neq 0

  • x≠5x \neq 5

  • Synthesizing the Restrictions:

    • Combining x≥5x \ge 5 and x≠5x \neq 5 eliminates the endpoint 55:

  • Inequality notation: x>5x > 5

  • Interval notation: (5,∞)(5, \infty)

Absolute Value Transformations: ∣f(x)∣|f(x)| vs. f(∣x∣)f(|x|)

  • Overview of Absolute Value Composition:

    • Composing any base function f(x)f(x) with the absolute value function g(x)=∣x∣g(x) = |x| produces distinct geometric transformations depending entirely on whether the composition is outer or inner.

  • Outer Composition: y=∣f(x)∣y = |f(x)| (or g(f(x))g(f(x)) where g(x)=∣x∣g(x) = |x|):

    • Conceptual Meaning:

    • The absolute value acts on the outside of the function, directly modifying the output values (yy-outputs): ∣y∣|y|.

    • Transformation Rules:

    • Any portion of the graph of f(x)f(x) that lies below the xx-axis (y<0y < 0) is reflected across the xx-axis into the positive half-plane (y>0y > 0).

    • Any portion of the graph of f(x)f(x) that lies on or above the xx-axis (y≥0y \ge 0) remains completely unchanged.

  • Inner Composition: y=f(∣x∣)y = f(|x|) (or f(g(x))f(g(x)) where g(x)=∣x∣g(x) = |x|):

    • Conceptual Meaning:

    • The absolute value acts on the inside of the function, directly modifying the input values (xx-inputs) before ff processes them.

    • Transformation Rules:

    • Delete and discard the entire left side of the graph where x<0x < 0.

    • Retain the right side of the graph where x≥0x \ge 0.

    • Reflect the retained right side (x≥0x \ge 0) across the yy-axis onto the left side (x<0x < 0).

    • Operational memory aids: "THINK SYMMETRY" and "KEEP RIGHT SIDE SAME".

    • The resulting graph exhibits even symmetry (line symmetry across the yy-axis).

Graphical Transformation Analysis and Practice

Graphical transformations of f(x), |f(x)|, and f(|x|)
  • Analysis of Example 4 Base Function y=f(x)y = f(x) on Domain [−4,4][-4, 4]:

    • Piecewise linear graph featuring the following key anchor coordinates:

    • Endpoint at (−4,−3)(-4, -3)

    • Line segment running from (−4,−3)(-4, -3) to (−1,−1)(-1, -1), with an xx-intercept at (−1.75,0)(-1.75, 0)

    • Horizontal segment running from (−1,−1)(-1, -1) to (0,−1)(0, -1)

    • Line segment from (0,−1)(0, -1) rising through an xx-intercept at (1.25,0)(1.25, 0) to a local maximum peak at (1.75,0.75)(1.75, 0.75)

    • Falling segment from (1.75,0.75)(1.75, 0.75) down to the right endpoint at (4,0)(4, 0)

  • Part A: Constructing y=g(f(x))=∣f(x)∣y = g(f(x)) = |f(x)|:

    • Modifies all yy-values by taking their magnitude: y→∣y∣y \rightarrow |y|.

    • Transformation applied point-by-point:

    • Left endpoint: (−4,−3)⟶(−4,3)(-4, -3) \longrightarrow (-4, 3)

    • Intercept remains: (−1.75,0)⟶(−1.75,0)(-1.75, 0) \longrightarrow (-1.75, 0)

    • Corner point: (−1,−1)⟶(−1,1)(-1, -1) \longrightarrow (-1, 1)

    • Segment along y=−1y = -1 flips to y=1y = 1: horizontal line segment from (−1,1)(-1, 1) to (0,1)(0, 1)

    • Segment below the axis from (0,−1)(0, -1) to (1.25,0)(1.25, 0) flips to run from (0,1)(0, 1) down to (1.25,0)(1.25, 0)

    • Positive region stays unchanged: passes through peak (1.75,0.75)(1.75, 0.75) and terminates at (4,0)(4, 0)

  • Part B: Constructing y=f(g(x))=f(∣x∣)y = f(g(x)) = f(|x|):

    • Preserves the right side (x≥0x \ge 0) and reflects it across the yy-axis:

    • The portion for x<0x < 0 is completely deleted.

    • Retained right side (x≥0x \ge 0):

      • Center vertex at (0,−1)(0, -1)

      • Rises through xx-intercept (1.25,0)(1.25, 0)

      • Reaches peak at (1.75,0.75)(1.75, 0.75)

      • Drops to endpoint at (4,0)(4, 0)

    • Reflected left side (x<0x < 0):

      • Starts at center vertex (0,−1)(0, -1)

      • Rises through symmetric xx-intercept at (−1.25,0)(-1.25, 0)

      • Reaches symmetric peak at (−1.75,0.75)(-1.75, 0.75)

      • Drops to symmetric endpoint at (−4,0)(-4, 0)

Decomposing Functions

  • Principles of Function Decomposition:

    • Decomposing a function involves reversing composition to identify the constituent inner function and outer function.

    • Standard target: Express a combined function as h(x)=g(f(x))h(x) = g(f(x)) or h(x)=f(g(x))h(x) = f(g(x)).

    • Common Structural Locations for the Inner Function:

    • Grouped inside parentheses: (expression)n(expression)^n

    • Positioned underneath a radical symbol: expression\sqrt{expression}

    • Located in the denominator of a fraction: 1expression\frac{1}{expression}

  • Identification Practice (Example 5): Expressing h(x)=g(f(x))h(x) = g(f(x)):

    • Note: In this specific problem configuration, f(x)f(x) is designated as the inner function and g(x)g(x) is designated as the outer function.

    • Problem 1: h(x)=(3x−5)5h(x) = (3x - 5)^5

    • Inner function (inside the parentheses): f(x)=3x−5f(x) = 3x - 5

    • Outer function (power of 5 rule): g(x)=x5g(x) = x^5

    • Verification: g(f(x))=g(3x−5)=(3x−5)5g(f(x)) = g(3x - 5) = (3x - 5)^5

    • Problem 2: h(x)=1x2+3h(x) = \frac{1}{x^2 + 3}

    • Inner function (in the denominator): f(x)=x2+3f(x) = x^2 + 3

    • Outer function (reciprocal rule): g(x)=1xg(x) = \frac{1}{x}

    • Verification: g(f(x))=g(x2+3)=1x2+3g(f(x)) = g(x^2 + 3) = \frac{1}{x^2 + 3}

    • Problem 3: h(x)=2x+1h(x) = \sqrt{2x + 1}

    • Inner function (underneath the square root radical): f(x)=2x+1f(x) = 2x + 1

    • Outer function (square root rule): g(x)=xg(x) = \sqrt{x}

    • Verification: g(f(x))=g(2x+1)=2x+1g(f(x)) = g(2x + 1) = \sqrt{2x + 1}

Real-World Applications of Function Composition

  • Search and Rescue Modeling Scenario (Example 6):

    • Context: A search and rescue team estimates that a lost hiker travels outward from a search site at an average rate of 2 mph2\,\text{mph}.

    • Given functional models:

    • Radius function: g(x)=2xg(x) = 2x, representing the radius of the search zone (in miles) after xx hours.

    • Area function: f(r)=πr2f(r) = \pi r^2, representing the total area of a circular search zone (in square miles) given a radius rr.

  • Part 1: Deriving the Composite Function:

    • Construct (f∘g)(x)(f \circ g)(x) to represent total search area directly as a function of elapsed time xx:

    • Substitute the radius function g(x)g(x) into the area function f(r)f(r):

      • f(g(x))=π(g(x))2f(g(x)) = \pi (g(x))^2

      • f(g(x))=π(2x)2f(g(x)) = \pi (2x)^2

    • Square the inner term:

      • (2x)2=4x2(2x)^2 = 4x^2

    • Multiply by π\pi:

      • f(g(x))=4πx2f(g(x)) = 4\pi x^2

    • Final composite model:

    • (f∘g)(x)=4πx2(f \circ g)(x) = 4\pi x^2

  • Part 2: Calculating Theoretical Area for Given Time:

    • Scenario: Calculate the theoretical search area if the hiker has been missing for 66 hours (x=6x = 6):

    • Substitute x=6x = 6 into the composite formula:

      • f(g(6))=4π(6)2f(g(6)) = 4\pi (6)^2

      • f(g(6))=4π(36)f(g(6)) = 4\pi (36)

      • 4×36=1444 \times 36 = 144

      • f(g(6))=144πf(g(6)) = 144\pi

    • Theoretical search area:

    • Exact area: 144π square miles144\pi\,\text{square miles}

  • Part 3: Contextual Meaning of Variables:

    • Input (xx): Represents the time elapsed in hours since the hiker went missing.

    • Output (f(g(x))f(g(x))): Represents the total search area in square miles covered by the circular search zone.