I have this differential equation problem.
$$ \frac { dy }{ dt } =\quad 12-4y,\quad y\left( 0 \right) \quad =\quad 0 $$
Walking through my steps.
$$ \frac { dy }{ dt } =\quad -4\left( y-3 \right) \\ \frac { 1 }{ \left( y-3 \right) } dy\quad =\quad -4dt\\ \int { \frac { 1 }{ \left( y-3 \right) } dy } \quad =\quad -\int { 4dt } \\ \ln { \left( \left| 3-y \right| \right) } \quad =\quad -4t+c\\ { e }^{ \ln { \left( \left| 3-y \right| \right) } }=\quad { e }^{ -4t }+c\\ \left| 3-y \right| \quad =\quad { e }^{ -4t }+c $$
Now my teacher has stated that we can assume the LHS is always going to be positive. She attempted to explain this to me but I was unable to understand the proof/logic behind stating the following two steps $$ \left| 3-y \right| \quad =\quad { e }^{ -4t } +c\\ \quad 3-y\quad =\quad { e }^{ -4t }+c $$ How can I show that $$ { e }^{ -4t } $$ is always positive?
Given $\dfrac{dy}{dt}=12-4y=4(3-y),\quad y(0)=0$.
$$\int\dfrac{1}{3-y}\,dy=\int4\,dt$$
$$-\ln\vert 3-y\vert=4t-c_0$$
$$ \ln\vert 3-y\vert=c_0-4t $$
$$ \vert3-y\vert=e^{c_0}e^{-4t}=c_1e^{-4t} $$
$$3-y = \pm c_1{ e }^{ -4t }=ce^{-4t}$$
$$ y=3-ce^{-4t}$$ is the solution
$y(0)=3-c\cdot1=0$ so $c=3$. Therefore $y(t)=3-3e^{-4t}$.