Olympiad Maths Prep

Track / Stage 4 / 62 of 340 #322 of 2000

Problem 322

AMC 12 late, AIME early
Algebra Difficulty 4.6 Find the answer

Find two numbers whose product and sum are given numbers. Under what conditions do we get positive rational solutions?

Official solution

xy=a,x+y=bx=b2±b24a \begin{gathered} x y=a, \\ x+y=b \\ x=\frac{b}{2} \pm \sqrt{\frac{b^{2}}{4}-a} \end{gathered}

The solutions are rational if b24a\frac{b^{2}}{4}-a is a positive perfect square.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.