First of all, sorry for my poor English. Can I integrate the following using integration by parts, because I've tried a lot and it didn't work. (And sorry if it's too easy for you, guys! I'm such a fool with numbers lol)
$$ \int e^{-2x}\sin(x) \, dx $$
Thank you!
The integration by parts approach has been very well described by amWhy. We describe another approach.
Guess that one antiderivative of $e^{-2x}\sin x$ has shape $$Ae^{-2x}\cos x+Be^{-2x}\sin x.$$ Differentiate. We get $$A\left(-e^{-2x}\sin x-2e^{-2x}\cos x\right)+B\left(e^{-2x}\cos x-2e^{-2x}\sin x \right).$$ This is equal to $$(-A-2B)e^{-2x}\sin x+(-2A+B)e^{-2x}\cos x.\tag{1}$$ In order to make (1) identically equal to $e^{-2x}\sin x$, we want $$-A-2B=1 \quad\text{and}\quad -2A+B=0.$$ Solve the above system of linear equations for $A$ and $B$. We get $A=-\frac{1}{5}$ and $B=-\frac{2}{5}$. Thus our integral is $$-\frac{1}{5}e^{-2x}\cos x -\frac{2}{5}e^{-2x}\sin x +C.$$
Remark: Variants of the above process are omnipresent in beginning differential equations. We can often use the idea to bypass integration by parts.
However, integration by parts has to be mastered. In addition to its uses in finding antiderivatives, it can be a very handy tool in producing estimates.