How Math Works
Analysis & Calculusconceptintermediate

Critical Points โ€” Where the Slope Is Zero

โ€œAt peaks and valleys, the slope is zero.โ€

The formula

f'(x) = 0

How to read it: the x where the derivative (slope) is 0 โ€” a candidate for a local max or min

f'(x)
โ€” the derivative = the slope at that point
= 0
โ€” slope is 0, the tangent is horizontal
x
โ€” a candidate spot for a max or min

The hook

Finding a function's peaks and valleys is startlingly simple โ€” 'look for where the slope is 0'.

In plain words

Set the derivative equal to 0 and solve; the x's you get are where the tangent goes flat โ€” candidates for a max or min.

The intuition

Climb a hill and at the summit you're momentarily level. Same at the bottom of a valley. At the turning point between going up (slope +) and coming down (slope โˆ’), the slope passes exactly through 0.

How it's built

Solve f'(x)=0 to collect candidate x's. Then decide whether each is a peak or a valley using the sign of the slope on either side, or the second derivative.

Example

For f(x)=xยฒโˆ’4x+3, f'(x)=2xโˆ’4. Set it to 0 โ†’ x=2. There f(2)=4โˆ’8+3=โˆ’1 โ€” the lowest point of this parabola.

Common mistake

Slope 0 doesn't always mean an extremum. f(x)=xยณ has f'=0 at x=0, but it's neither a peak nor a valley โ€” it just glides through (an inflection).

Where it's used

Max profit, min cost, shortest path โ€” every optimization problem that hunts for the 'best value' starts by solving slope = 0.

Where it came from

Before differentiation was even formalized, Fermat planted the seed with the idea that 'change stalls near a maximum'.

Prerequisites

Quick check

At which x does f(x)=xยฒโˆ’6x have its extremum?

  • 0
  • 2
  • 3โœ“
  • 6

Practice

At which x does f(x)=xยฒโˆ’2x have its extremum?

Answer: 1

Solution:
  1. f'(x)=2xโˆ’2
  2. Set to 0: 2xโˆ’2=0 โ†’ x=1

Takeaway: Differentiate, set to 0, solve for x.

At which x is f(x)=xยฒ+6x+5 smallest?

Answer: -3

Solution:
  1. f'(x)=2x+6
  2. Set to 0: 2x+6=0 โ†’ x=โˆ’3

Takeaway: For an upward parabola, slope 0 is the lowest point.

Find all critical points (where the slope is 0) of f(x)=xยณโˆ’3x.

Answer: undefined

Solution:
  1. f'(x)=3xยฒโˆ’3
  2. Set to 0: 3xยฒโˆ’3=0 โ†’ xยฒ=1 โ†’ x=1, x=โˆ’1

Takeaway: There can be more than one critical point โ€” collect every solution.

Keep learning in the app

Touch-and-drag widgets, self-graded practice and daily formulas โ€” free on iOS and Android.