<< Hide Menu

📚

 > 

♾️ 

 > 

5.10 Introduction to Optimization Problems

1 min readjune 18, 2024

5.10 Introduction to Optimization Problems

We previously learned how to find the minimum or maximum value of a function on an interval using either the First Derivative Test or the Second Derivative Test. What significance does figuring out these pieces of information have? Well, they can help us solve optimization problems!

👍 Optimization Problems

You may ask, what are optimization problems? If we think about what the word “optimizing” means, we see that these types of problems involve finding the best possible solution, often looking to maximize or minimize a certain quantity.

So how can we use calculus to solve these kinds of problems? Well, if we go back to its definition, we see that we want to “look to maximize or minimize a certain quantity.” Do we know how to find the minimum or maximum value of a function? We certainly do! How? By taking the derivatives of the function (applying either the First Derivative or Second Derivative Tests)!

One tricky part about optimization problems is that they usually add one more variable that we have to account for. But don’t fear, this just means you have to do the extra step of finding a relationship between two of the variables so that you can “get rid of” one through substitution.

✏️ Optimization Walkthrough

Let’s go through a problem below to get a better idea of how to solve this type of problem:

Let s=x2+y2s = x^2 + y^2. If xy=36xy = -36, what xx and yy values minimize ss?

Since there are two variables, xx and yy, and we do not know how to differentiate with respect to more than one variable, we should look to re-write one of them in terms of the other. This way we can differentiate with respect to just one variable, which we’ve done many times before!

Because it is given that xy=36xy = -36, we can re-write yy to be 36x-\frac{36}{x}.

So we have,

s(x)=x2+(36x)2=x2+1296x2=x2+1296x2s(x) = x^2 + (-\frac{36}{x})^2=x^2+\frac{1296}{x^2}=x^2+1296x^{-2}

Note: ss becomes s(x)s(x) because we have re-written the function of ss rewritten in terms of xx

Now, we just have to find the minimum of this function!

To do so, let’s apply the Second Derivative Test.

First, we need to find the critical points of the function. Since we know that critical points are when s(x)=0s'(x)=0:

s(x)=2x2592x3s'(x)=2x-2592x^{-3}
2x2592x3=02x-2592x^{-3}=0
2x=2592x32x=2592x^{-3}
2xx3=2592x3x32x\cdot x^3=2592x^{-3}\cdot x^3
2x4=25922x^4=2592
x4=1296x^4=1296
x=6,6x=-6, 6

Next, we need to determine the concavity of s(x)s(x) at these points to verify they are minimum(s).

s(x)=2+7776x4s''(x)=2+7776x^{-4}

Since the power of xx is even, s(x)s''(x) is positive for any xx. So, s(x)s(x) is concave up at both x=6x=-6 and 66.

Therefore, both x=6x=-6 and 66 will minimize s(x).s(x). If x=6x=-6, based on the given product of xx and yy, y=6y=6. Similarly, if x=6x=6, y=6y=-6.

The final solution is (6,6)(-6, 6) and (6,6)(6, -6). Great work!


📝 Optimization Practice Problems

Now, let’s do some practice on your own!

❓ Optimization Problems

Optimization Question 1

An open-topped play area with a square base is designed to hold 3232 cubic feet of sand. What is the minimum exterior surface area of the play area?

Optimization Question 1

121121 square inches of text is to be printed on a card. If there are to be exactly one-inch margins around all four sides of the text, what is the width and height of the smallest card that can be used?

✅ Optimization Answers and Solutions

Optimization Question 1

The answer to this question is 4848 square feet. Here’s why:

First, let us set the side length of the square base to be xx and the height of the play area to be hh.

This means that the volume of the play area can be expressed as

V=x2hV=x^2h

Since it is given that the volume is 3232 cubic feet,

x2h=32x^2h=32

Since we can only differentiate with respect to one variable, we can re-write hh in terms of xx,

h=32x2h=\frac{32}{x^2}

In this problem, we want to minimize the surface area of the open-topped play area, which we can express as

S(x)=x2+4xh=x2+4x(32x2)S(x)=x^2+4xh=x^2+4x\cdot (\frac{32}{x^2})

This further simplifies to

S(x)=x2+128xS(x)=x^2+\frac{128}{x}

Now, we just have to find the minimum of this function! Let’s apply the Second Derivative Test.

First, we need to find the critical points of the function.

S(x)=0S'(x)=0
S(x)=2x128x2S'(x)=2x-128x^{-2}
2x128x2=02x-128x^{-2}=0
2x=128x22x=128x^{-2}
2xx2=128x2x22x \cdot x^2=128x^{-2}\cdot x^2
2x3=1282x^3=128
x3=64x^3=64
x=4x=4

Next, we need to determine the concavity of S(x)S(x) at this point to verify it is a minimum.

S(x)=2+256x3S''(x)=2+256x^{-3}
S(4)=2+25643=6S''(4)=2+256\cdot 4^{-3}=6

Since 6>06>0, S(x)S(x) is concave up at x=4x=4.

Therefore, by the Second Derivative Test, x=4x=4 minimizes S(x)S(x).

This makes the minimum surface area of the open-topped play area

S=42+1284=48ft2S=4^2+\frac{128}{4}=48 ft^2

Optimization Question 2

The answer to question 2 is 1313 inches by 1313 inches. Here’s the work!

If xx is the width of the printed text and yy is the height of the printed text because we are given that the area of the printed text is 121121 square inches, we can re-write yy as:

y=121xy=\frac{121}{x}

Using the information given about the one-inch margins on all four sides of the text, we can write the width of the card as:

width=x+2width=x+2

And write the height of the card as:

height=121x+2height=\frac{121}{x}+2

This means that the area of the card is

A(x)=(x+2)(121x+2)A(x)=(x+2)(\frac{121}{x}+2)

This can be expanded and simplified into

A(x)=2x+125+242xA(x)=2x+125+\frac{242}{x}

Now, we just have to find the minimum of this function! Let’s apply the Second Derivative Test.

First, we need to find the critical points of the function, which are the points where A(x)=0A'(x)=0.

A(x)=2242x2A'(x)=2-\frac{242}{x^2}
2242x2=02-\frac{242}{x^2}=0
x=11,11x=-11,11

We want the solution that is positive because width cannot be negative.

To verify that x=11x=11 is a minimum, we need to determine the concavity of A(x)A(x) at this point.

A(x)=484x3A''(x)=\frac{484}{x^3}
A(11)>0A''(11)>0

A(x)A(x) is concave up at x=11x=11.

Therefore, by the Second Derivative Test, x=11x=11 minimizes S(x)S(x).

This means that the width of the printed area is 1111 inches and the height of the printed region is 1111 inches as well.

Therefore, the dimensions of the card itself are 1313 inches by 1313 inches.


💫 Closing

Great work so far! In the next study guide, we’ll do a couple more optimization problems to really get that practice in. You’re so close to finishing unit 5 of AP Calculus. 🥳