Skip to content
Gioi Toan
Start learning
The area under a curve shaded in colour

Notes on Lesson 3: Second derivative (Maths 11 Canh Dieu, Chapter VII)

Lesson summary

Suppose the function y=f(x)y = f(x) has derivative y′=f′(x)y' = f'(x) at every point x∈(a;b)x \in (a; b).

To find y′′y'', do it in two steps: first find y′y', then find the derivative of y′y'.

Just picture yourself doing the same job twice.

This content is not yet available in English. It is shown below in the original Vietnamese.

  • Nhận biết đạo hàm cấp hai, ý nghĩa cơ học (gia tốc tức thời)

You already know that the derivative gives us the rate of change of a quantity. So what if we take the derivative of the derivative itself? For a car that is speeding up, the speedometer needle creeps from 4040 km/h to 6060 km/h in a few seconds: the speed is changing, and what causes that change is acceleration. This lesson helps you recognize the second derivative, learn how to compute it from familiar functions, and understand its mechanical meaning: the second derivative of distance with respect to time is exactly the instantaneous acceleration of the motion.

Practise similar problems

Key ideas: what do you need to know?

Definition of the second derivative

Suppose the function y=f(x)y = f(x) has derivative y′=f′(x)y' = f'(x) at every point x∈(a;b)x \in (a; b). If the function y′=f′(x)y' = f'(x) also has a derivative at xx, then we call the derivative of y′y' at xx the second derivative of the function y=f(x)y = f(x) at xx, written y′′y'' or f′′(x)f''(x).

  • Notation: y′′=(y′)′y'' = (y')' or f′′(x)=[f′(x)]′f''(x) = [f'(x)]'.
  • Example: for y=x3−4x2+5y = x^3 - 4x^2 + 5, we have y′=3x2−8xy' = 3x^2 - 8x, then y′′=(3x2−8x)′=6x−8y'' = (3x^2 - 8x)' = 6x - 8.
  • The second derivative is the derivative of the first derivative, so to compute it, the first derivative must have a derivative at the point in question.

In plain words: Just picture yourself doing the same job twice. The first time, you compute the first derivative from the original function. The second time, you take that result as your material and differentiate again. There is no new rule here, it is just applying the derivative rules you have learned one more time. That is why the condition for having y′′y'' is that y′y' must have a derivative, meaning the function must be smooth enough twice. When a problem asks for the second derivative, do not rush, compute y′y' carefully first, because a mistake in step one carries over to step two.

Phrase by phrase
second derivative
The derivative of the first derivative of a function, written y′′y'' or f′′(x)f''(x).Example: For y=x3y = x^3: y′=3x2y' = 3x^2 so y′′=6xy'' = 6x.
y′′=(y′)′y'' = (y')'
How to compute: take the first derivative, then differentiate that result again.Example: y=x2y = x^2, y′=2xy' = 2x, y′′=2y'' = 2.
f′′(x)f''(x)
How to write the second derivative with respect to the variable xx.Example: f(x)=x4f(x) = x^4 then f′′(x)=12x2f''(x) = 12x^2.
has derivative y′=f′(x)y' = f'(x) at every point x∈(a;b)x \in (a; b)
The condition for the first differentiation step to work on the whole interval in question.Example: y=x3−4x2+5y = x^3 - 4x^2 + 5 has a derivative at every xx, so y′′y'' can be computed at every xx.

How to compute the second derivative of some familiar functions

To find y′′y'', do it in two steps: first find y′y', then find the derivative of y′y'. Below are the results for a few common functions, using exactly the derivative rules you have learned:

  • y=xny = x^n with nn a natural number, n≥2n \ge 2: y′=nxn−1y' = nx^{n-1}, y′′=n(n−1)xn−2y'' = n(n-1)x^{n-2}. For example y=x5y = x^5: y′=5x4y' = 5x^4, y′′=20x3y'' = 20x^3.
  • y=sin⁡xy = \sin x: y′=cos⁡xy' = \cos x, y′′=−sin⁡xy'' = -\sin x.
  • y=cos⁡xy = \cos x: y′=−sin⁡xy' = -\sin x, y′′=−cos⁡xy'' = -\cos x.
  • y=1xy = \frac{1}{x} with x≠0x \ne 0: y′=−1x2y' = -\frac{1}{x^2}, y′′=2x3y'' = \frac{2}{x^3}.
  • For a function that is a sum, difference, product or quotient, use the rules you have learned for each step; there is no separate rule for the second derivative.

In plain words: The second derivative is just the derivative taken twice, so mistakes usually happen the first time: if y′y' is wrong, then y′′y'' is wrong too. Write y′y' on its own line, check it once, and only then differentiate again. With sin⁡\sin and cos⁡\cos, watch the signs: the derivative of cos⁡x\cos x is −sin⁡x-\sin x, with a minus sign, so the second derivative of sin⁡x\sin x goes back to −sin⁡x-\sin x, and that of cos⁡x\cos x goes back to −cos⁡x-\cos x. With negative powers like 1x=x−1\frac{1}{x} = x^{-1}, the sign is easy to miss: the coefficient (−1)(-1) times the exponent (−2)(-2) gives 22, so y′′=2x3y'' = \frac{2}{x^3}; the sign of y′′y'' still depends on the sign of xx (positive when x>0x>0, negative when x<0x<0).

Phrase by phrase
find y′y' first
The first step is always to find the first derivative very accurately.Example: y=x4y = x^4, y′=4x3y' = 4x^3.
y′′=n(n−1)xn−2y'' = n(n-1)x^{n-2}
The formula for the second derivative of the power xnx^n with nn a natural number is n≥2n \ge 2.Example: y=x3y = x^3, y′′=3⋅2⋅x=6xy'' = 3 \cdot 2 \cdot x = 6x.
y′′=−sin⁡xy'' = -\sin x
The second derivative of sin⁡x\sin x.Example: y=sin⁡xy = \sin x, y′=cos⁡xy' = \cos x, y′′=−sin⁡xy'' = -\sin x.
y′′=2x3y'' = \frac{2}{x^3}
The second derivative of 1x\frac{1}{x} with x≠0x \ne 0.Example: y=1xy = \frac{1}{x}, y′=−1x2y' = -\frac{1}{x^2}, y′′=2x3y'' = \frac{2}{x^3}.

Mechanical meaning: instantaneous acceleration is the second derivative of distance

Consider a motion with distance equation s=s(t)s = s(t), where tt is time. Then:

  • The instantaneous speed of the motion is v(t)=s′(t)v(t) = s'(t).
  • The instantaneous acceleration of the motion is the derivative of the speed, that is, the second derivative of the distance function: a(t)=v′(t)=s′′(t)a(t) = v'(t) = s''(t).
  • The unit of acceleration is the unit of speed divided by the unit of time, for example m/s2m/s^2 when distance is measured in metres and time in seconds.
  • Example: an object falling freely along a vertical line has equation s=12gt2s = \frac{1}{2}gt^2 with g≈9,8g \approx 9{,}8 m/s2m/s^2. We have v(t)=s′(t)=gtv(t) = s'(t) = gt, then a(t)=s′′(t)=ga(t) = s''(t) = g, exactly the acceleration of free fall, and it stays constant throughout the fall.

In plain words: Speed tells you whether an object moves fast or slow. Acceleration tells you whether the speed is increasing fast or slow. The derivative measures the rate of change, so the derivative of speed measures the rate of change of speed, which is exactly acceleration. Just remember the chain of three levels: distance, differentiate once to get speed, differentiate twice to get acceleration. When a car speeds up, acceleration is positive; when it brakes hard, speed decreases so acceleration is negative. If the problem gives distance and asks for acceleration, you must differentiate twice, do not stop at speed.

Phrase by phrase
instantaneous speed
The first derivative of distance with respect to time.Example: s(t)=3t2s(t) = 3t^2 then v(t)=6tv(t) = 6t.
instantaneous acceleration
The derivative of speed, which is also the second derivative of distance.Example: s(t)=3t2s(t) = 3t^2 then a(t)=6a(t) = 6.
a(t)=v′(t)=s′′(t)a(t) = v'(t) = s''(t)
The formula linking acceleration with the second derivative of distance.Example: s(t)=t3s(t) = t^3 then v(t)=3t2v(t) = 3t^2, a(t)=6ta(t) = 6t.
m/s2m/s^2
The unit of acceleration when distance is measured in metres and time in seconds.Example: An acceleration of 22 m/s2m/s^2 means that each second the speed increases by 22 m/sm/s.

Worked examples

Example 1

Find the second derivative of the functions: a) y=x4y = x^4; b) y=x3−2x2+5x−1y = x^3 - 2x^2 + 5x - 1.

Show the solution to example 1

Step 1: a) Find the first derivative: y′=4x3y' = 4x^3.
Step 2: Take the derivative of y′y': y′′=(4x3)′=12x2y'' = (4x^3)' = 12x^2.
Why: The second derivative is the derivative of the first derivative, so you must do it in exactly two rounds, no skipping steps.
Step 3: b) y′=3x2−4x+5y' = 3x^2 - 4x + 5.
Step 4: y′′=(3x2)′−(4x)′+(5)′=6x−4y'' = (3x^2)' - (4x)' + (5)' = 6x - 4.
Why: The derivative of the constant 55 is 00; many students forget this and leave a term behind.
Result: a) y′′=12x2y'' = 12x^2; b) y′′=6x−4y'' = 6x - 4.

Common mistakesForgetting that the derivative of a constant is 00: with y=x3+5xy = x^3 + 5x, we have y′=3x2+5y' = 3x^2 + 5. If you treat (5)′=5(5)' = 5 you will write y′′=6x+5y'' = 6x + 5 incorrectly; it should be y′′=6xy'' = 6x.

Example 2

Find the second derivative of the functions: a) y=sin⁡xy = \sin x; b) y=cos⁡xy = \cos x; c) y=sin⁡x+cos⁡xy = \sin x + \cos x.

Show the solution to example 2

Step 1: a) y′=cos⁡xy' = \cos x, then y′′=(cos⁡x)′=−sin⁡xy'' = (\cos x)' = -\sin x.
Why: The derivative of cos⁡x\cos x is −sin⁡x-\sin x, with a minus sign; dropping the minus sign is wrong from the second step on.
Step 2: b) y′=−sin⁡xy' = -\sin x, then y′′=−(sin⁡x)′=−cos⁡xy'' = -(\sin x)' = -\cos x.
Step 3: c) y′=cos⁡x−sin⁡xy' = \cos x - \sin x, then y′′=−sin⁡x−cos⁡xy'' = -\sin x - \cos x.
Result: a) y′′=−sin⁡xy'' = -\sin x; b) y′′=−cos⁡xy'' = -\cos x; c) y′′=−sin⁡x−cos⁡xy'' = -\sin x - \cos x.

Common mistakesForgetting the minus sign when differentiating cos⁡x\cos x: writing y′′=sin⁡xy'' = \sin x for y=sin⁡xy = \sin x. It should be y′′=−sin⁡xy'' = -\sin x.

Common mistakesGetting the sign wrong when differentiating a negative power: with y=1xy = \frac{1}{x}, writing y′′=−2x3y'' = -\frac{2}{x^3}. It should be y′′=2x3y'' = \frac{2}{x^3}, because (−1)⋅(−2)=2(-1) \cdot (-2) = 2.

TipThe second derivative of both sin⁡\sin and cos⁡\cos gives the function itself with a minus sign: (sin⁡x)′′=−sin⁡x(\sin x)'' = -\sin x, (cos⁡x)′′=−cos⁡x(\cos x)'' = -\cos x.

Example 3

Given the function y=1xy = \frac{1}{x} with x≠0x \ne 0. Find y′′y'' and find the value y′′(2)y''(2).

Show the solution to example 3

Step 1: Write y=x−1y = x^{-1}, which gives y′=−x−2=−1x2y' = -x^{-2} = -\frac{1}{x^2}.
Step 2: Differentiate again: y′′=−(−2)x−3=2x3y'' = -(-2)x^{-3} = \frac{2}{x^3}.
Why: The coefficient (−1)(-1) times the exponent (−2)(-2) gives 22, and the exponent drops by one to −3-3, so the coefficient of y′′y'' is 22, positive; the sign of y′′y'' still depends on the sign of xx (positive when x>0x>0, negative when x<0x<0).
Step 3: Substitute x=2x = 2: y′′(2)=223=28=14y''(2) = \frac{2}{2^3} = \frac{2}{8} = \frac{1}{4}.
Result: y′′=2x3y'' = \frac{2}{x^3}; y′′(2)=14y''(2) = \frac{1}{4}.

TipWith y=xny = x^n (where nn is a natural number, n≥2n \ge 2), we have y′′=n(n−1)xn−2y'' = n(n-1)x^{n-2}: the coefficient is the product of two consecutive exponents, and the exponent drops by two. Check with n=3n = 3: 3⋅2x=6x3 \cdot 2x = 6x.

Example 4

A point moves in a straight line with distance equation s(t)=t3−3t2+4ts(t) = t^3 - 3t^2 + 4t (m), time tt in seconds. Find the speed and acceleration at time t=2t = 2 seconds.

Show the solution to example 4

Step 1: Speed is the first derivative of distance: v(t)=s′(t)=3t2−6t+4v(t) = s'(t) = 3t^2 - 6t + 4 (m/s).
Step 2: Acceleration is the derivative of speed, that is, the second derivative of distance: a(t)=v′(t)=s′′(t)=6t−6a(t) = v'(t) = s''(t) = 6t - 6 (m/s2^2).
Why: The problem gives distance, so you must differentiate twice to get acceleration; differentiating once only gives speed.
Step 3: At t=2t = 2: v(2)=3⋅4−6⋅2+4=12−12+4=4v(2) = 3 \cdot 4 - 6 \cdot 2 + 4 = 12 - 12 + 4 = 4 (m/s).
Step 4: a(2)=6⋅2−6=6a(2) = 6 \cdot 2 - 6 = 6 (m/s2^2).
Result: v(2)=4v(2) = 4 m/s; a(2)=6a(2) = 6 m/s2^2.

Common mistakesDifferentiating once and thinking that is the second derivative: with y=x4y = x^4, writing y′′=4x3y'' = 4x^3. It should be y′′=12x2y'' = 12x^2, because you must differentiate twice.

Common mistakesConfusing acceleration with speed: the problem gives distance but you differentiate only once and call the result acceleration. Acceleration is the second derivative of distance.

TipRemember the three-level chain: distance, differentiate once to get speed, differentiate twice to get acceleration.

Example 5

A freely falling object moving along a vertical line has the distance equation s(t)=12gt2s(t) = \frac{1}{2}gt^2, where g≈9,8g \approx 9{,}8 m/s2^2 and time tt is measured in seconds. Calculate the acceleration of the object and say whether that acceleration changes with time.

Show the solution to example 5

Step 1: Speed: v(t)=s′(t)=(12gt2)′=gtv(t) = s'(t) = \left(\frac{1}{2}gt^2\right)' = gt (m/s).
Step 2: Acceleration: a(t)=v′(t)=s′′(t)=(gt)′=ga(t) = v'(t) = s''(t) = (gt)' = g (m/s2^2).
Why: The derivative of gtgt with respect to tt is the constant gg, so acceleration does not depend on tt.
Step 3: Substitute g≈9,8g \approx 9{,}8: a(t)≈9,8a(t) \approx 9{,}8 m/s2^2 for all tt.
Result: Acceleration a(t)=g≈9,8a(t) = g \approx 9{,}8 m/s2^2, constant over time.

Example 6

A car is moving when the driver presses the brake. From the moment of braking, the extra distance the car travels is s(t)=20t−2t2s(t) = 20t - 2t^2 (m), where tt is measured in seconds, 0≤t≤50 \le t \le 5. Calculate the speed and acceleration at time t=1t = 1 seconds. What does negative acceleration tell us?

Show the solution to example 6

Step 1: v(t)=s′(t)=20−4tv(t) = s'(t) = 20 - 4t (m/s).
Step 2: a(t)=v′(t)=s′′(t)=−4a(t) = v'(t) = s''(t) = -4 (m/s2^2).
Why: The derivative of −4t-4t is −4-4, while the derivative of 2020 equals 00, so acceleration is a negative constant.
Step 3: At t=1t = 1: v(1)=20−4=16v(1) = 20 - 4 = 16 (m/s); a(1)=−4a(1) = -4 (m/s2^2).
Step 4: Negative acceleration means speed decreases over time, which matches the car braking.
Result: v(1)=16v(1) = 16 m/s; a(1)=−4a(1) = -4 m/s2^2, the car slows down.

Terms

Second derivative
The derivative of the first derivative of a function, denoted y′′y'' or f′′(x)f''(x).Example: y=x3y = x^3 has y′′=6xy'' = 6x.
First derivative
The ordinary derivative y′y' learned in the previous lesson, a stepping stone for calculating the second derivative.Example: y=x2y = x^2 has y′=2xy' = 2x.
Instantaneous acceleration
The derivative of speed with respect to time, equal to the second derivative of distance.Example: s(t)=t2s(t) = t^2 then a(t)=2a(t) = 2.
Instantaneous speed
The first derivative of distance with respect to time.Example: s(t)=5ts(t) = 5t then v(t)=5v(t) = 5.
Distance function
The function s=s(t)s = s(t) gives the distance travelled according to time tt.Example: s(t)=t2+1s(t) = t^2 + 1.
Straight-line motion
Motion along a straight line, where distance is a function of time.Example: s(t)=2t2+3ts(t) = 2t^2 + 3t.
m/s2^2
Unit of measurement of acceleration.Example: Acceleration 9,89{,}8 m/s2^2 is the acceleration of free fall near the ground.