Lesson 2: Maximum value and minimum value of a function.
grade 12Maximum value of a functionMinimum value of a function
Lesson Objectives
Terminology:
· Maximum value of a function (Absolute / Global maximum)
· Minimum value of a function (Absolute / Global minimum)
Knowledge and Skills:
· Recognize the maximum and minimum values of a function on a given domain.
· Determine the maximum and minimum values of a function using derivatives and tables of variations.
· Master the procedure for finding the maximum and minimum values of a continuous function on a closed interval [a;b].
· Apply maximum and minimum value concepts to solve practical optimization problems (maximizing the volume of a cardboard box, modeling virus spread rates, minimizing container manufacturing costs).
Definition of Maximum and Minimum Values of a Function
Let the function y=f(x) be defined on a set D.
• A real number M is called the maximum value (or absolute maximum) of the function y=f(x) on D if f(x)≤M for all x∈D and there exists x0∈D such that f(x0)=M.
Notation: M=max_x∈Df(x) or M=maxDf(x).
• A real number m is called the minimum value (or absolute minimum) of the function y=f(x) on D if f(x)≥m for all x∈D and there exists x0∈D such that f(x0)=m.
Notation: m=min_x∈Df(x) or m=minDf(x).
Notes:
- When referring to the maximum and minimum values of a function f(x) without specifying a set D, it is understood to be on the entire natural domain of the function.
- To find the maximum and minimum values of a function on a general set D (open interval, half-open interval, unbounded set), we typically construct the table of variations of the function on D.
b) Examples and Practice on Finding Extrema on a Set
Example 1: Find the maximum and minimum values of the function y=f(x)=1−x2.
Solution to Example 1:
• Domain: D=[−1;1].
• Method 1 (Direct algebraic inequality):
- For all x∈[−1;1], we have 1−x2≥0⟹f(x)=1−x2≥0. Equality holds when x=−1 or x=1. Thus: min_[−1;1]f(x)=f(−1)=f(1)=0.
- On the other hand, 1−x2≤1⟹f(x)=1−x2≤1. Equality holds when x=0. Thus: max_[−1;1]f(x)=f(0)=1.
• Method 2 (Using a table of variations):
- On the open interval (−1;1): y′=−1−x2x. We have y′=0⟺x=0.
- Function values at endpoints: f(−1)=0,f(1)=0; at the critical point: f(0)=1.
- From the table of variations: max_[−1;1]y=1 at x=0 and min_[−1;1]y=0 at x=±1.
Example 2: Find the maximum and minimum values (if any) of the function y=x−2+x1 on the interval (0;+∞).
Solution to Example 2:
• For x∈(0;+∞), the derivative is:
y′=1−x21=x2x2−1.
• Setting y′=0⟺x2−1=0⟺x=1 (since x>0).
• Limits at the boundary points:
lim_x→0+y=+∞;lim_x→+∞y=+∞.
• Table of variations:
- On (0;1): y′<0⟹ the function decreases from +∞ to y(1)=0.
- On (1;+∞): y′>0⟹ the function increases from 0 to +∞.
• Conclusion: min_(0;+∞)y=y(1)=0; the function has no maximum value on (0;+∞).
Practice 1: Find the maximum and minimum values (if any) of the following functions:
a) y=2x−x2;
b) y=−x+x−11 on the interval (1;+∞).
Solution to Practice 1:
• a) Domain condition 2x−x2≥0⟺x∈[0;2].
Derivative: y′=2x−x21−x for x∈(0;2). We have y′=0⟺x=1.
Values at critical points and endpoints: y(0)=0,y(2)=0,y(1)=1.
Therefore: max_[0;2]y=1 at x=1; min_[0;2]y=0 at x=0 and x=2.
• b) For x∈(1;+∞), we have: y′=−1−(x−1)21=−(x−1)2(x−1)2+1<0,∀x>1.
The function is strictly decreasing on (1;+∞). Limits: lim_x→1+y=+∞, lim_x→+∞y=−∞.
Thus, the function has neither a maximum nor a minimum value on (1;+∞).
Finding the Maximum and Minimum Values of a Continuous Function on a Closed Interval
a) Practical Procedure on [a; b]
Extreme Value Theorem: Every continuous function on a closed bounded interval [a;b] attains both an absolute maximum and an absolute minimum value on that interval.
Steps to find the maximum and minimum values of a continuous function f(x) on [a;b]:
1. Find all critical points x1,x2,…,xn∈(a;b) where f′(x)=0 or where the derivative does not exist;
2. Compute the function values f(a),f(b),f(x1),f(x2),…,f(xn);
3. Compare the computed values. The greatest of these values is M=max_[a;b]f(x), and the least is m=min_[a;b]f(x).
b) Examples and Practice on Closed Intervals
Example 4: Find the maximum and minimum values of the function y=x4−4x2+3 on the interval [0;4].
Solution to Example 4:
• The function is continuous on [0;4].
• Derivative: y′=4x3−8x=4x(x2−2).
• Set y′=0⟺x=0 or x=±2. The interior point in (0;4) is x=2.
• Compute the values:
y(0)=3;y(2)=(2)4−4(2)2+3=4−8+3=−1;y(4)=44−4(42)+3=256−64+3=195.
• Comparison: The largest value is 195, and the smallest value is −1.
• Conclusion: max_[0;4]y=y(4)=195; min_[0;4]y=y(2)=−1.
Example 5: Find the maximum and minimum values of the function y=sinx+cosx on the interval [0;2π].
Solution to Example 5:
• Derivative: y′=cosx−sinx.
• Setting y′=0⟺cosx=sinx⟺tanx=1.
Solutions in (0;2π) are x=4π and x=45π.
• Evaluate function values:
y(0)=1;y(2π)=1;y(4π)=2;y(45π)=−2.
• Conclusion: max_[0;2π]y=y(4π)=2; min_[0;2π]y=y(45π)=−2.
Practice 2: Find the maximum and minimum values of the following functions:
a) y=2x3−3x2+5x+2 on [0;2];
b) y=(x+1)e−x on [−1;1].
Solution to Practice 2:
• a) y′=6x2−6x+5. Discriminant Δ′=9−30=−21<0⟹y′>0,∀x∈R.
The function is strictly increasing on [0;2]. Values: y(0)=2;y(2)=2(8)−3(4)+5(2)+2=16−12+10+2=16.
Thus: max_[0;2]y=16 at x=2; min_[0;2]y=2 at x=0.
• b) Derivative: y′=1⋅e−x+(x+1)(−e−x)=−xe−x.
y′=0⟺x=0∈(−1;1).
Evaluate function values:
y(−1)=0;y(0)=1;y(1)=2e−1=e2≈0.736.
Thus: max_[−1;1]y=y(0)=1; min_[−1;1]y=y(−1)=0.
Applications and Exercises
a) Real-World Optimization Problems
Application 1 (Maximizing the Volume of a Cardboard Box): From a square piece of cardboard with side length 60 cm, four congruent squares of side length x (cm) are cut from the corners, and the flaps are folded up to form an open rectangular box. Find x such that the volume of the box is maximized.
Solution to Application 1:
• Domain constraint for the cut square: 0<x<30.
• After folding, the open box has a square base of side 60−2x (cm) and height x (cm).
• The volume function of the box is:
V(x)=x(60−2x)2=4x3−240x2+3,600x (cm3).
• Derivative:
V′(x)=12x2−480x+3,600=12(x2−40x+300)=12(x−10)(x−30).
• Set V′(x)=0⟺x=10 (satisfies 0<x<30) or x=30 (rejected).
• Table of variations on (0;30):
- On (0;10): V′(x)>0⟹V(x) increases from 0 to V(10)=10(40)2=16,000.
- On (10;30): V′(x)<0⟹V(x) decreases from 16,000 to 0.
• Conclusion: The maximum volume of the box is 16,000 cm3, achieved when the cut side length is x=10 cm.
Application 2 (Epidemic Virus Spread Model): The spread of a virus in a community is modeled by the function N(t)=−t3+12t2 (0≤t≤12), where N is the number of infected individuals (in hundreds of people) and t is time (in weeks).
a) Estimate the maximum number of infected individuals in the community.
b) The derivative N′(t) represents the transmission rate (rate of spread) of the virus. When will the virus spread at the fastest rate?
Solution to Application 2:
• a) Consider the function N(t)=−t3+12t2 on the closed interval [0;12]:
- Derivative: N′(t)=−3t2+24t=−3t(t−8).
- Set N′(t)=0⟺t=0 or t=8.
- Values: N(0)=0;N(12)=−(12)3+12(12)2=0;N(8)=−(8)3+12(82)=−512+768=256.
- Therefore, the maximum number of infected individuals is 256 hundred people, or 25,600 people, occurring at week 8.
• b) The rate of spread is given by v(t)=N′(t)=−3t2+24t on [0;12]:
- Derivative of rate: v′(t)=−6t+24.
- Set v′(t)=0⟺t=4 (weeks).
- As t passes through 4, v′(t) changes sign from positive to negative; hence the transmission rate reaches its maximum at t=4, with v(4)=−3(16)+24(4)=48 (hundred people/week).
- Therefore, the virus spreads fastest at week 4.
b) End-of-Lesson Exercises
Exercise 1.10: Find the maximum and minimum values (if any) of the following functions:
a) y=−x2+4x+3;
b) y=x3−2x2+1 on [0;+∞);
c) y=x−1x2−2x+3 on (1;+∞);
d) y=4x−2x2.
Solution to Exercise 1.10:
• a) y=−(x−2)2+7≤7. Equality holds when x=2. Thus max_Ry=7; the function has no minimum value.
• b) On [0;+∞): y′=3x2−4x=x(3x−4). y′=0⟺x=0 or x=34.
Values: y(0)=1,y(34)=−275,lim_x→+∞y=+∞.
Thus min_[0;+∞)y=−275 at x=34; the function has no maximum value.
• c) For x>1: y=x−1(x−1)2+2=(x−1)+x−12.
By the AM-GM inequality: y≥2(x−1)⋅x−12=22.
Equality holds when x−1=x−12⟺x=1+2.
Thus min_(1;+∞)y=22; the function has no maximum value.
• d) Domain condition 4x−2x2≥0⟺x∈[0;2]. We have 4x−2x2=2−2(x−1)2∈[0;2].
Therefore: maxy=2 at x=1; miny=0 at x=0 or x=2.
Exercise 1.12: Find the maximum and minimum values of the following functions:
a) y=2x3−6x+3 on the interval [−1;2];
b) y=x4−3x2+2 on the interval [0;3];
c) y=x−sin2x on the interval [0;π];
d) y=(x2−x)ex on the interval [0;1].
Solution to Exercise 1.12:
• a) y′=6x2−6=6(x2−1)=0⟺x=±1. The interior critical point is x=1.
Values: y(−1)=7,y(1)=−1,y(2)=7.
Thus max_[−1;2]y=7 (at x=−1,x=2); min_[−1;2]y=−1 (at x=1).
• b) y′=4x3−6x=2x(2x2−3)=0⟺x=0 or x=23∈(0;3).
Values: y(0)=2;y(23)=−41;y(3)=56.
Thus max_[0;3]y=56 (at x=3); min_[0;3]y=−41 (at x=23).
• c) y′=1−2cos2x=0⟺cos2x=21⟺2x=3π or 2x=35π⟺x=6π or x=65π.
Values: y(0)=0;y(π)=π;y(6π)=6π−23≈−0.34;y(65π)=65π+23≈3.48.
Thus max_[0;π]y=65π+23; min_[0;π]y=6π−23.
• d) y′=(2x−1)ex+(x2−x)ex=(x2+x−1)ex.
y′=0⟺x2+x−1=0⟺x=2−1+5∈(0;1).
Values: y(0)=0,y(1)=0,y(2−1+5)=(2−5)e25−1≈−0.44.
Thus max_[0;1]y=0 (at x=0,x=1); min_[0;1]y=(2−5)e25−1.
Exercise 1.14 (Designing an Open Box with Square Base and Maximum Volume): A manufacturer wishes to design an open-top rectangular box with a square base of side length x and height h, having a total surface area of 108 cm2. Find the dimensions of the box to maximize its volume.
Solution to Exercise 1.14:
• The surface area of the open-top box consists of 1 base and 4 sides:
S=x2+4xh=108⟹h=4x108−x2(0<x<108=63).
• The volume of the box is:
V(x)=x2h=x2⋅4x108−x2=41(108x−x3).
• Derivative:
V′(x)=41(108−3x2)=43(36−x2).
• Setting V′(x)=0⟺x=6 (since x>0).
• For x=6, we obtain h=24108−36=2472=3 (cm).
• Since V′(x) changes sign from positive to negative as x passes through 6, the volume achieves its absolute maximum at x=6 cm and h=3 cm, with V_max=62⋅3=108 cm3.
Exercise 1.15 (Cost Minimization for a Cylindrical Container): A manufacturer produces cylindrical cans with a capacity of 1,000 cm3. The material for the top and bottom covers costs 1.2 thousand VND/cm2, while the material for the lateral surface costs 0.75 thousand VND/cm2. Find the radius r and height h that minimize the material cost per can.
Solution to Exercise 1.15:
• Cylinder volume: V=πr2h=1,000⟹h=πr21,000 (r>0).
• The area of the two circular bases is 2πr2; the lateral area is 2πrh=2πr⋅πr21,000=r2,000.
• The total production cost function is:
C(r)=1.2⋅(2πr2)+0.75⋅(r2,000)=2.4πr2+r1,500 (thousand VND).
• Derivative:
C′(r)=4.8πr−r21,500=r24.8πr3−1,500.
• Setting C′(r)=0⟺r3=4.8π1,500=π312.5⟹r=3π312.5≈4.63 (cm).
• The corresponding height is:
h=πr21,000=π(π312.5)2/31,000=π1/3(312.5)2/31,000≈14.82 (cm)=3.2r.
• Since C′(r) changes sign from negative to positive as r passes through 3π312.5, the cost achieves its absolute minimum at these dimensions.