Basic Calculus Q4 Optimization
Basic Calculus Q4 Optimization
A crucial step in the process of finding optimal solutions to a problem is mathematical modeling.
You should be able to set up an accurate function for the objective in terms of the variable you
choose to control.
For example, you have a rectangular piece of material whose dimensions are 36 𝑐𝑚 and 24 𝑐𝑚,
and you will use it to make an open-typed rectangular box by cutting out identical squares from the
four corners and then turning up the sides. To make the largest possible box, you may try to control
the length of the side of the squares. That is tantamount to controlling the height of the box to
maximize volume.
Setting up a function for the volume of the box requires you to utilize your knowledge on solids.
It also helps if you can sketch the given piece of material and the desired box.
We let 𝑥 be the length of the side of the squares. With the aid of the sketches below, we will
express the volume as a function of 𝑥.
The function above is our key to finding the height that will give the largest box. But before that,
we should first determine and consider the constraints. We also need to understand how
differentiation works in finding the value of 𝑥 which may give the highest possible value of 𝑉.
1|Page
Basic Calculus_Q3_W6
• 𝑥0 is a critical point of 𝑓 if 𝑓 ′ (𝑥0 ) = 0 or 𝑓 ′ (𝑥0 ) does not exist (that is, 𝑓 has a corner or a
cusp at (𝑥0 , 𝑓(𝑥0 ))).
• the maximum of 𝑓 occurs at 𝑥0 if the value 𝑓(𝑥0 ) is the largest among all other functional
values on 𝐼, that is,
𝑓(𝑥0 ) ≥ 𝑓(𝑥) for all 𝑥 ∈ 𝐼.
• the minimum of 𝑓 occurs at 𝑥0 if the value 𝑓(𝑥0 ) is the smallest among all other functional
values on 𝐼, that is,
𝑓(𝑥0 ) ≤ 𝑓(𝑥) for all 𝑥 ∈ 𝐼.
• the extremum of 𝑓 occurs at 𝑥0 if either the maximum or the minimum occurs at 𝑥0 .
__________
Let us use the definition above to find the critical points of some functions.
1. 𝑓(𝑥) = 𝑥 2 − 3𝑥 − 4
This function is continuous everywhere. To find the critical points, we need to equate its
derivative to zero, and then solve for 𝑥.
2. 𝑓(𝑥) = 2𝑥 3 − 3𝑥 2 − 12𝑥 − 6
Since the function is continuous on 𝑅, then both −1 and 2 are critical points.
1
3. 𝑓(𝑥) = 𝑥 − 2√𝑥 or 𝑓(𝑥) = 𝑥 − 2𝑥 2
2|Page
Basic Calculus_Q3_W6
Let 𝑓 be a function which is continuous on a closed and bounded interval [𝑎 , 𝑏]. Then the extreme
values (maximum and minimum) of 𝑓 always exist, and they occur at the endpoints or at the critical
points of 𝑓.
Like the IVT, the EVT is an existence theorem. And, it also has
conditions. In cases where at least one condition is not satisfied,
the EVT cannot be invoked. For example, the function is not
continuous on the interval. Another is when the given interval is
not bounded.
1. 𝑓(𝑥) = 𝑥 2 − 3𝑥 − 4 on [−2 , 2]
𝑥 −2 3 2
2
𝑓(𝑥) 6 −6.25 −6
max min
3. 𝑓(𝑥) = 𝑥 − 2√𝑥 on [0 , 4]
𝑥 0 1 4 Item #1
𝑓(𝑥) 0 −1 0
max min max
5 1
4. 𝑓(𝑥) = 𝑥 4 + 10𝑥 4 on [0 , 1]
𝑥 0 1
𝑓(𝑥) 0 11 Item #3
min max Item #2 Item #4
3|Page
Basic Calculus_Q3_W6
At this point, we will find the critical points of our function for the box problem. We will also
consider the constraint that the length of the side of the squares should be longer than 0 𝑐𝑚 but
shorter than 12 𝑐𝑚, because if 𝑥 is not within this range, the box will become imaginary. Hence, we
will define 𝑉(𝑥) to be continuous over [0 , 12].
Note also that at 𝑥 = 0 or 𝑥 = 12, the volume of our box is 0 since one of its dimensions will be
zero. We will include these values to make our interval closed and bounded so that we can apply
EVT. By the way, such box whose volume is zero called a degenerate box.
Solution:
Finding the roots of the quadratic equation, we obtain (10 − 2√7) ≈ 4.7 and (10 + 2√7) ≈ 15.3.
But since 15.3 is not included in our interval, the only critical point here is 4.7.
Finally, to find its extrema, we will evaluate 𝑉 at 0, 4.7, and 12.
𝑥 0 4.7 12
𝑉(𝑥) 0 1, 825.30 0
min Max min
Hence, the minimum volume of the box is 0 𝑐𝑚3 while its maximum volume is approximately
1, 825.30 𝑐𝑚3 . To construct the largest possible box, the length of the side of the squares to be cut
out should be 4.7 𝑐𝑚.
__________
1. Identify the objective and what is asked. You may make a mental note of them or write
them on your paper. There are cases where a problem requires the point which gives the
maximum or minimum functional value. Sometimes, learners carelessly give the extreme
functional value instead of the required point.
2. Sketch. This helps in identifying the relationship among the variables involved. It also
helps in determining the constraints and the interval to be used.
3. The most critical and the most difficult part of the process is formulating the function.
Sometimes, in one problem, there are multiple variables on which the objective depends.
These variables are related in one way or another. Their relationships can be expressed
using equations. You can use said equations to express one variable in terms of the other.
4. When evaluating the function at the critical points and at the endpoints of the interval,
always organize your entries using a table.
5. After completing the table, go back to what is asked in the problem. Always write your
answer in complete sentence. Don’t forget to indicate the units.
4|Page
Basic Calculus_Q3_W6
• To maximize 𝑃 the value of the second number should be 20 while the value of the
first number should be (30 − 20) = 10.
2. The gulayan area of Mangaldan National High School is to be fenced using a material that is
120 feet long. Find the dimensions of the gulayan if the area is a maximum.
• The objective is the area of the gulayan. Let it be 𝐴. We are required to find the
dimensions that give the biggest area.
• Let 𝑥 be the width of the gulayan. Let it be our control variable.
• Here is our initial picture of the garden.
𝑥 𝑥
• With the aid of the illustration, we represent the length of the gulayan as 120 − 2𝑥.
• Our model is 𝐴(𝑥) = 𝑥(120 − 2𝑥) = 120𝑥 − 2𝑥 2 . Let it be continuous over [0 , 60].
• Find the critical points.
𝐴′ (𝑥) = 120𝑥1−1 − (2)2𝑥 2−1 = 120 − 4𝑥
120 − 4𝑥 = 0 → 𝑥 = 30
• Evaluate 𝐴 at 0, 30, and 60.
𝑥 0 30 60
𝐴(𝑥) 0 1800 0
min max Min
• The width that gives the biggest area is 30 𝑓𝑡. The length is 120 − 2(30) = 60 𝑓𝑡.
5|Page
Basic Calculus_Q3_W6
4. Find the dimensions of a rectangle with area 64 𝑐𝑚2 whose perimeter is a minimum.
• The objective is the perimeter of the rectangle. Let it be 𝑃. We are required to find
the dimensions that will minimize 𝑃.
• Let 𝑥 be one of the dimensions. Let it be our control variable.
64
• The other dimension is 𝑥 .
• Here is the initial sketch of the rectangle.
𝑥 𝑐𝑚
64
𝑐𝑚
𝑥
128
• Our model is 𝑃(𝑥) = 2𝑥 + . Let it be continuous over [0 , +∞).
𝑥
• Find the critical points.
𝑥𝐷𝑥 128 − 128𝐷𝑥 𝑥 128
𝑃′ (𝑥) = 2𝑥1−1 + 2
=2− 2
𝑥 𝑥
128
2− 2 =0→𝑥 =8
𝑥
• For the perimeter to be minimum, the rectangle should be 8 𝑐𝑚 by 8 𝑐𝑚.
6|Page
Basic Calculus_Q3_W6
5. The volume of a right circular cylinder is 50 𝑐𝑢𝑏𝑖𝑐 𝑐𝑚. Find the dimensions in 𝑐𝑚 that will
minimize the surface area of the cylinder.
• The objective is the surface area of the cylinder. Let it be 𝑆. We are required to find
the dimensions that give the smallest surface area.
• Let 𝑥 be the radius of the cylinder. Let it be our control variable. We may also
choose to let 𝑥 be the height. Either way, we should arrive at the same answer.
• The volume of the cylinder is given by 𝑉 = 𝜋𝑥 2 ℎ while its surface area is given by
𝑆 = 2𝜋𝑥 2 + 2𝜋𝑥ℎ. We can use these formulae and the given quantity to find an
equation relating 𝑥 and ℎ. Then, we will use such equation to express the surface
area as a function of 𝑥.
50
50 = 𝜋𝑥 2 ℎ → ℎ = 2
𝜋𝑥
50 100
𝑆 = 2𝜋𝑥 2 + 2𝜋𝑥 ( 2 ) = 2𝜋𝑥 2 +
𝜋𝑥 𝑥
• Find the critical points.
𝑥𝐷𝑥 100 − 100𝐷𝑥 𝑥 100
𝑆 ′ (𝑥) = (2)2𝜋𝑥 2−1 + = 4𝜋𝑥 −
𝑥2 𝑥2
100 3 25
4𝜋𝑥 − = 0 → 𝑥 = √ ≈ 2 𝑐𝑚
𝑥2 𝜋
• At 𝑥 ≈ 2, the height of the cylinder is approximately 3.98 𝑐𝑚. These dimensions give
the smallest possible surface area.
__________
PRACTICE
1. The sum of two positive numbers is 15. What are they if their product is a maximum?
2. What is the minimum perimeter of a rectangle whose area is 81 square units?
3. An open box is to be made from a 24 𝑐𝑚 square cardboard by cutting equal squares out of the
corners and turning up the sides. Find the height that will give a maximum volume.
4. Find the dimensions of the largest right circular cylinder that can be inscribed in a right
circular cone with a height of 40 𝑐𝑚 and a radius of 16 𝑐𝑚.
5. Find an equation of the tangent line to the curve 𝑦 = 𝑥 3 − 3𝑥 2 + 5𝑥, 0 ≤ 𝑥 ≤ 3 that has the
least slope.
6. Find the point on the line 𝑦 = 2𝑥 + 5 that is closest to (−2 , 3).
__________
REFERENCES
1. Basic Calculus Learner’s Material and Teacher’s Guide for Senior High School, Commission on Higher Education in collaboration
with Philippine Normal University, 2016
2. Next Century Mathematics, Basic Calculus, Phoenix Publishing House, Inc. with Fernando B. Orines and Jesus P. Mercado, 2016
3. Handouts from Turo Guro 2019, Ateneo de Manila University Department of Mathematics & Ateneo SALT Institute, May 6 – 8
4. Presentation by ma’am Gervy Marie M. Angeles during the Summer Institute in the Natural Sciences and Mathematics (SINSM)
2019, University of the Philippines – Baguio, April 25 – 27
7|Page