5. Calculus

Second Derivatives

Second Derivatives in Calculus 📈

Introduction: Seeing Change in Two Layers

students, in calculus, the first derivative tells us how a quantity is changing at a given moment. The second derivative goes one step deeper: it tells us how the rate of change itself is changing. This makes it a powerful tool for understanding motion, growth, and graphs in real life. For example, if a car’s speed is increasing, the second derivative helps describe whether that increase is steady or getting faster. If a company’s revenue is rising, the second derivative can help show whether the growth is accelerating or slowing down.

In this lesson, you will learn what the second derivative means, how to calculate it, and how to use it in context. You will also see how it connects to graph shape, turning points, motion, and modelling. By the end, students, you should be able to explain the idea clearly and apply it to IB-style problems.

Objectives

  • Explain the meaning and terminology of the second derivative.
  • Calculate second derivatives from functions.
  • Use second derivatives to interpret graphs and real-world situations.
  • Connect second derivatives to broader calculus ideas such as rate of change and modelling.

What the Second Derivative Means

The derivative of a function $f(x)$ is written as $f'(x)$ or $\frac{df}{dx}$. It measures the instantaneous rate of change of $f(x)$ with respect to $x$. The second derivative is the derivative of the derivative, written as $f''(x)$ or $\frac{d^2f}{dx^2}$.

If $f(x)$ describes position, then $f'(x)$ describes velocity, and $f''(x)$ describes acceleration. This is one of the most important uses of second derivatives in physics and motion 🚗. A positive acceleration means velocity is increasing, while a negative acceleration means velocity is decreasing.

Second derivatives are also useful for graphs. They help show whether a function is curving upward or downward. This idea is called concavity.

  • If $f''(x) > 0$, the graph is concave up.
  • If $f''(x) < 0$, the graph is concave down.
  • If $f''(x) = 0$, the graph may have a point of inflection, but this is not guaranteed.

A point of inflection is where the graph changes concavity, meaning it changes from curving up to curving down, or the other way around.

Calculating Second Derivatives

To find a second derivative, students, you simply differentiate twice. Start with the original function, find its first derivative, then differentiate again.

For example, let $f(x)=x^3-6x^2+9x+1$.

First derivative:

$$f'(x)=3x^2-12x+9$$

Second derivative:

$$f''(x)=6x-12$$

This process works for many common functions. If a function is a polynomial, each differentiation lowers the degree by one. Eventually, the derivatives may become constants or $0$.

Example with a trigonometric function:

Let $f(x)=\sin x$.

Then

$$f'(x)=\cos x$$

and

$$f''(x)=-\sin x$$

Example with an exponential function:

If $f(x)=e^x$, then

$$f'(x)=e^x$$

and

$$f''(x)=e^x$$

This is a special feature of the exponential function $e^x$: it is equal to all of its derivatives.

In IB Mathematics: Applications and Interpretation HL, you may use a graphing calculator or technology to find or check derivatives, especially when the function is complicated. However, you still need to understand what the result means in context.

Interpreting Concavity and Turning Behavior

Second derivatives tell us about the shape of a graph. This is very important in analysis and in exams where interpretation matters.

If a graph is concave up, the slope of the tangent lines is increasing as $x$ increases. That means the graph may look like a cup holding water. If a graph is concave down, the slope is decreasing, and the graph may look like a dome.

Consider the function $f(x)=x^2$. Its first derivative is $f'(x)=2x$, and its second derivative is $f''(x)=2$. Since $f''(x)>0$ everywhere, the graph is always concave up.

Now consider $g(x)=-x^2$. Then $g'(x)=-2x$ and $g''(x)=-2$. Since $g''(x)<0$ everywhere, the graph is always concave down.

Second derivatives are especially useful near turning points. A turning point is where a graph changes from increasing to decreasing or vice versa. If $f'(a)=0$ and $f''(a)>0$, then $x=a$ is a local minimum. If $f'(a)=0$ and $f''(a)<0$, then $x=a$ is a local maximum.

This is called the second derivative test. It helps classify stationary points quickly.

Example:

Let $f(x)=x^2-4x+1$.

Then

$$f'(x)=2x-4$$

Setting $f'(x)=0$ gives $x=2$.

Now find the second derivative:

$$f''(x)=2$$

Since $f''(2)=2>0$, the point at $x=2$ is a local minimum.

Points of Inflection and Why They Matter

A point of inflection is a point where the concavity of a graph changes. This happens when the second derivative changes sign.

Suppose $f''(x)$ changes from positive to negative at $x=a$. Then the graph changes from concave up to concave down at that point. If it changes from negative to positive, the graph changes from concave down to concave up.

Important note: $f''(a)=0$ alone does not prove there is a point of inflection. You must check whether the sign of $f''(x)$ changes around $a$.

Example:

Let $f(x)=x^3$.

Then

$$f'(x)=3x^2$$

and

$$f''(x)=6x$$

At $x=0$, we have

$$f''(0)=0$$

But for $x<0$, $f''(x)<0$, and for $x>0$, $f''(x)>0$. So the concavity changes, and $x=0$ is a point of inflection.

This kind of reasoning is common in IB-style questions because it combines calculation with interpretation.

Second Derivatives in Context: Motion and Modelling

Second derivatives are not just about graphs. They describe real situations where acceleration or curvature matters.

If $s(t)$ is the position of an object at time $t$, then

$$v(t)=\frac{ds}{dt}$$

is velocity, and

$$a(t)=\frac{d^2s}{dt^2}$$

is acceleration.

Example:

If a particle’s position is given by

$$s(t)=t^3-6t^2+9t$$

then velocity is

$$v(t)=3t^2-12t+9$$

and acceleration is

$$a(t)=6t-12$$

To find when the particle is speeding up or slowing down, you can compare the signs of velocity and acceleration. This is a classic calculus idea: when $v(t)$ and $a(t)$ have the same sign, speed increases; when they have opposite signs, speed decreases.

Second derivatives also appear in business and social science models. If $R(x)$ is revenue, then $R'(x)$ tells us how revenue changes with sales or time, and $R''(x)$ tells us whether that growth is accelerating or slowing down. For example, a startup may still be growing, but its second derivative might be decreasing, showing that growth is starting to level off.

In population models, $P'(t)$ describes the rate of population growth and $P''(t)$ indicates whether that growth is speeding up or slowing down. These interpretations help connect calculus to realistic situations.

Using Technology and Reasoning in IB AI HL

Technology is useful for second derivatives, especially when functions are difficult to differentiate by hand. A graphing calculator or computer algebra system can help you:

  • estimate where $f''(x)=0$,
  • check signs of $f''(x)$,
  • identify points of inflection,
  • compare the behavior of a function and its derivatives.

However, technology does not replace reasoning. You still need to interpret results correctly. For example, if a calculator shows that $f''(x)=0$ at a value, students, you should not automatically call it an inflection point. You must check the sign change.

This balance between technology and mathematical understanding is important in IB Mathematics: Applications and Interpretation HL. Questions often assess whether you can explain what the calculator output means in context.

Worked IB-Style Example

Suppose the height of a moving drone is modelled by

$$h(t)=-t^3+6t^2+3t+2$$

where $h(t)$ is in metres and $t$ is in seconds.

First derivative:

$$h'(t)=-3t^2+12t+3$$

This represents velocity.

Second derivative:

$$h''(t)=-6t+12$$

This represents acceleration.

To find when acceleration is zero, solve

$$-6t+12=0$$

so

$$t=2$$

Now check concavity:

  • If $t<2$, then $h''(t)>0$, so the graph is concave up.
  • If $t>2$, then $h''(t)<0$, so the graph is concave down.

So $t=2$ is a point where the drone’s motion changes in curvature. In a real-world interpretation, this could mean the upward acceleration is transitioning to downward acceleration.

This example shows how second derivatives help describe motion, not just compute numbers.

Conclusion

Second derivatives are a key part of calculus because they describe how rates of change themselves change. They help us understand concavity, classify turning points, locate possible points of inflection, and interpret acceleration in motion problems. In IB Mathematics: Applications and Interpretation HL, students, you should be able to calculate second derivatives, use them in graph analysis, and explain their meaning in context. Whether you are studying motion, growth, or shape, the second derivative gives a deeper view of change 📊.

Study Notes

  • The second derivative is the derivative of the derivative: $f''(x)=\frac{d}{dx}(f'(x))$.
  • If $f''(x)>0$, the graph is concave up.
  • If $f''(x)<0$, the graph is concave down.
  • If $f'(a)=0$ and $f''(a)>0$, then $x=a$ is a local minimum.
  • If $f'(a)=0$ and $f''(a)<0$, then $x=a$ is a local maximum.
  • A point of inflection occurs where the concavity changes sign.
  • For position $s(t)$, velocity is $v(t)=\frac{ds}{dt}$ and acceleration is $a(t)=\frac{d^2s}{dt^2}$.
  • A zero second derivative does not automatically mean a point of inflection.
  • Technology can help calculate derivatives, but interpretation is still essential.
  • Second derivatives connect calculus to motion, economics, modelling, and graph shape.

Practice Quiz

5 questions to test your understanding