General Contents

Detailed Contents

Index

Minimize the sum of two numbers, subject to a condition on their product:

If you find this page helpful and would recommend that I create more pages like this one, please let me know: Email to John Taylor

The product of two numbers is 72. The sum of one number and 2 times the second is to be minimized. Determine the two numbers.

We need variables for the two numbers, a and b. The first condition can be stated as

the product of the two numbers.

The condition on the sum, S, can be stated as

the condition on a sum.

To express the minimum condition, we need to express S in terms of one variable and differentiate. We can solve the first equation to get

.
We can substitute this into the expression for S :

the sum in terms of one variable.

Now we can differentiate to get the derivative for any value of b:

the derivative of the sum.

To find the minimum at bmin : , or , or the value of the second number which minimizes the sum

Now we can use this result in the definition of a to find the corresponding value of a:

the value of the first number which minimizes the sum

So the two numbers are 6 and 12.
As a check, we can calculate S for several pairs of nearby values:

a

b

S

12

6

24

14.4

5

24.4

10.3

7

24.3

11

6.55

24.1

13

5.54

24.1

General Contents

Detailed Contents

Index