Finding Maxima and Minima using Derivatives

Where is a part at a high or depression point? Calculus can assistance!

A maximum is a high betoken and a minimum is a low bespeak:

function local minimum and maximum

In a smoothly changing function a maximum or minimum is e'er where the function flattens out  (except for a saddle indicate).

Where does it flatten out? Where the gradient is zero.

Where is the gradient zero? The Derivative tells us!

Allow'south dive right in with an example:

quadratic graph

Example: A ball is thrown in the air. Its height at any fourth dimension t is given past:

h = 3 + 14t − 5t2

What is its maximum acme?

Using derivatives we can find the slope of that part:

d dt h = 0 + 14 − 5(2t)
= fourteen − 10t

(See below this example for how we found that derivative.)

quadratic graph

Now detect when theslope is zilch:

14 − 10t = 0

10t = fourteen

t = 14 / 10 = ane.four

The slope is cypher at t = 1.four seconds

And the height at that time is:

h = iii + 14×i.4 − 5×1.42

h = 3 + 19.half-dozen − nine.8 = 12.8

And and so:

The maximum acme is 12.eight thou (at t = 1.4 s)

A Quick Refresher on Derivatives

A derivative basically finds the gradient of a function.

In the previous example we took this:

h = 3 + 14t − 5ttwo

and came up with this derivative:

d dt h = 0 + 14 − 5(2t)
= 14 − 10t

Which tells us the slope of the function at any time t

slope examples: y=3, slope=0; y=2x, slope=2

We used these Derivative Rules:

  • The slope of a constant value (like 3) is 0
  • The slope of a line like 2x is 2, and then 14t has a slope of 14
  • A square role like ttwo has a slope of 2t, and then 5t2 has a slope of 5(2t)
  • And then we added them up: 0 + 14 − 5(2t)

How Practise We Know it is a Maximum (or Minimum)?

We saw it on the graph! But otherwise ... derivatives come up to the rescue again.

Take the derivative of the slope (the second derivative of the original function):

The Derivative of fourteen − 10t is −10

This means the gradient is continually getting smaller (−x): traveling from left to right the slope starts out positive (the function rises), goes through zero (the apartment point), then the slope becomes negative (the part falls):

slope positive then zero then negative
A slope that gets smaller (and goes though 0) means a maximum.

This is chosen the Second Derivative Test

On the graph in a higher place I showed the slope before and subsequently, but in practise nosotros practise the test at the point where the slope is zero:

Second Derivative Test

When a function'due south slope is zero at x, and the second derivative at x is:

  • less than 0, it is a local maximum
  • greater than 0, information technology is a local minimum
  • equal to 0, then the test fails (there may exist other ways of finding out though)

"2d Derivative: less than 0 is a maximum, greater than 0 is a minimum"

Example: Find the maxima and minima for:

y = 5xthree + 2x2 − 3x

The derivative (slope) is:

d dx y = 15x2 + 4x − 3

Which is quadratic with zeros at:

  • ten = −3/v
  • x = +one/3

Could they be maxima or minima? (Don't expect at the graph still!)

The 2d derivative is y'' = 30x + 4

At x = −iii/5:

y'' = xxx(−3/5) + 4 = −14

it is less than 0, and so −3/5 is a local maximum

At x = +1/three:

y'' = 30(+1/3) + four = +14

it is greater than 0, so +1/3 is a local minimum

(Now yous can expect at the graph.)

5x^3 2x^2 3x

Words

A high indicate is called a maximum (plural maxima ).

A low point is called a minimum (plural minima ).

The general word for maximum or minimum is extremum (plural extrema).

We say local maximum (or minimum) when there may be higher (or lower) points elsewhere but not nearby.

One More Example

Example: Find the maxima and minima for:

y = 10iii − 6x2 + 12x − v

The derivative is:

d dx y = 3x2 − 12x + 12

Which is quadratic with merely one goose egg at x = 2

Is it a maximum or minimum?

The second derivative is y'' = 6x − 12

At x = 2:

y'' = half-dozen(2) − 12 = 0

it is 0, so the exam fails

And here is why:

x^3 6x^2 12x 5

It is an Inflection Point ("saddle point") ... the slope does become zero, but it is neither a maximum nor minimum.

Must Be Differentiable

And there is an important technical point:

The function must be differentiable (the derivative must exist at each point in its domain).

Instance: How about the office f(ten) = |10| (accented value) ?

|x| looks similar this: Absolute Value function

At 10=0 it has a very pointy change!

In fact information technology is not differentiable there (as shown on the differentiable page).

So nosotros tin't use the derivative method for the absolute value function.

The role must also exist continuous, but any function that is differentiable is also continuous, and then we are covered.