I was trying to calculate the length of the cardioid, the curve $\phi$ in $\mathbb{R^3}$ parametrized by $\rho = 1+ \cos \theta$ for $\theta \in (0, 2\pi)$.
Switching to Cartesian coordinates and simplifying a whole bunch offsides and cosines I managed to reduce the integral as such: $$ \int _0 ^{2\pi}||\phi||\text d \theta = 2\sqrt2\int_0^\pi\sqrt{1+\cos\theta}$$ (Taking advantage of the symmetry of $\cos\theta$).
Now, I am told it should come up with 8 as the answer, and Wolframalpha confirms it but I'm stuck.
As an extra: is there a way to do this integration by series?