Solve for x and y:

We have,


bx + ay = a2b + ab2 …(i)



b2x + a2y = 2a2b2…(ii)


To solve these equations, we need to make one of the variables (in both the equations) have same coefficient.


Lets multiply equation (i) by a, so that variable y in both the equations have same coefficient.


Recalling equations (i) & (ii),


bx + ay = a2b + ab2 [×a


b2x + a2y = 2a2b2



abx – b2x = a3b – a2b2


b(a – b)x = a2b(a – b)


x = a2


Substitute x = a2 in equations (i)/(ii), as per convenience of solving.


Thus, substituting in equation (i), we get


b(a2) + ay = a2b + ab2


a2b + ay = a2b + ab2


ay = ab2


y = b2


Hence, we have x = a2 and y = b2.


50