Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#26 2012-10-30 02:27:11

zetafunc.
Guest

Re: Fourier Series for e^x

Yes, I understand. I thought both diagrams on the right were representing the same thing, which confused me.

I'm not too sure what you mean by the circles though. If it is 'nearly singular', how do we know the size of the circle? Is it sort of like taking a 'limit' as the lines get close to being on top of each other, so there are 'almost' an infinite number of intersections?

#27 2012-10-30 02:34:16

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Fourier Series for e^x

The circles are my drawings on top of the lines. We do not need any rigor here just an intuitive feel that as the lines get closer and closer the point of intersection becomes fuzzier. For instance if all three drawings were on graph paper it would be easy to read off the point of intersection for the first one with better accuracy than the third one.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#28 2012-10-30 02:44:18

zetafunc.
Guest

Re: Fourier Series for e^x

I see. So the circle gets bigger as the lines get closer.

#29 2012-10-30 02:53:50

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Fourier Series for e^x

Yes, it represents a certain amount of error in the calculation. Like your eyes, algorithms that try to find the points of intersection of the third example will experience instability and have more round off error and consequently give poorer results. So lines that cross at nearly right angles are more accurate in a sense than lines that cross at low angles. That is the point.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#30 2012-10-30 02:57:27

zetafunc.
Guest

Re: Fourier Series for e^x

Ah, I see.

But... what does that have to do with Fourier series?

#31 2012-10-30 03:09:06

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Fourier Series for e^x

When we curve fit using ordinary polynomials x, x^2, x^3, x^4, x^5,...as the basis we can see by graphing how much they are like example 3. Look at that mess around the origin. All of them on top of each other. That is why it is not recommended to curve fit a function using powers higher than say 10. The accumulated error makes them very difficult to get accurate results.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#32 2012-10-30 03:22:08

zetafunc.
Guest

Re: Fourier Series for e^x

I understand that orthogonality is preferred since it gives you the least possible error. But I can't see how this relates to our Fourier series for e^x. Where are the orthogonal lines?

#33 2012-10-30 03:39:27

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Fourier Series for e^x

Hi;

When we use an orthogonal basis we get this plot. Notice the high angles of intersection.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#34 2012-10-30 03:41:39

zetafunc.
Guest

Re: Fourier Series for e^x

I see them. So the Fourier series have an orthogonal basis? And I am guessing Taylor series do not?

#35 2012-10-30 03:51:00

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Fourier Series for e^x

Taylor series are not orthogonal but they are osculating so they have some benefits.

Now in the plot of e^x and the Fourier series you will not see the orthogonal basis in the plot itself. They are present in the formation of the series.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#36 2012-10-30 03:55:00

zetafunc.
Guest

Re: Fourier Series for e^x

Oh, I see. Are they orthogonal because sine is 90° out of phase with cosine, and the Fourier series is a sum of sines and cosines?

#37 2012-10-30 03:57:36

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Fourier Series for e^x

That I do not know for sure. The Fourier fit is also least squares or minimax, I am not sure.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#38 2012-10-30 04:07:02

zetafunc.
Guest

Re: Fourier Series for e^x

What do you mean by least squares? I have heard the term thrown around for regression lines in statistics.

#39 2012-10-30 04:10:08

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Fourier Series for e^x

Least squares minimize the square of the error between the fit equation and the data. First you start with an overdetermined system.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#40 2012-10-30 04:15:23

zetafunc.
Guest

Re: Fourier Series for e^x

Oh okay... but, how can we get this from the Fourier series?

#41 2012-10-30 04:19:08

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Fourier Series for e^x

It happens automatically. It is inherent in the fit.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#42 2012-10-30 04:21:15

zetafunc.
Guest

Re: Fourier Series for e^x

Okay...

By the way, when you derived that Fourier series for e^x, did you use Mathematica or did you derive it yourself? When I did it myself, I did not appear to get the right answer. Should I post my working?

#43 2012-10-30 04:27:07

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Fourier Series for e^x

Most of the time I use Mathematica. Today algebra is sort of like square roots of numbers. If you had to evaluate √ (234.176253) you would turn to your calculator. If you needed to multiply 102536 * 776241 you would turn to your calculator. At one time people did them both with pencil and paper. Same thing now with mechanical symbolic math. When you are learning do it by hand, when you know it use a CAS!


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#44 2012-10-30 04:36:46

zetafunc.
Guest

Re: Fourier Series for e^x

I am still learning though. For instance, I did not want to just type in "FourierSeries[e^x]" because that won't show me how they dealt with the problem I had in post #1, which was having an undefined term (division by 0) at n = 1. The worry I have, for example, is having my knowledge of the concept deteriorate. Now that I use a calculator quite often I do not have to do something like 357*762 in my head, so over time, I have got slower at doing mental calculations. I am worried that the same thing would happen with this, for example. I may forget how to find Fourier series because I am used to getting something to do it for me.

#45 2012-10-30 04:43:54

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Fourier Series for e^x

That is always a danger and some of that will definitely happen. Everyone has slowed down with mental calculation.

What is the upside?

1) You are freed up from the drudgery that takes much time.

2) You can think about the problem without getting sidetracked with the details of solving it.

3) By getting passed things you could not get passed before you now can delve into deeper mathematics because you can use your package to help read journal articles. Incidentally, they do not admit it in the article but most journal articles are now written with the help of a CAS.

4) And this is a big one you never make a careless mistake that blows a solution away. For instance you might have wondered about that faulty solution for many months.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

Board footer

Powered by FluxBB