I am unsure what happens to the absolute value when solving this equation.
The original question was asking: Find a particular solution to $\frac{dy}{dx} = 2y; y(1) = 3$
I have simplified it to the stage of $ln|y| = 2x+C$
What I am unsure about is what happens when I raise both sides to $e$. What happens to the absolute value?
Thanks.
You get $\pm y=e^C\cdot e^{2x}$. The constant sign of $y(x)$ gets absorbed into the constant to form a new constant $C_1=\pm e^C$, to get the general solution $y(x)=C_1e^{2x}$.
Added note: If you still feel uncomfortable with the absolute value and sign, then take the homogenous solution as a hint and use the separation ansatz to get a strict derivation.
For example, with $y'=2y+f(x)$, insert $y(x)=e^{2x}u(x)$, which is perfectly permissible since $x\mapsto e^{2x}$ is a positive smooth function. This results after a short computation in $u'(x)=e^{-2x}f(x)$ or
$$u(x)=C+\int_{x_0}^x e^{-2s}f(s)\,ds$$
where now $C=u(x_0)$ is an arbitrary integration constant, positive, negative or zero, and then
$$y(x)=Ce^{2x}+\int_{x_0}^x e^{2(x-s)}f(s)\,ds=y(x_0)e^{2(x-x_0)}+\int_{x_0}^x e^{2(x-s)}f(s)\,ds$$
completely avoiding all discussion of $\ln|y|$.