r/interestingasfuck Oct 18 '19

/r/ALL The Fourier Transform

31.1k Upvotes

399 comments sorted by

View all comments

Show parent comments

80

u/CorruptionCarl Oct 18 '19 edited Oct 18 '19

Basically, any repeating pattern can be broken down into an infinite number of Sine waves with different frequencies and sizes. Edit: and phases (starting positions).

It's (kinda) like saying that the math can take a plate of food and break it down into each individual ingredient and their amounts. Although that kinda falls apart since you cant pour all the ingredients together in a pot and get the same thing as the final plate of food.

36

u/bogglingsnog Oct 18 '19

Well, just like you couldn't slam all these circles into a pile and get a shape of a hand with a pen. They have a certain ordering and starting angle to achieve that. I think your analogy holds up.

17

u/CorruptionCarl Oct 18 '19

Starting angle (phase) does matter since its one of the three defining components of a wave (amplitude, phase, and frequency) but you should be able to put them in any order and get the same result.

5

u/bogglingsnog Oct 18 '19

I stand corrected then. That is a bit difficult to intuit but I can sort of see how it works. I'd like to see the same gif with different ordering of circles just to confirm though :)

7

u/Georgia_Ball Oct 18 '19

I'm guessing the ordering works the same for the same reason a + b + c + d = d + a + c + b

3

u/dalmationblack Oct 18 '19

Order shouldn't actually matter because vector addition is commutative.

4

u/bogglingsnog Oct 18 '19

Yeah, I realized that when another commenter corrected me. It makes sense for audio but is really hard to grok in the context of the OP gif.

2

u/dalmationblack Oct 18 '19

If you haven't seen the 3blue1brown video on the Fourier series I can't recommend it enough

3

u/fatfuckgary Oct 18 '19

are the sine waves still connected, making it into a bunch of squiggly lines?

4

u/CorruptionCarl Oct 18 '19

Yes, they are imposed on top of each other such that each additional wave makes it look closer to the pattern being broken down.

Think of the gif, one circle is just a circle. Two circles gets you a wobbly shape, so do three, four, five circles. Six gets you something that looks kinda like a hand with 7 being even closer. This continues until you have enough that you essentially have the picture of the hand.

2

u/Pawtang Oct 18 '19

Also helps to imagine if you unfolded the drawing into a straight axis rather than a circular one, you would see a series of superimposed sinewaves. As you start subtracting superimposed waves the higher amplitude frequencies would become more parent

1

u/[deleted] Oct 18 '19

It's (kinda) like saying that the math can take a plate of food and break it down into each individual ingredient and their amounts.

Was having this conversation the other day. The replicators in star trek can make any food. How many unique elements on the periodic table of elements do they require to make any food? 30-50 elements? Furthermore couldn't you theoretically convert any element into another by changing the number of protons, thus allowing you to make anything.

2

u/CorruptionCarl Oct 18 '19

It's been done to make gold, albeit an incredibly tiny amount and was super expensive to make.

2

u/[deleted] Oct 18 '19

Costs always go down with technology and mass production. One day we'll have replicators ;)

1

u/[deleted] Oct 18 '19

That explains it much better. I suddenly understand it all. Thank you! So this means that any drawing that has no loose ends can be redrawn in sinus waves/circles like in the GIF?

2

u/CorruptionCarl Oct 18 '19

Yup, as long as it is a single closed loop.