Educerie

Educerie · AP · Calculus

AP Calculus AB and BC 3.5

Selecting Procedures for Calculating Derivatives

How do you differentiate a function that is not written in a simple, ready-made form, one that is nested, defined implicitly, or defined as an inverse?

What you will learn

  • Understand that the outermost operation chooses the first rule
  • Know the toolbox of rules and when each applies
  • Understand when to simplify before differentiating
  • Know how a table question mixes rules

You must be able to

  1. Name the outermost operation and choose the rule
  2. Differentiate a product of composites, a quotient and an implicit equation
  3. Simplify first with log laws, split fractions or identities
  4. Evaluate a rule combination from a table
  5. Check an answer at one value with a calculator

In the exam. Section I multiple choice, Parts A and B: a one-line stem such as "ddx[… ]=\dfrac{d}{dx}\bigl[\dots\bigr] =" where the whole question is picking the right rule or rules, a derivative at a point from a table where each part needs a different rule, and a stem where simplifying first saves a rule. In Section II, the first step of nearly every part that starts with a function: a derivative, a second derivative or a tangent line, where choosing the wrong rule costs the point.

1The toolbox

RuleUse it whenFormula
Constant multiple, sumThe outermost operation is ++, −- or a constant factor(af+bg)′=af′+bg′\bigl(af + bg\bigr)' = af' + bg'
PowerThe expression is xnx^{n}ddx[xn]=nxn−1\dfrac{d}{dx}\bigl[x^{n}\bigr] = nx^{n - 1}
ProductTwo non-constant factors multiplied(fg)′=f′g+fg′\bigl(fg\bigr)' = f'g + fg'
QuotientOne function divided by another(fg)′=f′g−fg′g2\left(\dfrac{f}{g}\right)' = \dfrac{f'g - fg'}{g^{2}}
ChainA function of a function(f(g(x)))′=f′(g(x)) g′(x)\bigl(f(g(x))\bigr)' = f'(g(x))\,g'(x)
Standard functionssin⁡\sin, cos⁡\cos, tan⁡\tan, exe^{x}, ln⁡x\ln x, axa^{x}, inverse trigonometricthe formulas of Units 2 and 3
ImplicitAn equation in xx and yy that is not solved for yydifferentiate both sides, dydx\dfrac{dy}{dx} on each yy
InverseThe derivative of f−1f^{-1} at a point(f−1)′(b)=1f′(a)\bigl(f^{-1}\bigr)'(b) = \dfrac{1}{f'(a)}, f(a)=bf(a) = b
  • The first four rows are about structure. The rest are about the pieces.
  • Rules combine: a product rule can contain a chain rule, and the chain rule can contain a product rule.

2Choosing by the outermost operation

Ask: "what is the last operation?"

ExpressionOutermost operationFirst move
x2sin⁡xx^{2}\sin xproductproduct rule
exx2+1\dfrac{e^{x}}{x^{2} + 1}quotientquotient rule
sin⁡(x2)\sin\bigl(x^{2}\bigr)sine of somethingchain rule
(x2+1)5\bigl(x^{2} + 1\bigr)^{5}fifth power of somethingchain rule
x2+sin⁡xx^{2} + \sin xsumdifferentiate each term
ln⁡(xsin⁡x)\ln\bigl(x\sin x\bigr)log of somethingchain rule, then a product rule inside
x ex\sqrt{x\,e^{x}}root of somethingchain rule, then a product rule inside
x y=eyx\,y = e^{y}an equation in both variablesimplicit differentiation
  • Two expressions with the same pieces can need different rules. sin⁡x⋅x2\sin x\cdot x^{2} is a product, but sin⁡(x2)\sin\bigl(x^{2}\bigr) is a composite.
  • If you cannot decide, evaluate the expression at a number in your head and note the last step you do.

3Worked examples, one rule at a time and then combined

A product with a composite factor. y=exsin⁡(x2)y = e^{x}\sin\bigl(x^{2}\bigr). The outermost operation is a product.

dydx=exsin⁡(x2)+excos⁡(x2)⋅2xproduct rule; chain rule on the second factor=ex[sin⁡(x2)+2xcos⁡(x2)]\begin{aligned}\frac{dy}{dx} &= e^{x}\sin\bigl(x^{2}\bigr) + e^{x}\cos\bigl(x^{2}\bigr)\cdot 2x && \textcolor{#838c91}{\text{product rule; chain rule on the second factor}} \\[6pt] &= e^{x}\left[\sin\bigl(x^{2}\bigr) + 2x\cos\bigl(x^{2}\bigr)\right]\end{aligned}

A product of two composites. y=(3x+1)5(x2−2)3y = (3x + 1)^{5}(x^{2} - 2)^{3}.

dydx=5(3x+1)4(3) (x2−2)3+(3x+1)5⋅3(x2−2)2(2x)=15(3x+1)4(x2−2)3+6x(3x+1)5(x2−2)2\begin{aligned}\frac{dy}{dx} &= 5(3x + 1)^{4}(3)\,(x^{2} - 2)^{3} + (3x + 1)^{5}\cdot 3(x^{2} - 2)^{2}(2x) \\[6pt] &= 15(3x + 1)^{4}(x^{2} - 2)^{3} + 6x(3x + 1)^{5}(x^{2} - 2)^{2}\end{aligned}

Leave it in this form unless the question wants it simplified. It is correct as it stands.

A quotient. y=sin⁡x1+cos⁡xy = \dfrac{\sin x}{1 + \cos x}.

dydx=cos⁡x(1+cos⁡x)−sin⁡x(−sin⁡x)(1+cos⁡x)2=cos⁡x+cos⁡2x+sin⁡2x(1+cos⁡x)2=cos⁡x+1(1+cos⁡x)2=11+cos⁡xcos⁡2x+sin⁡2x=1, then cancel\begin{aligned}\frac{dy}{dx} &= \frac{\cos x(1 + \cos x) - \sin x(-\sin x)}{(1 + \cos x)^{2}} \\[6pt] &= \frac{\cos x + \cos^{2}x + \sin^{2}x}{(1 + \cos x)^{2}} \\[6pt] &= \frac{\cos x + 1}{(1 + \cos x)^{2}} = \frac{1}{1 + \cos x} && \textcolor{#838c91}{\cos^{2}x + \sin^{2}x = 1\text{, then cancel}}\end{aligned}

An inverse trigonometric function of a root. y=arctan⁡xy = \arctan\sqrt{x}.

dydx=11+(x)2⋅12x=12x (1+x)\frac{dy}{dx} = \frac{1}{1 + \bigl(\sqrt{x}\bigr)^{2}}\cdot\frac{1}{2\sqrt{x}} = \frac{1}{2\sqrt{x}\,(1 + x)}

An implicit equation. x ey=y2+1x\,e^{y} = y^{2} + 1.

ey+x eydydx=2ydydxproduct rule on x ey; chain rule on each y terme^{y} + x\,e^{y}\frac{dy}{dx} = 2y\frac{dy}{dx} \qquad \textcolor{#838c91}{\text{product rule on }x\,e^{y}\text{; chain rule on each }y\text{ term}}dydx(x ey−2y)=−ey\frac{dy}{dx}\left(x\,e^{y} - 2y\right) = -e^{y}dydx=ey2y−x ey\frac{dy}{dx} = \frac{e^{y}}{2y - x\,e^{y}}

4Simplify first

Sometimes the cheapest rule is no rule. Check these before you differentiate.

Log laws. y=ln⁡x2+1=12ln⁡(x2+1)y = \ln\sqrt{x^{2} + 1} = \tfrac{1}{2}\ln\bigl(x^{2} + 1\bigr).

dydx=12⋅2xx2+1=xx2+1much shorter than chain rules on the root and the log\frac{dy}{dx} = \frac{1}{2}\cdot\frac{2x}{x^{2} + 1} = \frac{x}{x^{2} + 1} \qquad \textcolor{#838c91}{\text{much shorter than chain rules on the root and the log}}

Split a fraction with a one-term denominator. y=x3+2xx2=x+2xy = \dfrac{x^{3} + 2x}{x^{2}} = x + \dfrac{2}{x}.

dydx=1−2x2power rule on x and 2x−1; no quotient rule needed\frac{dy}{dx} = 1 - \frac{2}{x^{2}} \qquad \textcolor{#838c91}{\text{power rule on }x\text{ and }2x^{-1}\text{; no quotient rule needed}}

Write roots and reciprocals as powers. y=1x2+1=(x2+1)−1y = \dfrac{1}{x^{2} + 1} = \bigl(x^{2} + 1\bigr)^{-1}.

dydx=−(x2+1)−2⋅2x=−2x(x2+1)2\frac{dy}{dx} = -\bigl(x^{2} + 1\bigr)^{-2}\cdot 2x = -\frac{2x}{\bigl(x^{2} + 1\bigr)^{2}}

Use an identity. y=sin⁡xcos⁡x=12sin⁡2xy = \sin x\cos x = \tfrac{1}{2}\sin 2x.

dydx=cos⁡2xthe product rule gives cos⁡2x−sin⁡2x, which is the same thing\frac{dy}{dx} = \cos 2x \qquad \textcolor{#838c91}{\text{the product rule gives }\cos^{2}x - \sin^{2}x\text{, which is the same thing}}
  • If the simplified form is not obviously shorter, do not rewrite. A correct unsimplified derivative scores the mark unless the question asks for a form.
  • Do not rewrite a sum as a product, or the reverse, unless an identity genuinely applies.

5From a table: one table, several rules

In a table question the rule is named by how the new function is built from ff and gg.

Example (invented). A table gives ff, f′f', gg and g′g' at x=1,2,3x = 1, 2, 3.

xxf(x)f(x)f′(x)f'(x)g(x)g(x)g′(x)g'(x)
1322−1-1
24−3-314
31532
ddx[f(x)g(x)]∣x=2=f′(2)g(2)+f(2)g′(2)=(−3)(1)+(4)(4)=13product\frac{d}{dx}\bigl[f(x)g(x)\bigr]\bigg|_{x=2} = f'(2)g(2) + f(2)g'(2) = (-3)(1) + (4)(4) = 13 \qquad \textcolor{#838c91}{\text{product}}ddx[f(x)g(x)]∣x=2=f′(2)g(2)−f(2)g′(2)g(2)2=−3−161=−19quotient\frac{d}{dx}\left[\frac{f(x)}{g(x)}\right]\bigg|_{x=2} = \frac{f'(2)g(2) - f(2)g'(2)}{g(2)^{2}} = \frac{-3 - 16}{1} = -19 \qquad \textcolor{#838c91}{\text{quotient}}ddx[f(g(x))]∣x=2=f′(g(2)) g′(2)=f′(1) g′(2)=2×4=8chain\frac{d}{dx}\bigl[f(g(x))\bigr]\bigg|_{x=2} = f'(g(2))\,g'(2) = f'(1)\,g'(2) = 2 \times 4 = 8 \qquad \textcolor{#838c91}{\text{chain}}ddx[g(f(x))]∣x=3=g′(f(3)) f′(3)=g′(1) f′(3)=(−1)(5)=−5chain, other order\frac{d}{dx}\bigl[g(f(x))\bigr]\bigg|_{x=3} = g'(f(3))\,f'(3) = g'(1)\,f'(3) = (-1)(5) = -5 \qquad \textcolor{#838c91}{\text{chain, other order}}
  • The same table gives four different answers because the four expressions are built differently. Read the construction, not just the letters.
  • Always evaluate every piece at the stated xx: f(2)f(2), f′(2)f'(2), g(2)g(2), g′(2)g'(2), then substitute.
  • Write the setup line before the number, as free-response questions expect.

6The calculator

On Part B, and on the calculator parts of Section II, the graphing calculator can give a numerical value for a derivative at a chosen point.

  • Use it when the question gives a formula you can enter, asks for a value, and allows a calculator.
  • It is a good check on a by-hand derivative: evaluate your derivative at a point, compare with the calculator's numerical derivative at the same point.
  • Give decimals correct to three places, and write the setup, such as "f′(2)=3.456f'(2) = 3.456", where f′(2)f'(2) names what you calculated.
  • On Part A there is no calculator. The numbers are friendly, and the exact form is expected.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.