TExcelTAD
Home › School Calculus: Limits, Derivatives & Integrals › Second Derivatives, Concavity, and Physical Kinematics

Second Derivatives, Concavity, and Physical Kinematics

When you differentiate a function once, you obtain its first derivative f′(x)f'(x), measuring the instantaneous rate of change or the slope of the tangent line. Because f′(x)f'(x) is itself a function of xx, you can differentiate it a second time, a third time, or in general, nn times.

In geometry, the second derivative reveals the bending or concavity of a curve. In physics, the first derivative of position is velocity, and the second derivative is acceleration.


1. Core Notation and Definitions

Let y=f(x)y = f(x) be a differentiable function.

First Derivative:f′(x)=dydxSecond Derivative:f′′(x)=d2ydx2=ddx[dydx]Third Derivative:f′′′(x)=d3ydx3=ddx[d2ydx2]n-th Derivative:f(n)(x)=dnydxn\begin{aligned} \text{\bf First Derivative:} & \quad f'(x) = \frac{dy}{dx} \\ \text{\bf Second Derivative:} & \quad f''(x) = \frac{d^2y}{dx^2} = \frac{d}{dx}\left[ \frac{dy}{dx} \right] \\ \text{\bf Third Derivative:} & \quad f'''(x) = \frac{d^3y}{dx^3} = \frac{d}{dx}\left[ \frac{d^2y}{dx^2} \right] \\ \text{\bf } n\text{\bf -th Derivative:} & \quad f^{(n)}(x) = \frac{d^n y}{dx^n} \end{aligned}

[!WARNING] Notation Trap: The second derivative d2ydx2\frac{d^2y}{dx^2} is not the square of the first derivative:

d2ydx2≠(dydx)2\frac{d^2y}{dx^2} \ne \left(\frac{dy}{dx}\right)^2

The superscript 22 in d2ydx2\frac{d^2y}{dx^2} denotes repeating the derivative operator twice, not raising a number to a power.


2. Geometric Interpretation: Concavity and Inflection Points

The first derivative tells us whether a function is increasing (f′>0f' > 0) or decreasing (f′<0f' < 0). The second derivative tells us whether the slope itself is increasing or decreasing.

Concave Upward (⌣):f′′(x)>0on interval I  ⟹  f′(x) is increasing; the curve lies above its tangent lines.Concave Downward (⌢):f′′(x)<0on interval I  ⟹  f′(x) is decreasing; the curve lies below its tangent lines.\begin{aligned} \text{\bf Concave Upward } (\smile): & \quad f''(x) > 0 \quad \text{on interval } I \\ & \implies f'(x) \text{ is increasing; the curve lies above its tangent lines.} \\ \text{\bf Concave Downward } (\frown): & \quad f''(x) < 0 \quad \text{on interval } I \\ & \implies f'(x) \text{ is decreasing; the curve lies below its tangent lines.} \end{aligned}

Point of Inflection

A point (c,f(c))(c, f(c)) on the curve is an inflection point if:

  1. The function is continuous at cc.
  2. The concavity changes from upward to downward (or downward to upward) across x=cx = c.

At an inflection point, f′′(c)=0f''(c) = 0 or f′′(c)f''(c) is undefined. (Caution: f′′(c)=0f''(c) = 0 is a necessary condition, but not sufficient. You must verify that the sign of f′′f'' actually changes across cc!)


3. Physical Kinematics on a Straight Line

For a particle moving along a coordinate line, its position at time tt is given by s(t)s(t).

Position:s(t)(units: meters, m)Velocity:v(t)=s′(t)=dsdt(units: m/s)Speed:∣v(t)∣(units: m/s, always ≥0)Acceleration:a(t)=v′(t)=s′′(t)=d2sdt2(units: m/s2)\begin{aligned} \text{\bf Position:} & \quad s(t) \quad &(\text{units: meters, }\text{m}) \\ \text{\bf Velocity:} & \quad v(t) = s'(t) = \frac{ds}{dt} \quad &(\text{units: }\text{m/s}) \\ \text{\bf Speed:} & \quad |v(t)| \quad &(\text{units: }\text{m/s, always } \ge 0) \\ \text{\bf Acceleration:} & \quad a(t) = v'(t) = s''(t) = \frac{d^2s}{dt^2} \quad &(\text{units: }\text{m/s}^2) \end{aligned}

Direction of Motion

  • v(t)>0v(t) > 0: Moving forward (to the right, or upward).
  • v(t)<0v(t) < 0: Moving backward (to the left, or downward).
  • v(t)=0v(t) = 0: Instantaneously at rest (momentarily stopped, potentially reversing direction).

Speeding Up vs. Slowing Down

A particle's speed ∣v(t)∣|v(t)| depends on the interplay between velocity and acceleration:

Speeding Up:v(t) and a(t) have the same sign(v⋅a>0)Slowing Down:v(t) and a(t) have opposite signs(v⋅a<0)\begin{aligned} \text{\bf Speeding Up:} & \quad v(t) \text{ and } a(t) \text{ have the \bf same sign} \quad (v \cdot a > 0) \\ \text{\bf Slowing Down:} & \quad v(t) \text{ and } a(t) \text{ have \bf opposite signs} \quad (v \cdot a < 0) \end{aligned}

[!NOTE] If a car is traveling in reverse (v=−20 m/sv = -20\text{ m/s}) and you press harder on the reverse accelerator (a=−5 m/s2a = -5\text{ m/s}^2), the car is speeding up in reverse (speed increases from 20 m/s20\text{ m/s} to 25 m/s25\text{ m/s}). Even though acceleration is negative, the vehicle is speeding up because vv and aa share the same negative sign.


4. Step-by-Step Paper Notebook Method

mermaid
flowchart TD
    A["Original function f(x) or s(t)"] --> B["Compute first derivative f'(x) or v(t)"]
    B --> C["Simplify f'(x) completely before differentiating again"]
    C --> D["Differentiate f'(x) to obtain f''(x) or a(t)"]
    D --> E["Solve f''(x) = 0 for inflection candidates"]
    E --> F["Draw sign chart of f''(x) to confirm concavity changes"]
  1. Step 1: Compute f′(x)f'(x). Simplify the algebraic expression cleanly before attempting the second derivative. Multiplying out brackets or combining fractions first saves significant work.
  2. Step 2: Compute f′′(x)f''(x). Differentiate f′(x)f'(x) using power, product, or chain rules.
  3. Step 3: Find candidate inflection points. Set f′′(x)=0f''(x) = 0 and find real roots in the domain.
  4. Step 4: Construct a concavity sign chart. Place roots on a number line, test sample points in each interval, and record whether f′′(x)f''(x) is positive (++) or negative (−-).
  5. Step 5: Identify inflection points. Check that f′′(x)f''(x) strictly changes sign across the candidate root.

5. Worked Examples

Example 1: Calculating Successive Higher Derivatives

Problem: For the polynomial f(x)=x4−4x3+6x2−8x+5f(x) = x^4 - 4x^3 + 6x^2 - 8x + 5, find f′(x)f'(x), f′′(x)f''(x), f′′′(x)f'''(x), and f(4)(x)f^{(4)}(x) on paper.

Step 1: First derivative

f′(x)=4x3−12x2+12x−8f'(x) = 4x^3 - 12x^2 + 12x - 8

Step 2: Second derivative Differentiate f′(x)f'(x):

f′′(x)=ddx[4x3−12x2+12x−8]=12x2−24x+12f''(x) = \frac{d}{dx}[4x^3 - 12x^2 + 12x - 8] = 12x^2 - 24x + 12

Factor to inspect roots:

f′′(x)=12(x2−2x+1)=12(x−1)2f''(x) = 12(x^2 - 2x + 1) = 12(x - 1)^2

Step 3: Third derivative Differentiate f′′(x)f''(x):

f′′′(x)=ddx[12x2−24x+12]=24x−24=24(x−1)f'''(x) = \frac{d}{dx}[12x^2 - 24x + 12] = 24x - 24 = 24(x - 1)

Step 4: Fourth derivative Differentiate f′′′(x)f'''(x):

f(4)(x)=ddx[24x−24]=24f^{(4)}(x) = \frac{d}{dx}[24x - 24] = 24

(Any subsequent fifth derivative f(5)(x)=0f^{(5)}(x) = 0.)

Final Answer:

f′(x)=4x3−12x2+12x−8f′′(x)=12(x−1)2f′′′(x)=24(x−1)f(4)(x)=24\begin{aligned} f'(x) &= 4x^3 - 12x^2 + 12x - 8 \\ f''(x) &= 12(x - 1)^2 \\ f'''(x) &= 24(x - 1) \\ f^{(4)}(x) &= 24 \end{aligned}

Example 2: Determining Concavity and Inflection Points

Problem: Determine the intervals of concavity and find all inflection points for:

f(x)=x3−6x2+9x+2f(x) = x^3 - 6x^2 + 9x + 2

Step 1: Calculate the first and second derivatives

f′(x)=3x2−12x+9f′′(x)=6x−12\begin{aligned} f'(x) &= 3x^2 - 12x + 9 \\ f''(x) &= 6x - 12 \end{aligned}

Step 2: Solve f′′(x)=0f''(x) = 0 for inflection candidates

6x−12=0  ⟹  6x=12  ⟹  x=26x - 12 = 0 \implies 6x = 12 \implies x = 2

Step 3: Test concavity intervals on a number line

  • For x<2x < 2 (test x=0x = 0): f′′(0)=6(0)−12=−12<0  ⟹  Concave downward (⌢)f''(0) = 6(0) - 12 = -12 < 0 \implies \text{Concave downward } (\frown).
  • For x>2x > 2 (test x=3x = 3): f′′(3)=6(3)−12=6>0  ⟹  Concave upward (⌣)f''(3) = 6(3) - 12 = 6 > 0 \implies \text{Concave upward } (\smile).

Because f′′(x)f''(x) changes sign from negative to positive at x=2x = 2, this is a genuine inflection point.

Step 4: Find the yy-coordinate of the inflection point Evaluate the original function f(2)f(2):

f(2)=(2)3−6(2)2+9(2)+2=8−24+18+2=4f(2) = (2)^3 - 6(2)^2 + 9(2) + 2 = 8 - 24 + 18 + 2 = 4

Final Answer:

Concave downward: (−∞,2)Concave upward: (2,∞)Inflection Point: (2,4)\begin{aligned} \text{Concave downward: } & \quad (-\infty, 2) \\ \text{Concave upward: } & \quad (2, \infty) \\ \text{Inflection Point: } & \quad (2, 4) \end{aligned}

Example 3: Kinematics of a Moving Particle

Problem: A particle moves along a horizontal line with position function:

s(t)=t3−9t2+24t(t≥0, in seconds, s in meters)s(t) = t^3 - 9t^2 + 24t \quad (t \ge 0, \text{ in seconds, } s \text{ in meters})
  1. Find when the particle is at rest.
  2. Find the acceleration when t=2 st = 2\text{ s} and when t=4 st = 4\text{ s}.
  3. Determine the time intervals when the particle is speeding up and slowing down.

Step 1: Velocity function

v(t)=s′(t)=3t2−18t+24v(t) = s'(t) = 3t^2 - 18t + 24

Factor out the common factor 33:

v(t)=3(t2−6t+8)=3(t−2)(t−4)v(t) = 3(t^2 - 6t + 8) = 3(t - 2)(t - 4)

The particle is at rest when v(t)=0v(t) = 0:

3(t−2)(t−4)=0  ⟹  t=2 sandt=4 s3(t - 2)(t - 4) = 0 \implies t = 2\text{ s} \quad \text{and} \quad t = 4\text{ s}

Step 2: Acceleration function

a(t)=v′(t)=6t−18=6(t−3)a(t) = v'(t) = 6t - 18 = 6(t - 3)

Evaluate at t=2t = 2 and t=4t = 4:

a(2)=6(2)−18=−6 m/s2a(4)=6(4)−18=+6 m/s2\begin{aligned} a(2) &= 6(2) - 18 = -6\text{ m/s}^2 \\ a(4) &= 6(4) - 18 = +6\text{ m/s}^2 \end{aligned}

Step 3: Analyze signs of v(t)v(t) and a(t)a(t) to find speeding up/slowing down Key transition times for v(t)v(t) are t=2,4t = 2, 4. Key transition time for a(t)a(t) is t=3t = 3. Set up a sign table across intervals for t≥0t \ge 0:

Interval v(t)=3(t−2)(t−4)v(t) = 3(t-2)(t-4) a(t)=6(t−3)a(t) = 6(t-3) Product v(t)⋅a(t)v(t) \cdot a(t) Motion Behavior
(0,2)(0, 2) ++ −- −- Slowing down
(2,3)(2, 3) −- −- ++ Speeding up
(3,4)(3, 4) −- ++ −- Slowing down
(4,∞)(4, \infty) ++ ++ ++ Speeding up

Final Answer:

At rest at: t=2 s and t=4 sAccelerations: a(2)=−6 m/s2,a(4)=+6 m/s2Speeding up on: (2,3)∪(4,∞)Slowing down on: (0,2)∪(3,4)\begin{aligned} \text{At rest at: } & \quad t = 2\text{ s} \text{ and } t = 4\text{ s} \\ \text{Accelerations: } & \quad a(2) = -6\text{ m/s}^2, \quad a(4) = +6\text{ m/s}^2 \\ \text{Speeding up on: } & \quad (2, 3) \cup (4, \infty) \\ \text{Slowing down on: } & \quad (0, 2) \cup (3, 4) \end{aligned}

6. Common Paper Traps & Exam Pitfalls

Common Mistake Why It Fails Correct Paper Method
Claiming f′′(c)=0  ⟹  (c,f(c))f''(c) = 0 \implies (c, f(c)) is an inflection point f′′(x)f''(x) might not change signs. For f(x)=x4f(x) = x^4, f′′(0)=0f''(0) = 0, but f′′(x)=12x2≥0f''(x) = 12x^2 \ge 0 everywhere (no concavity change). Always test signs on both sides of cc to confirm a true change in concavity.
Assuming negative acceleration a(t)<0a(t) < 0 always means slowing down If v<0v < 0 and a<0a < 0, the particle is moving faster in the negative direction. Speeding up occurs when v(t)v(t) and a(t)a(t) have the same sign.
Writing units of acceleration as m/s\text{m/s} Acceleration is rate of change of velocity: m/ss=m/s2\frac{\text{m/s}}{\text{s}} = \text{m/s}^2. Always record m/s2\text{m/s}^2.

7. Pencil & Paper Practice

Solve these three problems step by step in your notebook.

  1. Practice 1: Find f′′(x)f''(x) for f(x)=1x2+1f(x) = \frac{1}{x^2 + 1}.
  2. Practice 2: Find the inflection point(s) of g(x)=x3−3x2−9x+5g(x) = x^3 - 3x^2 - 9x + 5.
  3. Practice 3: A stone is thrown vertically upward with height h(t)=−5t2+20t+2h(t) = -5t^2 + 20t + 2 (in meters, t≥0t \ge 0).
    • Find its velocity and acceleration at t=1 st = 1\text{ s}.
    • Find its maximum height and the time when it reaches maximum height.
Click to view step-by-step solutions

Solution to Practice 1

Rewrite with a negative exponent: f(x)=(x2+1)−1f(x) = (x^2 + 1)^{-1}. First derivative:

f′(x)=−1(x2+1)−2⋅(2x)=−2x(x2+1)−2f'(x) = -1(x^2 + 1)^{-2} \cdot (2x) = -2x(x^2 + 1)^{-2}

Second derivative via Product Rule with u=−2x  ⟹  u′=−2u = -2x \implies u' = -2 and v=(x2+1)−2  ⟹  v′=−2(x2+1)−3(2x)=−4x(x2+1)−3v = (x^2 + 1)^{-2} \implies v' = -2(x^2 + 1)^{-3}(2x) = -4x(x^2 + 1)^{-3}:

f′′(x)=u′v+uv′=−2(x2+1)−2+(−2x)(−4x(x2+1)−3)=−2(x2+1)−2+8x2(x2+1)−3\begin{aligned} f''(x) &= u'v + uv' \\ &= -2(x^2 + 1)^{-2} + (-2x)\big(-4x(x^2 + 1)^{-3}\big) \\ &= -2(x^2 + 1)^{-2} + 8x^2(x^2 + 1)^{-3} \end{aligned}

Factor out the lowest power (x2+1)−3(x^2 + 1)^{-3}:

f′′(x)=(x2+1)−3[−2(x2+1)+8x2]=(x2+1)−3[−2x2−2+8x2]=6x2−2(x2+1)3=2(3x2−1)(x2+1)3\begin{aligned} f''(x) &= (x^2 + 1)^{-3} \big[ -2(x^2 + 1) + 8x^2 \big] \\ &= (x^2 + 1)^{-3} \big[ -2x^2 - 2 + 8x^2 \big] \\ &= \frac{6x^2 - 2}{(x^2 + 1)^3} = \frac{2(3x^2 - 1)}{(x^2 + 1)^3} \end{aligned}
  • Final Answer: f′′(x)=2(3x2−1)(x2+1)3f''(x) = \frac{2(3x^2 - 1)}{(x^2 + 1)^3}

Solution to Practice 2

Find derivatives:

g′(x)=3x2−6x−9g′′(x)=6x−6=6(x−1)\begin{aligned} g'(x) &= 3x^2 - 6x - 9 \\ g''(x) &= 6x - 6 = 6(x - 1) \end{aligned}

Set g′′(x)=0  ⟹  6(x−1)=0  ⟹  x=1g''(x) = 0 \implies 6(x - 1) = 0 \implies x = 1.

  • For x<1x < 1, g′′(x)<0g''(x) < 0 (concave down).
  • For x>1x > 1, g′′(x)>0g''(x) > 0 (concave up). Sign changes, so (1,g(1))(1, g(1)) is an inflection point. Compute yy-coordinate:
g(1)=(1)3−3(1)2−9(1)+5=1−3−9+5=−6g(1) = (1)^3 - 3(1)^2 - 9(1) + 5 = 1 - 3 - 9 + 5 = -6
  • Final Answer: Inflection point is (1,−6)(1, -6).

Solution to Practice 3

Velocity:

v(t)=h′(t)=−10t+20v(t) = h'(t) = -10t + 20

Acceleration:

a(t)=v′(t)=−10 m/s2a(t) = v'(t) = -10\text{ m/s}^2

At t=1 st = 1\text{ s}:

v(1)=−10(1)+20=10 m/s,a(1)=−10 m/s2v(1) = -10(1) + 20 = 10\text{ m/s}, \quad a(1) = -10\text{ m/s}^2

Maximum height occurs when the stone momentarily stops at the apex (v(t)=0v(t) = 0):

−10t+20=0  ⟹  10t=20  ⟹  t=2 s-10t + 20 = 0 \implies 10t = 20 \implies t = 2\text{ s}

Evaluate height at t=2t = 2:

h(2)=−5(2)2+20(2)+2=−5(4)+40+2=−20+40+2=22 mh(2) = -5(2)^2 + 20(2) + 2 = -5(4) + 40 + 2 = -20 + 40 + 2 = 22\text{ m}
  • Final Answer: At t=1 st = 1\text{ s}, v(1)=10 m/sv(1) = 10\text{ m/s} and a(1)=−10 m/s2a(1) = -10\text{ m/s}^2. Maximum height is 22 m22\text{ m}, reached at t=2 st = 2\text{ s}.

Test yourself

What is the second derivative f′′(x)f''(x) of f(x)=2x4−5x3+3xf(x) = 2x^4 - 5x^3 + 3x?

  1. 8x3−15x2+38x^3 - 15x^2 + 3
  2. 24x2−30x24x^2 - 30x
  3. 24x2−30x+324x^2 - 30x + 3
  4. 12x2−15x12x^2 - 15x

If f′′(x)<0f''(x) < 0 everywhere on an interval (a,b)(a, b), what can be said about the curve y=f(x)y = f(x) on that interval?

  1. The function is decreasing
  2. The curve is concave upward
  3. The curve is concave downward
  4. The function has an inflection point

A particle moves along a line with velocity v(t)=−4 m/sv(t) = -4\text{ m/s} and acceleration a(t)=−3 m/s2a(t) = -3\text{ m/s}^2. Is the particle speeding up or slowing down?

  1. Slowing down, because the acceleration is negative
  2. Speeding up, because velocity and acceleration have the same sign
  3. Moving at constant speed
  4. Instantaneously stopped