Once nice example is the sum
$$ \cos x + \cos 2x + \cos 3x + \cdots + \cos nx $$
This can be worked out using trigonometric identities, but it turns out to be surprisingly simple with this neat trick:
$$ \sum_{k=1}^n \cos(kx) = \sum_{k=1}^n\mathscr{Re}\\{e^{ikx} \\} = \mathscr{Re} \sum_{k=1}^n e^{ikx} = \mathscr{Re}\left\\{ \frac{e^{i(n+1)x} - e^{ix}}{e^{ix} - 1} \right\\} $$
because the sum turns into a geometric series. (computing the real part to get an answer in terms of trigonometric functions is not difficult, but is a little tedious)