I was really struggling with a differential equations question, when I came across the solution on this website. I understood everything of the solution, but I did not understand the final part (where the solver added a $\pm$ sign to the right side of the equation). The original problem is to find a non-constant solution to ${x'}^2+x^2=9.$
I subtracted $x^2$ from both sides, leaving ${x'}^2=9-x^2.$
Then I took the square root of both sides (is this where it gets messy?), which left me with $x'=\pm\sqrt{9-x^2}.$
Then, I divided $\sqrt{9-x^2}$ by both sides: $$\frac{x'}{\sqrt{9-x^2}}=1.$$
Afterwards, I took the integral of both sides and rewrote $x'$ as $$\int \frac{x'}{\sqrt{9-x^2}} dx= \int 1 dt.$$
Using the formula integration guy for arcsin, I got: $$\arcsin\left(\frac x3\right)+c_1=t+c_2. $$
Then I took the sin of both sides and simplified the arbitrary constants: $x/3=\sin(t+c_3).$
And then I multiplied by $3,$ leaving us with $x=3\sin(t+c).$
I will stop there for now, as the rest (er initial condition(s)) do not pertain to my question.
When I was reading the solution, the solution contained a $\pm$ on the right hand side of the solution at the end. Can someone explain why to me please? I don't quite understand...
It would be greatly appreciated!
When you divided by $\sqrt{9-x^2}$, the right hand side should have been $\pm 1$ rather than $+1$. Suppose you know that $a = \pm 2b $. What can you say about $a/b$? Well, $a = 4, b = 2$ is one solution, so $a/b$ could be $2$. But $a = 6, b = -3$ is another solution, so $a/b$ could be $-2$. So if $a = \pm 2b$, then $a/b = \pm 2$. Your situation is just a fancier version of this.