Skip to main content

Unit 2 · Topic 2.2

2.2 Defining the Derivative of a Function and Using Derivative Notation

The derivative of f at x = a is the limit of the difference quotient: the exact instantaneous rate of change and the slope of the tangent line there. You need both limit forms of the definition, the standard notation, and the skill of spotting a derivative hidden inside a limit.

Key terms

  • derivative
  • limit definition of the derivative
  • f′(x)
  • dydx\frac{dy}{dx}
  • slope of the tangent line

The definition, two ways

The derivative of f at x = a is f′(a)=lim⁡h→0f(a+h)−f(a)h,f'(a) = \lim_{h \to 0} \frac{f(a + h) - f(a)}{h}, provided the limit exists. An equivalent form uses a second point x approaching a: f′(a)=lim⁡x→af(x)−f(a)x−a.f'(a) = \lim_{x \to a} \frac{f(x) - f(a)}{x - a}.

If the limit exists, f is differentiable at a. Geometrically, f′(a) is the slope of the tangent line to the graph at (a, f(a)).

The derivative as a function

Let a vary and you get a new function, f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \displaystyle\lim_{h \to 0} \frac{f(x + h) - f(x)}{h}. Its input is an x-value, and its output is the slope of f at that x. The domain of f′ is every x where that limit exists.

For f(x) = x², the difference quotient simplifies to (x+h)2−x2h=2xh+h2h=2x+h\dfrac{(x + h)^2 - x^2}{h} = \dfrac{2xh + h^2}{h} = 2x + h, which approaches 2x. So f′(x) = 2x: the slope at x = 3 is 6, and at x = −1 it is −2.

Notation you need to read and write

All of these name the same idea. Leibniz notation is especially handy in context: dVdt\frac{dV}{dt} is the rate the volume V changes with respect to time t.

NotationRead asNotes
f′(x)f prime of xLagrange (prime) notation
y′y primeWhen y = f(x)
dy/dxdee y dee xLeibniz notation: rate of change of y with respect to x
d/dx[f(x)]the derivative of f(x)An instruction to differentiate
dy/dx evaluated at x = athe derivative at aSame as f′(a)

Recognizing a derivative in disguise

Exam questions often hand you a limit that is secretly a derivative. Match it to one of the two forms. For example, lim⁡h→09+h−3h\displaystyle\lim_{h \to 0} \frac{\sqrt{9 + h} - 3}{h} has the shape f(a+h)−f(a)h\dfrac{f(a + h) - f(a)}{h} with f(x) = √x and a = 9. So it equals f′(9).

Likewise, lim⁡x→πcos⁡x+1x−π\displaystyle\lim_{x \to \pi} \frac{\cos x + 1}{x - \pi} has the shape f(x)−f(a)x−a\dfrac{f(x) - f(a)}{x - a} with f(x) = cos x and a = π, because cos π = −1. Once you know the derivative rules from the coming topics, these limits are quick.

The tangent line

The tangent line at x = a passes through (a, f(a)) with slope f′(a). In point-slope form: y − f(a) = f′(a)(x − a). You'll use this equation all year, especially for approximations in 4.6.

Worked examples

Try each one yourself first, then open the solution.

  1. Example 1

    Using the definition to find f′(2)

    Use the limit definition to find f′(2) for f(x) = x² − 3x.

    Show the solution
    1. Step 1: f(2) = 4 − 6 = −2 and f(2 + h) = (2 + h)² − 3(2 + h) = 4 + 4h + h² − 6 − 3h = h² + h − 2.
    2. Step 2: Difference quotient: f(2+h)−f(2)h=h2+h−2−(−2)h=h2+hh=h+1,\frac{f(2 + h) - f(2)}{h} = \frac{h^2 + h - 2 - (-2)}{h} = \frac{h^2 + h}{h} = h + 1, for h ≠ 0.
    3. Step 3: Take the limit: lim⁡h→0(h+1)=1\displaystyle\lim_{h \to 0} (h + 1) = 1.

    Answer: f′(2) = 1

  2. Example 2

    A limit that is a derivative

    Find lim⁡h→012+h−12h\displaystyle\lim_{h \to 0} \frac{\frac{1}{2 + h} - \frac{1}{2}}{h} by recognizing it as a derivative.

    Show the solution
    1. Step 1: Match the form f(a+h)−f(a)h\dfrac{f(a + h) - f(a)}{h}: here f(x)=1xf(x) = \frac{1}{x} and a = 2.
    2. Step 2: So the limit equals f′(2). To compute it from the limit directly, combine fractions: 2−(2+h)2(2+h)=−h2(2+h)\dfrac{2 - (2 + h)}{2(2 + h)} = \dfrac{-h}{2(2 + h)}.
    3. Step 3: Divide by h: −12(2+h)\dfrac{-1}{2(2 + h)}, which approaches −14-\frac{1}{4} as h → 0.
    4. Step 4: Check with the power rule (2.5): f(x) = x⁻¹ gives f′(x) = −x⁻², and f′(2)=−14f'(2) = -\frac{1}{4}.

    Answer: The limit is f′(2) for f(x)=1xf(x) = \frac{1}{x}, which equals −14-\frac{1}{4}.

  3. Example 3

    Trap: matching the wrong function

    Find lim⁡x→πcos⁡x+1x−π\displaystyle\lim_{x \to \pi} \frac{\cos x + 1}{x - \pi}.

    Show the solution
    1. Step 1: A quick guess might be f(x) = cos x + 1, but think of it as f(x)−f(π)x−π\dfrac{f(x) - f(\pi)}{x - \pi} with f(x) = cos x. Since f(π) = cos π = −1, the top f(x) − f(π) = cos x − (−1) = cos x + 1. It matches.
    2. Step 2: So the limit is f′(π). The derivative of cos x is −sin x (2.7).
    3. Step 3: f′(π) = −sin π = 0.

    Answer: 0

Common mistakes

  • Expanding f(a + h) incorrectly, like writing (2 + h)² = 4 + h². Expand fully: 4 + 4h + h².
  • Dropping f(a) or the limit symbol partway through. Keep lim⁡h→0\displaystyle\lim_{h \to 0} written until you substitute.
  • Treating f′(a) as the y-value of the tangent line. It's the slope; the point on the line is (a, f(a)).

On the exam

  • Multiple-choice questions often show a limit like lim⁡h→0sin⁡(π/3+h)−sin⁡(π/3)h\displaystyle\lim_{h \to 0} \frac{\sin(\pi/3 + h) - \sin(\pi/3)}{h} and ask for its value. Identify f and a, then use derivative rules.
  • Free-response questions ask for tangent lines constantly. Show the point, the slope and the equation.

Connected topics

Videos

  • Calculus AB/BC – 2.2 Defining the Derivative of a Function and Using Derivative Notation

    The AlgebrosWatch on YouTube (opens in a new tab)

  • Derivative as a concept | Derivatives introduction | AP Calculus AB | Khan Academy

    Khan AcademyWatch on YouTube (opens in a new tab)

  • AP Calculus AB TOPIC 2.2 Defining the Derivative of a Function and Using Derivative Notation

    Math Teacher GOATWatch on YouTube (opens in a new tab)

  • Definition of the Derivative

    The Organic Chemistry TutorWatch on YouTube (opens in a new tab)

  • What is a derivative?

    Mario's Math TutoringWatch on YouTube (opens in a new tab)

  • Formal and alternate form of the derivative | Differential Calculus | Khan Academy

    Khan AcademyWatch on YouTube (opens in a new tab)

Check yourself: 2.2 Defining the Derivative of a Function and Using Derivative Notation

4 questions on 2.2 Defining the Derivative of a Function and Using Derivative Notation. Pick an answer to see if you got it, and why.

Question 1 of 4

What is lim⁡h→0(2+h)4−16h\displaystyle\lim_{h \to 0} \frac{(2 + h)^4 - 16}{h} ?

Question 2 of 4

The limit lim⁡h→0e2+h−e2h\displaystyle\lim_{h \to 0} \frac{e^{2 + h} - e^2}{h} is equal to f′(a). Which of the following could be the function f and the number a? I. f(x)=exf(x) = e^x and a = 2 II. f(x)=ex+2f(x) = e^{x + 2} and a = 0 III. f(x)=e2xf(x) = e^{2x} and a = 1

Question 3 of 4

The function f is differentiable, and f′(2) = 5. What is lim⁡h→0f(2+3h)−f(2)h\displaystyle\lim_{h \to 0} \frac{f(2 + 3h) - f(2)}{h} ?

Question 4 of 4

The function f is differentiable, and f(3) = 5. The line tangent to the graph of f at x = 3 passes through the point (1, 1). What is the value of f′(3)?

0 of 4 answered

Something wrong or out of date here?

Something wrong with this page?

What's wrong?

Please don't include personal details.