How to 'shift' Fourier series to match the initial condition of this PDE?

Click For Summary

Homework Help Overview

The discussion revolves around the application of Fourier series to solve a partial differential equation (PDE) with a specific initial condition defined for the interval -L to L. The initial condition is given as f(x) = (40x)/L, and participants explore how to manipulate a known Fourier series to match this condition without performing integration.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss reflecting and shifting the Fourier series to align with the initial condition. There is mention of the need to perform affine transformations and how to approach scaling and shifting in the context of the Fourier series. Questions arise about the order of transformations and the implications of phase shifts on the series.

Discussion Status

Some participants have provided guidance on using affine transformations and substitutions to relate the variable φ to x. There is an ongoing exploration of how to apply phase shifts and the implications for the Fourier series representation. Multiple interpretations of the transformation process are being discussed, indicating a productive exchange of ideas.

Contextual Notes

Participants are considering the constraints of the initial condition and the specific form of the Fourier series provided. There is an emphasis on understanding the transformations required to adapt the series to the problem at hand, with some uncertainty regarding the best approach to take.

Master1022
Messages
590
Reaction score
116
Homework Statement
How can I match the following Fourier series to match the initial condition for a PDE?
Relevant Equations
Fourier Series
Hi,

Question: If we have an initial condition, valid for -L \leq x \leq L:
f(x) = \frac{40x}{L} how can I utilise a know Fourier series to get to the solution without doing the integration (I know the integral isn't tricky, but still this method might help out in other situations)?

We are given the following Fourier series:
\frac{2A}{\pi} \left( sin(\phi) + \frac{1}{2} sin(2 \phi) + \frac{1}{3} sin(3\phi) + ... \right) where \phi = \frac{2 \pi x}{T} and A is the amplitude. This represents a function that looks like this (this would be sharper with more terms, but I just put a few into Desmos):
Screen Shot 2020-08-24 at 9.08.11 PM.png


My attempt:
I think we want to do the following steps:
1. Reflect the series about the x-axis (multiply by -1)
2. Shift/scale the series have a zero at the origin and have a full period range from -L to L

It is the second step that confuses me and I am not completely sure how to do it, but this is how I approached it:
- we want the point where \pi is to shift to the origin (so \phi + \pi)
then we get that sin(\phi + \pi) = -sin(\phi).
- then we let T = 2L to get and A = 40 to get:
\frac{-2\times 40}{\pi} \left(-sin(\frac{\pi x}{L}) + \frac{1}{2} sin(\frac{2 \pi x}{L}) - \frac{1}{3} sin(\frac{3 \pi x}{L}) + ... +\frac{(-1)^n}{n}sin(\frac{n \pi x}{L}) \right)

Does this method seem correct?

However, what if there is a shift and scale required? How does that change the order of the transformation? Should we always do the shift first, for out the trig double angle simplification, and then do the scaling in the x-direction?

Any help is greatly appreciated.
 
  • Like
Likes   Reactions: etotheipi
Physics news on Phys.org
If you need an affine transformation, then you should do that in a single step: <br /> [a,b] \to [0, 2\pi]: x \mapsto \frac{2\pi}{b - a}(x - a). Thus here \phi = \frac{\pi}L (x + L), \qquad x = -L + \frac{L}{\pi} \phi and <br /> \frac{40x}{L} = -40 + \frac{40}{\pi} \phi.
 
  • Informative
Likes   Reactions: etotheipi and Master1022
pasmith said:
If you need an affine transformation, then you should do that in a single step: <br /> [a,b] \to [0, 2\pi]: x \mapsto \frac{2\pi}{b - a}(x - a). Thus here \phi = \frac{\pi}L (x + L), \qquad x = -L + \frac{L}{\pi} \phi and <br /> \frac{40x}{L} = -40 + \frac{40}{\pi} \phi.

Thank you for your reply! Okay, this method makes sense. However, why did you substitute in the expression for x into the initial condition? I suppose that might be feasible if the \phi was defined within the problem?

I think for this case, I would just use the expression \phi = \frac{\pi}L (x + L) and substitute into the Fourier series to have a match to my initial condition? I think you know that though, I just wanted to confirm. By substituting in your expression for \phi to the Fourier series, it yields the same trig identity so that is very re-assuring.

Thanks
 
pasmith said:
If you need an affine transformation, then you should do that in a single step: <br /> [a,b] \to [0, 2\pi]: x \mapsto \frac{2\pi}{b - a}(x - a). Thus here \phi = \frac{\pi}L (x + L), \qquad x = -L + \frac{L}{\pi} \phi and <br /> \frac{40x}{L} = -40 + \frac{40}{\pi} \phi.
Sorry to bring this back up, but what if the original wave described by the Fourier series was shifted by ## \pi ## (or any other phase)? Would I then:
1) use a phase shift ## \phi = \phi + \pi ## to shift the Fourier series wave to where I want
2) expand with double angle formula and simplify
3) use the affine transformation to map from ## \phi ## to ## x ##

Would that process be correct?

Thank you
 
Master1022 said:
Thank you for your reply! Okay, this method makes sense. However, why did you substitute in the expression for x into the initial condition? I suppose that might be feasible if the \phi was defined within the problem?

It's the natural thing to do: To evaluate \int_a^b f(x) \sin\left(\frac{2n\pi(x - a)}{b - a}\right)\,dx = \frac{b - a}{2\pi}\int_0^{2\pi} f\left(a + \frac{(b-a)}{2\pi}\phi\right) \sin(n\phi)\,d\phi one has to. Also, in this special case of a linear boundary condition, it is obvious from <br /> \frac{40x}{L} = -40 + \frac{40}{\pi}\phi that the initial condition is -40 plus (40/\pi) times the unshifted series for \phi. This is easier to calculate than the shifted series.
 

Similar threads

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