Steply

Two positive numbers have a product of 49. Find the smallest…

Step by step, with the reason for every step · Optimization · Calculus 1

Step by step

The question

Question: Two positive numbers have a product of 49.

Find the smallest possible sum.

1 Draw and name

Call the first number x, and the second y.

x = the first number
y = the second number

2 Write the sum

The sum is x plus y.

S = x + y

3 Use only one letter

They multiply to 49: x times y is 49.

xy = 49

So y = 49 over x.

y = 49x

Put it in place of y.

S = x + 49x

4 Which x make sense

The numbers are positive: x is more than 0.

x > 0 =

5 Slope = 0

The smallest value is where the slope is 0.

x gives 1.

49/x is 49x to the power −1, which gives −49/x².

S′(x) = 1 − 49x2
49x = 49x−1 → −49x−2

Set it to 0, and move the fraction across.

49x2 = 1

Times both sides by x², so they stay equal.

49 = x2

x squared is 49, so x is 7.

Minus 7 squared is also 49, but x must be positive.

x = 7 (not −7)

Careful!

The numbers must be positive.

Only x = 7 is allowed.

Careful: not x = −7 ✗

6 Make sure it is the smallest

Before 7, the slope is negative: going down.

After it, positive: going up.

Down, then up: the bottom.

A minimum.

S′(6) = −0.36 < 0 ↘, S′(8) = 0.23 > 0 ↗

7 Answer the question

The other number: 49/7 is 7.

The same number!

y = 497 = 7

So the smallest sum is 14.

S(7) = 7 + 7 = 14

8 Check

Let's check with x a bit smaller: 6 gives 14.17.

x = 6: S = 14.17

And x = 8 gives 14.13.

Both are bigger than 14.

Right!

x = 8: S = 14.13

Let's look back.

First: draw and name.

Then: write the sum.

Then: use only one letter.

Then: which x make sense.

Then: slope = 0.

Then: make sure it is the smallest.

Then: answer the question.

Last: check.

Answer
S(7) = 7 + 7 = 14

Your turn

Try this one yourself, then check:

Show the answer
smallest sum = 18

More from Optimization

The whole lesson: Optimization →