Finding Orthogonal Trajectories of the family curves $y=cx^2+4$.

ordinary differential equations

I want to find Orthogonal Trajectories of the family curves $y=cx^2+4$, here is my approach,

$$y=cx^2+4 \Rightarrow\quad \frac{dy}{dx}=2cx$$

Then, in order to find Orthogonal Trajectories we should replace $y'$ with $-\dfrac1{y'}$,

$$\frac{-1}{y'}=2cx\Rightarrow\quad y'=-\frac1{2cx}\Rightarrow\quad y=\frac{-1}{2c}\int\frac1x dx$$
Hence Iget $y=\dfrac{-1}{2c}\ln|x|+c'$. But the final solution in the book is $y^2-8y+\frac{x^2}2-c_1=0$.

I can't figure out why my answer is different (maybe wrong). and by comparing, I see the equations are not equivalent.

Best Answer

As mentioned in the comments, you have to get rid of the $c$ before you integrate. From $y=cx^2+4$, one can see that $c=\frac{y-4}{x^2}$ and thus you have

$$\frac{dy}{dx}=2cx=\frac{2x(y-4)}{x^2}=\frac{2y-8}{x}$$

When you take the negative reciprocal of this, as you did, you now get

$$\frac{dy}{dx}=-\frac{x}{2y-8}$$

You can take the rest from here.