If we know the sum and product of two numbers, what are they?
Question
The sum and product of two numbers, and , are and respectively. Form appropriate equations, plot [on graph paper] the corresponding graphs and hence obtain approximate values for and .
Interactive diagram
Download GeoGebra file
The red rectangle has a horizontal side of length .
The vertical side has length , and the perimeter is fixed at . The area of the red rectangle is shown.
Solution
The information given in the question tells us that
By rearranging these equations to make
the subject, we get
The following graph shows both the line (corresponding to the first equation) and the hyperbola (corresponding to the second equation).
The graph shows that there is an approximate solution with and and another one with and . These give essentially the same solution, as we are looking for two numbers with a given sum and given product.
The equations can be solved exactly, and without much difficulty. By substituting the equation
into the equation
, we have
so that
By the
quadratic formula
, we have that
The smaller of these values is , which is close to our visual estimate.
