InterviewSolution
 Saved Bookmarks
    				| 1. | 
                                    Solve the following system of equations .`x/p+y/q=1`, `p(x-p)-q(y+q)=2p^2 + q^2` | 
                            
| 
                                   
Answer» `x/p+y/q = 1` `=>qx+py = pq->(1)` `p(x-p)-q(y+q) = 2p^2+q^2` `=>px-p^2-qy-q^2 = 2p^2+q^2` `=>px-qy = 3p^2+2q^2->(2)` Now, multiplying (1) by `q` and multiplying (2) by `p` and adding them, `=>q^2x+pqy+p^2x-pqy = pq^2+3p^3+2pq^2` `=>(p^2+q^2)x = 3p(p^2+q^2)` `=> x = 3p` Putting values of `x` in (1),`(3p)q +py = pq` `py = -2pq=> y = -2q`  | 
                            |