Sign up freeSign in

Courses · Calculus 1 · Unit guide

Calculus 1: The derivative as a limit

From secant slopes to tangent lines, and when a derivative fails to exist

This unit covers: Average and instantaneous rate of change, the limit definition, tangent lines, differentiability.

Take the unit quiz Study the flashcards Make flashcards from my notes
Calculus 1: The derivative as a limit mindmap: Average Rate of Change, From Secant Lines to the Tangent Line, The Limit Definition, How to Use the Definition, Worked Example: x² at a = 3, Writing the Tangent Line, Typical Question: Derivative of 1/x, Continuous vs Differentiable, Where Derivatives Fail to Exist
The unit on one page. Open the image to save or print it.

Quick question: if a function is continuous at a point, does it have to have a derivative there? Most people say yes, and that's wrong. In this calculus overview, we'll build the derivative from average rates, limits, tangent lines and differentiability.

In this guide
  1. Average Rate of Change
  2. From Secant Lines to the Tangent Line
  3. The Limit Definition
  4. How to Use the Definition
  5. Worked Example: x² at a = 3
  6. Writing the Tangent Line
  7. Typical Question: Derivative of 1/x
  8. Continuous vs Differentiable
  9. Where Derivatives Fail to Exist

Average Rate of Change

Let's start with the average rate of change, which is just the slope of a secant line through two points on a graph. You take f of b minus f of a, and divide by b minus a. Say f of x is x squared, from x equals one to x equals three. That gives nine minus one over three minus one, which is eight over two, so the average rate is four.

avg rate = [f(b) − f(a)] / (b − a)
f(x) = x², a = 1, b = 3
= (9 − 1)/(3 − 1)
= 8/2 = 4

Key points.

  • Average rate of change is the slope of a secant line
  • Formula: change in f divided by change in x
  • For x² from 1 to 3 the average rate is 4

From Secant Lines to the Tangent Line

Now imagine sliding the second point toward the first. Each secant line connects the point a, f of a to a nearby point a plus h, f of a plus h. As h shrinks toward zero, those secant lines pivot and settle onto one line that just touches the curve at a. That line is the tangent line, and its slope is the instantaneous rate of change at that exact moment.

Key points.

  • Secant lines join (a, f(a)) and (a + h, f(a + h))
  • As h shrinks toward 0 the secants pivot
  • They settle on the tangent line at a
  • Tangent slope is the instantaneous rate of change

The Limit Definition

Here's the formal definition. The derivative of f at a is the limit, as h goes to zero, of f of a plus h minus f of a, all over h, provided that limit exists. The fraction inside is called the difference quotient, and it's a secant slope. Taking the limit turns it into the tangent slope. Keep an eye on that final phrase, because differentiability lives there.

f′(a) = lim as h → 0 of [f(a + h) − f(a)] / h, provided this limit exists. Limit definition of the derivative

Key points.

  • f′(a) is the limit of the difference quotient as h → 0
  • The difference quotient is a secant slope
  • The derivative exists only if the limit exists

How to Use the Definition

If you plug h equals zero into the difference quotient straight away, you get zero over zero, which tells you nothing. So you follow a routine. First write out f of a plus h and expand it. Then subtract f of a, and most terms cancel. Every remaining term should have a factor of h, so you divide it out. Only then do you let h go to zero.

  1. Write f(a + h) and expand it
  2. Subtract f(a) and simplify the numerator
  3. Factor out h and cancel it with the denominator
  4. Let h go to 0 in what remains

Worked Example: x² at a = 3

Let's run the routine on f of x equals x squared at a equals three. The difference quotient is three plus h, squared, minus nine, all over h. Expanding gives nine plus six h plus h squared minus nine, over h. The nines cancel, so you get six h plus h squared over h, which simplifies to six plus h. Letting h go to zero, the derivative is six.

f(x) = x², a = 3
[(3 + h)² − 9] / h
= (9 + 6h + h² − 9) / h
= (6h + h²)/h = 6 + h
f′(3) = lim h→0 (6 + h) = 6

Key points.

  • Difference quotient for x² at 3 simplifies to 6 + h
  • As h → 0 the limit is 6
  • So f′(3) = 6, the slope of the tangent at (3, 9)

Writing the Tangent Line

Once you have the derivative, the tangent line is quick. You need a point and a slope. The point is three, nine, and the slope is six. In point slope form that's y minus nine equals six times x minus three. Distributing and adding nine gives y equals six x minus nine. Notice the instantaneous rate, six, differs from the average rate of four we found earlier.

point (3, 9), slope m = 6
y − f(a) = f′(a)(x − a)
y − 9 = 6(x − 3)
y = 6x − 9

Key points.

  • Tangent line needs a point and a slope
  • Use point-slope form: y − f(a) = f′(a)(x − a)
  • For x² at 3 the tangent is y = 6x − 9

Typical Question: Derivative of 1/x

Here's a typical test question: use the limit definition to find the derivative of one over x. The difference quotient is one over x plus h, minus one over x, all over h. Combine the fractions to get x minus x plus h, over x times x plus h times h. That's negative h over the same denominator. Cancel h, and you have negative one over x times x plus h. As h goes to zero, the derivative is negative one over x squared.

f(x) = 1/x
[1/(x + h) − 1/x] / h
= [x − (x + h)] / [x(x + h)h]
= −h / [x(x + h)h]
= −1 / [x(x + h)]
f′(x) = −1/x²

Key points.

  • Use the limit definition on f(x) = 1/x
  • Combine fractions with a common denominator
  • Cancel h, then let h → 0
  • Result: f′(x) = −1/x²

Continuous vs Differentiable

Now back to the opening question. Differentiability is the stronger condition. If a function is differentiable at a point, it has to be continuous there. But the reverse fails. A function can be perfectly continuous, with no jumps or holes, and still have no derivative. The absolute value function is the classic case: it's continuous at zero, but it has a sharp corner there.

Continuous at a

  • Limit of f(x) as x → a equals f(a)
  • No jumps, holes or breaks
  • Can still have a corner or cusp
  • Example: |x| at 0

Differentiable at a

  • Limit of the difference quotient exists
  • Smooth, with one tangent line
  • Always implies continuity at a
  • Example: x² at 0

Where Derivatives Fail to Exist

So where does the limit fail? Take absolute value of x at zero. From the right, the difference quotient is h over h, which is one. From the left, it's negative h over h, which is negative one. The one-sided limits disagree, so there's no derivative. The same thing happens at cusps, at vertical tangents like the cube root of x at zero, and at any discontinuity.

Key points.

  • Corner: |x| at 0, one-sided slopes −1 and 1
  • Cusp: x^(2/3) at 0
  • Vertical tangent: cube root of x at 0
  • Discontinuity: any jump, hole or asymptote

Remember this

The one thing to remember: the derivative is the limit of secant slopes, and it exists only when that limit does. Now quiz yourself by finding a few derivatives straight from the definition.

Practice this unit

  • Calculus 1: The Derivative as a Limit quiz15 multiple-choice questions with explanations · no account needed
  • Calculus 1: Limits and Continuity quiz15 multiple-choice questions with explanations · no account needed
  • Calculus 1: Differentiation Rules quiz15 multiple-choice questions with explanations · no account needed
  • Calculus 1: The Derivative as a Limit32 flashcards · study free
  • Calculus 1: Limits and Continuity36 flashcards · study free
  • Calculus 1: Differentiation Rules33 flashcards · study free
  • Calculus 1: Chain Rule and Implicit Differentiation34 flashcards · study free

Every Calculus 1 deck and quiz: the Calculus 1 page.

Other Calculus 1 unit guides

  • Limits and continuityStudy guide
  • Differentiation rulesStudy guide
  • Chain rule and implicit differentiationStudy guide
  • Related ratesStudy guide
  • Curve sketching and the Mean Value TheoremStudy guide
  • OptimizationStudy guide
  • Linear approximation and L’Hôpital’s ruleStudy guide
  • Antiderivatives and Riemann sumsStudy guide
  • Fundamental Theorem of Calculus and substitutionStudy guide

Try it with your own material

Upload a PDF, slides or notes and study the deck in minutes. Making your own cards is free with no limits.

Make flashcards from my notesSee how Quizcard works