Steply

Two numbers add up to 30. What is the largest possible value of…

Step by step, with the reason for every step · AP Calculus AB Practice Exam 2 · AP Calculus AB

Step by step

The question

Question: Two numbers add up to 30.

Find the largest product.

There are four choices.

First we solve it, the normal way.

Then we pick.

1 Name the unknown

Call the first number x.

x = the first number

They add up to 30, so the second number is 30 − x.

30 − x = the second number

2 Write the product

The product is the first number times the second.

P(x) = x(30 − x)

The x in front of the bracket multiplies every part inside.

Now we have P(x) = 30x − x².

= 30x − x2

3 Solve f′(x) = 0

The biggest product is at the top of the curve.

There it stops going up and starts going down, so for a moment it is flat: the slope is 0.

The power rule gives P′(x) = 30 − 2x.

P′(x) = 30 − 2x

Set it equal to 0.

30 − 2x = 0

Add 2x to both sides, so they stay equal.

2x = 30

To remove times 2, we divide by 2.

x = 302

30 divided by 2 is 15.

x = 15

4 Is it the biggest?

Before 15 the slope is positive: going up.

After it, negative: going down.

Up, then down: a maximum.

P′(14) = 2 > 0 ↗, P′(16) = −2 < 0 ↘

Careful!

x is only the first number.

The question asks for the product.

Careful: x = 15 is not the answer yet

5 Answer the question

The other number is 15.

second = 30 − 15 = 15

So the largest product is 225.

P(15) = 15 × 15 = 225

6 Check

Let's check with x a bit smaller: 14 gives 224.

x = 14: 14 × 16 = 224

And x = 16 gives 224.

Both are smaller than 225.

Right!

x = 16: 16 × 14 = 224

7 Pick the choice

Our answer is largest product = 225.

That is choice A.

A) 225

8 Why not the others

B is 15.

Wrong: that is each number, not the product.

B) 15 ✗ that is each number, not the product

C is 900.

Wrong: 30 × 30: the two numbers add up to 30, so each is 15.

C) 900 ✗ 30 × 30: the two numbers add up to 30, so each is 15

D is 200.

Wrong: used 10 and 20: 15 and 15 give more.

D) 200 ✗ used 10 and 20: 15 and 15 give more

Let's look back.

First: name the unknown.

Then: write the product.

Then: solve f′(x) = 0.

Then: is it the biggest?

Then: answer the question.

Last: check.

Answer
P(15) = 15 × 15 = 225

Your turn

Try this one yourself, then check your answer:

Two numbers add up to 40. Find the largest product.
Show the answer
largest product = 400

More from AP Calculus AB Practice Exam 2

The whole lesson: AP Calculus AB Practice Exam 2 →