How Can You Solve Alternating Solutions in Fourier Series?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
musk
Messages
14
Reaction score
0

Homework Statement


This is a general question, no real problem statement and is connected to solving Fourier series. You know that to solve it, you need to find [itex]a_{n}[/itex], [itex]a_{0}[/itex] and [itex]b_{n}[/itex].

Homework Equations


When solving the above mentioned ''coefficients'' you can get a solution with [itex]sin[/itex] or [itex]cos[/itex] which, in the case of [itex]cos(n\pi)[/itex] can be written as [itex](-1)^{n}[/itex] where [itex]n=0,1,2,...[/itex] since the solution alternates between [itex]0,1,-1[/itex]. Is there any similar way to write (or solve) [itex]sin[/itex] or [itex]cos\frac{n\pi}{2}[/itex] since the solution follows this pattern [itex]1,0,-1,0,1,0,-1,...[/itex]

Thank you in advance!
 
on Phys.org
Typically you then have only odd or even terms, e.g. ##a_k \cos (k\omega t), k=1, 3, 5,\dots##. You can reindex the series using the substitution k=2n+1 or k=2n. The alternating sign is conveniently expressed by (-1)n or (-1)n+1.