The problem is to solve $\frac{\partial z}{\partial x}\cdot \frac{\partial z}{\partial y}=1$ with $z(0,0)=0$ and find $z(0,1)$.
I used Charpit's method to get $z(x,y)=kx + \frac{y}{k}+c$ as its solution. Now the initial condition gives $c=0$. This gives $z(x,y)=kx + \frac{y}{k}$ but the arbitrary constant is still present even after incorporating the initial condition and this is my point of confusion. Then $z(0,1)=\frac{1}{k}\ne 0$ if $k$ is non-zero. Added 1- I realized that the solution can also take the form $z=ky+\frac{x}{k}$ which gives me $z(0,1)=k$.
What is correct? $z(0,1)=\frac{1}{k}\ne 0$ or $z(0,1)=k$?
Am I correct? Any hints where I am wrong?
Edit- After few searches I found a way to determine the arbitrary constant 'k' which proceeds as follows:
Solve the $k$-quadratic $k^2x-kz+y=0$ for $k$ and substitute this $k$ in $z=k x+\frac{y}{k}$ which is now free from $k$.
I suspect this approach as $k$ thus obtained is no more a constant and the reason for determining $k$ in this way is not justified. I don't know it is correct or not. Hoping that someone answer my doubt!
There is another class of solutions to this PDE.
We try separation-of-variables and guess a solution of the form $z(x,y) = f(x) g(y) + c$: \begin{align*} \frac{\partial z}{\partial x} \cdot \frac{\partial z}{\partial y} &\;=\; f'(x) g(y)\cdot f(x) g'(y)\\ &\;=\; f'(x) f(x)\cdot g'(y) g(y) \;=\; 1 \end{align*} The last expression above can only be true for all $x$ and $y$ if the terms in $x$ are equal to some constant $k$ and the terms in $y$ are equal to $1/k$: \begin{align*} f'(x) f(x) &\;=\; k \;\;\;\quad\rightarrow\quad f(x) \;=\; \sqrt{2(k x \,+\, a)}\\[0.1in] g'(y) g(y) &\;=\; 1/k \quad\rightarrow\quad g(y) \;=\; \sqrt{2(y/k \,+\, b)} \end{align*} Here $a$ and $b$ are unknown constants. The solution to the PDE is thus: \begin{equation*} z(x,y) \;=\; f(x) g(y) + c \;=\; 2\sqrt{(k x \,+\, a)(y/k \,+\, b)} \,+\, c \end{equation*} The boundary condition $z(0,0) = 0$ implies that the unknown constants $a$, $b$, and $c$ must obey $2\sqrt{ab} + c = 0$.