Step by step
The question
Question: Two numbers add up to 20.
Find the largest product.
1 Name the unknown
Call the first number x.
They add up to 20, so the second number is 20 − x.
2 Write the product
The product is the first number times the second.
The x in front of the bracket multiplies every part inside.
Now we have P(x) = 20x − x².
3 Solve f′(x) = 0
The biggest product is at the top of the curve, where the slope is 0.
The power rule gives P′(x) = 20 − 2x.
Set it equal to 0.
Add 2x to both sides, so they stay equal.
To remove times 2, we divide by 2.
20 divided by 2 is 10.
4 Is it the biggest?
Before 10 the slope is positive: going up.
After it, negative: going down.
Up, then down: a maximum.
Careful!
x is only the first number.
The question asks for the product.
5 Answer the question
The other number is 10.
So the largest product is 100.
6 Check
Let's check with x a bit smaller: 9 gives 99.
And x = 11 gives 99.
Both are smaller than 100.
Right!
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.