# Primitive of Exponential of a x by Sine of b x/Proof 3

$\displaystyle \int e^{a x} \sin b x \rd x = \frac {e^{a x} \paren {a \sin b x - b \cos b x} } {a^2 + b^2} + C$
 $\displaystyle \int e^{a x} \sin b x \rd x$ $=$ $\displaystyle \int e^{a x} \paren {\frac {e^{i b x} - e^{-i b x} }{2 i} } \rd x$ Sine Exponential Formulation $\displaystyle$ $=$ $\displaystyle \frac 1 {2 i} \int e^{a x} \paren {e^{i b x} - e^{-i b x} } \rd x$ Primitive of Constant Multiple of Function $\displaystyle$ $=$ $\displaystyle \frac 1 {2 i} \int \paren {e^{a x} e^{i b x} - e^{a x} e^{-i b x} } \rd x$ $\displaystyle$ $=$ $\displaystyle \frac 1 {2 i} \int \paren {e^{a x + i b x} - e^{a x - i b x} } \rd x$ Exponent Combination Laws: Product of Powers $\displaystyle$ $=$ $\displaystyle \frac 1 {2 i} \int e^{a x + i b x} \rd x - \frac 1 {2 i} \int e^{a x - i b x} \rd x$ Linear Combination of Integrals $\displaystyle$ $=$ $\displaystyle \frac 1 {2 i} \int e^{\paren {a + i b} x} \rd x - \frac 1 {2 i} \int e^{\paren {a - i b} x} \rd x$ $\displaystyle$ $=$ $\displaystyle \frac 1 {2 i} \frac {e^{\paren {a + i b} x} } {a + i b} - \frac 1 {2 i} \frac {e^{\paren {a - i b} x} } {a - i b} + C$ Primitive of $e^{a x}$ $\displaystyle$ $=$ $\displaystyle \frac 1 {2 i} \frac {e^{a x + i b x} } {a + i b} - \frac 1 {2 i} \frac {e^{a x - i b x} } {a - i b} + C$ $\displaystyle$ $=$ $\displaystyle \frac 1 {2 i} \frac {e^{a x} e^{i b x} } {a + i b} - \frac 1 {2 i} \frac {e^{a x} e^{-i b x} } {a - i b} + C$ Exponent Combination Laws: Product of Powers $\displaystyle$ $=$ $\displaystyle \frac 1 {2 i} \frac {e^{a x} e^{i b x} \paren {a - i b} } {\paren {a + i b} \paren {a - i b} } - \frac 1 {2 i} \frac {e^{a x} e^{-i b x} \paren {a + i b} } {\paren {a - i b} \paren {a + i b} } + C$ $\displaystyle$ $=$ $\displaystyle \frac {e^{a x} e^{i b x} \paren {a - i b} - e^{a x} e^{-i b x} \paren {a + i b} } {2 i \paren {a + i b} \paren {a - i b} } + C$ $\displaystyle$ $=$ $\displaystyle \frac {e^{a x} e^{i b x} \paren {a - i b} - e^{a x} e^{-i b x} \paren {a + i b} } {2 i \paren {a^2 + b^2} } + C$ Product of Complex Number with Conjugate $\displaystyle$ $=$ $\displaystyle \frac {a e^{a x} e^{i b x} - i b e^{a x} e^{i b x} - a e^{a x} e^{-i b x} - i b e^{a x} e^{-i b x} } {2 i \paren {a^2 + b^2} } + C$ $\displaystyle$ $=$ $\displaystyle \frac {e^{a x} } {\paren {a^2 + b^2} } \paren {\frac {a e^{i b x} - i b e^{i b x} - a e^{-i b x} - i b e^{-i b x} } {2 i} } + C$ $\displaystyle$ $=$ $\displaystyle \frac {e^{a x} } {\paren {a^2 + b^2} } \paren {a \frac {e^{i b} x - e^{-i b x} } {2 i} - b \frac{e^{i b x} + e^{-i b x} } 2 } + C$ $\displaystyle$ $=$ $\displaystyle \frac {e^{a x} } {\paren {a^2 + b^2} } \paren {a \frac {e^{i b x} - e^{-i b x} } {2 i} - b \cos b x } + C$ Cosine Exponential Formulation $\displaystyle$ $=$ $\displaystyle \frac {e^{a x} } {\paren {a^2 + b^2} } \paren {a \sin b x - b \cos b x } + C$ Sine Exponential Formulation $\displaystyle$ $=$ $\displaystyle \frac {e^{a x} \paren {a \sin b x - b \cos b x} } {a^2 + b^2} + C$
$\blacksquare$