Trigonometric Sums

Graph for reference


Like most of my notes, this one starts with curiosity. I saw this problem and went to Desmos to solve it. Then, I got a bit curious about trigonometric functions and what that pattern would result in (y=sin(x)+sin(2x)+sin(3x)+sin(4x)y=\sin(x)+\sin(2x)+\sin(3x)+\sin(4x)); the resulting graph looked a bit like the graph of a heart rate monitor in hospitals. I used \sum to make it easier, giving me the function f(x)=n=1asin(n×x)f(x)= \displaystyle\sum_{n=1}^a \sin(n\times x) Since Desmos can't handle infinity, I used the next best thing: a=99a=99. This gave me a graph that was a bit strange: it was so squished together that it looked like a solid shape instead of a continuous line; the shape looked suspiciously like the graph of the cotangent function. After messing around a bit, I found the the two graphs that contained this strange function/shape: y=cot(x4)2y=\frac{\cot\left(\frac{x}{4}\right)}{2}

y=cot(x4+π2)2y=\frac{\cot\left(\frac{x}{4}+\frac{\pi}{2}\right)}{2} I was baffled by the connection between the two functions, sine and cotangent. However, this is only half of the story.


I went through the same process with the cosine function, giving me g(x)=n=1bcos(n×x)g(x)= \displaystyle\sum_{n=1}^b \cos(n\times x) b=99b=99 This time, the graph/shape looked suspiciously like the secant/cosecant function. Once again, after some messing and mapping, I managed to get the two defining functions of this new cosine sum: y=csc(x2)12y=\frac{\csc\left(\frac{x}{2}\right)-1}{2}

y=csc(x2)+12y=\frac{\csc\left(\frac{x}{2}\right)+1}{-2}


My question to the brilliant community of Brilliant: How on Earth are these functions related? They seemed to pop up out of nowhere.

#Calculus

Note by Blan Morrison
3 years ago

No vote yet
1 vote

  Easy Math Editor

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

  • Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
  • Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
  • Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
  • Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold

- bulleted
- list

  • bulleted
  • list

1. numbered
2. list

  1. numbered
  2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1

paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
    # 4 spaces, and now they show
    # up as a code block.

    print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.
2 \times 3 2×3 2 \times 3
2^{34} 234 2^{34}
a_{i-1} ai1 a_{i-1}
\frac{2}{3} 23 \frac{2}{3}
\sqrt{2} 2 \sqrt{2}
\sum_{i=1}^3 i=13 \sum_{i=1}^3
\sin \theta sinθ \sin \theta
\boxed{123} 123 \boxed{123}

Comments

Graph for reference

First,

sinx+sin2x+sin3x++sinnx=sinx2(sinx+sin2x+sin3x++sinnx)sinx2=sinx2sinx+sinx2sin2x+sinx2sin3x++sinx2sinnxsinx2\sin {x}+\sin {2x}+\sin {3x}+\cdots +\sin {nx}\\ =\dfrac { \sin { \frac { x }{ 2 } } (\sin {x}+\sin {2x}+\sin {3x}+\cdots +\sin {nx}) }{ \sin { \frac { x }{ 2 } } } \\ =\frac { \sin { \frac { x }{ 2 } } \sin { x } +\sin { \frac { x }{ 2 } } \sin { 2x }+\sin { \frac { x }{ 2 } } \sin { 3x }+\cdots +\sin { \frac { x }{ 2 } } \sin { nx } } { \sin { \frac { x }{ 2 } } }

Using the Product-to-Sum Formula:

=cos(x2x)cos(x2+x)+cos(x22x)cos(x2+2x)+cos(x2nx)cos(x2+nx)2sinx2=cos(x2)cos(3x2)+cos(3x2)cos(5x2)+cos(x2nx)cos(x2+nx)2sinx2=\frac { \cos { (\frac { x }{ 2 } -x) } -\cos { (\frac { x }{ 2 } +x) } +\cos { (\frac { x }{ 2 } -2x) } -\cos { (\frac { x }{ 2 } +2x) } \cdots +\cos { (\frac { x }{ 2 } -nx) } -\cos { (\frac { x }{ 2 } +nx) } }{ 2\sin { \frac { x }{ 2 } } } \\ =\frac { \cos { (-\frac { x }{ 2 } ) } -\cos { (\frac { 3x }{ 2 } ) } +\cos { (-\frac { 3x }{ 2 } ) } -\cos { (\frac { 5x }{ 2 } ) } \cdots +\cos { (\frac { x }{ 2 } -nx) } -\cos { (\frac { x }{ 2 } +nx) } }{ 2\sin { \frac { x }{ 2 } } }

Since cos(a)=cos(a)cos{(a)}=cos{(-a)}, we can cancel the terms:

=cos(x2)cos(x2+nx)2sinx2=\frac { \cos { (\frac { x }{ 2 } ) } -\cos { (\frac { x }{ 2 } +nx) } }{ 2\sin { \frac { x }{ 2 } } }

Now, as nn approaches infinity, cos(x2+nx)\cos { (\frac { x }{ 2 } +nx) } fluctuates continuously and infinitely frequently between 1-1 and 11, and the whole expression fluctuates continuously and infinitely frequently between

cos(x2)+12sinx2\frac { \cos { (\frac { x }{ 2 } ) } +1 }{ 2\sin { \frac { x }{ 2 } } } and cos(x2)12sinx2\frac { \cos { (\frac { x }{ 2 } ) } -1 }{ 2\sin { \frac { x }{ 2 } } }

near a point.

Using the Double-Angle Formula:

cos(x2)+12sinx2=2cos2x41+122sinx4cosx4=cos2x42sinx4cosx4=cotx42\frac { \cos { (\frac { x }{ 2 } ) } +1 }{ 2\sin { \frac { x }{ 2 } } } \\ =\frac { 2\cos ^{ 2 }{ \frac { x }{ 4 } } -1+1 }{ 2\cdot 2\sin { \frac { x }{ 4 } } \cos { \frac { x }{ 4 } } } \\ =\frac { \cos ^{ 2 }{ \frac { x }{ 4 } } }{ 2\sin { \frac { x }{ 4 } } \cos { \frac { x }{ 4 } } } \\ =\frac { \cot { \frac { x }{ 4 } } }{ 2 }

Similarly:

cos(x2)12sinx2=12sin2x4122sinx4cosx4=sin2x42sinx4cosx4=tanx42=cot(x4+π2)2\frac { \cos { (\frac { x }{ 2 } ) } -1 }{ 2\sin { \frac { x }{ 2 } } } \\ =\frac { 1-2\sin ^{ 2 }{ \frac { x }{ 4 } } -1 }{ 2\cdot 2\sin { \frac { x }{ 4 } } \cos { \frac { x }{ 4 } } } \\ =\frac { -\sin ^{ 2 }{ \frac { x }{ 4 } } }{ 2\sin { \frac { x }{ 4 } } \cos { \frac { x }{ 4 } } } \\ =\frac { -\tan { \frac { x }{ 4 } } }{ 2 } =\frac { \cot { (\frac { x }{ 4 } +\frac { \pi } { 2 } ) } }{ 2 }

So the expression fluctuates frequently between cotx42\frac { \cot { \frac { x }{ 4 } } }{ 2 } and cot(x4+π2)2\frac { \cot { (\frac { x }{ 4 } +\frac { \pi } { 2 } ) } }{ 2 } .

In other words, k=1nsin(k×x)\displaystyle\sum_{k=1}^n \sin(k\times x) looks "sandwiched" between cotx42\frac { \cot { \frac { x }{ 4 } } }{ 2 } and cot(x4+π2)2\frac { \cot { (\frac { x }{ 4 } +\frac { \pi } { 2 } ) } }{ 2 } .

In the same way, we can also find the functions that "sandwich" k=1ncos(k×x)\displaystyle\sum_{k=1}^n \cos(k\times x).

icreiuhe Zhu - 3 years ago

Looks tough- glad I’m in Geometry

Ella Collard - 3 years ago
×

Problem Loading...

Note Loading...

Set Loading...