The below equation $(1)$ is second-ordinary differential equation, I have got the solution of it using standard method which is :$y(x)=e^{-3x}(-7+9e^x)$ , now my question is to solve equation $(1)$ using laplace transform :
$ y''+5y'+6y=0, y(0)=2, y'(0)=3\tag{1}$
Let $Y(s)$ be the laplace transform of $y(x)$. The first step is to take the Laplace transform of both sides. Recall that the Laplace transform is linear, and acts on derivatives in the following way: \begin{align*} \mathcal{L}(y')(s) &= sY(s) - y(0) \\ &= sY(s) - 2 \\ \mathcal{L}(y')(s) &= s^2Y(s) - sy(0) - y'(0) \\ &= s^2Y(s) - 2s - 3 \end{align*} Therefore, taking the Laplace transform of both sides yields, $$s^2Y(s) - 2s - 3 + 5(sY(s) - 2) + 6Y(s) = 0$$ Expanding and collecting terms of $Y(s)$ yields $$(s^2 + 5s + 6)Y(s) = 2s + 13 \implies Y(s) = \frac{2s + 13}{(s + 2)(s + 3)}.$$ Applying a partial fractions decomposition further gives us $$Y(s) = \frac{9}{s + 2} + \frac{-7}{s + 3}.$$ We have solved for the Laplace of $y(x)$, so we need to apply the inverse Laplace transform. Consulting a standard transform table, this gives us an answer of $$y(x) = 9e^{-2x} - 7e^{-3x}.$$