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

Click For Summary
SUMMARY

This discussion focuses on utilizing Fourier series to match initial conditions for a partial differential equation (PDE). The initial condition provided is f(x) = (40x/L) for -L ≤ x ≤ L. Participants explore the transformation of the Fourier series, specifically reflecting and shifting it to align with the initial condition without direct integration. Key steps include defining φ = (2πx/T) and applying affine transformations to map the series appropriately, ensuring the correct phase shifts and scaling are applied.

PREREQUISITES
  • Understanding of Fourier series and their applications in PDEs
  • Knowledge of affine transformations in mathematical contexts
  • Familiarity with trigonometric identities and their manipulations
  • Basic calculus, particularly integration techniques
NEXT STEPS
  • Study the application of affine transformations in Fourier series analysis
  • Learn about phase shifts in trigonometric functions and their effects on Fourier series
  • Explore the use of the double angle formula in simplifying trigonometric expressions
  • Investigate the implications of boundary conditions on Fourier series solutions
USEFUL FOR

Mathematicians, physicists, and engineers working with partial differential equations, particularly those interested in Fourier analysis and initial condition matching techniques.

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 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K