I was trying to solve the following problem:
The integral surface of the pde $xu_x+yu_y=0$ satisfying the condition $u(1,y)=y$ is given by:
(a)$u(x,y)=y/x,$
(b)$u(x,y)=2y/(x+1),$
(c)$u(x,y)=y/(2-x),$
(d)$u(x,y)=y+x-1.$
I was trying to apply Lagrange's method but i could not get the desired result. I see that option $(a)$ satisfies the given equation and so $(a)$ should be the right choice. But i could not get it directly. Please help.Thanks in advance for your time.