This is a beta course, so its structure, chapters, and examples may continue to change.
Extrema of a Function
Necessary Condition for an Extremum
Mathematical formula
A formula is a symbolic expression of quantitative relations and structural patterns, and an essential tool for solving mathematical problems. Key formulas should be mastered and applied flexibly.
Necessary Condition for an Extremum
If the function f(x) attains an extremum at the point x0 and is differentiable there, then
f′(x0)=0
Note: f′(x0)=0 is a necessary condition for an extremum, but not a sufficient one.
Sufficient Conditions for an Extremum
First Sufficient Condition
Mathematical formula
A formula is a symbolic expression of quantitative relations and structural patterns, and an essential tool for solving mathematical problems. Key formulas should be mastered and applied flexibly.
First Sufficient Condition
Suppose the function f(x) is continuous in a neighborhood of the point x0 and differentiable on the punctured neighborhood, and either f′(x0)=0 or f′(x0) does not exist. Then:
If f′(x)>0 for x<x0 and f′(x)<0 for x>x0, then f(x0) is a local maximum
If f′(x)<0 for x<x0 and f′(x)>0 for x>x0, then f(x0) is a local minimum
Second Sufficient Condition
Mathematical formula
A formula is a symbolic expression of quantitative relations and structural patterns, and an essential tool for solving mathematical problems. Key formulas should be mastered and applied flexibly.
Second Sufficient Condition
Suppose the function f(x) is twice differentiable at the point x0 and f′(x0)=0. Then:
If f′′(x0)>0, then f(x0) is a local minimum
If f′′(x0)<0, then f(x0) is a local maximum
Applied Examples
Mathematical formula
A formula is a symbolic expression of quantitative relations and structural patterns, and an essential tool for solving mathematical problems. Key formulas should be mastered and applied flexibly.
Applying the Method for Finding Extrema
Example 1: Find the extremum points and the extreme values of f(x)=x3−3x2+2.
Solution:
f′(x)=3x2−6x=3x(x−2)
Setting f′(x)=0 gives x=0,2
f′′(x)=6x−6
f′′(0)=−6<0, so x=0 is a local maximum point with f(0)=2
f′′(2)=6>0, so x=2 is a local minimum point with f(2)=−2
x=0 is a local maximum point and x=2 is a local minimum point
Exercises
Exercise 1
Find the extremum points and the extreme values of f(x)=x3−3x2+2.
derivative applicationsextrematangent lines
Approach:
Differentiate, locate the stationary points, and classify them.
Steps:
f′(x)=3x2−6x=3x(x−2)
Setting f′(x)=0 gives x=0,2
f′′(x)=6x−6
f′′(0)=−6<0, so x=0 is a local maximum point with f(0)=2
f′′(2)=6>0, so x=2 is a local minimum point with f(2)=−2
Answer: Local maximum point (0,2), local minimum point (2,−2).
Exercise 2
Find the extrema of f(x)=xx2+1.
derivative applicationsextrematangent lines
Approach:
Differentiate, locate the stationary points, and classify them.
Steps:
f′(x)=x22x⋅x−(x2+1)=x2x2−1
Setting f′(x)=0 gives x=±1
f′′(x)=x42x3−2x(x2−1)=x32
f′′(1)=2>0, so x=1 is a local minimum point with f(1)=2
f′′(−1)=−2<0, so x=−1 is a local maximum point with f(−1)=−2
Answer: Local maximum point (−1,−2), local minimum point (1,2).
Exercise 3
Find the extrema of f(x)=x4−8x2+16.
derivative applicationsextrematangent lines
Approach:
Differentiate, locate the stationary points, and classify them.
Steps:
f′(x)=4x3−16x=4x(x2−4)=4x(x−2)(x+2)
Setting f′(x)=0 gives x=0,±2
f′′(x)=12x2−16
f′′(0)=−16<0, so x=0 is a local maximum point with f(0)=16
f′′(2)=32>0, so x=2 is a local minimum point with f(2)=0
f′′(−2)=32>0, so x=−2 is a local minimum point with f(−2)=0
Answer: Local maximum point (0,16), local minimum points (2,0) and (−2,0).
Exercise 4
Given f(x)=∫0xet2sintdt, decide whether x=0 is an extremum point of f(x), and if so, whether it is a local maximum point or a local minimum point.
derivative applicationsextrematangent lines
Approach:
Differentiate the function with a variable upper limit and examine the derivative at x=0.
Steps:
f′(x)=ex2sinx
f′(0)=e0sin0=0, so x=0 is a stationary point
f′′(x)=2xex2sinx+ex2cosx
f′′(0)=0+e0cos0=1>0
By the second sufficient condition, f′′(0)>0, so x=0 is a local minimum point
Answer: x=0 is a local minimum point of f(x).
Exercise 5
Let f(x)=x2+y2, where x,y satisfy the constraint x+y=1. Find the extrema of f(x,y) subject to the constraint.
derivative applicationsextrematangent lines
Approach:
Use the Lagrange multiplier method to find the constrained extrema.
Steps:
Build the Lagrangian: L(x,y,λ)=x2+y2+λ(x+y−1)
Compute the partial derivatives and set them equal to zero:
∂x∂L=2x+λ=0
∂y∂L=2y+λ=0
∂λ∂L=x+y−1=0
The first two equations give 2x+λ=0 and 2y+λ=0
Hence 2x=2y, that is, x=y
Substituting into the constraint: x+x=1, so x=y=21
Evaluate the function: f(21,21)=(21)2+(21)2=41+41=21
Answer: Under the constraint x+y=1, f(x,y) attains the local minimum 21 at the point (21,21).
Exercise 6
Find the maximum and minimum values of f(x,y)=x3+y3−(x+y)3+3 on the region D={(x,y)∣x≥0,y≥0,x+y≤3}.
derivative applicationsextrematangent lines
Approach:
Use the method for finding the extrema of a function of several variables, considering separately the stationary points inside the region and the extrema on the boundary.
Steps:
Find the stationary points inside the region:
∂x∂f=3x2−2(x+y)=0
∂y∂f=3y2−2(x+y)=0
Solving gives the stationary points: (0,0),(34,34)
f(0,0)=3,f(34,34)=2717
Find the extrema on the boundary:
Boundary y=0,0≤x≤3: f(x,0)=x3−x2+3
f′(x,0)=3x2−2x=0 gives x=0,32
f(0,0)=3,f(32,0)=2777
Boundary x=0,0≤y≤3: by the same reasoning, f(0,32)=2777
Boundary x+y=3: f(x,3−x)=x3+(3−x)3−6x+3
Differentiating gives the stationary point x=23, f(23,23)=−43
Compare all the extremal values:
Maximum value: f(3,0)=f(0,3)=21
Minimum value: f(34,34)=2717
Answer: The maximum value is 21 and the minimum value is 2717.
Exercise 7
Let f(x) have a second derivative, and suppose f′(0)=f′(1) and ∣f′′(x)∣≤1. Prove that for x∈(0,1), ∣f(x)−f(0)(1−x)−f(1)x∣≤2x(1−x).
derivative applicationsextrematangent lines
Approach:
Expand with Taylor’s formula and combine it with the boundedness of the second derivative to prove the inequality.
Steps:
Expand f(x) at x=0 with Taylor’s formula:
f(x)=f(0)+f′(0)x+2!f′′(ξ1)x2, where ξ1∈(0,x)
Expand f(x) at x=1 with Taylor’s formula:
f(x)=f(1)+f′(1)(x−1)+2!f′′(ξ2)(x−1)2, where ξ2∈(x,1)
Since f′(0)=f′(1), adding the two equations gives:
f(x)−f(0)(1−x)−f(1)x=2!f′′(ξ1)x(1−x)+2!f′′(ξ2)x(x−1)
Since ∣f′′(x)∣≤1:
∣f(x)−f(0)(1−x)−f(1)x∣≤21x(1−x)+21x(1−x)=2x(1−x)
Answer: The inequality is proved.
Exercise 8
Let f(x)=∫1xt(2−lnt)dt. Find the maximum value of f(x) on (0,+∞).
derivative applicationsextrematangent lines
Approach:
Use the derivative of the function with a variable upper limit, find the stationary points, and classify them.
Steps:
Differentiate:
f′(x)=x(2−lnx)
Find the stationary points:
Setting f′(x)=0 gives x(2−lnx)=0
Solving gives x=0 or x=e2
Classify the extremum:
When 0<x<e2, f′(x)>0, so the function is monotonically increasing
When x>e2, f′(x)<0, so the function is monotonically decreasing
So f(x) attains a local maximum at x=e2, which is also the maximum value
Compute the maximum value:
f(e2)=∫1e2t(2−lnt)dt=41e4−45
Answer: The maximum value is 41e4−45.
Exercise 9
Find the extrema of f(x,y)=(y−x2)(y−x3).
derivative applicationsextrematangent lines
Approach:
Use the method for finding the extrema of a function of several variables: compute the partial derivatives and apply the sufficient conditions.
Steps:
Compute the partial derivatives:
∂x∂f=−2x(y−x2)−3x2(y−x3)=0
∂y∂f=2y−x2−3x3=0
Find the stationary points:
Solving gives the stationary points (0,0),(1,1),(32,2710)
Compute the second partial derivatives:
fxx=−2y−3y+15x2
fxy=−2x−3x2
fyy=2
Classify the extrema:
Point (0,0): A=fxx=0,B=fxy=0,C=fyy=2AC−B2=0, so the sufficient condition fails
A limit analysis shows that (0,0) is not an extremum point
Point (1,1): A=fxx=12,B=fxy=−5,C=fyy=2AC−B2=24−25=−1<0, so it is not an extremum point
Point (32,2710): A=fxx=27100,B=fxy=38,C=fyy=2AC−B2>0 and A>0, so it is a local minimum point
Answer: The function attains a local minimum at the point (32,2710).
Exercise 10
Let f(x) have a continuous second derivative on [−a,a], and suppose f(x) attains an extremum in (−a,a) and f(x) is differentiable at x=x0. Prove that there exists η∈(−a,a) such that ∣f′′(η)∣≥2a21∣f(a)−f(−a)∣.
derivative applicationsextrematangent lines
Approach:
Expand with Taylor’s formula and combine it with the property of the extremum to prove the inequality.
Steps:
Use the property of the extremum:
Since f(x) attains an extremum at x0∈(−a,a) and is differentiable there, f′(x0)=0
Taylor expansion:
f(−a)=f(x0)+f′(x0)(−a−x0)+2!f′′(γ1)(−a−x0)2
where −a<γ1<x0
f(a)=f(x0)+f′(x0)(a−x0)+2!f′′(γ2)(a−x0)2
where x0<γ2<a
Use continuity:
Let M=max{∣f′′(γ1)∣,∣f′′(γ2)∣}, then
∣f(a)−f(−a)∣≤21M[(a−x0)2+(a+x0)2]=M(a2+x02)
Draw the conclusion:
When x0∈(−a,a), ∣f(a)−f(−a)∣≤2Ma2
so M≥2a21∣f(a)−f(−a)∣
that is, there exists η∈(−a,a) such that ∣f′′(η)∣≥2a21∣f(a)−f(−a)∣
Answer: The inequality is proved.
Exercise 11
Find the maximum value of f(x,y)=(x2+y2)e−(x+y) on x≥0,y≥0.
derivative applicationsextrematangent lines
Approach:
Use the method for finding the extrema of a function of several variables, considering separately the stationary points inside the region and the extrema on the boundary.
Steps:
Find the stationary points inside the region:
∂x∂f=e−(x+y)(2x−x2−y2)=0
∂y∂f=e−(x+y)(2y−x2−y2)=0
Solving gives the stationary points: (0,0),(1,1)
Classify the stationary points:
For the stationary point (0,0): A=2,B=0,C=2,AC−B2>0,A>0, so (0,0) is a local minimum point with f(0,0)=0
For the stationary point (1,1): A=0,B=−2e−2,C=0,AC−B2<0, so (1,1) is not an extremum point
Find the extrema on the boundary:
Boundary y=0,x≥0: f(x,0)=x2e−x
f′(x,0)=(2x−x2)e−x=0 gives x=0,2
f(0,0)=0,f(2,0)=4e−2
Boundary x=0,y≥0: by the same reasoning, f(0,2)=4e−2
Answer: The maximum value is 4e−2.
Exercise 12
Let f(x) have a continuous second derivative on [a,b] and suppose f′′(x)≥0. Prove that for any x∈(a,b),
f(x)≥f(a)+b−af(b)−f(a)(x−a)
derivative applicationsextrematangent lines
Approach:
Use the convexity of the function together with Taylor’s formula to carry out the proof.
Steps:
Use Taylor’s formula:
For any x∈(a,b), expand at the point a up to second order:
f(x)=f(a)+f′(a)(x−a)+2f′′(ξ)(x−a)2
where ξ∈(a,x)
Use the convexity condition:
Since f′′(x)≥0, we have f′′(ξ)≥0, and therefore:
f(x)≥f(a)+f′(a)(x−a)
Use the Lagrange mean value theorem:
Apply the Lagrange mean value theorem on [a,b]:
f′(a)=b−af(b)−f(a)−2f′′(η)(b−a)
where η∈(a,b)
Finish the proof:
Since f′′(η)≥0:
f′(a)≤b−af(b)−f(a)
Substituting this into the inequality gives:
f(x)≥f(a)+b−af(b)−f(a)(x−a)