write the sum cos(x)+cos(2x)+...+cos(nx) as a quotient only involving sine and cosine functions

We can write this sum S as Re(e^ix+e^2ix+...+e^nix), we now have a finite geometric series, which we know the formula for.Have, S = Re( e^ix(1-e^inx)/(1-e^ix)) - Now factoring numerator and denominator to look like complex formula for sine function we get,S = Re( e^ixe^inx/2(e^-inx/2-e^inx/2)/(e^ix/2(e^-ix/2-e^ix/2))) = Re(e^i(n/2+1/2)xsin(nx/2)/sin(x/2))Now since n is an integer and x is an element of the reals taking the real part gives,S = sin(nx/2)cos(((n+1)/2)x)/sin(x/2)

Related Further Mathematics A Level answers

All answers ▸

Integrate xcos(x) with respect to x


Find the values of x where x+3>2/(x-4), what about x+3>2/mod(x-4)?


Unfortunately this box is to small to contain the question so please see the first paragraph of the answer box for the question.


For a homogeneous second order differential equation, why does a complex conjugate pair solution (m+in and m-in) to the auxiliary equation result in the complementary function y(x)=e^(mx)(Acos(nx)+Bisin(nx)), where i represents √(-1).