The derivative function
Wilkin is riding a motoconcho along the Autopista Duarte and looks at the speedometer: it reads 60 km/h. But the average speed of the whole trip is not 60. That number is the speed at that instant. How do you calculate an instantaneous speed if no time passes in an instant? That is what the derivative is about, and in this section we turn it into a complete function.
From the definition to the derivative function
If $f$ is a function, the average rate of change between $x$ and $x+h$ is $\dfrac{f(x+h)-f(x)}{h}$. It is the slope of the line joining two points on the graph. As we bring the second point closer to the first ($h\to 0$), that line becomes the tangent.
A skater moves along a track following a trajectory whose position (in meters) is given by the function $s(t) = t^2 + 3t$, where $t$ is the time in seconds. Calculate,…
A skater moves along a track following a trajectory whose position (in meters) is given by the function $s(t) = t^2 + 3t$, where $t$ is the time in seconds. Calculate, using the definition of derivative as a limit, the instantaneous velocity of the skater at $t = 2$ seconds.
Basic differentiation rules
Always computing with the limit would be slow. Some rules can be proved from the definition and then applied directly.
| Function | Derivative |
|---|---|
| $c$ (constant) | $0$ |
| $x^n$ | $n\,x^{n-1}$ |
| $\sqrt{x}$ | $\dfrac{1}{2\sqrt{x}}$ |
| $e^x$ | $e^x$ |
| $a^x$ | $a^x\ln a$ |
| $\ln x$ | $\dfrac1x$ |
| $\sin x$ | $\cos x$ |
| $\cos x$ | $-\sin x$ |
| $\tan x$ | $\dfrac{1}{\cos^2 x}$ |
Calculate the derivative function of the following elementary functions using differentiation rules: a) $f(x) = 5x^4 - 3x^2 + 7x - 1$ b)…
Calculate the derivative function of the following elementary functions using differentiation rules:
- a) $f(x) = 5x^4 - 3x^2 + 7x - 1$
- b) $g(x) = \frac{1}{x^3} + \sqrt{x}$
- c) $h(x) = 3e^x - 2\cos(x)$
Given the function $f(x) = x \times \ln(x)$, calculate its derivative $f'(x)$ applying the product rule and determine the gradient of the curve at the point where…
Given the function $f(x) = x \times \ln(x)$, calculate its derivative $f'(x)$ applying the product rule and determine the gradient of the curve at the point where $x = e$.
An access ramp for a skatepark is being designed. The side profile of the first section follows the function $f(x) = \frac{x^2+4}{x+1}$. Calculate the derivative…
An access ramp for a skatepark is being designed. The side profile of the first section follows the function $f(x) = \frac{x^2+4}{x+1}$. Calculate the derivative function $f'(x)$ to find how the incline of the ramp varies at any point along that section.
The chain rule
When one function is inside another, like $\sin(5x+2)$, we differentiate "from the outside in."
Apply the chain rule to find the derivative of the following composite functions: a) $f(x) = (3x^2 - 5)^4$ b) $g(x) = \sin(5x + 2)$ c) $h(x) = e^{x^2}$
Apply the chain rule to find the derivative of the following composite functions:
- a) $f(x) = (3x^2 - 5)^4$
- b) $g(x) = \sin(5x + 2)$
- c) $h(x) = e^{x^2}$
Calculate the derivative function of the following composite function, simplifying the result as much as possible:…
Calculate the derivative function of the following composite function, simplifying the result as much as possible:
$f(x) = \ln\left(\frac{1 + \sin(x)}{1 - \sin(x)}\right)$
Tangent line and normal line
The derivative at a point is the slope of the tangent line. With the point and the slope we write its equation.
Find the equation of the tangent line to the graph of the function $f(x) = x^2 - 4x + 1$ at the point with abscissa $x = 3$.
Find the equation of the tangent line to the graph of the function $f(x) = x^2 - 4x + 1$ at the point with abscissa $x = 3$.
Find the equation of the tangent line to the curve $f(x) = \frac{x^2 - 1}{x + 2}$ at the point where the function crosses the y-axis ($OY$).
Find the equation of the tangent line to the curve $f(x) = \frac{x^2 - 1}{x + 2}$ at the point where the function crosses the y-axis ($OY$).
Using only the definition of the derivative as a limit (difference quotient), calculate the derivative function of $f(x) = \sqrt{2x^2 + 1}$. Then, use the result to find…
Using only the definition of the derivative as a limit (difference quotient), calculate the derivative function of $f(x) = \sqrt{2x^2 + 1}$. Then, use the result to find the equation of the tangent line to the curve at the point $P$ with abscissa $x = 2$.
The figure shows the graph of $f$ and the position of the point $P$.
Velocity and acceleration
If $s(t)$ is the position of a moving object, then $v(t)=s'(t)$ is its instantaneous velocity and $a(t)=v'(t)=s''(t)$ is its acceleration. That answers Wilkin's question.
A surveillance drone follows a path whose height in meters is given by the function $h(t) = \frac{1}{3}t^3 - 4t^2 + 11t + 5$, where $t$ is the time in seconds (…
A surveillance drone follows a path whose height in meters is given by the function $h(t) = \frac{1}{3}t^3 - 4t^2 + 11t + 5$, where $t$ is the time in seconds ($0 \leq t \leq 10$).
-
a) Calculate the velocity function $v(t)$ and the acceleration function $a(t)$.
-
b) At what times is the drone instantaneously at rest (velocity equal to zero)?
A surveillance drone follows a flight path along a straight line. Its position (in decameters) relative to the control center is given by the function…
A surveillance drone follows a flight path along a straight line. Its position (in decameters) relative to the control center is given by the function $s(t) = t^2 \times e^{-t/4}$, where $t$ is the time in minutes since takeoff ($t \ge 0$).
- a) Determine the velocity function $v(t)$ and the acceleration function $a(t)$ of the drone.
- b) At what time does the drone change direction of motion?
- c) Calculate the exact moment when the acceleration is zero. What physical interpretation does this point have regarding the drone's velocity?
Differentiability and continuity
A function may fail to have a derivative at a point. To study this we use the one-sided derivatives:
$$f'(a^-)=\lim_{h\to0^-}\frac{f(a+h)-f(a)}{h},\qquad f'(a^+)=\lim_{h\to0^+}\frac{f(a+h)-f(a)}{h}$$Study the differentiability of the following function at the point $x = 2$, first checking whether it is continuous at that point: $$f(x) = \begin{cases} x^2 & \text{if…
Study the differentiability of the following function at the point $x = 2$, first checking whether it is continuous at that point:
$$f(x) = \begin{cases} x^2 & \text{if } x \leq 2 \\ 4x - 4 & \text{if } x > 2 \end{cases}$$Study the differentiability of the function $f(x) = |x^2 - 4x + 3|$ at the points $x = 1$ and $x = 3$. a) Study whether $f$ is continuous at $x = 1$ and at $x = 3$. b)…
Study the differentiability of the function $f(x) = |x^2 - 4x + 3|$ at the points $x = 1$ and $x = 3$.
- a) Study whether $f$ is continuous at $x = 1$ and at $x = 3$.
- b) Calculate, if they exist, the one-sided derivatives of $f$ at $x = 1$ and at $x = 3$.
- c) State whether $f$ is differentiable at those points.
Piecewise functions with parameters
For a piecewise function to be differentiable at the joining point, two conditions are needed: it must be continuous and the one-sided derivatives must agree. Each condition gives an equation for the parameters.
Determine the values of the parameters $a$ and $b$ so that the following function is differentiable throughout its domain, paying special attention to the joining point…
Determine the values of the parameters $a$ and $b$ so that the following function is differentiable throughout its domain, paying special attention to the joining point $x = 0$:
$f(x) = \begin{cases} e^{ax} & \text{if } x \leq 0 \\ x^2 + bx + 1 & \text{if } x > 0 \end{cases}$
Consider the piecewise function $f: \mathbb{R} \to \mathbb{R}$ defined by the following expression: $$f(x) = \begin{cases} a \times e^{x-2} + b \times x & \text{if } x…
Consider the piecewise function $f: \mathbb{R} \to \mathbb{R}$ defined by the following expression:
$$f(x) = \begin{cases} a \times e^{x-2} + b \times x & \text{if } x \le 2 \\ \ln(x^2 - 3) + x^2 & \text{if } x > 2 \end{cases}$$Determine the values of the parameters $a, b \in \mathbb{R}$ so that the function is differentiable throughout its domain. Once found, discuss whether the derivative function $f'(x)$ is, in turn, continuous at $x = 2$.
Sign of $f'$, extrema and the second derivative
The derivative of $f'$ is the second derivative $f''$. It is used to confirm the type of extremum at a critical point $a$ (where $f'(a)=0$):
-
If $f''(a)>0$, there is a minimum (the slope is increasing: it goes from negative to positive).
-
If $f''(a)<0$, there is a maximum (the slope is decreasing: it goes from positive to negative).
-
If $f''(a)=0$, the test is inconclusive: we have to look at the sign of $f'$ on both sides.
Calculate the second-order derivative (second derivative) of the function $f(x) = x^3 - 6x^2 + 9x - 2$. For which value of $x$ does this second derivative equal zero?…
Calculate the second-order derivative (second derivative) of the function $f(x) = x^3 - 6x^2 + 9x - 2$. For which value of $x$ does this second derivative equal zero? (This point is important for studying curvature, which you will see later).
The following graph corresponds to the derivative function, $f'(x)$, of a function $f(x)$ that is continuous on its entire domain $\mathbb{R}$. The graph of $f'(x)$ is a…
The following graph corresponds to the derivative function, $f'(x)$, of a function $f(x)$ that is continuous on its entire domain $\mathbb{R}$. The graph of $f'(x)$ is a parabola that crosses the $X$-axis at $x=-2$ and $x=2$, and whose vertex is the point $(0,2)$.
Using the graph of $f'(x)$, answer the following questions about the original function $f(x)$, justifying your reasoning:
- a) State the intervals of increase and decrease of $f(x)$.
- b) Determine the $x$-coordinates of the relative extrema of $f(x)$ and classify them as maxima or minima.
- c) At which value of $x$ does $f(x)$ have an inflection point? Justify your answer based on the relationship between $f''(x)$ and the slope of $f'(x)$.
Consider the function $f(x) = x^4 + ax^3 + bx^2 + cx + d$. Determine the coefficients $a, b, c$ and $d$ knowing that the following conditions are simultaneously…
Consider the function $f(x) = x^4 + ax^3 + bx^2 + cx + d$. Determine the coefficients $a, b, c$ and $d$ knowing that the following conditions are simultaneously satisfied:
-
The graph of $f(x)$ passes through the origin.
-
The function has a point of inflection at $x = 1$.
-
The tangent line to the curve at the point with x-coordinate $x = 0$ is parallel to the line $y = -2x + 5$.
-
The value of the second derivative at $x = 0$ is $f''(0) = 6$.
Successive derivatives and their pattern
By differentiating repeatedly we obtain $f''$, $f'''$, ..., $f^{(n)}$. For functions like $\ln x$, $\frac1x$ or $\cos x$ the derivatives follow a pattern that lets us write $f^{(n)}(x)$ without differentiating $n$ times.
Partial fraction decomposition
If a fraction has a denominator that factors, it can be written as a sum of fractions with a single factor in the denominator. Each of those can be differentiated $n$ times with the previous piece.
Given the function $f(x) = \ln(2x - 3)$, find the general expression for its nth derivative $f^{(n)}(x)$ and use it to calculate the value of the fourth derivative at…
Given the function $f(x) = \ln(2x - 3)$, find the general expression for its nth derivative $f^{(n)}(x)$ and use it to calculate the value of the fourth derivative at the point $x = 2$.
Given the function $f(x) = \frac{1}{x^2 - 3x + 2}$: a) Decompose the function into partial fractions. b) Using the above decomposition, find a general formula for the…
Given the function $f(x) = \frac{1}{x^2 - 3x + 2}$:
- a) Decompose the function into partial fractions.
- b) Using the above decomposition, find a general formula for the $n$th derivative, $f^{(n)}(x)$, for any $n \in \mathbb{N}$.
- c) Prove the validity of your formula for every $n \in \mathbb{N}$ by mathematical induction, explicitly checking the first three orders of differentiation.
Logarithmic differentiation
How do you differentiate $x^{\cos x}$? The base varies and so does the exponent, so neither the power rule nor the rule for $a^x$ works.
Use the technique of logarithmic differentiation to find the derivative of the following non-algebraic power function: $f(x) = (x^2 + 1)^{\cos(x)}$
Use the technique of logarithmic differentiation to find the derivative of the following non-algebraic power function:
$f(x) = (x^2 + 1)^{\cos(x)}$
Use the technique of logarithmic differentiation to calculate the derivative function of: $$f(x) = \left( \cos(x) \right)^{\ln(x)}$$ State with reasoning the domain of…
Use the technique of logarithmic differentiation to calculate the derivative function of:
$$f(x) = \left( \cos(x) \right)^{\ln(x)}$$State with reasoning the domain of definition of the function $f(x)$ and that of its derivative function $f'(x)$. Is there any point in the interval $(0, \pi/2)$ where the gradient of the tangent line is zero?
Implicit differentiation
A curve like $x^3+y^3-3xy=0$ can't be written as $y=f(x)$ in a simple way, but it has a slope at every point. To find it, we differentiate the whole equation with respect to $x$, treating $y$ as $y(x)$: every term with $y$ gets a factor $y'$ by the chain rule. Then we solve for $y'$.
Given the equation of the curve implicitly defined by $x^3 + y^3 - 3xy = 0$ (known as the Folium of Descartes), calculate the value of the gradient of the tangent line…
Given the equation of the curve implicitly defined by $x^3 + y^3 - 3xy = 0$ (known as the Folium of Descartes), calculate the value of the gradient of the tangent line to the curve at the point $( \frac{3}{2}, \frac{3}{2} )$.
Given the curve defined by the implicit equation $x^3 + y^3 - 3xy = 0$ (known as the Folium of Descartes), answer the following: a) Obtain the expression for the…
Given the curve defined by the implicit equation $x^3 + y^3 - 3xy = 0$ (known as the Folium of Descartes), answer the following:
- a) Obtain the expression for the derivative $y'$ in terms of $x$ and $y$ using implicit differentiation.
- b) Find the points on the curve where the tangent line is horizontal.
- c) Determine the equation of the normal line to the curve at the point $( \frac{3}{2}, \frac{3}{2} )$.
Go back to the beginning: Wilkin's speed at an instant is $s'(t)$, the limit of the average speed as the time interval shrinks to zero. And the function $s'$ gives you that speed at any instant.