Problem
Use complex variables to compute
and simultaneously.Remark: This exercise saves a lot of work!
Solution
Consider the integral
- .
Since
,- .
Multiply the numerator and denominator by the complex conjugate on the right hand side.
- .
By matching real terms and complex terms, and tacking on the arbitrary constant from integrating, we can conclude that
and
- .