Question Number 60156 by Tawa1 last updated on 18/May/19
$$\mathrm{Prove}\:\mathrm{by}\:\mathrm{principle}\:\mathrm{of}\:\mathrm{mathematical}\:\mathrm{induction} \\ $$$$\:\:\:\:\:\:\:\:\mathrm{sin}\left(\mathrm{x}\right)\:+\:\mathrm{sin}\left(\mathrm{2x}\right)\:+\:\mathrm{sin}\left(\mathrm{3x}\right)\:+\:…\:+\:\mathrm{sin}\left(\mathrm{nx}\right)\:\:=\:\:\frac{\mathrm{cos}\left(\frac{\mathrm{1}}{\mathrm{2}}\mathrm{x}\right)\:−\:\mathrm{cos}\left(\mathrm{n}\:+\:\frac{\mathrm{1}}{\mathrm{2}}\right)\mathrm{x}}{\mathrm{2}\:\mathrm{sin}\left(\frac{\mathrm{1}}{\mathrm{2}}\mathrm{x}\right)} \\ $$
Commented by Smail last updated on 19/May/19
$${sinx}+{sin}\mathrm{2}{x}+…+{sin}\left({nx}\right)=\underset{{k}=\mathrm{0}} {\overset{{n}} {\sum}}{sin}\left({kx}\right) \\ $$$$={Im}\left(\underset{{k}=\mathrm{0}} {\overset{{n}} {\sum}}{e}^{{ikx}} \right) \\ $$$$\underset{{k}=\mathrm{0}} {\overset{{n}} {\sum}}{e}^{{ikx}} =\underset{{k}=\mathrm{0}} {\overset{{n}} {\sum}}\left({e}^{{ix}} \right)^{{k}} =\frac{\mathrm{1}−\left({e}^{{ix}} \right)^{{n}+\mathrm{1}} }{\mathrm{1}−{e}^{{ix}} } \\ $$$$=\frac{\mathrm{1}−{e}^{{i}\left({n}+\mathrm{1}\right){x}} }{\mathrm{1}−{e}^{{ix}} }=\frac{\mathrm{1}−{cos}\left(\left({n}+\mathrm{1}\right){x}\right)−{isin}\left(\left({n}+\mathrm{1}\right){x}\right)}{\mathrm{1}−{cosx}−{isinx}} \\ $$$$=\frac{\mathrm{2}{sin}^{\mathrm{2}} \left(\frac{{n}+\mathrm{1}}{\mathrm{2}}{x}\right)−\mathrm{2}{isin}\left(\frac{{n}+\mathrm{1}}{\mathrm{2}}{x}\right){cos}\left(\frac{{n}+\mathrm{1}}{\mathrm{2}}{x}\right)}{\mathrm{2}{sin}^{\mathrm{2}} \frac{{x}}{\mathrm{2}}−\mathrm{2}{isin}\frac{{x}}{\mathrm{2}}{cos}\frac{{x}}{\mathrm{2}}} \\ $$$$=\frac{−{i}×{sin}\left(\frac{{n}+\mathrm{1}}{\mathrm{2}}{x}\right)\left({isin}\left(\frac{{n}+\mathrm{1}}{\mathrm{2}}{x}\right)+{cos}\left(\frac{{n}+\mathrm{1}}{\mathrm{2}}{x}\right)\right)}{−{isin}\frac{{x}}{\mathrm{2}}×\left({isin}\frac{{x}}{\mathrm{2}}+{cos}\frac{{x}}{\mathrm{2}}\right)} \\ $$$$=\frac{{sin}\left(\frac{{n}+\mathrm{1}}{\mathrm{2}}{x}\right){e}^{{i}\frac{{n}+\mathrm{1}}{\mathrm{2}}{x}} }{{sin}\frac{{x}}{\mathrm{2}}×{e}^{{i}\frac{{x}}{\mathrm{2}}} }=\frac{{sin}\left(\frac{{n}+\mathrm{1}}{\mathrm{2}}{x}\right)}{{sin}\frac{{x}}{\mathrm{2}}}{e}^{{i}\frac{{n}}{\mathrm{2}}{x}} \\ $$$${Im}\left(\underset{{k}=\mathrm{0}} {\overset{{n}} {\sum}}{e}^{{ikx}} \right)=\frac{{sin}\left(\frac{{n}+\mathrm{1}}{\mathrm{2}}{x}\right){sin}\left(\frac{{n}}{\mathrm{2}}{x}\right)}{{sin}\frac{{x}}{\mathrm{2}}} \\ $$$${sinx}+{sin}\mathrm{2}{x}+…+{sinnx}=\frac{{sin}\left(\frac{{n}+\mathrm{1}}{\mathrm{2}}{x}\right){sin}\left(\frac{{n}}{\mathrm{2}}{x}\right)}{{sin}\frac{{x}}{\mathrm{2}}} \\ $$$$=\frac{{cos}\left(\frac{{n}+\mathrm{1}}{\mathrm{2}}{x}−\frac{{n}}{\mathrm{2}}{x}\right)−{cos}\left(\frac{{n}+\mathrm{1}}{\mathrm{2}}{x}+\frac{{n}}{\mathrm{2}}{x}\right)}{\mathrm{2}{sin}\frac{{x}}{\mathrm{2}}} \\ $$$$=\frac{{cos}\left(\frac{{x}}{\mathrm{2}}\right)−{cos}\left(\frac{\mathrm{2}{n}+\mathrm{1}}{\mathrm{2}}{x}\right)}{\mathrm{2}{sin}\frac{{x}}{\mathrm{2}}} \\ $$
Commented by Tawa1 last updated on 19/May/19
$$\mathrm{God}\:\mathrm{bless}\:\mathrm{you}\:\mathrm{sir} \\ $$
Answered by Kunal12588 last updated on 18/May/19
$${P}\left({n}\right):\:\mathrm{sin}\left(\mathrm{x}\right)+\mathrm{sin}\left(\mathrm{2x}\right)+\mathrm{sin}\left(\mathrm{3x}\right)+…+\mathrm{sin}\left(\mathrm{nx}\right)=\frac{\mathrm{cos}\left(\frac{\mathrm{1}}{\mathrm{2}}\mathrm{x}\right)−\mathrm{cos}\left(\mathrm{n}+\frac{\mathrm{1}}{\mathrm{2}}\right)\mathrm{x}}{\mathrm{2}\:\mathrm{sin}\left(\frac{\mathrm{1}}{\mathrm{2}}\mathrm{x}\right)} \\ $$$${P}\left(\mathrm{1}\right)\::\: \\ $$$${LHS}={sin}\left({x}\right) \\ $$$${RHS}=\frac{\mathrm{cos}\left(\frac{\mathrm{1}}{\mathrm{2}}\mathrm{x}\right)−\mathrm{cos}\left(\mathrm{1}\:+\:\frac{\mathrm{1}}{\mathrm{2}}\right)\mathrm{x}}{\mathrm{2}\:\mathrm{sin}\left(\frac{\mathrm{1}}{\mathrm{2}}\mathrm{x}\right)}=\frac{{sin}\left(\frac{\frac{\mathrm{1}}{\mathrm{2}}+\mathrm{1}+\frac{\mathrm{1}}{\mathrm{2}}}{\mathrm{2}}\right){x}\:{sin}\left(\frac{\mathrm{1}+\frac{\mathrm{1}}{\mathrm{2}}−\frac{\mathrm{1}}{\mathrm{2}}}{\mathrm{2}}\right){x}}{{sin}\left(\frac{\mathrm{1}}{\mathrm{2}}\right){x}} \\ $$$$=\frac{{sin}\left({x}\right)\:{sin}\left(\frac{\mathrm{1}}{\mathrm{2}}\right){x}}{{sin}\left(\frac{\mathrm{1}}{\mathrm{2}}\right){x}}={sin}\left({x}\right) \\ $$$$\Rightarrow{LHS}={RHS} \\ $$$$\therefore{P}\left(\mathrm{1}\right)\:{is}\:{true} \\ $$$${Let}\:{P}\left({k}\right)\:\:{be}\:{true}\:;\:{k}\in\mathbb{N} \\ $$$${P}\left({k}\right):\:{sin}\left({x}\right)+{sin}\left(\mathrm{2}{x}\right)+{sin}\left(\mathrm{3}{x}\right)+…+{sin}\left({kx}\right)=\frac{{cos}\left(\frac{\mathrm{1}}{\mathrm{2}}\right){x}−{cos}\left({k}+\:\frac{\mathrm{1}}{\mathrm{2}}\right){x}}{\mathrm{2}\:{sin}\left(\frac{\mathrm{1}}{\mathrm{2}}\right){x}} \\ $$$${Now}, \\ $$$${P}\left({k}+\mathrm{1}\right): \\ $$$${sin}\left({x}\right)+{sin}\left(\mathrm{2}{x}\right)+…+{sin}\left({kx}\right)+{sin}\left(\left({k}+\mathrm{1}\right){x}\right) \\ $$$$=\frac{{cos}\left(\frac{\mathrm{1}}{\mathrm{2}}\right){x}−{cos}\left({k}+\:\frac{\mathrm{1}}{\mathrm{2}}\right){x}}{\mathrm{2}\:{sin}\left(\frac{\mathrm{1}}{\mathrm{2}}\right){x}}+{sin}\left(\left({k}+\mathrm{1}\right){x}\right) \\ $$$$=\frac{{cos}\left(\frac{\mathrm{1}}{\mathrm{2}}\right){x}−{cos}\left({k}+\:\frac{\mathrm{1}}{\mathrm{2}}\right){x}}{\mathrm{2}\:{sin}\left(\frac{\mathrm{1}}{\mathrm{2}}\right){x}}+\frac{\mathrm{2}{sin}\left(\left({k}+\mathrm{1}\right){x}\right){sin}\left(\frac{\mathrm{1}}{\mathrm{2}}\right){x}}{\mathrm{2}{sin}\left(\frac{\mathrm{1}}{\mathrm{2}}\right){x}} \\ $$$$={p}+\frac{{cos}\left(\frac{\mathrm{1}}{\mathrm{2}}−{k}−\mathrm{1}\right){x}−{cos}\left(\frac{\mathrm{1}}{\mathrm{2}}+{k}+\mathrm{1}\right){x}}{\mathrm{2}{sin}\left(\frac{\mathrm{1}}{\mathrm{2}}\right){x}} \\ $$$$={p}+\frac{{cos}\left({k}+\frac{\mathrm{1}}{\mathrm{2}}\right){x}−{cos}\left({k}+\mathrm{1}+\frac{\mathrm{1}}{\mathrm{2}}\right){x}}{\mathrm{2}{sin}\left(\frac{\mathrm{1}}{\mathrm{2}}\right){x}} \\ $$$$=\frac{{cos}\left(\frac{\mathrm{1}}{\mathrm{2}}\right){x}−{cos}\left({k}+\frac{\mathrm{1}}{\mathrm{2}}\right){x}+{cos}\left({k}+\frac{\mathrm{1}}{\mathrm{2}}\right){x}−{cos}\left({k}+\mathrm{1}+\frac{\mathrm{1}}{\mathrm{2}}\right){x}}{\mathrm{2}{sin}\left(\frac{\mathrm{1}}{\mathrm{2}}\right){x}} \\ $$$$=\frac{{cos}\left(\frac{\mathrm{1}}{\mathrm{2}}\right){x}−{cos}\left({k}+\mathrm{1}+\frac{\mathrm{1}}{\mathrm{2}}\right){x}}{\mathrm{2}{sin}\left(\frac{\mathrm{1}}{\mathrm{2}}\right){x}} \\ $$$$\therefore{P}\left({n}\right)\:{is}\:{true}\:{from}\:{Principle}\:{of}\:{Mathematical}\:{Induction} \\ $$
Commented by Tawa1 last updated on 18/May/19
$$\mathrm{God}\:\mathrm{bless}\:\mathrm{you}\:\mathrm{sir} \\ $$
Answered by tanmay last updated on 18/May/19
$${by}\:{general}\:{method}−\mathrm{1} \\ $$$${rule}\:{is}\rightarrow{see}\:{the}\:{values}\:{of}\:{angles}\rightarrow{they}\:{are}\:{in}\: \\ $$$${A}.{P}\:{and}\:{common}\:{difference}\:{is}\:{x} \\ $$$${now}\:{multiply}\:{each}\:{term}\:{by}\:\boldsymbol{{sin}}\left(\frac{\boldsymbol{{x}}}{\mathrm{2}}\right)\:\leftarrow{main}\:{concept} \\ $$$${now} \\ $$$$\mathrm{2}{sinx}.{sin}\left(\frac{{x}}{\mathrm{2}}\right)={cos}\frac{{x}}{\mathrm{2}}−{cos}\left(\frac{\mathrm{3}{x}}{\mathrm{2}}\right) \\ $$$$\mathrm{2}{sin}\mathrm{2}{x}.{sin}\left(\frac{{x}}{\mathrm{2}}\right)={cos}\frac{\mathrm{3}{x}}{\mathrm{2}}−{cos}\frac{\mathrm{5}{x}}{\mathrm{2}} \\ $$$$… \\ $$$$… \\ $$$$\mathrm{2}{sinnx}.{sin}\frac{{x}}{\mathrm{2}}={cos}\left(\frac{\mathrm{2}{n}−\mathrm{1}}{\mathrm{2}}\right){x}−{cos}\left(\frac{\mathrm{2}{n}+\mathrm{1}}{\mathrm{2}}\right){x} \\ $$$${now}\:{add}\:{them} \\ $$$$\mathrm{2}{sin}\frac{{x}}{\mathrm{2}}×\boldsymbol{{S}}={cos}\frac{{x}}{\mathrm{2}}−{cos}\left(\frac{\mathrm{2}{n}+\mathrm{1}}{\mathrm{2}}\right){x} \\ $$$$\boldsymbol{{S}}=\frac{{cos}\left(\frac{{x}}{\mathrm{2}}\right)−{cos}\left({n}+\frac{\mathrm{1}}{\mathrm{2}}\right){x}}{\mathrm{2}{sin}\left(\frac{{x}}{\mathrm{2}}\right)} \\ $$$$ \\ $$
Commented by Kunal12588 last updated on 18/May/19
that's actually great
Commented by Tawa1 last updated on 18/May/19
$$\mathrm{God}\:\mathrm{bless}\:\mathrm{you}\:\mathrm{sir} \\ $$
Answered by tanmay last updated on 18/May/19
$${method}−\mathrm{2} \\ $$$${p}={cosx}+{cos}\mathrm{2}{x}+{cos}\mathrm{3}{x}+…+{cosxnx} \\ $$$${q}={sinx}+{sin}\mathrm{2}{x}+{sin}\mathrm{3}{x}+…+{sinnx} \\ $$$${p}+{iq}={e}^{{ix}} +{e}^{{i}\mathrm{2}{x}} +…+{e}^{{inx}} \\ $$$${p}+{iq}=\frac{{e}^{{ix}} \left({e}^{{inx}} −\mathrm{1}\right)}{{e}^{{ix}} −\mathrm{1}} \\ $$$${p}+{iq}=\frac{{e}^{{i}\left({n}+\mathrm{1}\right){x}} −{e}^{{ix}} }{{e}^{{ix}} −\mathrm{1}} \\ $$$$=\frac{{cos}\left({n}+\mathrm{1}\right){x}+{isin}\left({n}+\mathrm{1}\right){x}−{cosx}−{isinx}}{{cosx}+{isinx}−\mathrm{1}} \\ $$$$=\frac{\left[{cos}\left({n}+\mathrm{1}\right){x}−{cosx}\right]+{i}\left[{sin}\left({n}+\mathrm{1}\right){x}−{sinx}\right]}{\left({cosx}−\mathrm{1}\right)+{isinx}} \\ $$$$=\frac{\mathrm{2}{sin}\left({x}+\frac{{nx}}{\mathrm{2}}\right){sin}\left(\frac{−{nx}}{\mathrm{2}}\right)+{i}\left[\mathrm{2}{cos}\left({x}+\frac{{nx}}{\mathrm{2}}\right){sin}\left(\frac{{nx}}{\mathrm{2}}\right)\right.}{−\mathrm{2}{sin}^{\mathrm{2}} \frac{{x}}{\mathrm{2}}+{i}\mathrm{2}{sin}\frac{{x}}{\mathrm{2}}{cos}\frac{{x}}{\mathrm{2}}} \\ $$$$=\frac{\mathrm{2}{sin}\frac{{nx}}{\mathrm{2}}}{\mathrm{2}{sin}\frac{{x}}{\mathrm{2}}}×\frac{−{sin}\left({x}+\frac{{nx}}{\mathrm{2}}\right)+{icos}\left({x}+\frac{{nx}}{\mathrm{2}}\right)}{−{sin}\frac{{x}}{\mathrm{2}}+{icos}\frac{{x}}{\mathrm{2}}} \\ $$$$=\frac{{sin}\frac{{nx}}{\mathrm{2}}}{{sin}\frac{{x}}{\mathrm{2}}}×\frac{\left[{sin}\left({x}+\frac{{nx}}{\mathrm{2}}\right)−{icos}\left({x}+\frac{{nx}}{\mathrm{2}}\right)\right]\left[{sin}\frac{{x}}{\mathrm{2}}+{icos}\frac{{x}}{\mathrm{2}}\right]}{\left({sin}\frac{{x}}{\mathrm{2}}−{icos}\frac{{x}}{\mathrm{2}}\right)\left({sin}\frac{{x}}{\mathrm{2}}+{icos}\frac{{x}}{\mathrm{2}}\right)} \\ $$$$=\frac{{sin}\frac{{nx}}{\mathrm{2}}}{{sin}\frac{{x}}{\mathrm{2}}}×\frac{\left[{sin}\left({x}+\frac{{nx}}{\mathrm{2}}\right){sin}\frac{{x}}{\mathrm{2}}+{isin}\left({x}+\frac{{nx}}{\mathrm{2}}\right){cos}\frac{{x}}{\mathrm{2}}−{icos}\left({x}+\frac{{nx}}{\mathrm{2}}\right){sin}\frac{{x}}{\mathrm{2}}+{cos}\left({x}+\frac{{nx}}{\mathrm{2}}\right){cos}\frac{{x}}{\mathrm{2}}\right]}{{sin}^{\mathrm{2}} \frac{{x}}{\mathrm{2}}+{cos}^{\mathrm{2}} \frac{{x}}{\mathrm{2}}} \\ $$$$=\frac{{sin}\frac{{nx}}{\mathrm{2}}}{{sin}\frac{{x}}{\mathrm{2}}}×\frac{{cos}\left(\frac{{nx}}{\mathrm{2}}+\frac{{x}}{\mathrm{2}}\right)+{isin}\left(\frac{{nx}}{\mathrm{2}}+\frac{{x}}{\mathrm{2}}\right)}{\mathrm{1}} \\ $$$$=\left[\frac{{sin}\frac{{nx}}{\mathrm{2}}}{{sin}\frac{{x}}{\mathrm{2}}}×{cos}\left({n}+\mathrm{1}\right)\frac{{x}}{\mathrm{2}}\right]+{i}\left[\frac{{sin}\frac{{nx}}{\mathrm{2}}}{{sin}\frac{{x}}{\mathrm{2}}}×{sin}\left({n}+\mathrm{1}\right)\frac{{x}}{\mathrm{2}}\right] \\ $$$$=\left[\frac{{sin}\left(\frac{{nx}}{\mathrm{2}}+\frac{{nx}}{\mathrm{2}}+\frac{{x}}{\mathrm{2}}\right)−{sin}\left(\frac{{x}}{\mathrm{2}}\right)}{\mathrm{2}{sin}\frac{{x}}{\mathrm{2}}}\right]+{i}\left[\frac{{cos}\frac{{x}}{\mathrm{2}}−{cos}\left(\frac{{nx}}{\mathrm{2}}+\frac{{nx}}{\mathrm{2}}+\frac{{x}}{\mathrm{2}}\right.}{\mathrm{2}{sin}\frac{{x}}{\mathrm{2}}}\right] \\ $$$$\boldsymbol{{S}}{o} \\ $$$${p}=\underset{{r}=\mathrm{1}} {\overset{{n}} {\sum}}{cosrx}=\left[\frac{{sin}\left({nx}+\frac{{x}}{\mathrm{2}}\right)}{\mathrm{2}{sin}\frac{{x}}{\mathrm{2}}}\right] \\ $$$${q}=\underset{{r}=\mathrm{1}} {\overset{{n}} {\sum}}{sinrx}=\left[\frac{{cos}\frac{{x}}{\mathrm{2}}−{cos}\left({nx}+\frac{{x}}{\mathrm{2}}\right)}{\mathrm{2}{sin}\frac{{x}}{\mathrm{2}}}\right] \\ $$$${this}\:{is}\:{second}\:{method}… \\ $$$$ \\ $$$$ \\ $$$$ \\ $$$$ \\ $$$$= \\ $$
Commented by Tawa1 last updated on 18/May/19
$$\mathrm{God}\:\mathrm{bless}\:\mathrm{you}\:\mathrm{sir} \\ $$
Commented by Tawa1 last updated on 18/May/19
$$\mathrm{Sir},\:\mathrm{how}\:\mathrm{to}\:\mathrm{prove}\:\mathrm{the}\:\mathrm{second}\:\mathrm{question}\:\mathrm{too},\:\mathrm{without}\:\mathrm{induction}. \\ $$$$\:\:\frac{\mathrm{1}}{\mathrm{2}}\:+\:\mathrm{cos}\left(\mathrm{x}\right)\:+\:\mathrm{cos}\left(\mathrm{2x}\right)\:+\:\mathrm{cos}\left(\mathrm{3x}\right)\:+\:…\:+\:\mathrm{cos}\left(\mathrm{nx}\right)\:\:=\:\:\frac{\mathrm{sin}\left(\mathrm{n}\:+\:\frac{\mathrm{1}}{\mathrm{2}}\right)\mathrm{x}}{\mathrm{2}\:\mathrm{sin}\left(\frac{\mathrm{1}}{\mathrm{2}}\mathrm{x}\right)} \\ $$
Commented by Tawa1 last updated on 18/May/19
$$\mathrm{Thanks}\:\mathrm{for}\:\mathrm{your}\:\mathrm{time}. \\ $$
Commented by tanmay last updated on 18/May/19
$${S}=\frac{\mathrm{1}}{\mathrm{2}}+{cosx}+{cos}\mathrm{2}{x}+..+{cosnx} \\ $$$${S}−\frac{\mathrm{1}}{\mathrm{2}}={cosx}+{cosx}+…+{cosnx} \\ $$$${same}\:{trick}…{angles}\:{are}\:{in}\:{A}.{P} \\ $$$${common}\:{difference}={x} \\ $$$${multiply}\:{each}\:{term}\:{by}\:\boldsymbol{{sin}}\left(\frac{\boldsymbol{{x}}}{\mathrm{2}}\right)\leftarrow{always}\:{sin}\left(\frac{{c}.{d}}{\mathrm{2}}\right) \\ $$$$\mathrm{2}{cosxsin}\frac{{x}}{\mathrm{2}}={sin}\frac{\mathrm{3}{x}}{\mathrm{2}}−{sin}\frac{{x}}{\mathrm{2}} \\ $$$$\mathrm{2}{cos}\mathrm{2}{x}.{sin}\frac{{x}}{\mathrm{2}}={sin}\frac{\mathrm{5}{x}}{\mathrm{2}}−{sin}\frac{\mathrm{3}{x}}{\mathrm{2}} \\ $$$$\mathrm{2}{cos}\mathrm{3}{x}.{sin}\frac{{x}}{\mathrm{2}}={sin}\frac{\mathrm{7}{x}}{\mathrm{2}}−{sin}\frac{\mathrm{5}{x}}{\mathrm{2}} \\ $$$$… \\ $$$$… \\ $$$$\mathrm{2}{cosnx}.{sin}\frac{{x}}{\mathrm{2}}={sin}\left(\frac{\mathrm{2}{n}+\mathrm{1}}{\mathrm{2}}\right){x}−{sin}\left(\frac{\mathrm{2}{n}−\mathrm{1}}{\mathrm{2}}\right){x} \\ $$$${now}\:{add}\:{them} \\ $$$$\mathrm{2}{sin}\frac{{x}}{\mathrm{2}}\left(\boldsymbol{{S}}−\frac{\mathrm{1}}{\mathrm{2}}\right)=\boldsymbol{{sin}}\left(\frac{\mathrm{2}\boldsymbol{{n}}+\mathrm{1}}{\mathrm{2}}\right)\boldsymbol{{x}}−\boldsymbol{{sin}}\frac{\boldsymbol{{x}}}{\mathrm{2}} \\ $$$$\boldsymbol{{S}}−\frac{\mathrm{1}}{\mathrm{2}}=\frac{{sin}\left(\frac{\mathrm{2}{n}+\mathrm{1}}{\mathrm{2}}\right){x}−{sin}\frac{{x}}{\mathrm{2}}}{\mathrm{2}{sin}\frac{{x}}{\mathrm{2}}} \\ $$$$\boldsymbol{{S}}=\frac{\mathrm{1}}{\mathrm{2}\:}+\frac{{sin}\left(\frac{\mathrm{2}{n}+\mathrm{1}}{\mathrm{2}}\right){x}−{sin}\frac{{x}}{\mathrm{2}}}{\mathrm{2}{sin}\frac{{x}}{\mathrm{2}}} \\ $$$$\boldsymbol{{S}}=\frac{{sin}\frac{{x}}{\mathrm{2}}+{sin}\left(\frac{\mathrm{2}{n}+\mathrm{1}}{\mathrm{2}}\right){x}−{sin}\frac{{x}}{\mathrm{2}}}{\mathrm{2}{sin}\frac{{x}}{\mathrm{2}}} \\ $$$$\boldsymbol{{S}}=\frac{{sin}\left(\frac{\mathrm{2}{n}+\mathrm{1}}{\mathrm{2}\:}\right){x}}{\mathrm{2}{sin}\frac{{x}}{\mathrm{2}}} \\ $$
Commented by Tawa1 last updated on 18/May/19
$$\mathrm{I}\:\mathrm{really}\:\mathrm{appreciate}\:\mathrm{sir}.\:\:\mathrm{God}\:\mathrm{bless}\:\mathrm{you}. \\ $$
Commented by malwaan last updated on 19/May/19
$$\mathcal{FANTASTIC}\:{sir} \\ $$