Find the sum of $sin^2(n)$












2














I have no clue how to solve this a detailed solution would be great$$sum_{n=1}^N sin^2(n)=? $$










share|cite|improve this question




















  • 2




    math.stackexchange.com/questions/17966/…
    – lab bhattacharjee
    Nov 27 '18 at 8:44










  • @labbhattacharjee sorry i forgot the square ahh never mind i can use trigonometric identities to reduce the power,thnx for the answer
    – Ruvik
    Nov 27 '18 at 8:46


















2














I have no clue how to solve this a detailed solution would be great$$sum_{n=1}^N sin^2(n)=? $$










share|cite|improve this question




















  • 2




    math.stackexchange.com/questions/17966/…
    – lab bhattacharjee
    Nov 27 '18 at 8:44










  • @labbhattacharjee sorry i forgot the square ahh never mind i can use trigonometric identities to reduce the power,thnx for the answer
    – Ruvik
    Nov 27 '18 at 8:46
















2












2








2


0





I have no clue how to solve this a detailed solution would be great$$sum_{n=1}^N sin^2(n)=? $$










share|cite|improve this question















I have no clue how to solve this a detailed solution would be great$$sum_{n=1}^N sin^2(n)=? $$







calculus sequences-and-series algebra-precalculus summation discrete-calculus






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 27 '18 at 8:49









A.Γ.

22.6k32656




22.6k32656










asked Nov 27 '18 at 8:44









RuvikRuvik

438




438








  • 2




    math.stackexchange.com/questions/17966/…
    – lab bhattacharjee
    Nov 27 '18 at 8:44










  • @labbhattacharjee sorry i forgot the square ahh never mind i can use trigonometric identities to reduce the power,thnx for the answer
    – Ruvik
    Nov 27 '18 at 8:46
















  • 2




    math.stackexchange.com/questions/17966/…
    – lab bhattacharjee
    Nov 27 '18 at 8:44










  • @labbhattacharjee sorry i forgot the square ahh never mind i can use trigonometric identities to reduce the power,thnx for the answer
    – Ruvik
    Nov 27 '18 at 8:46










2




2




math.stackexchange.com/questions/17966/…
– lab bhattacharjee
Nov 27 '18 at 8:44




math.stackexchange.com/questions/17966/…
– lab bhattacharjee
Nov 27 '18 at 8:44












@labbhattacharjee sorry i forgot the square ahh never mind i can use trigonometric identities to reduce the power,thnx for the answer
– Ruvik
Nov 27 '18 at 8:46






@labbhattacharjee sorry i forgot the square ahh never mind i can use trigonometric identities to reduce the power,thnx for the answer
– Ruvik
Nov 27 '18 at 8:46












1 Answer
1






active

oldest

votes


















6














NOTE If this is a school problem i'll just give a hint, i'll post a full solution later.

You can try to consider that $sin(n) = Im(cos(n)+i*sin(n))$, with $Im(.)$ the function that takes the imaginary part of a complex number.



If your question is for the sum of $sin^2(n)$ (as written in the title) remember that:
$sin^2(x) = frac{1-cos(2x)}{2}$ and then you can use the same method as above



Solution below (for $sin^2$)




$sum_{n=1}^N sin^2(n) = sum_{n=1}^N frac{1-cos(2n)}{2}$

And $sum_{n=1}^N cos(2n) = ReBigl(sum_{n=1}^N cos(2n)+isin(2n)Bigl)$
$=sum_{n=1}^N e^{2in}=sum_{n=1}^N (e^{2i})^n=e^{2i}sum_{n=0}^{N-1} (e^{2i})^n$
$=e^{2i}*frac{1-(e^{2i})^{N+1}}{1-e^{2i}} = e^{2i}*frac{e^{i(N+1)}(e^{-i(N+1)}-e^{i(N+1)})}{e^i(e^{-i}-e^i)}$
$=e^{iN+2}frac{sin(N+1)}{sin(1)}$

Thus $ReBigl(sum_{n=1}^N e^{2in}Bigl) = frac{cos(N+2)sin(n+1)}{sin(1)}$

Finally $sum_{n=1}^N sin^2(n) = frac N2-frac{cos(N+2)sin(n+1)}{2sin(1)}$




Hope i didn't make any mistakes :)






share|cite|improve this answer























  • no it is not i need this sum for a physics problem later there is discrete sum but thank i already know what to do thnx for the answer
    – Ruvik
    Nov 27 '18 at 8:52











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3015509%2ffind-the-sum-of-sin2n%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









6














NOTE If this is a school problem i'll just give a hint, i'll post a full solution later.

You can try to consider that $sin(n) = Im(cos(n)+i*sin(n))$, with $Im(.)$ the function that takes the imaginary part of a complex number.



If your question is for the sum of $sin^2(n)$ (as written in the title) remember that:
$sin^2(x) = frac{1-cos(2x)}{2}$ and then you can use the same method as above



Solution below (for $sin^2$)




$sum_{n=1}^N sin^2(n) = sum_{n=1}^N frac{1-cos(2n)}{2}$

And $sum_{n=1}^N cos(2n) = ReBigl(sum_{n=1}^N cos(2n)+isin(2n)Bigl)$
$=sum_{n=1}^N e^{2in}=sum_{n=1}^N (e^{2i})^n=e^{2i}sum_{n=0}^{N-1} (e^{2i})^n$
$=e^{2i}*frac{1-(e^{2i})^{N+1}}{1-e^{2i}} = e^{2i}*frac{e^{i(N+1)}(e^{-i(N+1)}-e^{i(N+1)})}{e^i(e^{-i}-e^i)}$
$=e^{iN+2}frac{sin(N+1)}{sin(1)}$

Thus $ReBigl(sum_{n=1}^N e^{2in}Bigl) = frac{cos(N+2)sin(n+1)}{sin(1)}$

Finally $sum_{n=1}^N sin^2(n) = frac N2-frac{cos(N+2)sin(n+1)}{2sin(1)}$




Hope i didn't make any mistakes :)






share|cite|improve this answer























  • no it is not i need this sum for a physics problem later there is discrete sum but thank i already know what to do thnx for the answer
    – Ruvik
    Nov 27 '18 at 8:52
















6














NOTE If this is a school problem i'll just give a hint, i'll post a full solution later.

You can try to consider that $sin(n) = Im(cos(n)+i*sin(n))$, with $Im(.)$ the function that takes the imaginary part of a complex number.



If your question is for the sum of $sin^2(n)$ (as written in the title) remember that:
$sin^2(x) = frac{1-cos(2x)}{2}$ and then you can use the same method as above



Solution below (for $sin^2$)




$sum_{n=1}^N sin^2(n) = sum_{n=1}^N frac{1-cos(2n)}{2}$

And $sum_{n=1}^N cos(2n) = ReBigl(sum_{n=1}^N cos(2n)+isin(2n)Bigl)$
$=sum_{n=1}^N e^{2in}=sum_{n=1}^N (e^{2i})^n=e^{2i}sum_{n=0}^{N-1} (e^{2i})^n$
$=e^{2i}*frac{1-(e^{2i})^{N+1}}{1-e^{2i}} = e^{2i}*frac{e^{i(N+1)}(e^{-i(N+1)}-e^{i(N+1)})}{e^i(e^{-i}-e^i)}$
$=e^{iN+2}frac{sin(N+1)}{sin(1)}$

Thus $ReBigl(sum_{n=1}^N e^{2in}Bigl) = frac{cos(N+2)sin(n+1)}{sin(1)}$

Finally $sum_{n=1}^N sin^2(n) = frac N2-frac{cos(N+2)sin(n+1)}{2sin(1)}$




Hope i didn't make any mistakes :)






share|cite|improve this answer























  • no it is not i need this sum for a physics problem later there is discrete sum but thank i already know what to do thnx for the answer
    – Ruvik
    Nov 27 '18 at 8:52














6












6








6






NOTE If this is a school problem i'll just give a hint, i'll post a full solution later.

You can try to consider that $sin(n) = Im(cos(n)+i*sin(n))$, with $Im(.)$ the function that takes the imaginary part of a complex number.



If your question is for the sum of $sin^2(n)$ (as written in the title) remember that:
$sin^2(x) = frac{1-cos(2x)}{2}$ and then you can use the same method as above



Solution below (for $sin^2$)




$sum_{n=1}^N sin^2(n) = sum_{n=1}^N frac{1-cos(2n)}{2}$

And $sum_{n=1}^N cos(2n) = ReBigl(sum_{n=1}^N cos(2n)+isin(2n)Bigl)$
$=sum_{n=1}^N e^{2in}=sum_{n=1}^N (e^{2i})^n=e^{2i}sum_{n=0}^{N-1} (e^{2i})^n$
$=e^{2i}*frac{1-(e^{2i})^{N+1}}{1-e^{2i}} = e^{2i}*frac{e^{i(N+1)}(e^{-i(N+1)}-e^{i(N+1)})}{e^i(e^{-i}-e^i)}$
$=e^{iN+2}frac{sin(N+1)}{sin(1)}$

Thus $ReBigl(sum_{n=1}^N e^{2in}Bigl) = frac{cos(N+2)sin(n+1)}{sin(1)}$

Finally $sum_{n=1}^N sin^2(n) = frac N2-frac{cos(N+2)sin(n+1)}{2sin(1)}$




Hope i didn't make any mistakes :)






share|cite|improve this answer














NOTE If this is a school problem i'll just give a hint, i'll post a full solution later.

You can try to consider that $sin(n) = Im(cos(n)+i*sin(n))$, with $Im(.)$ the function that takes the imaginary part of a complex number.



If your question is for the sum of $sin^2(n)$ (as written in the title) remember that:
$sin^2(x) = frac{1-cos(2x)}{2}$ and then you can use the same method as above



Solution below (for $sin^2$)




$sum_{n=1}^N sin^2(n) = sum_{n=1}^N frac{1-cos(2n)}{2}$

And $sum_{n=1}^N cos(2n) = ReBigl(sum_{n=1}^N cos(2n)+isin(2n)Bigl)$
$=sum_{n=1}^N e^{2in}=sum_{n=1}^N (e^{2i})^n=e^{2i}sum_{n=0}^{N-1} (e^{2i})^n$
$=e^{2i}*frac{1-(e^{2i})^{N+1}}{1-e^{2i}} = e^{2i}*frac{e^{i(N+1)}(e^{-i(N+1)}-e^{i(N+1)})}{e^i(e^{-i}-e^i)}$
$=e^{iN+2}frac{sin(N+1)}{sin(1)}$

Thus $ReBigl(sum_{n=1}^N e^{2in}Bigl) = frac{cos(N+2)sin(n+1)}{sin(1)}$

Finally $sum_{n=1}^N sin^2(n) = frac N2-frac{cos(N+2)sin(n+1)}{2sin(1)}$




Hope i didn't make any mistakes :)







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Nov 27 '18 at 12:10

























answered Nov 27 '18 at 8:50









TheD0ubleTTheD0ubleT

39218




39218












  • no it is not i need this sum for a physics problem later there is discrete sum but thank i already know what to do thnx for the answer
    – Ruvik
    Nov 27 '18 at 8:52


















  • no it is not i need this sum for a physics problem later there is discrete sum but thank i already know what to do thnx for the answer
    – Ruvik
    Nov 27 '18 at 8:52
















no it is not i need this sum for a physics problem later there is discrete sum but thank i already know what to do thnx for the answer
– Ruvik
Nov 27 '18 at 8:52




no it is not i need this sum for a physics problem later there is discrete sum but thank i already know what to do thnx for the answer
– Ruvik
Nov 27 '18 at 8:52


















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3015509%2ffind-the-sum-of-sin2n%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Plaza Victoria

Puebla de Zaragoza

Musa