AP Calculus AB - Derivatives, Implicit Differentiation, Linearization, and Chain Rule

Derivatives of Trigonometric Functions

  • Basic Differentiation Formulas for Trigonometric Functions:

    • Derivative of Sine:     ddx(sin⁡(x))=cos⁡(x)\frac{d}{dx}(\sin(x)) = \cos(x)

    • Derivative of Cosine:     ddx(cos⁡(x))=−sin⁡(x)\frac{d}{dx}(\cos(x)) = -\sin(x)

    • Derivative of Tangent:     ddx(tan⁡(x))=sec⁡2(x)\frac{d}{dx}(\tan(x)) = \sec^2(x)

    • Derivative of Secant:     ddx(sec⁡(x))=sec⁡(x)tan⁡(x)\frac{d}{dx}(\sec(x)) = \sec(x)\tan(x)

    • Derivative of Cotangent:     ddx(cot⁡(x))=−csc⁡2(x)\frac{d}{dx}(\cot(x)) = -\csc^2(x)

    • Derivative of Cosecant:     ddx(csc⁡(x))=−csc⁡(x)cot⁡(x)\frac{d}{dx}(\csc(x)) = -\csc(x)\cot(x)

  • Example 1: Differentiating Sums of Trigonometric Functions

    • Function: f(x)=cos⁡(x)+2tan⁡(x)f(x) = \cos(x) + 2\tan(x)

    • Applying the derivative term-by-term:     f′(x)=−sin⁡(x)+2sec⁡2(x)f'(x) = -\sin(x) + 2\sec^2(x)     

      Derivative term showing + 2 sec^2(x)
  • Finding Tangent Line Equations for Trigonometric Functions:   

    Textbook problems 49 and 50 on finding tangent lines
    • Problem 49: Find the equation of the tangent line to f(x)=sin⁡(x)+cos⁡(x)f(x) = \sin(x) + \cos(x) at the point (0,1)(0, 1).

    • Step 1: Differentiate f(x)f(x) to find the slope function:       f′(x)=cos⁡(x)−sin⁡(x)f'(x) = \cos(x) - \sin(x)

    • Step 2: Evaluate slope at x=0x = 0:       f′(0)=cos⁡(0)−sin⁡(0)=1−0=1f'(0) = \cos(0) - \sin(0) = 1 - 0 = 1

    • Step 3: Write tangent line equation using slope m=1m = 1 and yy-intercept b=1b = 1:       y=1x+1y = 1x + 1       y=x+1y = x + 1       

      Handwritten evaluation of tangent line slope f'(0)
    • Problem 50: Find the equation of the tangent line to f(x)=excos⁡(x)f(x) = e^x \cos(x) at the point (0,1)(0, 1).

    • Step 1: Apply the Product Rule to differentiate f(x)f(x):       f′(x)=ddx(ex)cos⁡(x)+exddx(cos⁡(x))f'(x) = \frac{d}{dx}(e^x)\cos(x) + e^x \frac{d}{dx}(\cos(x))       f′(x)=excos⁡(x)−exsin⁡(x)f'(x) = e^x \cos(x) - e^x \sin(x)

    • Step 2: Evaluate slope at x=0x = 0:       f′(0)=e0cos⁡(0)−e0sin⁡(0)=1(1)−1(0)=1f'(0) = e^0 \cos(0) - e^0 \sin(0) = 1(1) - 1(0) = 1

    • Step 3: Write equation of tangent line:       y=1x+1y = 1x + 1       y=x+1y = x + 1

The Chain Rule

  • Chain Rule Principle and Definition:

    • The Chain Rule calculates the derivative of a composite function f(g(x))f(g(x)).

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

    • Leibniz Notation:     dydx=dydu⋅dudx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}

  • Basic and Trigonometric Chain Rule Examples:

    • Example 1: Differentiating Power of Sine     ddx(sin⁡4(x))=4sin⁡3(x)⋅cos⁡(x)\frac{d}{dx}\left(\sin^4(x)\right) = 4\sin^3(x) \cdot \cos(x)

    • Example 2: Differentiating Trigonometric Function with Inner Linear Argument     ddx(tan⁡(3x))=3sec⁡2(3x)\frac{d}{dx}(\tan(3x)) = 3\sec^2(3x)

    • Example 3: Cosecant with Inner Linear Argument     ddx(csc⁡(10x))=−10csc⁡(10x)cot⁡(10x)\frac{d}{dx}(\csc(10x)) = -10\csc(10x)\cot(10x)

    • Example 4: Multi-Layered Chain Rule     ddx(sin⁡4(x3))=4sin⁡3(x3)⋅cos⁡(x3)⋅3x2=12x2sin⁡3(x3)cos⁡(x3)\frac{d}{dx}\left(\sin^4(x^3)\right) = 4\sin^3(x^3) \cdot \cos(x^3) \cdot 3x^2 = 12x^2 \sin^3(x^3)\cos(x^3)

    • Example 5: Polynomial Power     ddx((6x+5)4)=4(6x+5)3⋅6=24(6x+5)3\frac{d}{dx}\left((6x + 5)^4\right) = 4(6x + 5)^3 \cdot 6 = 24(6x + 5)^3

    • Example 6: Single Polynomial Term Raised to Large Power

    • Function: F(x)=(1+2x)99F(x) = (1 + 2x)^{99}

    • Derivative: F′(x)=99(1+2x)98⋅2=198(1+2x)98F'(x) = 99(1 + 2x)^{98} \cdot 2 = 198(1 + 2x)^{98}

    • Example 7: Composite Polynomial Powers

    • Function: F(x)=(5x6+2x3)4F(x) = (5x^6 + 2x^3)^4

    • Derivative: F′(x)=4(5x6+2x3)3⋅(30x5+6x2)F'(x) = 4(5x^6 + 2x^3)^3 \cdot (30x^5 + 6x^2)

    • Example 8: Cosine of Squared Angle

    • Function: f(θ)=cos⁡(θ2)f(\theta) = \cos(\theta^2)

    • Derivative: f′(θ)=−sin⁡(θ2)⋅2θ=−2θsin⁡(θ2)f'(\theta) = -\sin(\theta^2) \cdot 2\theta = -2\theta \sin(\theta^2)

    • Example 9: Squared Cosine Angle

    • Function: g(θ)=cos⁡2(θ)=(cos⁡θ)2g(\theta) = \cos^2(\theta) = (\cos\theta)^2

    • Derivative: g′(θ)=2cos⁡(θ)⋅(−sin⁡θ)=−2sin⁡(θ)cos⁡(θ)=−sin⁡(2θ)g'(\theta) = 2\cos(\theta) \cdot (-\sin\theta) = -2\sin(\theta)\cos(\theta) = -\sin(2\theta)

    • Example 10: Product Rule combined with Chain Rule

    • Function: f(t)=tsin⁡(πt)f(t) = t \sin(\pi t)

    • Derivative:       f′(t)=1⋅sin⁡(πt)+t⋅cos⁡(πt)⋅πf'(t) = 1 \cdot \sin(\pi t) + t \cdot \cos(\pi t) \cdot \pi       f′(t)=sin⁡(πt)+πtcos⁡(πt)f'(t) = \sin(\pi t) + \pi t \cos(\pi t)

Implicit Differentiation

  • Implicit Differentiation Technique and Tangent Line Application:   

    Textbook section heading for implicit differentiation tangent line problems
    • When functions are expressed implicitly (where yy is not explicitly isolated), both sides of the equation are differentiated with respect to xx, treating yy as an implicit function of xx (applying the chain rule to generate term dydx\frac{dy}{dx}).

    • Equation of tangent line using point-slope form:     y−y1=dydx(x−x1)y - y_1 = \frac{dy}{dx}(x - x_1)     

      Point-slope equation of tangent line using dy/dx
  • Worked Example: Tangent Line to Complex Implicit Curve

    • Problem 57: Find the equation of the tangent line to ysin⁡(2x)=xcos⁡(2y)y\sin(2x) = x\cos(2y) at the point (π2,π4)\left(\frac{\pi}{2}, \frac{\pi}{4}\right).     

      Implicit differentiation problem 57 solution steps
    • Step 1: Differentiate both sides implicitly with respect to xx using the Product and Chain Rules:     ddx[ysin⁡(2x)]=ddx[xcos⁡(2y)]\frac{d}{dx}[y\sin(2x)] = \frac{d}{dx}[x\cos(2y)]     dydxsin⁡(2x)+y⋅2cos⁡(2x)=1⋅cos⁡(2y)+x(−sin⁡(2y)⋅2dydx)\frac{dy}{dx}\sin(2x) + y \cdot 2\cos(2x) = 1 \cdot \cos(2y) + x\left(-\sin(2y) \cdot 2\frac{dy}{dx}\right)     dydxsin⁡(2x)+2ycos⁡(2x)=cos⁡(2y)−2xsin⁡(2y)dydx\frac{dy}{dx}\sin(2x) + 2y\cos(2x) = \cos(2y) - 2x\sin(2y)\frac{dy}{dx}

    • Step 2: Substitute point values x=π2x = \frac{\pi}{2} and y=π4y = \frac{\pi}{4} directly into the differentiated equation:

    • Compute arguments:       2x=2(π2)=π2x = 2\left(\frac{\pi}{2}\right) = \pi       2y=2(π4)=π22y = 2\left(\frac{\pi}{4}\right) = \frac{\pi}{2}

    • Trigonometric evaluations:       sin⁡(π)=0\sin(\pi) = 0       cos⁡(π)=−1\cos(\pi) = -1       cos⁡(π2)=0\cos\left(\frac{\pi}{2}\right) = 0       sin⁡(π2)=1\sin\left(\frac{\pi}{2}\right) = 1

    • Direct substitution:       dydx(0)+2(π4)(−1)=0−2(π2)(1)dydx\frac{dy}{dx}(0) + 2\left(\frac{\pi}{4}\right)(-1) = 0 - 2\left(\frac{\pi}{2}\right)(1)\frac{dy}{dx}       −π2=−πdydx-\frac{\pi}{2} = -\pi \frac{dy}{dx}       dydx=−π2−π=12\frac{dy}{dx} = \frac{-\frac{\pi}{2}}{-\pi} = \frac{1}{2}

    • Step 3: Write point-slope equation of tangent line:     y−π4=12(x−π2)y - \frac{\pi}{4} = \frac{1}{2}\left(x - \frac{\pi}{2}\right)

  • Standard Implicit Differentiation Example (Circle Relation):

    • Relation: x2+y2=8x^2 + y^2 = 8

    • Differentiating both sides:     2x+2ydydx=02x + 2y\frac{dy}{dx} = 0     2ydydx=−2x2y\frac{dy}{dx} = -2x     dydx=−xy\frac{dy}{dx} = -\frac{x}{y}

Derivatives of Logarithmic and Exponential Functions

  • Natural Logarithm Differentiation Rules:

    • Standard Rule:     ddx(ln⁡(x))=1x\frac{d}{dx}(\ln(x)) = \frac{1}{x}

    • Chain Rule with Logarithmic Functions:     ddx(ln⁡(u))=1u⋅dudx\frac{d}{dx}(\ln(u)) = \frac{1}{u} \cdot \frac{du}{dx}

  • Logarithmic Differentiation Examples:

    • Example 1: Function f(x)=xln⁡(x)−xf(x) = x\ln(x) - x     f′(x)=1⋅ln⁡(x)+x⋅1x−1f'(x) = 1 \cdot \ln(x) + x \cdot \frac{1}{x} - 1     f′(x)=ln⁡(x)+1−1=ln⁡(x)f'(x) = \ln(x) + 1 - 1 = \ln(x)

    • Example 2: Quotient with Natural Logarithm

    • Function: f(x)=ln⁡(x)x2f(x) = \frac{\ln(x)}{x^2}

    • Derivative via Quotient Rule:       f′(x)=1x⋅x2−ln⁡(x)⋅2x(x2)2f'(x) = \frac{\frac{1}{x} \cdot x^2 - \ln(x) \cdot 2x}{(x^2)^2}       f′(x)=x−2xln⁡(x)x4=x(1−2ln⁡(x))x4=1−2ln⁡(x)x3f'(x) = \frac{x - 2x\ln(x)}{x^4} = \frac{x(1 - 2\ln(x))}{x^4} = \frac{1 - 2\ln(x)}{x^3}

    • Example 3: Composite Logarithmic Function Power

    • Function: f(x)=sin⁡2(ln⁡(x))=[sin⁡(ln⁡(x))]2f(x) = \sin^2(\ln(x)) = [\sin(\ln(x))]^2

    • Derivative:       f′(x)=2sin⁡(ln⁡(x))⋅cos⁡(ln⁡(x))⋅1xf'(x) = 2\sin(\ln(x)) \cdot \cos(\ln(x)) \cdot \frac{1}{x}       f′(x)=2sin⁡(ln⁡(x))cos⁡(ln⁡(x))xf'(x) = \frac{2\sin(\ln(x))\cos(\ln(x))}{x}       

      Derivative of sin^2(ln(x)) with respect to x
  • Exponential Functions with General Base (axa^x) and Logarithmic Differentiation:

    • Derivation of ddx(2x)\frac{d}{dx}(2^x) via Logarithmic Differentiation:     

      Logarithmic differentiation derivation for y = 2^x
    • Step 1: Let y=2xy = 2^x

    • Step 2: Take natural logarithm of both sides:       ln⁡(y)=ln⁡(2x)\ln(y) = \ln(2^x)       ln⁡(y)=xln⁡(2)\ln(y) = x\ln(2)

    • Step 3: Differentiate implicitly with respect to xx:       ddx[ln⁡(y)]=ddx[xln⁡(2)]\frac{d}{dx}[\ln(y)] = \frac{d}{dx}[x\ln(2)]       1ydydx=ln⁡(2)\frac{1}{y}\frac{dy}{dx} = \ln(2)

    • Step 4: Solve for dydx\frac{dy}{dx}:       dydx=yln⁡(2)=2xln⁡(2)\frac{dy}{dx} = y\ln(2) = 2^x \ln(2)

    • General Exponential Rule for Base aa (a>0,a≠1a > 0, a \neq 1):     ddx(ax)=axln⁡(a)\frac{d}{dx}(a^x) = a^x \ln(a)     ddx(au)=auln⁡(a)⋅dudx\frac{d}{dx}(a^{u}) = a^{u}\ln(a) \cdot \frac{du}{dx}

    • Applied Chain Rule with Base Base 33 Exponential Function:     

      Exponential chain rule component highlighted
    • Function: h(x)=f(g(x))h(x) = f(g(x)) where f(x)=3xf(x) = 3^x and g(x)=x2+4xg(x) = x^2 + 4x

    • Explicit Function: h(x)=3x2+4xh(x) = 3^{x^2 + 4x}

    • Applying Exponential Chain Rule:       h′(x)=3x2+4x⋅(ln⁡3)⋅ddx(x2+4x)h'(x) = 3^{x^2 + 4x} \cdot (\ln 3) \cdot \frac{d}{dx}(x^2 + 4x)       h′(x)=3x2+4x(ln⁡3)(2x+4)h'(x) = 3^{x^2 + 4x}(\ln 3)(2x + 4)

Local Linearization and Tangent Line Approximations

  • Tangent Line Approximation Concept:

    • The linearization L(x)L(x) of a differentiable function f(x)f(x) at point x=ax = a provides a linear approximation of the function for values of xx near aa:     L(x)=f(a)+f′(a)(x−a)L(x) = f(a) + f'(a)(x - a)

  • Concavity and Over/Underestimation Criteria:   

    Concavity rules for local linearization over/underestimationDiagram illustrating tangent line overestimate on concave down curve
    • Concave Up Criteria (f′′(x)>0f''(x) > 0):

    • The tangent line lies below the graph of f(x)f(x).

    • Therefore, the linearization L(x)L(x) produces an underestimate (L(x)<f(x)L(x) < f(x)).

    • Concave Down Criteria (f′′(x)<0f''(x) < 0):

    • The tangent line lies above the graph of f(x)f(x).

    • Therefore, the linearization L(x)L(x) produces an overestimate (L(x)>f(x)L(x) > f(x)).

  • Worked Problem 1: Cubic Function Linearization

    • Find linearization L(x)L(x) of f(x)=x3−2x2+3f(x) = x^3 - 2x^2 + 3 at a=2a = 2 and approximate f(1.9)f(1.9).

    • Step 1: Calculate f(2)f(2):     f(2)=(2)3−2(2)2+3=8−8+3=3f(2) = (2)^3 - 2(2)^2 + 3 = 8 - 8 + 3 = 3

    • Step 2: Calculate derivative f′(x)f'(x) and evaluate f′(2)f'(2):     f′(x)=3x2−4xf'(x) = 3x^2 - 4x     f′(2)=3(2)2−4(2)=12−8=4f'(2) = 3(2)^2 - 4(2) = 12 - 8 = 4

    • Step 3: Construct linearization equation L(x)L(x):     L(x)=3+4(x−2)L(x) = 3 + 4(x - 2)

    • Step 4: Estimate f(1.9)f(1.9) using L(1.9)L(1.9):     L(1.9)=3+4(1.9−2)=3+4(−0.1)=3−0.4=2.6L(1.9) = 3 + 4(1.9 - 2) = 3 + 4(-0.1) = 3 - 0.4 = 2.6

    • Step 5: Evaluate concavity to determine error type:     f′′(x)=6x−4f''(x) = 6x - 4     f′′(2)=6(2)−4=8>0f''(2) = 6(2) - 4 = 8 > 0     Since f′′(2)>0f''(2) > 0, ff is concave up at x=2x = 2. Thus, L(1.9)=2.6L(1.9) = 2.6 is an underestimate.

  • Worked Problem 2: Radical Function Linearization

    • Find linearization L(x)L(x) of f(x)=xf(x) = \sqrt{x} centered at a=4a = 4 and approximate f(3.9)f(3.9).

    • Step 1: Calculate f(4)f(4):     f(4)=4=2f(4) = \sqrt{4} = 2

    • Step 2: Calculate f′(x)f'(x) and evaluate f′(4)f'(4):     f′(x)=12xf'(x) = \frac{1}{2\sqrt{x}}     f′(4)=124=14=0.25f'(4) = \frac{1}{2\sqrt{4}} = \frac{1}{4} = 0.25

    • Step 3: Construct linearization equation L(x)L(x):     L(x)=2+0.25(x−4)L(x) = 2 + 0.25(x - 4)

    • Step 4: Estimate f(3.9)f(3.9) using L(3.9)L(3.9):     L(3.9)=2+0.25(3.9−4)=2+0.25(−0.1)=2−0.025=1.975L(3.9) = 2 + 0.25(3.9 - 4) = 2 + 0.25(-0.1) = 2 - 0.025 = 1.975

    • Step 5: Evaluate concavity:     f′′(x)=−14x3/2f''(x) = -\frac{1}{4x^{3/2}}     f′′(4)=−14(4)3/2=−132<0f''(4) = -\frac{1}{4(4)^{3/2}} = -\frac{1}{32} < 0     Since f′′(4)<0f''(4) < 0, ff is concave down at x=4x = 4. Thus, L(3.9)=1.975L(3.9) = 1.975 is an overestimate.

  • Worked Problem 3: Numerical Estimation of (1.999)4(1.999)^4

    • Let f(x)=x4f(x) = x^4 centered at base point a=2a = 2

    • Calculate point values:     f(2)=24=16f(2) = 2^4 = 16     f′(x)=4x3  ⟹  f′(2)=4(2)3=32f'(x) = 4x^3 \implies f'(2) = 4(2)^3 = 32

    • Linearization equation:     L(x)=16+32(x−2)L(x) = 16 + 32(x - 2)

    • Evaluate at x=1.999x = 1.999     L(1.999)=16+32(1.999−2)=16+32(−0.001)=16−0.032=15.968L(1.999) = 16 + 32(1.999 - 2) = 16 + 32(-0.001) = 16 - 0.032 = 15.968

Tabular Differentiation (AP Calculus AB Applications)

  • Reference Table of Values for Differentiable Functions ff and gg:

  | xx | f(x)f(x) | f′(x)f'(x) | g(x)g(x) | g′(x)g'(x) |   |---|---|---|---|---|   | 11 | 33 | 44 | 22 | 66 |   | 22 | 11 | 55 | 88 | 77 |   | 33 | 77 | 77 | 22 | 99 |

  • Composite Function Chain Rule Problems:   

    AP problem 78 table and chain rule solutions for h'(1) and H'(1)
    • Problem 78(a): If h(x)=f(g(x))h(x) = f(g(x)), evaluate h′(1)h'(1).

    • Formula: h′(x)=f′(g(x))⋅g′(x)h'(x) = f'(g(x)) \cdot g'(x)

    • Evaluation at x=1x = 1:       h′(1)=f′(g(1))⋅g′(1)h'(1) = f'(g(1)) \cdot g'(1)       From table: g(1)=2g(1) = 2 and g′(1)=6g'(1) = 6       h′(1)=f′(2)⋅6h'(1) = f'(2) \cdot 6       From table: f′(2)=5f'(2) = 5       h′(1)=5⋅6=30h'(1) = 5 \cdot 6 = 30

    • Problem 78(b): If H(x) = g(f(x))$, evaluate H'(1).\n - Formula: H'(x) = g'(f(x)) \cdot f'(x)\n - Evaluation at x = 1:\n      H'(1) = g'(f(1)) \cdot f'(1)\n      From table: f(1) = 3andandf'(1) = 4\n      H'(1) = g'(3) \cdot 4\n      From table: g'(3) = 9\n      H'(1) = 9 \cdot 4 = 36\n\n- Tabular Product Rule Problem:\n  ![Product rule calculation using table values at x = 1](https://assets.knowt.com/pdf-flow-prod/9f90945a-50d6-4e13-89c3-cdcba7d39af5-figures/1.jpg)\n - Find \frac{d}{dx}[f(x) \cdot g(x)]\Big|{x=1}\n - Formula:\n    \frac{d}{dx}[f(x)g(x)]\Big|{x=1} = f'(1)g(1) + g'(1)f(1)\n - Substituting values from table:\n    f'(1) = 4, \quad g(1) = 2, \quad g'(1) = 6, \quad f(1) = 3\n    = (4)(2) + (6)(3) = 8 + 18 = 26\n\n- Tabular Quotient Rule Problem:\n  ![Quotient rule calculation using table values at x = 1](https://assets.knowt.com/pdf-flow-prod/9f90945a-50d6-4e13-89c3-cdcba7d39af5-figures/2.png)\n - Find \frac{d}{dx}\left[\frac{f(x)}{g(x)}\right]\Big|{x=1}\n - Formula:\n    \frac{d}{dx}\left[\frac{f(x)}{g(x)}\right]\Big|{x=1} = \frac{f'(1)g(1) - g'(1)f(1)}{(g(1))^2}\n - Substituting values from table:\n    = \frac{(4)(2) - (6)(3)}{(2)^2} = \frac{8 - 18}{4} = \frac{-10}{4} = -\frac{5}{2}$$