Discovering the Cosine Series of Sine: Insights and Calculations Explained

Click For Summary
SUMMARY

The discussion focuses on deriving the cosine series for the sine function, specifically f(x) = sin x, using the formula S(x) = (a_0/2) + Σ a_n cos(nx). The coefficients are calculated as a_0 = 4/π and a_n = 2/(π(1 - n^2))(cos(nπ) + 1). The resulting series is S(x) = (2/π)(1 - 2Σ(1/(4n^2 - 1))cos(2nx). The user observes that the graph of the series resembles |sin x| due to the non-negativity of sin x in the interval [0, π].

PREREQUISITES
  • Understanding of Fourier series and their applications
  • Familiarity with integration techniques, particularly definite integrals
  • Knowledge of trigonometric identities and properties
  • Basic graphing skills to visualize functions and series
NEXT STEPS
  • Explore Fourier series convergence and its implications
  • Study the properties of even and odd functions in Fourier analysis
  • Learn about the Dirichlet conditions for Fourier series
  • Investigate numerical methods for approximating series without calculators
USEFUL FOR

Mathematicians, physics students, and anyone interested in Fourier analysis and trigonometric series. This discussion is particularly beneficial for those looking to deepen their understanding of the relationship between sine and cosine functions.

tiagotorres
Messages
1
Reaction score
0
I tried to find the cosine series of the function [tex]f(x) = \sin x[/tex], using the equation below:

[tex]S(x) = \frac{a_0}{2} + \sum_{n=1}^{\infty} a_n \cos(nx)[/tex]
where: [tex]a_n = \frac{2}{\pi} \int_{0}^{\pi} f(x) \cos(nx) dx[/tex]

I found:

[tex]a_0 = \frac{4}{\pi}[/tex]
[tex]a_n = \frac{2 }{\pi (1 - n^2)} (\cos(n \pi) + 1)[/tex]

Therefore:

[tex]S(x) = \frac{2}{\pi} (1 - 2 \sum_{n=1}^{\infty} \frac{\cos(2nx)}{4n^2 - 1})[/tex]

Making the graph of the first terms of the function above on my calculator, I noticed that this is actually [tex]| \sin x |[/tex], rather than just [tex]\sin x[/tex]. Why does this happen? Is there a way of figuring out the sum not using a calculator?

Thanks
 
Last edited:
Physics news on Phys.org
sinx is nonegative between 0 and pi, so sinx=|sinx| there.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K