By the separation of variables,
For the integral, we can decompose
and therefore, we have,
This implies
The initial condition is , and so we get . Thus,
Furthermore, when we use the initial data both quantities are positive and so we can drop the absolute value signs: