# Obtaining General Solution of ODE

Tags:
1. Nov 1, 2016

### Munir M

1. The problem statement, all variables and given/known data
So they want me to obtain the general solution for this ODE.

2. Relevant equations
I have managed to turn it into d^2y/dx^2=(y/x)^2.

3. The attempt at a solution
My question is, can I simply make d^2y/dx^2 into (dy/dx)^2, cancel the power of 2 from both sides of the equation and then integrate it normally?

If not, why?

2. Nov 1, 2016

### rock.freak667

I believe you can however, just make sure that you re-write it as dy/dx = +/- y/x

Also note the distinction that d^2y/dx^2 = d/dx(dy/dx) i.e. differentiating dy/dx wrt x and (dy/dx)*(dy/dx) = (dy/dx)^2.

3. Nov 1, 2016

### Staff: Mentor

In other words, solve dy/dx = y/x as well as dy/dx = -y/x.

4. Nov 1, 2016

Thanks guys!