Definition Of The Derivative: Limit Formula & Examples

#Calculus
TL;DR
The definition of the derivative is $f'(x) = \lim_{h \to 0} \dfrac{f(x+h) - f(x)}{h}$: it measures the instantaneous rate of change of $f$ at $x$, which equals the slope of the tangent line to the graph. You get it by shrinking a secant line between two nearby points until the two points merge, so the average rate of change turns into an instantaneous one. Every differentiation rule you will ever use is built from this single limit.
BT
Bhanzu TeamLast updated on September 22, 202611 min read

What Is The Definition Of The Derivative?

The definition of the derivative of a function $f$ at a point $x$ is the limit

$$f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h},$$

provided this limit exists. The fraction inside is the difference quotient: it is the slope between the point $(x, f(x))$ and a nearby point $(x+h, f(x+h))$. Letting $h \to 0$ slides the second point onto the first, so the slope of that connecting line becomes the slope of the curve itself.

There is a second, equivalent way to write the same idea, called the point form:

$$f'(a) = \lim_{x \to a} \frac{f(x) - f(a)}{x - a}.$$

Setting $x = a + h$ turns one form into the other, so they always agree. The $h$-form is easier for finding a general rule; the point form is handy when you only want the slope at one specific input $a$. Both are the derivative, and computing a derivative straight from either of them is called finding it from first principles.

What Does The Definition Of The Derivative Mean Geometrically?

Pick two points on a curve and draw the straight line through them. That line is a secant line, and its slope is the average rate of change of the function between the two points. Now hold the first point still and slide the second one toward it. The secant line pivots, and in the limit it becomes the tangent line, the straight line that touches the curve at a single point.

  • The difference quotient $\dfrac{f(x+h) - f(x)}{h}$ is the slope of a secant line.

  • As $h \to 0$, the two points merge and the secant slope approaches the tangent slope.

  • The number that slope settles on is the derivative $f'(x)$.

So the derivative answers a geometric question (how steep is the curve here?) and a physical one (how fast is the quantity changing right now?) with the same limit. Average rate of change becomes instantaneous rate of change.

How Do You Find A Derivative From The Definition?

Finding a derivative from first principles follows four steps every time:

  1. Write $f(x+h)$ by substituting $x+h$ everywhere $x$ appears.

  2. Form the difference quotient $\dfrac{f(x+h) - f(x)}{h}$ and simplify the numerator.

  3. Cancel the $h$ in the denominator (this is the step that removes the $0/0$ problem).

  4. Take the limit as $h \to 0$ on what remains.

Example 1: Differentiate $f(x) = x^2$ from the definition.

$$f'(x) = \lim_{h \to 0} \frac{(x+h)^2 - x^2}{h}$$

Expand the square carefully, $(x+h)^2 = x^2 + 2xh + h^2$:

$$f'(x) = \lim_{h \to 0} \frac{x^2 + 2xh + h^2 - x^2}{h} = \lim_{h \to 0} \frac{2xh + h^2}{h}$$

Factor $h$ from the numerator and cancel it:

$$f'(x) = \lim_{h \to 0} (2x + h) = 2x.$$

Final answer: $f'(x) = 2x$. This matches the power rule, which is itself proved from this same definition.

What Are Some Worked Examples From First Principles?

The method is identical for harder functions; only the algebra in step 2 changes.

Example 2: Differentiate $f(x) = \dfrac{1}{x}$ from the definition.

$$f'(x) = \lim_{h \to 0} \frac{\frac{1}{x+h} - \frac{1}{x}}{h}$$

Combine the two fractions in the numerator over the common denominator $x(x+h)$:

$$\frac{1}{x+h} - \frac{1}{x} = \frac{x - (x+h)}{x(x+h)} = \frac{-h}{x(x+h)}$$

Divide by $h$ (that is, cancel one factor of $h$):

$$f'(x) = \lim_{h \to 0} \frac{-h}{h \cdot x(x+h)} = \lim_{h \to 0} \frac{-1}{x(x+h)} = -\frac{1}{x^2}.$$

Final answer: $f'(x) = -\dfrac{1}{x^2}$. Checking with the power rule on $x^{-1}$ gives $-1 \cdot x^{-2} = -\dfrac{1}{x^2}$, the same result.

Example 3: Differentiate $f(x) = \sqrt{x}$ from the definition.

$$f'(x) = \lim_{h \to 0} \frac{\sqrt{x+h} - \sqrt{x}}{h}$$

The trick here is to rationalize the numerator by multiplying by its conjugate:

$$\frac{\sqrt{x+h} - \sqrt{x}}{h} \cdot \frac{\sqrt{x+h} + \sqrt{x}}{\sqrt{x+h} + \sqrt{x}} = \frac{(x+h) - x}{h\left(\sqrt{x+h} + \sqrt{x}\right)}$$

The numerator becomes $(x+h) - x = h$, which cancels the $h$ below:

$$f'(x) = \lim_{h \to 0} \frac{1}{\sqrt{x+h} + \sqrt{x}} = \frac{1}{2\sqrt{x}}.$$

Final answer: $f'(x) = \dfrac{1}{2\sqrt{x}}$. Written as $x^{1/2}$, the power rule gives $\tfrac{1}{2}x^{-1/2} = \dfrac{1}{2\sqrt{x}}$, confirming it.

Table 1: Common derivatives obtained directly from the definition of the derivative.

Function $f(x)$

Difference quotient simplifies to

Derivative $f'(x)$

$c$ (constant)

$\dfrac{c - c}{h} = 0$

$0$

$x$

$\dfrac{(x+h) - x}{h} = 1$

$1$

$x^2$

$2x + h$

$2x$

$x^3$

$3x^2 + 3xh + h^2$

$3x^2$

$\dfrac{1}{x}$

$\dfrac{-1}{x(x+h)}$

$-\dfrac{1}{x^2}$

$\sqrt{x}$

$\dfrac{1}{\sqrt{x+h} + \sqrt{x}}$

$\dfrac{1}{2\sqrt{x}}$

Each row is the same four steps with different algebra. Once enough of these are done, the shortcut rules (power, product, quotient) are collected so the limit does not have to be redone every time. For a quick lookup of the finished results, see the derivative formula reference.

What Is The Point Form Of The Definition Of The Derivative?

When you only need the slope at one specific input, the point form is faster because there is no general $x$ to carry around.

Example 4: Find $f'(3)$ for $f(x) = x^2$ using the point form.

$$f'(3) = \lim_{x \to 3} \frac{x^2 - 3^2}{x - 3} = \lim_{x \to 3} \frac{(x-3)(x+3)}{x - 3}$$

Cancel the common factor $x - 3$, then substitute:

$$f'(3) = \lim_{x \to 3} (x + 3) = 6.$$

Final answer: $f'(3) = 6$. The general rule from Example 1 gives $f'(x) = 2x$, so $f'(3) = 2(3) = 6$, the same value. The two forms are the same definition wearing different clothes.

When Does The Definition Of The Derivative Fail To Give An Answer?

The definition is a limit, and a limit does not always exist. When it does not, the function has no derivative at that point, and the geometry shows exactly why.

  • A corner. For $f(x) = |x|$ at $x = 0$, the difference quotient is $\dfrac{|h|}{h}$, which equals $+1$ when $h > 0$ and $-1$ when $h < 0$. The left-hand and right-hand limits disagree, so the two-sided limit fails and $f'(0)$ does not exist. Geometrically the graph turns a sharp corner, and no single tangent line fits.

  • A vertical tangent. For $f(x) = x^{1/3}$ at $x = 0$, the difference quotient $\dfrac{h^{1/3}}{h} = h^{-2/3}$ grows without bound as $h \to 0$. The tangent line is vertical, its slope is undefined, so again there is no derivative.

These one-sided pieces are called one-sided derivatives. When the left-hand and right-hand values match, the derivative exists; when they split, it does not.

A useful fact follows from the definition: if $f$ is differentiable at a point, then $f$ is continuous there. The reasoning is short, since $f(x) - f(a) = \dfrac{f(x) - f(a)}{x - a}\cdot (x - a)$, the right side tends to $f'(a)\cdot 0 = 0$, so $f(x) \to f(a)$. The converse is false: $|x|$ is continuous at $0$ but not differentiable there. Differentiability is the stronger property.

Why Does The Definition Of The Derivative Work?

The definition looks like it should collapse to $\tfrac{0}{0}$, yet it produces a clean number. The reasons are worth separating.

  • The numerator and denominator both head to zero, but the limit measures the ratio they approach, not the values they reach. That ratio is well defined even though neither part is.

  • Cancelling the $h$ in step 3 is what rescues the calculation. After cancelling, you are left with an expression that is perfectly happy at $h = 0$.

  • Geometrically, secant lines through two genuinely different points always have a real slope. The tangent slope is the value those real slopes crowd toward, so the answer was never actually $\tfrac{0}{0}$.

That is the whole engine of differential calculus. A rate you cannot measure directly (the change over an instant, where the interval has zero length) is reached as the limit of rates you can measure (the change over shorter and shorter intervals). The tangent line is the geometric shadow of that limit, and its slope is the derivative.

Who Discovered The Definition Of The Derivative?

The idea of an instantaneous rate is older than the notation, and it arrived twice, from two directions, at almost the same moment.

Two named figures anchor the timeline: Isaac Newton (1643–1727, England) and Gottfried Wilhelm Leibniz (1646–1716, Germany), with Cauchy and Weierstrass supplying the rigor that makes the definition of the derivative a theorem rather than a picture.

Where Is The Definition Of The Derivative Used In The Real World?

Any time a quantity changes and you want its rate at one instant, you are using this definition, whether or not the limit is written out.

  • Physics and motion: velocity is the derivative of position and acceleration is the derivative of velocity, so the speedometer reading is a derivative in hardware.

  • Economics: marginal cost and marginal revenue are the derivatives of the total-cost and total-revenue functions, the extra cost or income from one more unit.

  • Biology and chemistry: growth rates of populations and reaction rates of chemicals are instantaneous rates of change, read straight off the definition.

  • Machine learning: training a model computes the derivative (gradient) of an error function to decide which way to nudge each parameter.

  • Engineering and signals: rates of heat flow, current, and stress are all derivatives, and they feed almost every control system.

One limit, met in a Class 11 or A-Level classroom, is the same tool steering rockets, pricing goods, and training the models behind everyday apps. That reach is why the definition of the derivative is treated as the gateway to all of calculus.

What Are The Most Common Mistakes With The Definition Of The Derivative?

These three errors account for most lost marks on first-principles questions. They are the exact confusions readers raise in "People Also Ask" results and in student-error studies of the limit definition.

Substituting $h = 0$ too early.

Where it slips in:

A student plugs $h = 0$ into $\dfrac{f(x+h) - f(x)}{h}$ straight away and gets $\dfrac{0}{0}$, then concludes the derivative is undefined.

Don't do this:

Do not evaluate at $h = 0$ before simplifying. The raw fraction is an indeterminate form on purpose.

The correct way:

Simplify and cancel the $h$ in the denominator first. Only after the $h$ is gone from the bottom do you let $h \to 0$, and by then the expression is well behaved.

Mis-expanding $(x+h)^2$ and other algebra slips.

Where it slips in:

A student writes $(x+h)^2 = x^2 + h^2$, forgetting the middle term, or drops a sign while combining fractions for $\dfrac{1}{x}$.

Don't do this:

Do not rush the numerator. A single algebra error changes the whole limit.

The correct way:

Expand in full: $(x+h)^2 = x^2 + 2xh + h^2$. For rational functions, combine over a common denominator carefully; for roots, multiply by the conjugate to rationalize the numerator.

Dropping the limit symbol partway through.

Where it slips in:

A student writes a chain of equalities but omits $\lim_{h \to 0}$ until the last line, then treats an approximate slope as the exact answer.

Don't do this:

Do not discard the limit. Until $h \to 0$ is actually applied, every line is only a secant slope, not the derivative.

The correct way:

Carry $\lim_{h \to 0}$ on every line until the final substitution, so the statement stays true from start to finish.

Practice Problems On The Definition Of The Derivative

Work each one from the definition (first principles), then check the answer.

  1. Differentiate $f(x) = 3x + 2$.
    (Answer: $f'(x) = 3$.)

  2. Differentiate $f(x) = x^2 - 5x$.
    (Answer: $f'(x) = 2x - 5$.)

  3. Differentiate $f(x) = \dfrac{1}{x+1}$.
    (Answer: $f'(x) = -\dfrac{1}{(x+1)^2}$.)

  4. Differentiate $f(x) = \sqrt{2x}$ by rationalizing the numerator.
    (Answer: $f'(x) = \dfrac{1}{\sqrt{2x}}$.)

  5. Using the point form, find $f'(2)$ for $f(x) = x^2$.
    (Answer: $f'(2) = 4$.)

  6. Is $f(x) = |x - 3|$ differentiable at $x = 3$?
    (Answer: No. The left-hand slope is $-1$ and the right-hand slope is $+1$, so the limit fails and there is a corner at $x = 3$.)

Where Should You Go Next After The Definition Of The Derivative?

The definition is the doorway to differential calculus, and a few natural next steps open from here.

  1. Calculus. Step back and see where the derivative sits alongside the integral, the other half of the subject.

  2. Derivative formula. The shortcut rules (power, product, quotient) that the definition proves, so you stop redoing the limit every time.

  3. Differentiation of trigonometric functions. Apply first principles to $\sin x$ and $\cos x$, where a standard limit does the heavy lifting.

  4. Tangents and normals. Use the derivative to write the equation of the tangent line it defines.

If your child is meeting first principles for the first time, a live Bhanzu trainer teaches the definition of the derivative from the secant-to-tangent picture up, so the limit feels earned rather than memorized, in the Bhanzu math program.

Book a Free Demo

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is the definition of the derivative?
The definition of the derivative of $f$ at $x$ is $f'(x) = \lim_{h \to 0} \dfrac{f(x+h) - f(x)}{h}$, the limit of the slope of a secant line as its two points merge. It gives the instantaneous rate of change of the function, equal to the slope of the tangent line at that point.
What is the formula for the derivative from first principles?
It is $f'(x) = \lim_{h \to 0} \dfrac{f(x+h) - f(x)}{h}$. "From first principles" means computing this limit directly, by simplifying the difference quotient and cancelling $h$, rather than quoting a shortcut rule.
Why can't you just plug in zero for $h$?
Because that gives $\dfrac{0}{0}$, which is indeterminate and tells you nothing. You must first simplify the difference quotient so the $h$ in the denominator cancels; then letting $h \to 0$ gives a real value.
What is the difference between the two forms of the definition of the derivative?
The $h$-form, $\lim_{h \to 0} \dfrac{f(x+h) - f(x)}{h}$, is used to find a general rule for $f'(x)$. The point form, $\lim_{x \to a} \dfrac{f(x) - f(a)}{x - a}$, is used to find the slope at one specific input $a$. Substituting $x = a + h$ turns one into the other, so they always agree.
Does the definition of the derivative always give an answer?
No. The limit can fail to exist, and then there is no derivative at that point. This happens at a corner (such as $|x|$ at $0$, where the one-sided slopes disagree) and at a vertical tangent (such as $x^{1/3}$ at $0$, where the slope grows without bound).
Which curricula teach the definition of the derivative?
It is introduced in India's NCERT Class 11 (Limits and Derivatives) and in the UK A-Level maths syllabus as differentiation from first principles. It then reappears in every first-year university calculus course as the foundation for the differentiation rules.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →