#Fourier series
44 messages · Page 1 of 1 (latest)
- Wait patiently for a helper to come along.
- Once someone helps you, say thank you and close the thread with:
+close
- Feel free to nominate the person for helper of the week in #helper-nominations
- Do not ping the mods, unless someone is breaking the rules.
- If you're happy with the help you got here, and the server overall, you can contribute financially as well:
Can you show what you have so far?
okay so, i'm assuming period = 3pi here
L = 3pi/2
am getting these rn
a0 = (2/3pi)*(b-a)
an = (3/2n)*(sin(2bn/3) - sin (2an/3))
bn = (3/2n)*(cos(2an/3) - cos (2bn/3))
Let me check, hold on.
I'm getting the following:
l = 3π/2
a(0) = 2(b - a)/(3π)
a(n > 0) = (sin(2bn/3) - sin(2an/3))/(πn)
b(n) = (cos(2an/3) - cos(2bn/3))/(πn)
Here's the definition I'm using, by the way.
oh mb, i'm dumb, those x shouldn't be there in my answer 
although it's still different, brb i'll verify it
okay mb i forgot multiplying 1/l, yeah i'm getting the same now
Great! What about the next part?
hmm, that was the part i was thinking about tbh
i'm guessing we'll simplify sin - sin to 2 cos sin?
and similarly for cos - cos
Hm... Hold on, let me think about that.
well also, before that, is 4pi + a even in the domain of the fourier series
a is supposed to be greater than -pi because that's given
The domain is the whole axis. However, you need to account for the fact that the function will be periodic.
and the substitution 4pi + a will be greater than 3pi, which will fall outside the range the fourier series is defined, right?
So, f(a + 4π) = f(a + π).
from my notes, we were given this. I thought the values of x were "allowed" to substitute were "in" the first cycle of the function?
the alpha < x < alpha + 2pi part (seeing period is 2pi here)
No. The point here is that it shouldn't be written as "f(x) = a(0)/2 + ...", but rather as "f(x) ~ a(0)/2 + ...".
That is because f(x) does indeed equal to that in the interval we define it, but outside of it it is continued periodically.
Here is what our function looks like for a = 0, b = 1, for example (and n = 500).
The vertical lines show the initial segment.
oh, TIL that helps a lot
so if the function itself was periodic, it will be equal to the function perfectly for all x the original function was defined?
As long as we define on on an interval with the same length as its period, then yes.
Oh, by the way: if the function has jump discontinuities at some points (including the boundary points), then the value of the Fourier series will be the average of one-sided limits.
that... is interesting
we never learnt the topic well enough to understand much more than "here's the formulae, solve" ;-;
Now, let's work with the expression.
πn(a(n)cos(2nx/3) + b(n)sin(2nx/3)) = (sin(2bn/3) - sin(2an/3))cos(2nx/3) + (cos(2an/3) - cos(2bn/3))sin(2nx/3) = (sin(2bn/3)cos(2nx/3) - cos(2bn/3)sin(2nx/3)) - (sin(2an/3)cos(2nx/3) - cos(2an/3)sin(2nx/3)) = sin(2(b - x)n/3) - sin(2(a - x)n/3) = 2sin((b - a)n/3)cos((a + b - 2x)n/3)
So:
a(n)cos(2nx/3) + b(n)sin(2nx/3) = 2sin((b - a)n/3)cos((a + b - 2x)n/3)/(πn)
Though, I don't really know why they offer such a value. I think x = a will give a better result.
Ah... That's a shame. Well, now you know!
Ok, yeah: I checked, you can get the result for x = a.
You do need this property, though.
...man, i need to work on my trig
this makes so much sense, damn
thanks ;-;
@final sail has given 1 rep to @fallen arrow
i literally got scared by the trig simplification
You're welcome! I did use a couple of trig formulas, of course.
I can DM you my result where I substituted x = a if you want. It will be in a spoiler so you can still try it.
yeah it works for x = a, tysm ;-;
oh i'll hopefully be able to proceed from here
almost got the whole answer anw 
The tickets system is disabled for this server. Enable it at: https://yagpdb.xyz/manage/624314920158232616/tickets/settings.
+close