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

S7-SA1-0653

What are Local Extrema of a Function?

Grade Level:

Class 12

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

Definition
What is it?

Local extrema are the highest or lowest points of a function within a specific small region or interval. They are like finding the peak of a small hill or the bottom of a small valley on a graph, not necessarily the highest or lowest point of the entire graph.

Simple Example
Quick Example

Imagine you are tracking the temperature in your city over a day. A local maximum would be the highest temperature recorded for a few hours in the afternoon, even if some other day in the year had a much higher temperature. A local minimum would be the lowest temperature recorded for a few hours in the early morning.

Worked Example
Step-by-Step

Let's find the local extrema for the function f(x) = x^3 - 3x^2 + 2.

Step 1: Find the first derivative of the function. f'(x) = 3x^2 - 6x.
---Step 2: Set the first derivative to zero to find critical points. 3x^2 - 6x = 0. This simplifies to 3x(x - 2) = 0.
---Step 3: Solve for x. The critical points are x = 0 and x = 2.
---Step 4: Find the second derivative of the function. f''(x) = 6x - 6.
---Step 5: Test the critical points using the second derivative test. For x = 0, f''(0) = 6(0) - 6 = -6. Since f''(0) < 0, x = 0 is a local maximum.
---Step 6: Calculate the function value at x = 0. f(0) = (0)^3 - 3(0)^2 + 2 = 2. So, (0, 2) is a local maximum.
---Step 7: Test the other critical point. For x = 2, f''(2) = 6(2) - 6 = 12 - 6 = 6. Since f''(2) > 0, x = 2 is a local minimum.
---Step 8: Calculate the function value at x = 2. f(2) = (2)^3 - 3(2)^2 + 2 = 8 - 12 + 2 = -2. So, (2, -2) is a local minimum.

Answer: The local maximum is at (0, 2) and the local minimum is at (2, -2).

Why It Matters

Understanding local extrema is super important in many fields! In AI/ML, it helps algorithms find the best 'solution' or 'model' by minimizing errors. In engineering, it's used to design structures for maximum strength or minimum cost. Even in finance, it helps predict peak profits or lowest losses for businesses.

Common Mistakes

MISTAKE: Confusing local extrema with global extrema. | CORRECTION: Local extrema are the highest/lowest in a small area, while global extrema are the absolute highest/lowest points of the entire function.

MISTAKE: Forgetting to check the second derivative (or sign change in first derivative) to confirm if a critical point is a maximum or minimum. | CORRECTION: After finding critical points where f'(x)=0, use the second derivative test (f''(x) > 0 for minimum, f''(x) < 0 for maximum) or analyze the sign change of f'(x) around the critical point.

MISTAKE: Not finding the y-coordinate (function value) after finding the x-coordinate of the extremum. | CORRECTION: Always substitute the x-value of the critical point back into the original function f(x) to get the corresponding y-value, which gives the actual point (x, f(x)) of the extremum.

Practice Questions
Try It Yourself

QUESTION: For the function f(x) = x^2 - 4x + 5, find the x-coordinate of the local extremum. | ANSWER: x = 2

QUESTION: Find the local maximum and minimum values for the function f(x) = 2x^3 - 3x^2 - 12x + 1. | ANSWER: Local maximum value at x = -1 is 8. Local minimum value at x = 2 is -19.

QUESTION: A company's profit P(x) in lakhs of rupees for selling x thousand units of a product is given by P(x) = -x^2 + 10x - 15. Find the number of units (in thousands) that should be sold to achieve maximum profit. | ANSWER: 5 thousand units (x=5)

MCQ
Quick Quiz

Which of the following conditions indicates a local maximum at a critical point 'c' for a function f(x)?

f'(c) = 0 and f''(c) > 0

f'(c) = 0 and f''(c) < 0

f'(c) > 0 and f''(c) = 0

f'(c) < 0 and f''(c) > 0

The Correct Answer Is:

B

For a local maximum, the first derivative f'(c) must be zero (a critical point), and the second derivative f''(c) must be negative, indicating the curve is concave downwards at that point.

Real World Connection
In the Real World

Think about the price of petrol in India. Over a month, the price might go up and down. A local maximum would be the highest price reached for a few days before it starts to drop again. Companies like Ola or Swiggy use algorithms that find local extrema to optimize delivery routes (minimum distance) or surge pricing (maximum profit) in specific areas at certain times.

Key Vocabulary
Key Terms

CRITICAL POINT: A point where the first derivative is zero or undefined, indicating a potential extremum or inflection point. | FIRST DERIVATIVE TEST: A method to find local extrema by checking the sign change of the first derivative around a critical point. | SECOND DERIVATIVE TEST: A method to find local extrema by checking the sign of the second derivative at a critical point. | LOCAL MAXIMUM: The highest point in a specific small interval of a function. | LOCAL MINIMUM: The lowest point in a specific small interval of a function.

What's Next
What to Learn Next

Now that you understand local extrema, you should learn about 'Global Extrema of a Function'. This will help you find the absolute highest and lowest points over the entire domain of a function, which builds directly on what you've learned here.

bottom of page