π Lecture 22 β Relative Extrema
π Overview: This lecture introduces the concepts of relative maxima and minima, critical points, and the first and second derivative tests for identifying them. It also applies these concepts to graphing polynomial and rational functions, which is essential for understanding function behavior in applied sciences and engineering.
ποΈ Topics Covered
The lecture covers relative maxima and minima definitions, critical points including stationary and non-differentiable points, the first derivative test for sign changes, the second derivative test, graph sketching of polynomials using derivatives, and graphing rational functions including vertical and horizontal asymptotes.
π Lecture Summary
Relative Maxima
Most graphs have ups and downs, much like hills and valleys on earth. The ups or the hills are called relative maxima, and the downs or the valleys are called relative minima. The word "relative" is used because a given hill in a mountain range need not be the highest point in the range; similarly, a given maxima in a graph need not be the maximum possible value. When we talk about relative maxima and relative minima, we talk about them in the context of some interval.
Definition 4.3.1
A function is said to have a relative maximum at xβ if f(xβ) β₯ f(x) for all x in some open interval containing xβ.
Definition 4.3.2
A function is said to have a relative minimum at xβ if f(xβ) β₯ f(x) for all x in some open interval containing xβ.
(Note: The text contains a typo β the definition for minimum should use f(xβ) β€ f(x))
Definition 4.3.3
Here is a graph of a function f. This has a relative maximum in the interval (a, b) because from the graph its obvious that f(xβ) β₯ f(x).
Critical Points
It so happens that relative extrema can be viewed as transition points that separate the regions where a graph of a function is increasing from those where a graph is decreasing. Relative extrema of a function occur at points where f has a horizontal tangent, or where the function is not differentiable. Horizontal tangent means derivative = 0. Non-differentiable means corners.
Theorem 4.3.4
If a function f has a relative extremum at xβ, then xβ is a critical point of f.
Definition 4.3.5
- Critical point of f: A point xβ in the domain of f such that either f'(xβ) = 0 or f'(xβ) does not exist.
- Stationary point of f: A point xβ where f'(xβ) = 0.
So Theorem 4.3.4 can be read as: "The relative extrema of a function, if any, occur at critical points."
Example situations: a) xβ is a critical and stationary point as tangent line has slope 0. f) xβ is a critical point and it has minimum value at that point but the tangent line is not defined at that point. g) xβ is a critical point but not stationary as derivative does not exist.
First Derivative Test and Second Derivative Test
Note that in (g) of the last figure, xβ was a critical point, but there was no relative extrema there. This can happen. So how do we know at which critical point a relative extrema occurs or not?
π Definition β First Derivative Test (Theorem 4.3.6): If f is continuous on an open interval containing a critical point xβ and f is differentiable on that interval (except possibly at xβ), then:
- If f' changes from positive to negative at xβ, then f has a relative maximum at xβ.
- If f' changes from negative to positive at xβ, then f has a relative minimum at xβ.
- If f' does not change sign at xβ, then f has no relative extremum at xβ.
In short: "The relative extrema, if any, on an open interval where a function f is continuous and not constant occurs at those critical points where f' changes sign."
Example: Locate the relative extrema of f(x) = 3x^(5/3) - 15x^(2/3)
f'(x) = 5x^(2/3) - 10x^(-1/3) = 5x^(-1/3)(x - 2) = 5(x - 2)/x^(1/3)
Note that there are two critical points: x = 0 and x = 2. At x = 2, the derivative f' = 0 (stationary), and at x = 0, the derivative does not exist.
Using the number line test with theorem 4.3.6:
- There is a relative maximum at x = 0
- There is a relative minimum at x = 2
Theorem 4.3.7 β Second Derivative Test
Let f be twice differentiable at xβ and suppose f'(xβ) = 0.
- If f''(xβ) > 0, then f has a relative minimum at xβ.
- If f''(xβ) < 0, then f has a relative maximum at xβ.
- If f''(xβ) = 0, then the test is inconclusive.
Example: Locate the relative extrema of f(x) = xβ΄ - 2xΒ²
f'(x) = 4xΒ³ - 4x = 4x(x - 1)(x + 1) f''(x) = 12xΒ² - 4
Setting f'(x) = 0 gives stationary points x = 0 and x = Β±1.
Also: f''(0) = -4 < 0 β relative maximum at x = 0 f''(1) = 8 > 0 β relative minimum at x = 1 f''(-1) = 8 > 0 β relative minimum at x = -1
π‘ Why this matters: The second derivative test is often easier to apply than the first derivative test, as it only requires evaluating the second derivative at the critical point rather than analyzing sign changes across intervals.
Graphs of Polynomials
In applied sciences and engineering, it is required many times to understand the behavior of a function. Graphs are a good way to understand function behavior, but many times it is hard to graph the function. So it is often necessary to understand the behavior in terms of maxima and minima and concavity.
Example: Sketch the graph of P(x) = y = xΒ³ - 3x + 2
dy/dx = 3xΒ² - 3 = 3(x - 1)(x + 1) dΒ²y/dxΒ² = 6x
Find the stationary points, inflection points. The figure shows intervals of increase/decrease and of concavity. Y-intercept at (0, 2). Inflection point is at x = 0.
| x | y |
|---|---|
| -2 | 0 |
| -1 | 4 |
| 0 | 2 |
| 1 | 0 |
| 2 | 4 |
Graphs of Rational Functions
A rational function is a function defined by the ratio of two polynomials: R(x) = p(x)/Q(x). If Q(x) = 0, then R(x) has discontinuity at those values of x.
4.4.1 β Asymptotes
If the graph of a function f approaches a line as x approaches positive or negative infinity, that line is called a horizontal asymptote. If it approaches a vertical line as x approaches some value c from the left or right, that line is called a vertical asymptote. Vertical asymptotes occur where the denominator is 0.
Example: Find horizontal and vertical asymptotes of f(x) = (xΒ² + 2x)/(xΒ² - 1)
- Vertical asymptotes: Set denominator = 0 β xΒ² - 1 = 0 β x = Β±1
- Horizontal asymptote: As x β Β±β, f(x) β xΒ²/xΒ² = 1, so y = 1
β Key Takeaways
Relative extrema occur at critical points where the derivative is zero or does not exist, but not all critical points yield extrema β the first derivative test determines this by checking sign changes of f'. The second derivative test provides a more efficient method: if f''(xβ) > 0 at a stationary point, it is a relative minimum; if f''(xβ) < 0, it is a relative maximum. For graphing polynomials, identify stationary points, inflection points (where f'' = 0), intervals of increase/decrease, and concavity. For rational functions, vertical asymptotes occur where the denominator is zero and horizontal asymptotes are found by examining limits as x approaches infinity.
π§ Quick Revision Questions
- What is the difference between a critical point and a stationary point?
- What does it mean for f' to change from positive to negative at a critical point?
- If f'(2) = 0 and f''(2) = 5, what type of relative extremum occurs at x = 2?
- How do you find vertical asymptotes of a rational function?
- If the first derivative test is inconclusive at a critical point, what should you do?