Home

Maths

Differentiation II

Second derivatives: Concave and convex functions

Second derivatives: Concave and convex functions

Select Lesson

Exam Board

OCR A

OCR AAQAPearson Edexcel

Explainer Video

Tutor: Toby

Summary

Second derivatives: Concave and convex functions

​​In a nutshell

The second derivative can be used to determine whether a curve is concave (curving down) or convex (curving up) at any given point. The point at which a curve changes from being either concave or convex, to the other is called the point of inflection. This is at the point(s) where the second derivative is equal to zero.



Second derivative reminder

Differentiating a curve's equation twice gives the second derivative:

curve: y=f(x)first derivative: dydx=f(x)second derivative: d2ydx2=f(x)\begin{aligned}\text{curve: }&y=f(x)\\\text{first derivative: }&\frac{\text dy}{\text dx}=f'(x)\\\text{second derivative: }&\frac{\text d^2y}{\text dx^2}=f''(x)\end{aligned}​​​​


Concave

If a section of a curve is "concave", then it is curving downwards - that is to say the value of the gradient is getting lower. Thus, the second derivative, which is the measure of the rate of change of the gradient, is non-positive.

concave at xf(x)0\text{concave at }x\text{: } f''(x)\leq0​​


An example of a concave curve is given below. It is concave for all values of xx.​

Maths; Differentiation II; KS5 Year 13; Second derivatives: Concave and convex functions

Some curves are only concave in particular intervals.


Example 1

Show that the following curve is concave for all positive values of xx.

y=5x3y=5-x^3​​


Find the second derivative by differentiating twice:

dydx=3x2d2ydx2=6x\begin{aligned}\frac{\text dy}{\text dx}&=-3x^2\\\frac{\text d^2y}{\text dx^2}&=-6x\end{aligned}​​​

This is negative for all positive values of xx and hence the curve is concave for all positive values of x\underline{x}.



Convex

If a section of a curve is "convex" then it is curving upwards and thus the value of the gradient is increasing. It follows therefore that the second derivative is non-negative.

convex at xf(x)0\text{convex at }x\text{: } f''(x)\geq0​​


A curve that is convex for all xx is given below.

Maths; Differentiation II; KS5 Year 13; Second derivatives: Concave and convex functions

Curves can be convex in only some intervals of xx.


Example 2

Find the interval in which the following curve is convex.

y=6x2x44y=6x^2-\frac{x^4}{4}​​


You seek the interval(s) in which the second derivative is non-negative, so start by finding the second derivative:

dydx=12xx3d2ydx2=123x2\begin{aligned}\frac{\text dy}{\text dx}&=12x-x^3\\\frac{\text d^2y}{\text dx^2}&=12-3x^2\end{aligned}​​


Now set this to be non-negative and solve:

123x20123x24x2\begin{aligned}12-3x^2&\geq0\\12&\geq3x^2\\4&\geq x^2\end{aligned}​​


It follows that this curve is convex for x\underline x such that 2x2\underline{-2\leq x\leq2}.

Maths; Differentiation II; KS5 Year 13; Second derivatives: Concave and convex functions



Point of inflection

The point at which the second derivative changes sign is called a point of inflection. That is not to say that every point where the second derivative is zero is a point of inflection. 


Note: Showing that the second derivative is zero at a point is not enough to show that the point is a stationary point. You must also show that the sign changes on either side. For example, the point where x=0x=0 on the curve y=x4y=x^4 has a zero second derivative, but is not a point of inflection.


Points of inflection are often confused with stationary points, but points of inflection do not have to be stationary points. In particular, a point of inflection occurs on a curve when f(x)=0f''(x)=0 and the sign of f(x)f''(x) is different to either side. It is the point at which the gradient goes from getting bigger to getting smaller, or vice versa. 


Points of inflection may not be easily spotted on a sketch of a curve, so stick to algebra to find them.


Example 3

Find the point of inflection on the curve y=f(x)y=f(x) where f(x)=x3+6x210x5f(x)=x^3+6x^2-10x-5.


One way to approach this would be to notice that because it is a cubic, there will be a point of inflection between two the stationary points (in the case that there is a single stationary point, this will also be the point of inflection). 


Though instead you can find the xx such that f(x)=0f''(x)=0 and check for a sign change of f(x)f''(x)​ on either side.

f(x)=x3+6x210x5f(x)=3x2+12x10f(x)=6x+12\begin{aligned}f(x)&=x^3+6x^2-10x-5\\f'(x)&=3x^2+12x-10\\f''(x)&=6x+12\end{aligned}​​


Setting this to zero and solving gives:

0=6x+122=x\begin{aligned}0&=6x+12\\-2&=x\end{aligned}​​


Now check for a change in sign of the second derivative to either side:

f(2.1)=6(2.1)+12=0.6<0f(1.9)=6(1.9)+12=0.6>0\begin{aligned}f''(-2.1)&=6(-2.1)+12=-0.6<0\\f''(-1.9)&=6(-1.9)+12=0.6>0\end{aligned}​​


Hence there is a change in sign, so there is a point of inflection when x=2x=-2. The yy-coordinate can be found by inserting this into f(x)f(x):

f(2)=(2)3+6(2)210(2)5=31f(-2)=(-2)^3+6(-2)^2-10(-2)-5=31​​


So the point of inflection is at (2,31)\underline{(-2,31)}​.

Read more

Learn with Basics

Length:
Differentiation from first principles

Unit 1

Differentiation from first principles

Second order derivatives

Unit 2

Second order derivatives

Jump Ahead

Optional

Second derivatives: Concave and convex functions

Unit 3

Second derivatives: Concave and convex functions

Final Test

Create an account to complete the exercises

FAQs - Frequently Asked Questions

What is a point of inflection?

What does convex mean?

What does concave mean?

Beta

Hey there, I'm Vulpy, your AI study buddy! I'm here to make your learning journey not only easier but also a whole lot more enjoyable. Whether you have questions, need some motivation, or just want to chat about your school challenges, I'm here to support you every step of the way.
Choose, in which mode would you like to engage with me today.
You must be logged in to use the AI chat