602 views
0 votes
0 votes
The sum of two whole number is 45 and their difference is less than 10. What will be the number of all possible pairs?

2 Answers

2 votes
2 votes

x+y = 45           ..(i)

|x-y| < 10              ..(ii)

----------------------------------------------------------------

case 1: if x is larger (x>y)

(x-y) < 10              ..(iii)

solve (i) & (iii) ==> x < 27.5 & y > 17.5 & x > y

so, all posible whole no. pair (x,y)===> (27,18) , (26,19) , (25,20) , (24,21) , (23,22) 

-------------------------------------------------------------------

case 2 : if y is larger (x<y)

(y-x) < 10             ..(iv)

solve (i) & (iv) ==> x>17.5 & y<27.5 & x < y

so, all posible whole no. pair (x,y)===> (18,27) , (19,26) ,  (20,25)  , (21,24) , (22,23)

------------------------------------------------------------------------------

Thus, total number of possible pair for (x,y) =10.

0 votes
0 votes
The number of possible pairs will be 5

(18,27) (19,26) (20,25) (21,24) (22,23)

Related questions

0 votes
0 votes
1 answer
4
junaid ahmad asked Jan 10, 2019
453 views
If p(n+1)+p(n-1)=p(n) for every natural number ‘n’then for what values of natural number ‘a’ will p(n+a)=-p(n)a)3 b)2 c)4 d)6