Paper 3, Section I, D

Methods
Part IB, 2014

Using the method of characteristics, solve the differential equation

yux+xuy=0-y \frac{\partial u}{\partial x}+x \frac{\partial u}{\partial y}=0

where x,yRx, y \in \mathbb{R} and u=cosy2u=\cos y^{2} on x=0,y0x=0, y \geqslant 0.