MAT210 Section 3.1: The Chain Rule Study Guide

Foundational Principles and Function Composition

  • Foundational Differentiation Context:

    • Standard basic differentiation rules establish procedures for differentiating elementary functions, such as power functions (xnx^n), exponential functions (ekxe^{kx}), and logarithmic functions (ln⁡(x)\ln(x)), as well as their sums and differences.

    • In business and economics applications, models regularly encounter composite functions, which are functions formed by combining two or more distinct functions.

    • The Chain Rule provides the necessary mathematical technique to differentiate composite functions by applying differentiation rules to the individual components that comprise them.

  • Mathematical Definition of Function Composition:

    • The composition of two functions ff and gg is denoted by (f∘g)(f \circ g) and is formally evaluated as:     (f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x))

    • Function composition is structurally defined using the concepts of an inside function and an outside function:

    • Inside function: u=g(x)u = g(x).

    • Outside function: f(u)f(u), which is applied directly to the evaluation of the inside function g(x)g(x).

    • Composition dictates that the output of the inside function, u=g(x)u = g(x), becomes the direct input of the outside function, transforming f(x)f(x) into f(u)f(u).

    • Structurally, a composite function is formed by replacing the variable xx in the expression for f(x)f(x) with the entire expression of g(x)g(x).

  • Illustrative Examples of Function Composition:

    • Example 1: Let f(x)=x3f(x) = x^3 and g(x)=x2+4x+1g(x) = x^2 + 4x + 1.

    • Composite form: f(g(x))=[g(x)]3=(x2+4x+1)3f(g(x)) = [g(x)]^3 = (x^2 + 4x + 1)^3

    • Inside function: u=g(x)=x2+4x+1u = g(x) = x^2 + 4x + 1

    • Outside function: f(u)=u3f(u) = u^3

    • Example 2: Let f(x)=exf(x) = e^x and g(x)=3x2g(x) = 3x^2.

    • Composite form: f(g(x))=eg(x)=e3x2f(g(x)) = e^{g(x)} = e^{3x^2}

    • Inside function: u=g(x)=3x2u = g(x) = 3x^2

    • Outside function: f(u)=euf(u) = e^u

    • Example 3: Let f(x)=ln⁡(x)f(x) = \ln(x) and g(x)=x2+1g(x) = x^2 + 1.

    • Composite form: f(g(x))=ln⁡(g(x))=ln⁡(x2+1)f(g(x)) = \ln(g(x)) = \ln(x^2 + 1)

    • Inside function: u=g(x)=x2+1u = g(x) = x^2 + 1

    • Outside function: f(u)=ln⁡(u)f(u) = \ln(u)

  • Identification of Inside and Outside Components:

    • Accurate identification of component functions is the prerequisite step for differentiation.

    • For f(g(x))=2x2+3x+5f(g(x)) = \sqrt{2x^2 + 3x + 5}:

    • Inside function: u=g(x)=2x2+3x+5u = g(x) = 2x^2 + 3x + 5

    • Outside function: f(u)=uf(u) = \sqrt{u}

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

    • Inside function: u=g(x)=x2+1u = g(x) = x^2 + 1

    • Outside function: f(u)=u3f(u) = u^3

    • For f(g(x))=ln⁡(x3+1)f(g(x)) = \ln(x^3 + 1):

    • Inside function: u=g(x)=x3+1u = g(x) = x^3 + 1

    • Outside function: f(u)=ln⁡(u)f(u) = \ln(u)

The Chain Rule of Differentiation

  • Formal Statement and Notations:

    • Given a composite function y=f(g(x))y = f(g(x)), where both ff and gg are differentiable functions.

    • Prime Notation:     ddx[f(g(x))]=f′(g(x))⋅g′(x)\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)

    • Differential Notation (Leibniz Notation):     dydx=dydu⋅dudx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}     where y=f(u)y = f(u) and u=g(x)u = g(x).

  • Operational Mechanics:

    • The critical initial step is accurately identifying the inside function g(x)g(x) and the outside function f(u)f(u).

    • Once identified, the derivative is computed by multiplying the derivative of the outside function (evaluated at the inside function g(x)g(x)) by the derivative of the inside function (g′(x)g'(x)).

  • Worked Example: Polynomial Power:

    • Find dydx\frac{dy}{dx} when y=(x2+5x−1)3y = (x^2 + 5x - 1)^3.

    • Identify components:

    • Inside function: u=g(x)=x2+5x−1u = g(x) = x^2 + 5x - 1

    • Outside function: f(u)=u3f(u) = u^3

    • Differentiate both components individually:

    • g′(x)=2x+5g'(x) = 2x + 5

    • f′(u)=3u2f'(u) = 3u^2

    • Apply the Chain Rule:     dydx=ddx(x2+5x−1)3=3(x2+5x−1)2(2x+5)\frac{dy}{dx} = \frac{d}{dx}(x^2 + 5x - 1)^3 = 3(x^2 + 5x - 1)^2 (2x + 5)     where 3(x2+5x−1)23(x^2 + 5x - 1)^2 corresponds to f′(g(x))f'(g(x)) and (2x+5)(2x + 5) corresponds to g′(x)g'(x).

  • Worked Example: Radical Function:

    • Find dydx\frac{dy}{dx} when y=x3+5x+1y = \sqrt{x^3 + 5x + 1}.

    • Identify components:

    • Inside function: u=g(x)=x3+5x+1u = g(x) = x^3 + 5x + 1

    • Outside function: y=f(u)=u=u1/2y = f(u) = \sqrt{u} = u^{1/2}

    • Differentiate both components:

    • dudx=3x2+5\frac{du}{dx} = 3x^2 + 5

    • dydu=12u−1/2=12u\frac{dy}{du} = \frac{1}{2}u^{-1/2} = \frac{1}{2\sqrt{u}}

    • Apply the Chain Rule:     dydx=dydu⋅dudx=12u⋅(3x2+5)=12x3+5x+1(3x2+5)\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx} = \frac{1}{2\sqrt{u}} \cdot (3x^2 + 5) = \frac{1}{2\sqrt{x^3 + 5x + 1}}(3x^2 + 5)

  • Strategic Guidance on Choosing Component Functions:

    • When decomposing y=f(g(x))y = f(g(x)), the selection of ff and gg is not unique, but specific choices optimize computational efficiency.

    • Efficiency Guideline: Choose g(x)g(x) so that the outer function f(u)f(u) is as simple as possible—ideally a standard basic form (such as unu^n, eue^u, or ln⁡(u)\ln(u)) whose derivative is directly known.

    • Decomposition Comparison for f(g(x))=(x2+1)3f(g(x)) = (x^2 + 1)^3:

    • Efficient Approach: Let g(x)=x2+1g(x) = x^2 + 1, yielding the outer function f(u)=u3f(u) = u^3, which differentiates directly via the standard power rule.

    • Less Efficient Approach: Setting g(x)=x2g(x) = x^2 forces the outside function to be f(u)=(u+1)3f(u) = (u + 1)^3, which would unnecessarily require an additional application of the Chain Rule to differentiate f(u)f(u).

    • Identifying the most natural inside and outside functions simplifies calculation and minimizes algebraic complexity.

The General Power Rule

  • Derivation and Formula:

    • For any composite function expressed as a power of an inner function, y=[g(x)]ny = [g(x)]^n, the outer function is f(u)=unf(u) = u^n.

    • Applying the Chain Rule yields:     ddx[g(x)]n=dydu⋅dudx=nun−1⋅g′(x)=n[g(x)]n−1⋅g′(x)\frac{d}{dx}[g(x)]^n = \frac{dy}{du} \cdot \frac{du}{dx} = nu^{n-1} \cdot g'(x) = n[g(x)]^{n-1} \cdot g'(x)

  • Worked Example: Rational Expression with Negative Exponent:

    • Find dydt\frac{dy}{dt} when y=1t2+10y = \frac{1}{t^2 + 10}.

    • Rewrite using a negative exponent: y=(t2+10)−1y = (t^2 + 10)^{-1}.

    • Identify components:

    • Inside function: u=g(t)=t2+10u = g(t) = t^2 + 10

    • Outside function: f(u)=1u=u−1f(u) = \frac{1}{u} = u^{-1}

    • Differentiate components:

    • dudt=g′(t)=2t\frac{du}{dt} = g'(t) = 2t

    • dydu=f′(u)=−u−2=−1u2\frac{dy}{du} = f'(u) = -u^{-2} = -\frac{1}{u^2}

    • Apply the Chain Rule:     dydt=dydu⋅dudt=−1u2⋅(2t)=−1(t2+10)2(2t)=−2t(t2+10)2\frac{dy}{dt} = \frac{dy}{du} \cdot \frac{du}{dt} = -\frac{1}{u^2} \cdot (2t) = -\frac{1}{(t^2 + 10)^2}(2t) = -\frac{2t}{(t^2 + 10)^2}

  • Worked Example: High-Degree Polynomial Power:

    • Find dydx\frac{dy}{dx} when y=(4x−3)7y = (4x - 3)^7.

    • Apply the General Power Rule directly:     ddx((4x−3)7)=7(4x−3)6⋅(4)=28(4x−3)6\frac{d}{dx}((4x - 3)^7) = 7(4x - 3)^6 \cdot (4) = 28(4x - 3)^6

The Natural Logarithm Rule

  • Domain Convention:

    • Derivatives are evaluated strictly on the function's natural domain.

    • When expressions containing ln⁡(g(x))\ln(g(x)) appear, results are defined exclusively on open intervals where g(x)>0g(x) > 0.

  • Derivation and Formula:

    • For composite functions of the form y=ln⁡(g(x))y = \ln(g(x)), the outside function is f(u)=ln⁡(u)f(u) = \ln(u).

    • Applying the Chain Rule:     ddx[ln⁡(g(x))]=dydu⋅dudx=1u⋅g′(x)=1g(x)⋅g′(x)=g′(x)g(x)\frac{d}{dx}[\ln(g(x))] = \frac{dy}{du} \cdot \frac{du}{dx} = \frac{1}{u} \cdot g'(x) = \frac{1}{g(x)} \cdot g'(x) = \frac{g'(x)}{g(x)}

    • In general, for y=ln⁡(∣g(x)∣)y = \ln(|g(x)|), the derivative is:     y′=g′(x)g(x)y' = \frac{g'(x)}{g(x)}

  • Worked Example: Linear Argument:

    • Find dydx\frac{dy}{dx} when y=ln⁡(2x+1)y = \ln(2x + 1).

    • Identify components:

    • Inside function: u=g(x)=2x+1u = g(x) = 2x + 1

    • Outside function: f(u)=ln⁡(u)f(u) = \ln(u)

    • Differentiate components:

    • dudx=g′(x)=2\frac{du}{dx} = g'(x) = 2

    • dydu=f′(u)=1u\frac{dy}{du} = f'(u) = \frac{1}{u}

    • Apply the Chain Rule:     dydx=dydu⋅dudx=1u⋅2=22x+1\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx} = \frac{1}{u} \cdot 2 = \frac{2}{2x + 1}

  • Worked Example: Monomial Argument:

    • Evaluate ddx[ln⁡(2x3)]\frac{d}{dx}[\ln(2x^3)].

    • Differentiate using the logarithmic chain rule:     ddx[ln⁡(2x3)]=12x3⋅ddx(2x3)=12x3(6x2)=3x\frac{d}{dx}[\ln(2x^3)] = \frac{1}{2x^3} \cdot \frac{d}{dx}(2x^3) = \frac{1}{2x^3}(6x^2) = \frac{3}{x}

  • Worked Example: Higher-Order Polynomial Argument:

    • Evaluate ddt[ln⁡(1+4t7)]\frac{d}{dt}[\ln(1 + 4t^7)].

    • Differentiate using the logarithmic chain rule:     ddt[ln⁡(1+4t7)]=11+4t7⋅ddt(1+4t7)=28t61+4t7\frac{d}{dt}[\ln(1 + 4t^7)] = \frac{1}{1 + 4t^7} \cdot \frac{d}{dt}(1 + 4t^7) = \frac{28t^6}{1 + 4t^7}

The Exponential Rule

  • Derivation and Formula:

    • For composite exponential functions of the form y=eg(x)y = e^{g(x)}, the outside function is f(u)=euf(u) = e^u.

    • Applying the Chain Rule:     ddx[eg(x)]=dydu⋅dudx=eu⋅g′(x)=eg(x)⋅g′(x)\frac{d}{dx}[e^{g(x)}] = \frac{dy}{du} \cdot \frac{du}{dx} = e^u \cdot g'(x) = e^{g(x)} \cdot g'(x)

  • Special Case: Linear Exponent (g(x)=axg(x) = ax):

    • When g(x)=axg(x) = ax (where aa is a constant):     ddx[eax]=eax⋅a=aeax\frac{d}{dx}[e^{ax}] = e^{ax} \cdot a = a e^{ax}

    • This foundational formula is formally derived via the Chain Rule.

  • Worked Example: Quadratic Exponent:

    • Find dydx\frac{dy}{dx} if y=e0.04x2y = e^{0.04x^2}.

    • Identify components:

    • Inside function: u=g(x)=0.04x2u = g(x) = 0.04x^2

    • Outside function: f(u)=euf(u) = e^u

    • Differentiate components:

    • dudx=g′(x)=0.08x\frac{du}{dx} = g'(x) = 0.08x

    • dydu=f′(u)=eu\frac{dy}{du} = f'(u) = e^u

    • Apply the Chain Rule:     dydx=dydu⋅dudx=eu⋅(0.08x)=0.08xe0.04x2\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx} = e^u \cdot (0.08x) = 0.08x e^{0.04x^2}

  • Worked Example: Radical Exponent:

    • Evaluate ddx(ex)\frac{d}{dx}(e^{\sqrt{x}}).

    • Apply the exponential chain rule:     ddx(ex)=exddx(x)=ex(12x−1/2)=ex2x\frac{d}{dx}(e^{\sqrt{x}}) = e^{\sqrt{x}} \frac{d}{dx}(\sqrt{x}) = e^{\sqrt{x}}\left(\frac{1}{2}x^{-1/2}\right) = \frac{e^{\sqrt{x}}}{2\sqrt{x}}

Recursive Application of the Chain Rule

  • Multi-Layered Composite Functions:

    • When the inner function g(x)g(x) is itself a composite function, the Chain Rule must be applied recursively.

    • Procedural workflow:

    • Differentiate the outermost function with respect to its internal argument.

    • Multiply by the derivative of that internal argument.

    • If the internal argument is composite, repeat the Chain Rule process step-by-step until all layers are completely differentiated down to the primary variable.

  • Worked Example: Nested Exponential and Power Functions:

    • Find dydx\frac{dy}{dx} if y=e(2x+3)4y = e^{(2x+3)^4}.

    • Step 1: Differentiate the primary outer exponential layer:     dydx=e(2x+3)4⋅ddx[(2x+3)4]\frac{dy}{dx} = e^{(2x+3)^4} \cdot \frac{d}{dx}[(2x + 3)^4]

    • Step 2: Apply the General Power Rule to differentiate the inner composite power function:     ddx[(2x+3)4]=4(2x+3)3⋅ddx(2x+3)\frac{d}{dx}[(2x + 3)^4] = 4(2x + 3)^3 \cdot \frac{d}{dx}(2x + 3)

    • Step 3: Differentiate the innermost linear expression:     ddx(2x+3)=2\frac{d}{dx}(2x + 3) = 2

    • Step 4: Synthesize and simplify the complete chain product:     dydx=e(2x+3)4⋅4(2x+3)3⋅2=8(2x+3)3e(2x+3)4\frac{dy}{dx} = e^{(2x+3)^4} \cdot 4(2x + 3)^3 \cdot 2 = 8(2x + 3)^3 e^{(2x+3)^4}

Core Formula Reference and Course Trajectory

  • Master Summary of Chain Rule Variations:

    • General Chain Rule:     ddx[f(g(x))]=f′(g(x))⋅g′(x)\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)     dydx=dydu⋅dudx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}

    • General Power Rule:     If y=(g(x))n, then y′=n(g(x))n−1⋅g′(x)\text{If } y = (g(x))^n, \text{ then } y' = n(g(x))^{n-1} \cdot g'(x)

    • Exponential Chain Rule:     If y=eg(x), then y′=eg(x)⋅g′(x)\text{If } y = e^{g(x)}, \text{ then } y' = e^{g(x)} \cdot g'(x)     Special case: If y=eax, then y′=aeax\text{Special case: If } y = e^{ax}, \text{ then } y' = a e^{ax}

    • Natural Logarithm Chain Rule:     If y=ln⁡(∣g(x)∣), then y′=g′(x)g(x)\text{If } y = \ln(|g(x)|), \text{ then } y' = \frac{g'(x)}{g(x)}

  • Course Trajectory:

    • Subsequent coursework transitions from algebraic mechanics to deploying the Chain Rule in applied business, economic, and rate-of-change modeling contexts.