Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

UnkleRhaukus

  • one year ago

cos(x) as a sine series

  • This Question is Closed
  1. UnkleRhaukus
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    \[\qquad\text{\(f(x)\) as a sine series}\] \begin{equation*} f(x)=\cos(x),\qquad0<x<\pi \end{equation*} \begin{equation*} % g(x) g(x)= \begin{cases} \cos(x),&0<x<\pi\\ -\cos(x),&-\pi<x<0 \end{cases}\qquad\text{odd extension} \end{equation*}

  2. UnkleRhaukus
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    \[\begin{align*} % a_0,n a_0&=a_n=0\qquad\text{(odd function)}\\ \end{align*}\] \begin{align*} % b_n b_n&=\frac1\pi\int\limits_{-\pi}^\pi g(x)\sin(nx)\,\text dx\\ &=\frac2\pi\int\limits_{0}^\pi \cos(x)\sin(nx)\,\text dx\qquad\text{(even integrand)}\\ &=\frac1\pi\int\limits_{0}^\pi \sin\big((1+n)x\big)-\sin\big((1-n)x\big)\,\text dx\\ &=\frac1\pi\left[\frac{-\cos\big((1+n)x\big)}{1+n}+\frac{\cos\big((1-n)x\big)}{1-n}\Big|_0^\pi\right]\\ &=\frac1\pi\left[\frac{1-\cos\big((1+n)\pi\big)}{1+n}+\frac{\cos\big((1-n)\pi\big)-1}{1-n}\right]\\ &=\frac1\pi\left[\frac{1-(-1)^{n+1}}{1+n}+\frac{(-1)^{n+1}-1}{1-n}\right]\\ &=\frac1\pi\left[\frac{1+(-1)^{n}}{1+n}+\frac{(-1)^{n+1}-1}{1-n}\right]\\ &=\frac1\pi\left[\frac{(1-n)\big(1+(-1)^n\big)-(1+n)\big((-1)^{n}+1\big)}{1-n^2}\right]\\ &=\frac1\pi\left[\frac{-2n\big((-1)^{n}+1\big)}{1-n^2}\right]\\ &=\frac2\pi\left[\frac{n\big((-1)^{n}+1\big)}{n^2-1}\right]\\ \end{align*}

  3. UnkleRhaukus
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    \[\begin{align*} % S(x) S(x)&=\frac2\pi\sum\limits_{n=1}^\infty\frac{n\big((-1)^{n}+1\big)}{n^2-1}\sin(nx)\\ &=\frac4\pi\sum\limits_{n=2,4,6,\dots}^\infty\frac{n\sin(nx)}{n^2-1}\\ &=\frac8\pi\sum\limits_{r=1}^\infty\frac{r\sin(2rx)}{4r^2-1}\\ \end{align*}\]

  4. UnkleRhaukus
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    1 Attachment
  5. UnkleRhaukus
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    for some reason in the back of my book it has \[\frac8\pi\sum\limits_{r=1}^\infty\frac{r\sin(2rx)}{4r^2+1}\] as the answer, which seams like a mistake to me , but maybe i have overlooked something

  6. NewOne
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    The math checks out.

  7. NewOne
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    He used the last trig identity on this page convert it. http://www.sosmath.com/trig/Trig5/trig5/trig5.html

  8. NewOne
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Were you expecting bn as 0?

  9. UnkleRhaukus
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    the only qualm i have on this question is the plus sign in the denominator of answer in the back of the book, i got a minus sign , which seams to graph the correct thing so im not sure .

  10. NewOne
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    I got minus as well.

  11. UnkleRhaukus
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    i guess the back of my book is wrong then ,

  12. hartnn
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    yeah, even i get minus doing it another way also...

  13. UnkleRhaukus
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Thanks to both of you

  14. Not the answer you are looking for?
    Search for more explanations.

    Search OpenStudy
    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.