Is it possible to use the complex definition of trigonometric identities to simplify integrals? For instance, the integral: $$\int e^{-at}\cos(bt) \, dt$$
Would it be appropriate to use the definition of complex sine and then convert it back after the integration, versus using integration by parts?