Find the two numbers whose sum is 20 that produce the greatest possible product.
Intuitively, if two numbers have to add up to 20, then for example, if one of the numbers is 5, the other must be 15. If one is 8, then the other must be 12. In general, to get the 2nd number, take 20 minus the 1st number. We want to know which 2 numbers to pick so that their product (multiplying them together) is as big as possible. For example, letβs try guessing and testing,
-
1 and 19 \(\rightarrow\) product of 19
-
5 and 15 \(\rightarrow\) product of 75 (bigger)
-
8 and 12 \(\rightarrow\) product of 96 (even bigger)
-
10 and 10 \(\rightarrow\) product of 100
-
If you choose the 1st number to be bigger, it repeats the same pattern. For example, 12 and 8 is the same as 8 and 12.
-
It seems like 10 and 10 gives the biggest product, but we can show this using algebra.
Let \(x\) be the 1st number. Then, \(20-x\) is the 2nd number, because they both must add up to 20. Their product (say, \(P\)) is,
\begin{gather*}
P = x(20-x)
\end{gather*}
We want the maximum of this function, which is its vertex. There are 2 approaches to find its vertex.
-
Itβs already in factored form, so its zeros are \(x=0\) and \(x=20\text{.}\) Therefore, its vertex is halfway between them at \(x=10\text{.}\) Then, the 1st number should be 10 in order to maximize the product. Then, the 2nd number is also 10. The maximum product is \(10 \cdot 10 = 100\text{.}\)
-
Expand,\begin{align*} P \amp = 20x-x^2\\ \amp = -x^2+20x \end{align*}The vertex is at \(x=-\frac{b}{2a}\text{,}\) so,\begin{align*} x \amp = -\frac{20}{2(-1)} = 10 \end{align*}so the 1st number is 10, the 2nd number is 10, and the maximum product is 100.
