Answer:
25 and 18
Explanation:
Let's say that the first number is x and the second one is y.
First, the difference between them is 7, so x-y=7
Next, the sum of their squares is 949, so x²+y² = 949
We have
x-y=7
x²+y²=949
One thing we can do to solve this problem is to solve for x in the first equation, plug that into the second equation, and go from there
Adding y to both sides in the first equation, we have
x = 7 + y
Plugging that into the second equation for x, we have
(7+y)²+ y² = 949
expand
(7+y)(7+y) + y² = 949
49 + y² + 7y + 7y + y² = 949
combine like terms
2y² +14y + 49 = 949
subtract 949 from both sides to put this in the form of a quadratic equation
2y² + 14y - 900 = 0
divide both sides by 2
y² + 7y - 450 = 0
To factor this, we want to find 2 numbers that add up to 7 and multiply to -450.
The factors of 450 are as follows:
1, 2, 3, 5, 6, 9, 10, 15, 18, 25, 30, 45, 50, 75, 90, 150, 225, and 450.
Note that we want to find two numbers with a difference of 7, as one will have to be negative for the multiplication to end up at -450. Two numbers that stand out are 18 and 25. To make them add up to 7, 18 can be negative. We therefore have
y² + 25y - 18y - 450 = 0
y(y+25) - 18(y+25) = 0
(y-18)(y+25) = 0
Solving for 0,
y-18 = 0
add 18 to both sides
y=18
y+25 = 0
subtract 25 from both sides
y= -25
As the question states "two positive integers", this means that y must be positive, so y = 18. We know x-y=7, so
x-18 = 7
add 18 to both sides to isolate x
x = 25