AP Calculus AB · Unit 2

Unit 2: Differentiation: Definition and Basic Rules

The derivative as the limit of a difference quotient, and as the slope of the tangent line

Estimating a derivative from a table or a graph, and average versus instantaneous rate of change

Where a function is not differentiable, and why differentiable means continuous

The power, constant multiple and sum rules, and the derivatives of exe^x and ln⁡x\ln x

The product and quotient rules, and the derivatives of the six trig functions

On the exam

About a tenth of the multiple-choice section by our estimate, roughly 4 or 5 of its 42 questions, though these rules are used in almost every later question

Free-response questions often ask you to read derivatives from a graph or a table, to say where a function is not differentiable, and to write a tangent line; the FRQ lesson here trains that graph work

Key terms

15 terms. Say what each one means, then open the card to check.

  • Average rate of change

    The change in output over the change in input on an interval, f(b)−f(a)b−a\frac{f(b) - f(a)}{b - a}. It is the slope of the secant line through the two endpoints.

    Example. A hiker who climbs from 1,200 meters at 9 a.m. to 1,500 meters at 11 a.m. gains height at an average rate of 150 meters per hour.

  • Derivative at a point

    The limit f′(a)=lim⁡h→0f(a+h)−f(a)hf'(a) = \lim_{h \to 0}\frac{f(a + h) - f(a)}{h}, when it exists. It is the instantaneous rate of change of ff at aa.

    Example. For f(x)=5xf(x) = 5x, every difference quotient is 5(a+h)−5ah=5\frac{5(a + h) - 5a}{h} = 5, so f′(a)=5f'(a) = 5 at every aa.

  • Tangent line

    The line through (a,f(a))(a, f(a)) with slope f′(a)f'(a): y=f(a)+f′(a)(x−a)y = f(a) + f'(a)(x - a). Near aa it is the line that best matches the graph.

    Example. If f(4)=10f(4) = 10 and f′(4)=−2f'(4) = -2, the tangent line at x=4x = 4 is y=10−2(x−4)y = 10 - 2(x - 4).

  • Derivative notation

    The derivative of y=f(x)y = f(x) can be written f′(x)f'(x), y′y', dydx\frac{dy}{dx} or ddxf(x)\frac{d}{dx}f(x). All mean the same function.

    Example. If y=x2y = x^2, then y′=2xy' = 2x, dydx=2x\frac{dy}{dx} = 2x and ddx(x2)=2x\frac{d}{dx}(x^2) = 2x say the same thing.

  • Differentiable

    A function is differentiable at aa when f′(a)f'(a) exists. If ff is differentiable at aa, it is continuous at aa; a continuous function need not be differentiable.

    Example. ∣x∣|x| is continuous at 0, but its slopes are -1 on the left and 1 on the right, so it is not differentiable at 0.

  • Where a derivative fails

    A function is not differentiable at a corner (one-sided slopes differ), at a cusp, at a vertical tangent line, or anywhere it is not continuous.

    Example. x3\sqrt[3]{x} has a vertical tangent at x=0x = 0: its graph is smooth there but the slope grows without bound, so no derivative exists at 0.

  • Power rule

    For any real number nn, ddxxn=nxn−1\frac{d}{dx}x^n = nx^{n-1}. Rewrite roots and reciprocals as powers first.

    Example. 1x3=x−3\frac{1}{x^3} = x^{-3}, so its derivative is −3x−4=−3x4-3x^{-4} = -\frac{3}{x^4}.

  • Sum and constant multiple rules

    Differentiate a sum term by term, keep a constant factor, and drop a constant term: (cf+g)′=cf′+g′(cf + g)' = cf' + g' and ddxc=0\frac{d}{dx}c = 0.

    Example. ddx(7x2−4x+11)=14x−4\frac{d}{dx}(7x^2 - 4x + 11) = 14x - 4; the 11 contributes nothing.

  • Derivatives of exe^x and ln⁡x\ln x

    ddxex=ex\frac{d}{dx}e^x = e^x, and ddxln⁡x=1x\frac{d}{dx}\ln x = \frac{1}{x} for x>0x > 0.

    Example. ddx(2ex+ln⁡x)=2ex+1x\frac{d}{dx}(2e^x + \ln x) = 2e^x + \frac{1}{x}, which is 2e+12e + 1 at x=1x = 1.

  • Product rule

    (fg)′=f′g+fg′(fg)' = f'g + fg': the derivative of the first times the second, plus the first times the derivative of the second.

    Example. ddx(x2ln⁡x)=2xln⁡x+x2⋅1x=2xln⁡x+x\frac{d}{dx}(x^2\ln x) = 2x\ln x + x^2 \cdot \frac{1}{x} = 2x\ln x + x.

  • Quotient rule

    (fg)′=f′g−fg′g2\left(\frac{f}{g}\right)' = \frac{f'g - fg'}{g^2} wherever g≠0g \ne 0. The order on top matters, because of the minus sign.

    Example. ddxxx+1=1⋅(x+1)−x⋅1(x+1)2=1(x+1)2\frac{d}{dx}\frac{x}{x + 1} = \frac{1 \cdot (x + 1) - x \cdot 1}{(x + 1)^2} = \frac{1}{(x + 1)^2}.

  • Derivatives of sine and cosine

    With xx in radians, ddxsin⁡x=cos⁡x\frac{d}{dx}\sin x = \cos x and ddxcos⁡x=−sin⁡x\frac{d}{dx}\cos x = -\sin x.

    Example. The slope of y=sin⁡xy = \sin x at x=0x = 0 is cos⁡0=1\cos 0 = 1, and at x=π2x = \frac{\pi}{2} it is cos⁡π2=0\cos\frac{\pi}{2} = 0, the top of the wave.

  • Derivatives of tangent and secant

    ddxtan⁡x=sec⁡2x\frac{d}{dx}\tan x = \sec^2 x and ddxsec⁡x=sec⁡xtan⁡x\frac{d}{dx}\sec x = \sec x\tan x. Both follow from the quotient rule.

    Example. At x=0x = 0, the slope of y=tan⁡xy = \tan x is sec⁡20=1\sec^2 0 = 1.

  • Derivatives of cotangent and cosecant

    ddxcot⁡x=−csc⁡2x\frac{d}{dx}\cot x = -\csc^2 x and ddxcsc⁡x=−csc⁡xcot⁡x\frac{d}{dx}\csc x = -\csc x\cot x. The co- functions take a minus sign.

    Example. At x=π2x = \frac{\pi}{2}, the slope of y=cot⁡xy = \cot x is −csc⁡2π2=−1-\csc^2\frac{\pi}{2} = -1.

  • Estimating a derivative from a table

    Use the two table inputs closest to aa, one on each side, and compute the slope between them. It is an estimate, not the exact derivative.

    Example. If W(10)=48W(10) = 48 and W(14)=60W(14) = 60, then W′(12)≈60−4814−10=3W'(12) \approx \frac{60 - 48}{14 - 10} = 3.

In this unit

  1. The derivative as a limit
  2. Power, product and quotient rules
  3. Derivatives of trig functions
  4. Read derivatives from a graph
  5. Summary
  6. Mastery quiz