Problema Solution
find two numbers such that the second number is 2 more than three times the first number and the difference of the two numbers is 24
Answer provided by our tutors
Let
'x' be the first number
'y' be the second number
y = 2 + 3*x
|y-x| = 24
Lets solve the system of equations
1) if y > x we have
y = 2 + 3*x
y - x = 24
that is
x = 11
y = 35
this is one solution
2) if x > y we have
y = 2 + 3*x
x - y = 24
that is
x = -13
y = -37
second solution
There are 2 pairs of numbers that are solutions of the problem:
first solution: 11 and 35
second solution: -13 and -37