We can also solve this question by method of separation of variables . We look for particular solution on the form -
z(x,y)=f(x)g(y)
=(gdxdf)(fdydg)=xy⟹ fdf=xdx ⟹ f=±x2+c1
gdg=ydy ⟹ g=±y2+c2
So the function of z will become as -
z(x,y)= ± x2+c1y2+c2
With condition z(x,0)=x=±(x2+c1)c2 ⟹ c1=0;c2=1; sign of x
z(x,y)=xy2+1
Solving with method of characteristics we get -
=qdx=pdy=2pqdz=ydp=xdq=1dt
=x0=s,y0=0,z0=s,p0=1,q0=0
Solving the system leads to -
x=Aet+Be−t
y=Cet+De−t
p=Ce2t−De2t
q=Ae2t−Be2t
z=ACe2t−BDe2t+E
=pq−xy=0 ⟹ AB+BC=0
with boundary conditions ; p0=1;q0=0
A+B=s; C+D=0 ;AC−BD+E=s ;C−D=1;A−B=0;AD+BC=0
A=B=E=2s and C=−D=21⟹ x=hcosht
y=sin(ht)
z=2s(cosh(2t)+1)=scosh2t
x2−y2s2=s⟹ s2=y2+1x2
z=sx2 =x2(x+y2+1)
z=xy2+1
Comments