# Math Help - separable differential equation y'=y^2 sin x

1. ## separable differential equation y'=y^2 sin x

I think I'm on the right track here, but am not sure if I can tidy it up any better and also if its the correct answer

$
\begin{array}{l}
y' = y^2 \sin x \\
\frac{{dy}}{{dx}} = y^2 \sin x \\
\int {\frac{{dy}}{{y^2 }} = \int {(\sin x)dx} } \\
\int {(y^{ - 2} )dy = } \int {(\sin x)dx} \\
\frac{{y^{ - 1} }}{{ - 1}} = - \cos x + c \\
\frac{{ - 1}}{y} = - \cos x + c \\
y = \frac{1}{{\cos x + c}} \\
\end{array}
$

Where c is my constant.

2. Hello,
Originally Posted by Craka
I think I'm on the right track here, but am not sure if I can tidy it up any better and also if its the correct answer

$
\begin{array}{l}
y' = y^2 \sin x \\
\frac{{dy}}{{dx}} = y^2 \sin x \\
\int {\frac{{dy}}{{y^2 }} = \int {(\sin x)dx} } \\
\int {(y^{ - 2} )dy = } \int {(\sin x)dx} \\
\frac{{y^{ - 1} }}{{ - 1}} = - \cos x + c \\
\frac{{ - 1}}{y} = - \cos x + c \\
y = \frac{1}{{\cos x + c}} \\
\end{array}
$

Where c is my constant.
Yup, it's correct. And I don't think you can get a more friendly thing... ^^

3. awesome thanks moo

4. Originally Posted by Craka
I think I'm on the right track here, but am not sure if I can tidy it up any better

$
\begin{array}{l}
y' = y^2 \sin x \\
\frac{{dy}}{{dx}} = y^2 \sin x \\
\int {\frac{{dy}}{{y^2 }} = \int {(\sin x)dx} } \\
\int {(y^{ - 2} )dy = } \int {(\sin x)dx} \\
\frac{{y^{ - 1} }}{{ - 1}} = - \cos x + c \\
\frac{{ - 1}}{y} = - \cos x + c \\
y = \frac{1}{{\cos x + c}} \\
\end{array}
$

Where c is my constant.
Looks OK (apart from a small and inconsequential mistake that is unimportant).