Riccati Differential Equation Help Show that $y(x)=\frac{1}{x}$ is a solution of the Ricatti differential equation:
$$y'+\frac{1-3xy}{x^2}+3y^2=0$$
Hence using a suitable transformation of the dependant variable, solve the differential equation when $y(1)=3$.
Any help appreciated.

Multiply by $x^2$ and substitute $y=Q\frac{w'}{w}$
$$x^2Q'\frac{w'}{w}+x^2Q\frac{w''}{w}-x^2Q\frac{(w')^2}{w^2}+1-3xQ\frac{w'}{w}+3x^2Q^2\frac{(w')^2}{w^2}=0$$
We choose what $Q$ is so we choose it conveniently:
$$-x^2Q\frac{(w')^2}{w^2}+3x^2Q^2\frac{(w')^2}{w^2}=0$$
We get $Q=\frac 13$. Now the equation reads:
$$\frac13x^2\frac{w''}{w}+1-x\frac{w'}{w}=0$$
Multiply by $w$
$$x^2 w''(x)-3 x w'(x)+3 w(x)=0$$
This is a Cauchy Euler equation. Try the solution $x^r$ (I am assuming you can do this)
The solutions are $w=c_2 x^3+c_1 x$
Bring it all together:
$$y=\frac 13\frac{3c_2x^2+c_1}{c_2 x^3+c_1 x}$$
Divide the num and denum by $c_2$ and call the new constant $c$
$$y=\frac{3x^2+c}{ 3x^3+3c x}$$
And the final solution:
$$\frac{4 x^2-1}{x \left(4 x^2-3\right)}$$
Your answer is wrong. It is a solution to the equation, but it does not satisfy the initial condition.
