Back to homeMathematics · High School Year 2 · Physics-Math · Change subject
Start for free
Prep 2 Tech · Mathematics
Derivatives · Derivative

Definition of the derivative of a function at a point

Before you start, make sure you know: Rate of change, average rate of change, and growth rate (High School Year 1 (semesters 1 and 2))
Before you start, make sure you know: Point-slope equation of a line (High School Year 1 (semesters 1 and 2))

You are riding the Metrobús along Insurgentes and the speedometer reads 40 km/h "at this instant." But no time passes in an instant: how can you calculate a speed if there is no interval? You already know the average rate of change between two points; if you move the second point closer to the first, that average settles on a number. That number is the derivative, and here you will learn to calculate it rigorously using limits.

The limit of the difference quotient

The average rate of change of $f$ between $a$ and $a+h$ is $\dfrac{f(a+h)-f(a)}{h}$: it is the slope of the secant line. If $h$ gets smaller and smaller, we look for the number it approaches.

To calculate it we follow the four-step rule:

  1. Write $f(a+h)$.

  2. Subtract $f(a)$ (with parentheses).

  3. Divide by $h$ and simplify.

  4. Find the limit as $h\to 0$.

Practice★☆☆Not started
Find the instantaneous rate of change (derivative) of the function $f(x) = 3x - 5$ at the point with x-coordinate $x = 1$, applying the limit of the difference quotient.

Find the instantaneous rate of change (derivative) of the function $f(x) = 3x - 5$ at the point with x-coordinate $x = 1$, applying the limit of the difference quotient.

Solve
Practice★☆☆Not started
Using the definition of derivative by means of the limit $f'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}$, calculate the value of $f'(2)$ for the function…

Using the definition of derivative by means of the limit $f'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}$, calculate the value of $f'(2)$ for the function $f(x) = x^2 + 3$.

Solve
Practice★☆☆Not started
The distance covered by an object in free fall on a fictitious planet is given by $s(t) = 4t^2$, where $s$ is measured in meters and $t$ in seconds. Calculate the…

The distance covered by an object in free fall on a fictitious planet is given by $s(t) = 4t^2$, where $s$ is measured in meters and $t$ in seconds. Calculate the instantaneous velocity at $t = 3$ s applying the definition of derivative as a limit.

Solve

Two forms of the definition

Diagram showing the equivalence between the definition of the derivative with the increment h tending to zero and the form with x tending to a. with increment hf'(a) = lim (h→0) [f(a+h) − f(a)] / h ⇕ equivalent, with x = a + hf'(a) = lim (x→a) [f(x) − f(a)] / (x − a)

This form is convenient when the numerator can be factored.

When there are square roots, you multiply by the conjugate to resolve the indeterminate form.

Practice★☆☆Not started
Given the function $f(x) = 2x^2 - x$, use the alternative expression of the definition $f'(a) = \lim_{x \to a} \frac{f(x) - f(a)}{x - a}$ to find the derivative at the…

Given the function $f(x) = 2x^2 - x$, use the alternative expression of the definition $f'(a) = \lim_{x \to a} \frac{f(x) - f(a)}{x - a}$ to find the derivative at the point $a = -1$.

Solve
Practice★★☆Not started
Using the definition of derivative by means of limits, calculate $f'(3)$ for the rational function $f(x) = \frac{1}{x - 1}$.

Using the definition of derivative by means of limits, calculate $f'(3)$ for the rational function $f(x) = \frac{1}{x - 1}$.

Solve
Practice★★☆Not started
Find the derivative of the radical function $f(x) = \sqrt{x + 5}$ at the point $x = 4$, applying the definition of derivative as a limit and multiplying by the conjugate…

Find the derivative of the radical function $f(x) = \sqrt{x + 5}$ at the point $x = 4$, applying the definition of derivative as a limit and multiplying by the conjugate to resolve the indeterminate form.

Solve
Practice★★★Not started
Calculate the derivative of the function $f(x) = \sqrt{x^2 + 3}$ at the point $x = 1$ using exclusively the definition of derivative as a limit. Show all the algebraic…

Calculate the derivative of the function $f(x) = \sqrt{x^2 + 3}$ at the point $x = 1$ using exclusively the definition of derivative as a limit. Show all the algebraic steps necessary to resolve the indeterminate form.

Solve

The derivative as a function and as a rate of change

If instead of a fixed point $a$ you use a generic point $x$, the result is an expression in $x$: the derivative function.

$$f'(x) = \lim_{h\to0}\frac{f(x+h)-f(x)}{h}$$

The derivative measures the instantaneous rate of change: velocity if $f$ is position, marginal cost if $f$ is cost, heating rate if $f$ is temperature.

Practice★☆☆Not started
A cyclist in a velodrome covers a distance given by the function $d(t) = t^2 + 5t$ (measured in meters, with $t$ in seconds). Calculate their instantaneous speed at…

A cyclist in a velodrome covers a distance given by the function $d(t) = t^2 + 5t$ (measured in meters, with $t$ in seconds). Calculate their instantaneous speed at $t = 2$ seconds using strictly the definition of derivative by limits.

Solve
Practice★★☆Not started
In a technology component factory, the total cost of producing $q$ units is given by the function $C(q) = 2\,000 + 40q + 2q^2$ in pesos. Determine the marginal cost (the…

In a technology component factory, the total cost of producing $q$ units is given by the function $C(q) = 2\,000 + 40q + 2q^2$ in pesos. Determine the marginal cost (the derivative of the cost function) when exactly $q = 20$ units are produced, by solving the limit of the formal definition of derivative.

Solve
Practice★★☆Not started
The altitude of an agricultural observation drone follows the equation $h(t) = -5t^2 + 20t + 2$, with height $h$ expressed in meters and time $t$ in seconds. Using the…

The altitude of an agricultural observation drone follows the equation $h(t) = -5t^2 + 20t + 2$, with height $h$ expressed in meters and time $t$ in seconds. Using the definition of derivative by means of the limit for a general point $t$, obtain the velocity function $v(t) = h'(t)$ and determine at what exact instant the drone reaches its maximum height (when its velocity is zero).

Solve
Practice★★☆Not started
Calculate, using the definition of derivative with the limit for a general point $x$, the derivative function $f'(x)$ of $f(x) = x^3 - 3x$. Then, use the result obtained…

Calculate, using the definition of derivative with the limit for a general point $x$, the derivative function $f'(x)$ of $f(x) = x^3 - 3x$. Then, use the result obtained to find the points on the curve where the tangent line is completely horizontal.

Solve
Practice★★★Not started
The temperature $T$ (measured in degrees Celsius) of a computer processor as a function of time $t$ (in minutes) after starting an intensive calculation process is given…

The temperature $T$ (measured in degrees Celsius) of a computer processor as a function of time $t$ (in minutes) after starting an intensive calculation process is given by the expression $T(t) = \frac{4t}{t^2 + 1} + 30$. Calculate the instantaneous rate of heating (the derivative) at exactly $t = 2$ minutes, evaluating step by step the limit of the definition of derivative.

Solve
Practice★★★Not started
Using the general definition of derivative $f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}$, prove step by step that the derivative function of…

Using the general definition of derivative $f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}$, prove step by step that the derivative function of $f(x) = \frac{1}{\sqrt{x}}$ is exactly $f'(x) = -\frac{1}{2x\sqrt{x}}$ for any value of $x > 0$.

Solve

One-sided derivatives and corner points

If the difference quotient is calculated only with $h\to0^+$ or only with $h\to0^-$, you get the one-sided derivatives $f'(a^+)$ and $f'(a^-)$.

Graph with a corner point where the one-sided slopes from the left and from the right do not match. corner point left tangent right tangent

For piecewise-defined functions, you first check continuity and then calculate the one-sided derivatives, each with its own formula.

Practice★☆☆Not started
Prove, by explicitly calculating the one-sided limits of the difference quotient, that the absolute value function $f(x) = |x - 3|$ is not differentiable at the point…

Prove, by explicitly calculating the one-sided limits of the difference quotient, that the absolute value function $f(x) = |x - 3|$ is not differentiable at the point $x = 3$.

Solve
Practice★★☆Not started
The attached graph shows a continuous function that has a sharp corner. Define analytically an absolute value function that corresponds to this graph and prove…

The attached graph shows a continuous function that has a sharp corner. Define analytically an absolute value function that corresponds to this graph and prove rigorously, by calculating the one-sided limits of the difference quotient, why the function is not differentiable at $x = 2$.

X Y 2 1
Solve
Practice★★☆Not started
Determine whether the following piecewise function is differentiable at $x = 2$, first checking its continuity and then applying the definition of one-sided derivatives:…

Determine whether the following piecewise function is differentiable at $x = 2$, first checking its continuity and then applying the definition of one-sided derivatives:

$f(x) = \begin{cases} x^2 & \text{if } x \le 2 \\ 4x - 4 & \text{if } x > 2 \end{cases}$

Solve
Practice★★★Not started
Given the function $f(x) = x|x|$, prove using the definition of derivative by calculating the one-sided limits of the difference quotient that the function is smooth…

Given the function $f(x) = x|x|$, prove using the definition of derivative by calculating the one-sided limits of the difference quotient that the function is smooth (differentiable) at $x = 0$, and find the exact value of $f'(0)$.

X Y O(0,0) f(x) = x|x|
Solve

Differentiability and continuity

A useful fact: even functions

A function is even if it satisfies $f(-x)=f(x)$ for all $x$: its graph is symmetric about the $y$-axis. $x^2$, $x^4$, and $|x|$ are even. To check it, replace $x$ with $-x$ and verify that the expression does not change: $(-x)^2=x^2$.

If $f$ is even, in the difference quotient at $0$, $q(h)=\dfrac{f(h)-f(0)}{h}$, we have $f(-h)=f(h)$, so $q(-h)=\dfrac{f(h)-f(0)}{-h}=-q(h)$. That is, the quotient changes sign when $h$ is replaced by $-h$.

Practice★★★Not started
Determine the exact values of the parameters $a$ and $b$ so that the piecewise function…

Determine the exact values of the parameters $a$ and $b$ so that the piecewise function

$f(x) = \begin{cases} ax^2 + b & \text{if } x < 1 \\ \frac{1}{x} & \text{if } x \ge 1 \end{cases}$

is differentiable at $x = 1$. You must justify your answer by applying the definition of continuity and evaluating the limits of the one-sided derivatives using the difference quotient.

Solve
Practice★★★Not started
Suppose $f(x)$ is an even function (that is, it satisfies $f(-x) = f(x)$ for all real numbers $x$) and is known to be differentiable at the point with x-coordinate…

Suppose $f(x)$ is an even function (that is, it satisfies $f(-x) = f(x)$ for all real numbers $x$) and is known to be differentiable at the point with x-coordinate $x = 0$. Prove analytically, using the definition of derivative by means of the limit $\lim_{h \to 0} \frac{f(h) - f(0)}{h}$, that $f'(0) = 0$ must necessarily hold.

Solve

Using the definition to find the tangent line

A constant function, such as $f(x)=7$, has $\dfrac{7-7}{h}=0$: its derivative is $0$ and its tangent is the horizontal line itself.

Tangents parallel to a given line

Two nonvertical lines are parallel if they have the same slope: $m_1=m_2$. So, if you are asked for the tangents to a curve that are parallel to $y=mx+b$, you look for the points where $f'(x)=m$.

Practice★☆☆Not started
Calculate the derivative of the constant function $f(x) = 7$ at the point $x = 5$ applying the formal definition with the limit. Briefly explain the geometrical meaning…

Calculate the derivative of the constant function $f(x) = 7$ at the point $x = 5$ applying the formal definition with the limit. Briefly explain the geometrical meaning of the result obtained.

Solve
Practice★☆☆Not started
Find the equation of the tangent line to the curve $f(x) = x^2$ at the point with x-coordinate $x = 2$. To do this, first calculate the gradient $m = f'(2)$ using the…

Find the equation of the tangent line to the curve $f(x) = x^2$ at the point with x-coordinate $x = 2$. To do this, first calculate the gradient $m = f'(2)$ using the definition of derivative by means of the limit.

Solve
Practice★★☆Not started
Find the equation of the tangent line to the function $f(x) = \frac{x}{x + 2}$ at the origin. You must calculate the gradient by evaluating the limit of the definition…

Find the equation of the tangent line to the function $f(x) = \frac{x}{x + 2}$ at the origin. You must calculate the gradient by evaluating the limit of the definition of derivative at $x = 0$.

X Y P(0,0) f(x)
Solve
Practice★★★Not started
Find the equations of all the tangent lines to the curve $f(x) = x^3 - x$ that are strictly parallel to the line with equation $y = 2x + 1$. To solve this, you must…

Find the equations of all the tangent lines to the curve $f(x) = x^3 - x$ that are strictly parallel to the line with equation $y = 2x + 1$. To solve this, you must first obtain the general expression for the gradient $f'(x)$ applying the definition of derivative by limits.

Solve
Practice★★★Not started
The quarterly profit of a renewable energy company as a function of its investment $x$ (in millions of pesos) follows a quadratic model of the form $B(x) = -ax^2 + bx$.…

The quarterly profit of a renewable energy company as a function of its investment $x$ (in millions of pesos) follows a quadratic model of the form $B(x) = -ax^2 + bx$. Given that maximum profit is reached with an exact investment of $10$ million pesos and that this maximum profit amounts to $500$ million, deduce the values of the constants $a$ and $b$. Subsequently, prove using the definition of derivative by limits that the instantaneous rate of change at that point satisfies $B'(10) = 0$.

Solve

Go back to the beginning: the Metrobús speedometer shows the limit of the average speed as the interval shrinks to zero, that is, the derivative of position.

Summary

See all the exercises in this section