The sum of two numbers is 40 and their difference is 4. The ratio of the numbers is:

The sum of two numbers is 40 and their difference is 4. The ratio of the numbers is:

Explanation


Let the two numbers be xx and yy, where x>yx > y.

We are given:

x - y = 4 quad text{(2)}

Adding equations (1) and (2):

2x=44⟹x=22

Subtracting equation (2) from (1)

2y = 36 implies y = 18

The numbers are 22 and 18.
The ratio of the numbers is: