Unit 3 Beta

Differentiation: Composite, Implicit, and Inverse Functions: the one-page sheet

3.1 The Chain Rule

For a composite function f(g(x)) , differentiate the outside function at the unchanged inside, then multiply by the derivative of the inside: d/dx f(g(x)) = f′(g(x))⋅g′(x) . Name the layers before you start, and never drop the inside derivative.

  • Spot the layers first: name the outside function and the inside function before you differentiate.
  • Differentiate the outside function and leave the inside alone: f′(g(x))f'(g(x)), not f′(x)f'(x) and not f′(g′(x))f'(g'(x)).
  • Then multiply by the derivative of the inside, g′(x)g'(x). Forgetting this factor is the most common lost point.
  • From a table, read f′f' at the inside value g(a)g(a), then multiply by g′(a)g'(a).

x feeds the inside function g , and g(x) feeds the outside function f and f changes f′(g(x)) times as much as its input g does h′(x) = f′(g(x))⋅g′(x) dy/dx = dy/du ⋅du/dx

chain rule
The rule for differentiating a composite function: <math class="calc-m"><semantics><mrow><mfrac><mi>d</mi><mrow><mi>d</mi><mi>x</mi></mrow></mfrac><mi>f</mi><mo stretchy="false">(</mo><mi>g</mi><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\frac{d}{dx} f(g(x))</annotation></semantics></math><wbr><math class="calc-m"><semantics><mrow><mo form="infix">=</mo><mrow><mi>f</mi><mo lspace="0" rspace="0">′</mo></mrow><mo stretchy="false">(</mo><mi>g</mi><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><mo stretchy="false">)</mo><mo>⋅</mo><mrow><mi>g</mi><mo lspace="0" rspace="0">′</mo></mrow><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">= f'(g(x)) \cdot g'(x)</annotation></semantics></math>. The derivative of the outside function <math class="calc-m"><semantics><mrow><mi>f</mi></mrow><annotation encoding="application/x-tex">f</annotation></semantics></math>, evaluated at the inside function <math class="calc-m"><semantics><mrow><mi>g</mi><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">g(x)</annotation></semantics></math>, times the derivative of the inside function.

3.2 Implicit Differentiation

To differentiate an equation in x and y , apply d/dx to both sides, treating y as a function of x : each y -term gets a factor dy/dx , and products need the product rule. Collect the dy/dx terms, factor, and solve. Substitute a point of the curve to get a slope.

  • Every term with yy gets a factor dydx\frac{dy}{dx}: ddxy2=2ydydx\frac{d}{dx}y^2 = 2y\frac{dy}{dx}, ddxsin⁡y=cos⁡ydydx\frac{d}{dx}\sin y = \cos y\frac{dy}{dx}.
  • A product of xx and yy needs the product rule: ddx(xy)=y+xdydx\frac{d}{dx}(xy) = y + x\frac{dy}{dx}.
  • Write the whole equation after differentiating, with =0= 0 or the right side, before you solve for dydx\frac{dy}{dx}.
  • The answer usually holds both xx and yy; a slope needs both coordinates of a point on the curve.

near a point, y still acts like a function of x each term with y gets a factor dy/dx by the chain rule; products like xy need the product rule dy/dx equals a fraction that may hold both x and y the result is the slope of the tangent line there

implicit differentiation
Finding <math class="calc-m"><semantics><mrow><mfrac><mrow><mi>d</mi><mi>y</mi></mrow><mrow><mi>d</mi><mi>x</mi></mrow></mfrac></mrow><annotation encoding="application/x-tex">\frac{dy}{dx}</annotation></semantics></math> from an equation in <math class="calc-m"><semantics><mrow><mi>x</mi></mrow><annotation encoding="application/x-tex">x</annotation></semantics></math> and <math class="calc-m"><semantics><mrow><mi>y</mi></mrow><annotation encoding="application/x-tex">y</annotation></semantics></math> without solving for <math class="calc-m"><semantics><mrow><mi>y</mi></mrow><annotation encoding="application/x-tex">y</annotation></semantics></math>: differentiate both sides with respect to <math class="calc-m"><semantics><mrow><mi>x</mi></mrow><annotation encoding="application/x-tex">x</annotation></semantics></math>, using the chain rule on every term that holds <math class="calc-m"><semantics><mrow><mi>y</mi></mrow><annotation encoding="application/x-tex">y</annotation></semantics></math>, then solve for <math class="calc-m"><semantics><mrow><mfrac><mrow><mi>d</mi><mi>y</mi></mrow><mrow><mi>d</mi><mi>x</mi></mrow></mfrac></mrow><annotation encoding="application/x-tex">\frac{dy}{dx}</annotation></semantics></math>.

3.3 Derivatives of Inverse Functions

The graph of an inverse is a reflection in y = x , which swaps rise and run, so slopes become reciprocals at matching points: (f⁻¹)′(a) = 1/(f′(f⁻¹(a))) . Find f⁻¹(a) first, then take the reciprocal of f′ at that input.

  • The rule: g′(x)=1f′(g(x))g'(x) = \frac{1}{f'(g(x))} when gg is the inverse of ff and f′(g(x))≠0f'(g(x)) \ne 0.
  • Two steps: first find g(x)g(x), the input of ff that gives xx; then take the reciprocal of f′f' there.
  • From a table, find the given number in the f(x)f(x) row, read its xx, then read f′f' in that column.
  • It comes from the chain rule: differentiate f(g(x))=xf(g(x)) = x to get f′(g(x))⋅g′(x)=1f'(g(x)) \cdot g'(x) = 1.

the point (a, b) on f becomes (b, a) on g a tangent line of slope m becomes one of slope 1/m g′(b) = 1/(f′(g(b))) the tangent line of g at b is vertical and g′(b) does not exist

derivative of an inverse function
The derivative of the inverse of <math class="calc-m"><semantics><mrow><mi>f</mi></mrow><annotation encoding="application/x-tex">f</annotation></semantics></math>: <math class="calc-m"><semantics><mrow><mrow><mrow><mo fence="true" stretchy="true">(</mo><msup><mi>f</mi><mrow><mo form="prefix" lspace="0" rspace="0">−</mo><mn>1</mn></mrow></msup><mo fence="true" stretchy="true">)</mo></mrow><mo lspace="0" rspace="0">′</mo></mrow><mo stretchy="false">(</mo><mi>a</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">\left(f^{-1}\right)'(a)</annotation></semantics></math><wbr><math class="calc-m"><semantics><mrow><mo form="infix">=</mo><mfrac><mn>1</mn><mrow><mrow><mi>f</mi><mo lspace="0" rspace="0">′</mo></mrow><mrow><mo fence="true" stretchy="true">(</mo><mrow><msup><mi>f</mi><mrow><mo form="prefix" lspace="0" rspace="0">−</mo><mn>1</mn></mrow></msup><mo stretchy="false">(</mo><mi>a</mi><mo stretchy="false">)</mo></mrow><mo fence="true" stretchy="true">)</mo></mrow></mrow></mfrac></mrow><annotation encoding="application/x-tex">= \frac{1}{f'\left(f^{-1}(a)\right)}</annotation></semantics></math>, provided <math class="calc-m"><semantics><mrow><mrow><mi>f</mi><mo lspace="0" rspace="0">′</mo></mrow><mrow><mo fence="true" stretchy="true">(</mo><mrow><msup><mi>f</mi><mrow><mo form="prefix" lspace="0" rspace="0">−</mo><mn>1</mn></mrow></msup><mo stretchy="false">(</mo><mi>a</mi><mo stretchy="false">)</mo></mrow><mo fence="true" stretchy="true">)</mo></mrow><mo>≠</mo><mn>0</mn></mrow><annotation encoding="application/x-tex">f'\left(f^{-1}(a)\right) \ne 0</annotation></semantics></math>. The slope of the inverse at a point is the reciprocal of the slope of <math class="calc-m"><semantics><mrow><mi>f</mi></mrow><annotation encoding="application/x-tex">f</annotation></semantics></math> at the reflected point.

3.4 Derivatives of Inverse Trigonometric Functions

The derivatives of the inverse trigonometric functions are algebraic: d/dx arcsin x = 1/(√(1 − x²)) , d/dx arccos x = −1/(√(1 − x²)) and d/dx arctan x = 1/(1 + x²) . With an inside function, square the whole inside and multiply by its derivative.

  • ddxarcsin⁡x\frac{d}{dx}\arcsin x=11−x2= \frac{1}{\sqrt{1 - x^2}} and ddxarccos⁡x\frac{d}{dx}\arccos x=−11−x2= -\frac{1}{\sqrt{1 - x^2}}, for −1<x<1-1 < x < 1.
  • ddxarctan⁡x\frac{d}{dx}\arctan x=11+x2= \frac{1}{1 + x^2} for every xx.
  • With an inside function, square the whole inside in the formula and multiply by its derivative.
  • The results come from implicit differentiation or from the inverse rule 1f′(g(x))\frac{1}{f'(g(x))}.

differentiate implicitly: cos y⋅dy/dx = 1 d/dx arcsin x = 1/(√(1 − x²)) d/dx arctan x = 1/(1 + x²) multiply by u′ : d/dx arctan u = u′/(1 + u²)

derivative of arcsine
The derivatives of the inverse trigonometric functions: <math class="calc-m"><semantics><mrow><mfrac><mi>d</mi><mrow><mi>d</mi><mi>x</mi></mrow></mfrac><mi>arcsin</mi><mo lspace="0" rspace="0.1667em">&#x2061;</mo><mi>x</mi></mrow><annotation encoding="application/x-tex">\frac{d}{dx}\arcsin x</annotation></semantics></math><wbr><math class="calc-m"><semantics><mrow><mo form="infix">=</mo><mfrac><mn>1</mn><msqrt><mrow><mn>1</mn><mo>−</mo><msup><mi>x</mi><mn>2</mn></msup></mrow></msqrt></mfrac></mrow><annotation encoding="application/x-tex">= \frac{1}{\sqrt{1 - x^2}}</annotation></semantics></math> and <math class="calc-m"><semantics><mrow><mfrac><mi>d</mi><mrow><mi>d</mi><mi>x</mi></mrow></mfrac><mi>arccos</mi><mo lspace="0" rspace="0.1667em">&#x2061;</mo><mi>x</mi></mrow><annotation encoding="application/x-tex">\frac{d}{dx}\arccos x</annotation></semantics></math><wbr><math class="calc-m"><semantics><mrow><mo form="infix">=</mo><mo form="prefix" lspace="0" rspace="0">−</mo><mfrac><mn>1</mn><msqrt><mrow><mn>1</mn><mo>−</mo><msup><mi>x</mi><mn>2</mn></msup></mrow></msqrt></mfrac></mrow><annotation encoding="application/x-tex">= -\frac{1}{\sqrt{1 - x^2}}</annotation></semantics></math> for <math class="calc-m"><semantics><mrow><mo form="prefix" lspace="0" rspace="0">−</mo><mn>1</mn><mo>&lt;</mo><mi>x</mi><mo>&lt;</mo><mn>1</mn></mrow><annotation encoding="application/x-tex">-1 &lt; x &lt; 1</annotation></semantics></math>, and <math class="calc-m"><semantics><mrow><mfrac><mi>d</mi><mrow><mi>d</mi><mi>x</mi></mrow></mfrac><mi>arctan</mi><mo lspace="0" rspace="0.1667em">&#x2061;</mo><mi>x</mi></mrow><annotation encoding="application/x-tex">\frac{d}{dx}\arctan x</annotation></semantics></math><wbr><math class="calc-m"><semantics><mrow><mo form="infix">=</mo><mfrac><mn>1</mn><mrow><mn>1</mn><mo>+</mo><msup><mi>x</mi><mn>2</mn></msup></mrow></mfrac></mrow><annotation encoding="application/x-tex">= \frac{1}{1 + x^2}</annotation></semantics></math>.

3.5 Choosing a Differentiation Rule

Choose the first rule from the last operation: a sum term by term, a product by the product rule, a quotient by the quotient rule (or a rewrite), a function of a function by the chain rule. Then ask the same question of each piece, one rule per layer.

  • The last operation decides the first rule: x2sin⁡(3x)x^2\sin(3x) is a product; sin2⁡(x3)\sin^2(x^3) is a composition (a square).
  • Inside a product or quotient, any factor may still need the chain rule.
  • Equations mixing xx and yy call for implicit differentiation; an inverse calls for 1f′(g(x))\frac{1}{f'(g(x))}.
  • Rewrite before differentiating when it saves a rule, but do not simplify more than the question asks.

that last operation names the first rule: sum, product, quotient or composition it leaves smaller pieces, each needing its own derivative one rule per layer, until only basic derivatives remain 5/x³ = 5x⁻³ needs only the power rule

differentiation strategy
Choosing which differentiation rule to apply first by finding the last operation in the expression (sum, product, quotient or composition), then repeating the choice on each piece; rewriting first when it removes a rule.

3.6 Second and Higher Derivatives

The second derivative f″ is the derivative of f′ : it tells how fast the rate of change is changing. Find it by differentiating again, with the product and chain rules as needed; from a graph of f′ , read it as a slope. For implicit curves, substitute dy/dx after the second differentiation.

  • Notation: f″(x)f''(x), y″y'', d2ydx2\frac{d^2y}{dx^2}; higher ones are f‴(x)f'''(x) and f(n)(x)f^{(n)}(x).
  • Read f″f'' from a graph of f′f' as its slope, not its height.
  • If f′f' is a product or composition, differentiating again needs the product or chain rule again.
  • Implicit second derivative: differentiate dydx\frac{dy}{dx} (quotient rule, yy still depends on xx), then substitute dydx\frac{dy}{dx}.

it can be differentiated: f″ = (f′)′ f″ > 0 where f′ rises, f″ < 0 where f′ falls f‴ , f^((4)) , ..., f^((n)) ; for a polynomial of degree n , f^((n + 1)) = 0 then substitute the expression for dy/dx wherever it appears

second derivative
The derivative of the derivative: <math class="calc-m"><semantics><mrow><mrow><mi>f</mi><mo lspace="0" rspace="0">″</mo></mrow><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo><mo>=</mo><mfrac><mi>d</mi><mrow><mi>d</mi><mi>x</mi></mrow></mfrac><mrow><mi>f</mi><mo lspace="0" rspace="0">′</mo></mrow><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">f''(x) = \frac{d}{dx}f'(x)</annotation></semantics></math>, also written <math class="calc-m"><semantics><mrow><mfrac><mrow><msup><mi>d</mi><mn>2</mn></msup><mi>y</mi></mrow><mrow><mi>d</mi><msup><mi>x</mi><mn>2</mn></msup></mrow></mfrac></mrow><annotation encoding="application/x-tex">\frac{d^2y}{dx^2}</annotation></semantics></math>. It measures how fast <math class="calc-m"><semantics><mrow><mrow><mi>f</mi><mo lspace="0" rspace="0">′</mo></mrow></mrow><annotation encoding="application/x-tex">f'</annotation></semantics></math> changes. Higher-order derivatives continue: <math class="calc-m"><semantics><mrow><mrow><mi>f</mi><mo lspace="0" rspace="0">‴</mo></mrow></mrow><annotation encoding="application/x-tex">f'''</annotation></semantics></math>, <math class="calc-m"><semantics><mrow><msup><mi>f</mi><mrow><mo stretchy="false">(</mo><mn>4</mn><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">f^{(4)}</annotation></semantics></math>, ..., <math class="calc-m"><semantics><mrow><msup><mi>f</mi><mrow><mo stretchy="false">(</mo><mi>n</mi><mo stretchy="false">)</mo></mrow></msup></mrow><annotation encoding="application/x-tex">f^{(n)}</annotation></semantics></math>.