differential equation of first order - omitting absolute value operator

168 Views Asked by At

i have the equation: $$y'+2y\:=1$$

and i solve it the regular way for first order differential equation: $$y'\:=1-2y$$ $$\frac{dy}{dx}=1-2y$$ $$\int \:\frac{1}{1-2y}dy=\int \:1dx$$ $$-\frac{1}{2}\int \:-\frac{2}{1-2y}dy=\int \:1dx$$ and using the integral formula: enter image description here $$-\frac{1}{2}\ln\left(\left|1-2y\right|\right)=x+\ln\left(c\right)$$ Why Symbolab omits the absolute value operator and writes: enter image description here

2

There are 2 best solutions below

0
On BEST ANSWER

Since $$\int\frac{1}{1-2y}dy=\int 1dx, \text{ or }-\int\frac{1}{2y-1}dy=\int1dx $$ one has $$ -\frac12\ln|2y-1|=x+C $$ or $$ \ln|2y-1|=-2x-2C$$ So $$ 2y-1=\pm e^{-2C}e^{-2x}$$ Let $k=\pm e^{-2C}$. Then $$ y=\frac12+\frac12ke^{-2x}. $$ Since $k$ absorbs the signs, it does not matter if you have absolute value for $2y-1$ or not.

0
On

$$y'+2y\:=1$$ With integrating factor method: $$(ye^{2x})'=e^{2x}$$ $$ye^{2x}=\dfrac 12 e^{2x}+K$$ $$\boxed {y(x)=\dfrac 12 +Ke^{-2x}}$$ Then we can rewrite this as: $$\dfrac {2y-1}K=e^{-2x} \geq 0$$ $$\ln \left (\dfrac {2y-1}K\right )=-2x $$ It seems to me that the absolute value is needed.