Getting rid of absolute value after integration

492 Views Asked by At

I have this differential equation in an exercise:

$$y' = \frac{y}{\sqrt{1-x^2}}$$

I solved it like this:

$$\frac{dy}{dx} = \frac{y}{\sqrt{1-x^2}}$$

$$\frac{1}{y}dy = \frac{1}{\sqrt{1-x^2}}dx$$

$$\int \frac{1}{y} \,dy = \int \frac{1}{\sqrt{1-x^2}} \,dx$$

$$\ln \,\lvert\,y\,\lvert + C_1 = \arcsin\,x + C_2$$

$$\lvert\,y\,\lvert\,= {e}^{\arcsin\,x + C_3}$$

$$\lvert\,y\,\lvert\,=C{e}^{\arcsin\,x}$$

$$y=±C{e}^{\arcsin\,x}$$

However, the solution given in my textbook is

$$y=C{e}^{\arcsin\,x}$$

How to get rid of the absolute value? Did I do something wrong? Some of the other exercises indicates when $y > 0$ but this one has no such indication. I guess it can be deducted?

2

There are 2 best solutions below

0
On BEST ANSWER

Since $C$ is an arbitrary constant it can have a positive or a negative value, (e.g $C=\pm 2$).

0
On

I understood thanks to Emilio Novati's answer but the confusion comes from the difference between my constant and the one of the given answer. The $C$ coming from my steps is positive (since ${e}^{C_3}$ can't be negative) but I can simply use another letter such as $$K = ±C$$

So I get

$$y=K{e}^{\arcsin\,x}$$