top of page
Inaugurated by IN-SPACe
ISRO Registered Space Tutor

S7-SA1-0536

What is the Second Derivative Test for Optimisation?

Grade Level:

Class 12

AI/ML, Physics, Biotechnology, FinTech, EVs, Space Technology, Climate Science, Blockchain, Medicine, Engineering, Law, Economics

Definition
What is it?

The Second Derivative Test helps us find out if a function has a maximum (highest point) or a minimum (lowest point) value at a certain point. It uses the 'second derivative' of the function, which tells us about the curve's 'bendiness' or concavity. If the second derivative is positive, it's a minimum; if negative, it's a maximum.

Simple Example
Quick Example

Imagine you're tracking your mobile data usage each day. You want to know if you used the most data on Tuesday or the least on Friday. The first derivative tells you if your usage is going up or down. The second derivative test helps you pinpoint the exact day you hit your peak usage (maximum) or lowest usage (minimum) by looking at how the rate of change itself is changing.

Worked Example
Step-by-Step

Let's find the maximum or minimum for the function f(x) = x^2 - 4x + 5.

Step 1: Find the first derivative, f'(x).
f'(x) = d/dx (x^2 - 4x + 5) = 2x - 4

---
Step 2: Set the first derivative to zero to find critical points.
2x - 4 = 0
2x = 4
x = 2

---
Step 3: Find the second derivative, f''(x).
f''(x) = d/dx (2x - 4) = 2

---
Step 4: Evaluate the second derivative at the critical point(s).
At x = 2, f''(2) = 2.

---
Step 5: Interpret the result.
Since f''(2) = 2 (which is positive), the function has a local minimum at x = 2.

---
Step 6: Find the minimum value by plugging x=2 back into the original function.
f(2) = (2)^2 - 4(2) + 5 = 4 - 8 + 5 = 1.

---
Answer: The function f(x) = x^2 - 4x + 5 has a local minimum value of 1 at x = 2.

Why It Matters

This test is super useful in fields like AI/ML for training models to find the best solutions, or in engineering to design structures that are as strong as possible with minimum material. Doctors use it to optimize drug dosages for maximum effect with minimum side effects, and economists use it to find maximum profit or minimum cost for businesses.

Common Mistakes

MISTAKE: Confusing positive second derivative with a maximum. | CORRECTION: Remember, a positive second derivative means the curve is 'cupping upwards' like a 'U', which indicates a MINIMUM point. A negative second derivative means it's 'cupping downwards' like an 'n', indicating a MAXIMUM point.

MISTAKE: Forgetting to find critical points by setting the first derivative to zero before applying the second derivative test. | CORRECTION: Always find the points where the slope is zero (critical points) using f'(x) = 0. The second derivative test is then applied at these specific points.

MISTAKE: Not evaluating the second derivative at the critical point, just looking at the general expression for f''(x). | CORRECTION: After finding f''(x), you must substitute the x-value(s) of your critical point(s) into f''(x) to get a numerical value and determine its sign.

Practice Questions
Try It Yourself

QUESTION: For the function f(x) = x^3, find f''(x) and determine if the Second Derivative Test can be used at x=0. | ANSWER: f'(x) = 3x^2, f''(x) = 6x. At x=0, f''(0)=0. The test fails because f''(x)=0, meaning it's inconclusive.

QUESTION: Find the local maximum or minimum for g(x) = -x^2 + 6x - 7 using the Second Derivative Test. | ANSWER: g'(x) = -2x + 6. Critical point at x=3. g''(x) = -2. Since g''(3) = -2 (negative), there is a local maximum at x=3. The maximum value is g(3) = - (3)^2 + 6(3) - 7 = -9 + 18 - 7 = 2.

QUESTION: A company's profit P(x) from selling x items is given by P(x) = -x^3 + 9x^2 - 15x + 10. Use the Second Derivative Test to find the number of items (x) that maximizes profit. (Assume x > 0) | ANSWER: P'(x) = -3x^2 + 18x - 15. Setting P'(x)=0 gives -3(x^2 - 6x + 5) = 0 => -3(x-1)(x-5)=0. Critical points are x=1 and x=5. P''(x) = -6x + 18. At x=1, P''(1) = -6(1)+18 = 12 (positive, so minimum). At x=5, P''(5) = -6(5)+18 = -30+18 = -12 (negative, so maximum). So, selling 5 items maximizes profit.

MCQ
Quick Quiz

If for a function f(x), at a critical point 'c', f''(c) is positive, what does this imply?

There is a local maximum at 'c'

There is a local minimum at 'c'

The test is inconclusive

The function is increasing at 'c'

The Correct Answer Is:

B

A positive value for the second derivative at a critical point means the curve is concave up, indicating a local minimum. A negative value would indicate a local maximum.

Real World Connection
In the Real World

Think about designing an Electric Vehicle (EV) battery. Engineers use the Second Derivative Test to find the optimal battery design parameters that give the maximum range (distance) on a single charge while keeping the cost and weight to a minimum. This helps Indian EV manufacturers like Tata Motors or Mahindra offer better, more efficient vehicles to customers.

Key Vocabulary
Key Terms

Derivative: The rate of change of a function | Second Derivative: The rate of change of the first derivative; tells about concavity | Critical Point: A point where the first derivative is zero or undefined | Local Maximum: The highest point in a specific region of a curve | Local Minimum: The lowest point in a specific region of a curve

What's Next
What to Learn Next

Next, you should explore the 'First Derivative Test for Optimisation'. It's another powerful tool for finding maximum and minimum values, and understanding both tests will give you a complete picture of how to analyze function behavior. Keep up the great work!

bottom of page