Synchronising Metronomes in a Spreadsheet

  Рет қаралды 320,410

Stand-up Maths

Stand-up Maths

Күн бұрын

The Ri Lectures are on BBC4 and iPlayer now:
www.bbc.co.uk/programmes/b00p...
They'll be on the Ri channel a month later:
/ theroyalinstitution
Thanks to Jane Street, pateron supports and all viewers! Here's to another year of mathematics videos.
www.janestreet.com
/ standupmaths
Pre-order the US edition of my math book Humble Pi. Cheers!
bit.ly/humblepi
Download the excel file from the video:
www.dropbox.com/s/0c3hx00am0n...
This is the paper: "Synchronization of Globally Coupled Nonlinear Oscillators: the Rich Behavior of the Kuramoto Model"
go.owu.edu/~physics/StudentRes...
Sorry, Think Maths have not made any teacher resources for this video, but check out their resources for all my other videos here: think-maths.co.uk/standupmaths...
CORRECTIONS
- None yet, let me know if you spot any mistakes!
- At 10:46 that is the lid falling off my pan. Not really a mistake, but I thought I'd mention it.
Thanks again, as always, for Jane Street being my principal sponsor.
www.janestreet.com/
Thanks to my Patreon supporters who help make these videos possible. Here is a random subset:
Lucie Roux
Emily Dingwell
Richard Dickins
Fernando Gaete Ferrari
Josiah Thornton
Support my channel and I can make more maths videos:
/ standupmaths
Filming and editing by Matt Parker
Design by Simon Wright
MATT PARKER: Stand-up Mathematician
Website: standupmaths.com/
Maths book: wwwh.umble-pi.com
Nerdy maths toys: mathsgear.co.uk/

Пікірлер: 959
@Camexplode
@Camexplode 4 жыл бұрын
KZfaq: Are you a musician? Me: No KZfaq: Are you a mathematician? Me: No KZfaq: Do you use Excel? Me: No KZfaq: You wanne see a guy synchronizing virtual metronoms in Excel? Me: Sure
@conlangnovids4974
@conlangnovids4974 4 жыл бұрын
Sure
@RudeGuyGames
@RudeGuyGames 4 жыл бұрын
This reminded me of that one video where Mario and Luigi have that stupid spaghetti argument.
@R1ckr011
@R1ckr011 3 жыл бұрын
@@RudeGuyGames the one I Literally saw just yesterday omfg. Or the Sphere Everson one from 90s. 👌
@renagonpoi5747
@renagonpoi5747 3 жыл бұрын
“Why tho?” “Because...” “That works”
@jamesmarx1144
@jamesmarx1144 4 жыл бұрын
6:23 "that's pi, so 1 is a third of the way along" Engineers: *smile*
@AeroCraftAviation
@AeroCraftAviation 4 жыл бұрын
Hehehe yeeeeah. We did boys. Accuracy is no more.
@windowsxseven
@windowsxseven 4 жыл бұрын
@@AeroCraftAviation mrs obama I've done it, I've stopped accuracy
@MrMetalMachine1
@MrMetalMachine1 4 жыл бұрын
A parker third?
@tasherratt
@tasherratt 4 жыл бұрын
Well it's 80% accurate.
@lucas_d_
@lucas_d_ 4 жыл бұрын
@@tasherratt ... 80? more like 95%...
@OrionFyre
@OrionFyre 4 жыл бұрын
I find the "mistake" to be much more of a fascinating result than the proper synchronization result. I love how it just goes to the maximally divergent phases.
@scragar
@scragar 4 жыл бұрын
It kind of makes sense given the model though, rather than each syncing towards each other they're instead syncing away from each other which means the only point they can be stable is if they're equidistant from each other and in fact they move away according to the delta. Interestingly if you set this up so they're overlapping at the start the difference is 0 and they stay balanced, but the instant you add even a tiny difference they move away proportional to the difference between their neighbours which can give some weird results with high K factors(constantly oscillating between two unstable states for example).
@movax20h
@movax20h 4 жыл бұрын
As swap of phases produces a result of opposite sign. This is equivalent to setting K to a negative value (because of how sin works). It will force the phases to be spread as much as possible. With 3 metronomes they will separate by 120 deg. But with 4 metronomes, you will get separation by 90 deg, but I suspect there will be a small oscilations around 90 deg. So if for visualization you shift them by 90, 180, 270, or visualize the phase differences they might be never going to zero, depending on the value of K (dampening). It is also sensitive to the integration method. Euler method is known to not be stable for some steps, so you need to be careful. Better method, especially designed for the 'stiff' problems (this is a mathematical term from the theory of ordinary differential equations and ODE solvers), would make it go away, one of the methods to do that is using implicit methods.
@DrDrao
@DrDrao 4 жыл бұрын
Parker synchronization...
@baronvonkrogglesteiniii5310
@baronvonkrogglesteiniii5310 4 жыл бұрын
One (possibly too) simple yet convincing explanation of what's happening is that the synchronization effect is essentially working to minimize the phase differential. As movax20h put it, subtracting the other way around is the same as using a negative coefficient, so the effect is working in reverse. What's the opposite of minimum phase differential? Maximum phase differential!
@ericchambers9023
@ericchambers9023 4 жыл бұрын
Mathematical model for a control system to maintain proper phasing on a 3 phase power system?
@andrewkovnat
@andrewkovnat 4 жыл бұрын
The botched function of that first spreadsheet should be called the Parker-Kuramoto Model. :)
@skyjoe55
@skyjoe55 4 жыл бұрын
Why does this keep happening
@gorillaau
@gorillaau 4 жыл бұрын
@@skyjoe55 Matt attempts to wing it, fails and forgets to edit the goofout of the video. All the same I appreciate these videos. Thanks Matt.
@lennutrajektoor
@lennutrajektoor 4 жыл бұрын
Almost. Almost Parker-Kuramoto Mode :)
@rolfs2165
@rolfs2165 4 жыл бұрын
@@gorillaau I wouldn't say he forgets to edit it out, rather than deliberately leaving it in. To show that science doesn't always go right and you can get neat results from mistakes, too.
@gorillaau
@gorillaau 4 жыл бұрын
@@rolfs2165 Good point. Also important in maths to be recognise that you have made a mistake and to back track to find the error. Blindly accepting the answer on the calculator or spreadsheet as being correct will lead to trouble down the track.
@yondaime500
@yondaime500 4 жыл бұрын
"What's your favorite programming language?" Normal people: C, C++, Python etc Matt Parker: Excel Tom Wildenhain: Power Point
@AngelWedge
@AngelWedge 4 жыл бұрын
When we were learning Excel on a mandatory computer skills course, I did the assigned exercises, and then passed time seeing what it's capable of. Made a formula to extract the largest common substring of two text cells, and a truly horrible formula to draw Langton's ant. Still prefer Perl for readability.
@GRBtutorials
@GRBtutorials 4 жыл бұрын
That’s the guy who made the (PP™︎TM™︎)™︎, right?
@jerryarmitage206
@jerryarmitage206 4 жыл бұрын
The is only one true programming language and that's IBM Mainframe Assembler. If you can't do it with that then it's not worth doing.
@Kinkajou1015
@Kinkajou1015 4 жыл бұрын
Kyle Hill: Magic: The Gathering
@omikronweapon
@omikronweapon 4 жыл бұрын
@@Kinkajou1015 Final Fantasy XII
@mikewilliams6025
@mikewilliams6025 4 жыл бұрын
Mathematically perfectly out-of-sync? The Parker Sync.
@jjrubes1880
@jjrubes1880 4 жыл бұрын
*The Parker Sink
@R1ckr011
@R1ckr011 3 жыл бұрын
It's exactly how tri-phase electrical current works :3 (far from an original observation I might add)
@dorothymiles7097
@dorothymiles7097 3 жыл бұрын
The columns on your spreadsheet in the video are labelled wave "A", "B, and "B".
@asailijhijr
@asailijhijr 3 жыл бұрын
@@dorothymiles7097 Parker labelling.
@Timestamp_Guy
@Timestamp_Guy 3 жыл бұрын
Aren't half the metronomes in the at 2:00 locking to a 180 phase shift? Looks like they're all synced, but some of them are backward. That would strongly suggest to me that, whatever the mechanism, there's a very simple physical interpretation of that, somehow.
@kabochaVA
@kabochaVA 4 жыл бұрын
9:20 I imagine the (former) student watching this video now, seeing that his paper (from 2005) is getting mentioned and even receives some praise from Matt Parker...
@zoltanposfai3451
@zoltanposfai3451 4 жыл бұрын
The Kuramoto-Parker coupling model you first did is the equivalent of a negative K, which is an inverse feedback, which in turn ends up pushing the phases apart instead of pulling them together. It's easy to model it for N=2 but not sure there is a generic solution for it for arbitrary N. I can imagine Bryan's (article author) view on this video. "How many references have you got to the article?" "Just two. But in 2019 I suddenly got ten thousand likes!"
@TheKitMan94
@TheKitMan94 4 жыл бұрын
I love the file name of the Excel document is "n-sync" 😂
@coolmonkey619
@coolmonkey619 4 жыл бұрын
I don't get it
@MrDannyDetail
@MrDannyDetail 4 жыл бұрын
@@coolmonkey619 It's tearin' up Justin Timberlake's heart that you didn't get it.
@IceMetalPunk
@IceMetalPunk 4 жыл бұрын
@@MrDannyDetail But when the oscillation periods are apart, the others feel it, too (because they're coupled).
@jypsridic
@jypsridic 4 жыл бұрын
I was just coming to check to see if anyone else caught it
@livedandletdie
@livedandletdie 4 жыл бұрын
That's a reference you don't hear everyday.
@shinigami052
@shinigami052 4 жыл бұрын
The "out of phase" one looks like a 3-phase AC transformer where each of the 3 phases is 120 deg out of phase with each other.
@OttoGlassV
@OttoGlassV 4 жыл бұрын
And the sum at any point is equal to zero.
@alixnonitengu
@alixnonitengu 4 жыл бұрын
I immediately thought about that too :)
@chonchjohnch
@chonchjohnch 4 жыл бұрын
Like a phasor?
@NoferTadros
@NoferTadros 4 жыл бұрын
I thought of three-phase AC too.
@movax20h
@movax20h 4 жыл бұрын
It is the same.
@spoonikle
@spoonikle 4 жыл бұрын
man makes video about metronomes - forgets he has 0 tolerance for clicking.
@shelvacu
@shelvacu 4 жыл бұрын
"we'll get back to that" matt: never gets back to that
@robmckennie4203
@robmckennie4203 4 жыл бұрын
i fell asleep in a metronome factory, lost all sense of rhythm.
@doublespoonco
@doublespoonco 4 жыл бұрын
So you're telling me you aint got rhythm?
@robmckennie4203
@robmckennie4203 4 жыл бұрын
@@doublespoonco No i ain't got rhythm.
@nymalous3428
@nymalous3428 4 жыл бұрын
P&F.
@rileysteidel7084
@rileysteidel7084 4 жыл бұрын
@@robmckennie4203 but look at what you're doing right there
@robmckennie4203
@robmckennie4203 4 жыл бұрын
@@rileysteidel7084 need to find out if Matt can send me out a stamp and a book
@Vasharan
@Vasharan 4 жыл бұрын
Now get Steve Mould to make a spreadsheet out of metronomes.
@MrJoepenn
@MrJoepenn 4 жыл бұрын
Reversing the order of subtraction of the phases exactly corresponds to the Kuramoto model with a negative summation. This has the effect of driving the phase of the oscillators away from the mean phase of the system. This can be seen by introduction of the 'mean-field variables' which decouples the oscillators so they satisfy the Adler equation (with some scaling). As for a physical model, nothing comes to mind as this also corresponds to negative coupling strength (K
@movax20h
@movax20h 4 жыл бұрын
Quarks.
@movax20h
@movax20h 4 жыл бұрын
Also Ising model of antiferromagnetic interaction.
@dramforever
@dramforever 4 жыл бұрын
Came down here to say reversing the subtraction is equivalent to negating K, found this comments complete with explanation
@reeshadarian7486
@reeshadarian7486 4 жыл бұрын
Gradient ascent vs. descent, see my comment for physical description :)
@AgentM124
@AgentM124 4 жыл бұрын
How about reversing time? Like theoretically.
@abydosianchulac2
@abydosianchulac2 4 жыл бұрын
The sign-switched graph reminded me of a juggler, starting off slightly out of phase before everything coming into perfectly synched balance.
@BBKing1977
@BBKing1977 4 жыл бұрын
“Evenly distributed phases” might be the better description.
@PhilBoswell
@PhilBoswell 4 жыл бұрын
I'm wondering what it would look like with more oscillators…
@LordQueezle
@LordQueezle 4 жыл бұрын
Matt: US edition of Humble Pi is coming out in January! Me: *sitting at home in the US holding my UK edition... "Was I supposed to wait?"
@sdspivey
@sdspivey 4 жыл бұрын
The US version is slightly shorter, less unnecessary U's (honour) and S's (maths).
@Anvilshock
@Anvilshock 4 жыл бұрын
​@@sdspivey Celsius has far fewer letters than Fahrenheit, you know. Just sayin'.
@sdspivey
@sdspivey 4 жыл бұрын
@@Anvilshock But who spells it out? I rarely see anything other than F, C, or K.
@zelatrix8545
@zelatrix8545 3 жыл бұрын
You're much better off with the UK version because the English is actually correct
@danielroder830
@danielroder830 4 жыл бұрын
Imagine the mathematicans back in the old days had some powerful tool like excel to play around with numbers and formulas.
@odenpetersen6028
@odenpetersen6028 4 жыл бұрын
Daniel Röder They might never have developed the powerful tools they ended up with, because there would be no motivation to simplify their calculations.
@danielroder830
@danielroder830 4 жыл бұрын
@@odenpetersen6028 True, and their brains wouldn't be that trained in doing maths when a computer just does it for you. Let's just imagine they have already done their fair part of discoveries and now you just give them this tool for a while to show even more stuff we haven't discovered yet.
@djsyntic
@djsyntic 4 жыл бұрын
Using nothing but a protractor, a compass, and excel prove that you can bisect any angle.
@OrcinusDrake
@OrcinusDrake 4 жыл бұрын
As someone who occasionally does some recreational maths on a computer (mostly in response to one of these youtube videos), simply using a computer is fun but it doesn't get you far. Having a deeper understanding of the maths makes these "mass computation" tools exponentially better.
@RFC3514
@RFC3514 4 жыл бұрын
There's a lot more to maths than algebra. Calculating 32455.23 / 0.9854 (or doing a million "easy" operations) by hand does not make you a better mathematician, it just takes up time that you could be using to think about something more relevant. Computers don't "do maths for you" any more than drills and arc welders "do bridges for you".
@JS-gk9et
@JS-gk9et 4 жыл бұрын
As I listen to this on my noise canceling headphones, I wonder more and more about the ‘wrong way around’ maths, and their practical application.
@MattHollands
@MattHollands 4 жыл бұрын
This doesn’t capture the fact that in reality sometimes the metronomes end up 180 degrees out of phase. It seems in your excel model they always end up perfectly in phase. Why is that?
@raykent3211
@raykent3211 4 жыл бұрын
It might have shown it with different start conditions, if not its wrong. The phase relations will be zero or pi radians, as you say. Equiprobable, I believe.
@trogdorstrngbd
@trogdorstrngbd 4 жыл бұрын
In the Kuramoto model, the anti-phase configuration is an unstable equilibrium, i.e., you can only stay there over time by starting there exactly. I don't know if this is a deficiency in the model, or if in reality the anti-phase configuration is unstable. EDIT: My guess is that in reality the anti-phase configuration is stable, but the attractor basin around the in-phase configuration is much, much larger.
@khaitomretro
@khaitomretro 4 жыл бұрын
@@trogdorstrngbd I believe it's a deficiency in the model as the out of phase conditions are very common in physical models and the likelihood of starting one or more oscillators exactly at the counterpoint should be a rare occurrence if Kuramoto is correct. It would only take a small correcting factor to modify the model and make the 180° situation stable as well.
@RCassinello
@RCassinello 3 жыл бұрын
@@khaitomretro Indeed. Watching the video, Matt says two of the five our out of phase, however one of those two was "M0", so actually three of the five metronomes went to the antiphase.
@FlyingSavannahs
@FlyingSavannahs 3 жыл бұрын
In chapter 1 of the paper is the description of why Christian Huygens considered this phenomenon in the first place. He was sick in bed and noticed his two pendulum clocks on the same wall were always anti-synchronized. When he would restart a clock with a random phase, the clocks would always return to being anti-synchronized over time. So the real world does allow this solution where the model does not.
@tennant-io
@tennant-io 4 жыл бұрын
The columns on your spreadsheet in the video are labelled wave "A", "B, and "B".
@omikronweapon
@omikronweapon 4 жыл бұрын
Parker-labels
@andrewseburn
@andrewseburn 4 жыл бұрын
I suspect he got too excited about the third graph to worry about something as trivial as labeling.
@taududeblobber221
@taududeblobber221 3 жыл бұрын
the correct fix is to change the first one to "B".
@stocktonjoans
@stocktonjoans 4 жыл бұрын
i've loved the RI christmas lectures ever since i was a kid, it's so cool that you got to be involved, what an honour
@turpialito
@turpialito 4 жыл бұрын
Matt, you've outdone yourself yet again! So many videos report the phenomenon, but no-one I'm aware of works out the physics. Your channel is undisputedly one of KZfaq's finest. Do keep up the awesome work! Cheers, mate!
@emilalmberg1096
@emilalmberg1096 4 жыл бұрын
Place some spheres on the table and a round dish on top of them. Set the metronomers placed 120 degrees apart, all pointing outwards. Like a clock, at 12, 4 and 8 o'clock. So let's see if they behave like your first example!
@scienteer3562
@scienteer3562 4 жыл бұрын
Or use a lazy susan
@gingaprideworldwide
@gingaprideworldwide 4 жыл бұрын
It would work if the metronome's travel was tangential to the centre of this circle. Like this I think you atain maximum divergent phases. If they were aligned parallel to the circles circumference it would act similarly to the linear experiment as the forces (rotational force pivoting around the COG) acting on each individual metronome are in line with the travel of the metronome mass
@the1exnay
@the1exnay 4 жыл бұрын
That sound like it should work to put them all in sync
@DZHOY
@DZHOY 4 жыл бұрын
What would happen if you pointed them inwards? The other spread sheet?
@the1exnay
@the1exnay 4 жыл бұрын
Dzhoy Zuckerman If you focus on just the pendulum it looks the same whether it's pointing inward or outward so it should work the same and synchronize. However if you consider turning it around to be swapping negatives with positives and vice versa then things pointing inward should be out of synch with things pointing outward by exactly pi. But they'll still be in sync from the perspective of whether they're turning the lazy Susan clockwise or counterclockwise at any moment
@eastpavilion-er6081
@eastpavilion-er6081 4 жыл бұрын
2:56 Cambridge engineering student here. I walked on this in one of my first year labs. It was fun.
@ddognine
@ddognine Жыл бұрын
I love how you investigated the Kuramoto model using just Excel. Even though you said Excel is way under-powered for this sort of analysis, it highlights nevertheless just how powerful Excel is for prototyping, investigating, and even full models. And I was surprised at just how simple the Kuramoto model is as I was expecting some complicated solution to a PDE. Anyway, I have done this with innumerable kinds of models. And when the clunkiness of a spreadsheet is not adequate, I will quickly jump into VBA and bang out a custom function. One could easily create a custom function in VBA for the Kuramoto model that would enable the input of more than three coupled oscillators and output the results as an array. Furthermore, it would be interesting to see the Kuramoto model extended to more dimensions because in your example with the five metronomes, they weren't perfectly in sync which I hypothesize was due to the metronomes not being lined up perfectly.
@jajssblue
@jajssblue 4 жыл бұрын
So happy to see Humble Pi Audiobook finally available in the US! Thank you and Happy New Year!
@reub2338
@reub2338 4 жыл бұрын
0:38 Parker Metronomes on sale now
@WildAnimalChannel
@WildAnimalChannel 4 жыл бұрын
This guy loves spreadsheets more than Christmas 🎅🎅🎅
@therabbits69
@therabbits69 4 жыл бұрын
What are you saying? Spreadsheets are the perfect Christmas gift for the holidays.
@copperx
@copperx 4 жыл бұрын
@@therabbits69 Especially if you print them out. What a joy on Christmas Eve!
@DZHOY
@DZHOY 4 жыл бұрын
Kupfer Nickel print them and then use them as wrapping paper
@ianr.1225
@ianr.1225 4 жыл бұрын
Who doesn't?
@markusbaumgartner2545
@markusbaumgartner2545 4 жыл бұрын
Got your book for Christmas and have been absolutely loving it!!!
@jordancosta9242
@jordancosta9242 3 жыл бұрын
I absolutely love this video, the way he shows his process. Its so much fun watching him work through each step and even discover something new! He doesn't have all the answers, he's here to find them and ask questions!
@the_mentaculus
@the_mentaculus 4 жыл бұрын
BTW Matt, it looks like the model that you accidentally first used would be called the "Repulsive Kuramoto Model" and it's apparently interesting enough to get published in PRL!: biocircuits.ucsd.edu/lev/papers/repulsive.pdf They define the model in the form you show, but with a minus before the sum of sin(theta)'s. But it has the same effect as reversing the indices like you did, since sin(x) is an odd function so -sin(x)=sin(-x). EDIT: And for those interested in physical systems that this could model, here you go -- "It may serve as a paradigm for many biological networks in which different elements compete against each other. The best known example of such networks are neuronal ensembles with inhibitor coupling [5]. It is well known that in such systems, nonuniform synchronized oscillation patterns may emerge."
@R1ckr011
@R1ckr011 3 жыл бұрын
Amazing! Thank you
@AliceYobby
@AliceYobby Жыл бұрын
So cool
@TheNefari
@TheNefari 4 жыл бұрын
Parker Coupling: perfect out of phase :D
@AteshSeruhn
@AteshSeruhn 4 жыл бұрын
Nice one. Damnit, someone else always gets there first :)
@shaileshrana7165
@shaileshrana7165 4 жыл бұрын
The bridge thing was so amazing to watch! Amazing!
@Awgolas
@Awgolas 4 жыл бұрын
Matt, omitting the ω term left out a very interesting feature. In this case, if the platform the metronomes rested on was acted upon by a constant force, that force could be represented as ω. The interesting part is that this constant force would cause the metronomes to go in and out of phase at regular intervals, and if ω/K is rational, then the system is considered phase-locked. Phase-locking is incredibly fascinating and is fundamental to determining the stability of chaotic systems.
@phillipsiebold8351
@phillipsiebold8351 4 жыл бұрын
The antikuramoto would be useful in sound engineering on any chorus, flanger or phaser effect. You could implement it with a kuramoto for another interesting effect.
@Septimus_ii
@Septimus_ii 4 жыл бұрын
It would be interesting to investigate where the waveforms are of different amplitudes
@tomholton235
@tomholton235 4 жыл бұрын
Unfortunately it looked like it pushed all the waves to be completely out of phase with each other so the resultant sum of the waves would be 0. Not ideal for an audio effect 😄
@phillipsiebold8351
@phillipsiebold8351 4 жыл бұрын
@@tomholton235 That is not how chorus and flanger effects work.
@tomholton235
@tomholton235 4 жыл бұрын
Phillip Siebold I know. Which is why I suggested it wouldn’t make a good chorus etc 😃
@phillipsiebold8351
@phillipsiebold8351 4 жыл бұрын
@@tomholton235 Choruses work by detuning and delaying and with stereo choruses across multiple channels, so they can obviously work if you use triggers to switch between. Similarly, they can be used in DAW stations' metronomes (as was shown by Parker here) when you need to offset your channels accordingly. Again, using triggers you switch between the algorithms to get the correct beat offsets. This is especially useful if you are trying to implement swing to your music.
@Krekkertje
@Krekkertje 4 жыл бұрын
13:15 a wild Parker square appears
@1996Pinocchio
@1996Pinocchio 4 жыл бұрын
Parker Synchronization
@msid2805
@msid2805 4 жыл бұрын
Repeat performance
@blacktea5501
@blacktea5501 4 жыл бұрын
I love the way you are fascinated by what you are doing and eventually get to see there.
@Hardstyle_123
@Hardstyle_123 4 жыл бұрын
Great video! It felt soo good watching those sines syncing together. Thats why i LOVE maths.
@Lashazior
@Lashazior 4 жыл бұрын
The physical model for them being perfectly out of phase can be represented by a bad drummer - aka myself.
@bluemoon040552
@bluemoon040552 4 жыл бұрын
If you manage to be perfectly out of phase you are an excellent drummer.
@charadremur333
@charadremur333 4 жыл бұрын
I agree with your statement
@bennettzug
@bennettzug 4 жыл бұрын
on the spreadsheet the names of the sin waves were A,B,B also really appreciated the name of the spreadsheet being n-sync
@ScottTilYouDrop
@ScottTilYouDrop 4 жыл бұрын
A lovely set of lectures for the bbc! Great job
@lucagacy
@lucagacy 4 жыл бұрын
This was cathartic. I did my final project in high school years ago on this subject. I used the kuramoto model as well in my paper. I reference that paper you used as well! The sound of those metronome brought back some memories of my own testing.
@LumitheHedgehog
@LumitheHedgehog 4 жыл бұрын
The evenly distributed phases cancel each other out, leaving out a null wave if you summed them. It's like the 3 phase system in AC, all of them some degrees apart from each other so they sum to 0.
@woutervanr
@woutervanr 4 жыл бұрын
1:50 AM Parker upload schedule
@TobyBW
@TobyBW 4 жыл бұрын
7:50 PM in eastern US
@fghsgh
@fghsgh 4 жыл бұрын
@@TobyBW He lives in GB.
@daniwalmsley611
@daniwalmsley611 4 жыл бұрын
He's british so for him (and me) its 0:50 AM
@fghsgh
@fghsgh 4 жыл бұрын
@@daniwalmsley611 Actually, he's Australian, but he lives in Britain. Sorry, ignore me.
@hart-of-gold
@hart-of-gold 4 жыл бұрын
Here in Australia, it was 12:50pm on the 28th.
@darksentinel082
@darksentinel082 4 жыл бұрын
a new video is the best christmas present i could ask for
@SamVekemans
@SamVekemans 4 жыл бұрын
I'm so looking forward to around the beginning of February when the awesome Lectures will be available to watch around the world :)
@stefanklass6763
@stefanklass6763 4 жыл бұрын
Having the phases equally spaced would be amazing for building a walker. Maybe somehow measure the position of the occilators and couple it to the position of servos attached to legs. The leg motion could be the coupling force.
@cabe_bedlam
@cabe_bedlam 4 жыл бұрын
I'd look up Strandbeest by Dutch artist Theo Jensen if you aren't already familiar.
@aL3891_
@aL3891_ 4 жыл бұрын
The inverted version is actually really useful :) we have a game where a bunch of things happen at random times but at a constant frequency after that and using the parker-kurumoto model, they could be spaced out over time so that the load on the server is constant and not bursty
@AliceYobby
@AliceYobby Жыл бұрын
That's awesome!
@AliceYobby
@AliceYobby Жыл бұрын
What's the game?
@geeksdo1tbetter
@geeksdo1tbetter 3 жыл бұрын
that was delightful to watch as you worked it out
@CaptainSpock1701
@CaptainSpock1701 3 жыл бұрын
I'm so glad the sound of those metronomes irritates you. If it didn't we would have had it through the whole video so *thank you so much for stopping them* every time after only a short while. Some people can really learn from you that once you have made your point you don't have to "hammer" it in. This right there is why I love watching your videos!
@rq4740
@rq4740 4 жыл бұрын
Matt we love you 💕 and I can’t wait to watch the Christmas lectures as soon as they’re available in the US! Good work out there
@rapidtreal4612
@rapidtreal4612 4 жыл бұрын
This chanel helped me find love for math
@lewismassie
@lewismassie 4 жыл бұрын
RI Christmas Lectures are about the only thing I ever watch on TV at christmas
@magpieMOB
@magpieMOB 4 жыл бұрын
I decided to learn more (beyond just GCSE) about maths and computing at 33, I'm currently taking a proper run at learning excel fluently as a stepping stone to learn more elsewhere - thanks for giving us a fun brief/scenario to explore the tools!
@oxenforde
@oxenforde 4 жыл бұрын
12:49 "Oh! What has it done?"
@MrSonny6155
@MrSonny6155 4 жыл бұрын
Interesting. Would there be an existing model which more accurately reflects this? EDIT: Haven't found the answer as of yet, but it seems that Kuramoto also found a "chimera state" where some oscillators desync and act chaotically, while others stay in sync. I don't believe there is an explanation or a full model describing and predicting all generalised possibilities.
@tcunero
@tcunero 4 жыл бұрын
The clickity clack is kind of calming
@MrDannyDetail
@MrDannyDetail 4 жыл бұрын
Enjoying the Christmas lectures so far. Seeing my favourite youtubers Hannah Fry, Matt Parker and Tom Scott on the same TV show made my Xmas, and makes me realise we've reached the point now where on-demand culture now dictates what is on traditional TV, rather than the other way around. All three of these people should have their own shows on TV anyway!
@marctelfer6159
@marctelfer6159 4 жыл бұрын
Seeing Tom Scott walk out in his red t-shirt was such a good moment, and Matt bringing out Menace again, not to mention his sock/phone sorter (a Parker sorter if you will, lol) :D When I found out Hannah Fry was presenting them I was more than happy, but seeing the guest hosts? It's made the last couple of days so good. Can't wait for the third one :D
@graceisawesome539
@graceisawesome539 3 жыл бұрын
I absolutely love you. Your idiosyncrasies match my idiosyncrasies and I feel less strange. Also, you explain things well and I appreciate that.
@non-inertialobserver946
@non-inertialobserver946 4 жыл бұрын
Three-sided coin pls
@naughtyhorses
@naughtyhorses 4 жыл бұрын
The real question is, at what value of K does the kuramoto equation appear in Tupper's self-referential formula?
@evannibbe9375
@evannibbe9375 3 жыл бұрын
The rate at which metronomes go into phase (the strength of the coupling).
@esquire9445
@esquire9445 7 ай бұрын
This is interesting. I was looking for a way to code a simulation and the best I found was this. Great job.
@Drecon84
@Drecon84 4 жыл бұрын
"Noone wants a label on their chart..." that one really got me :)
@noterictalbott6102
@noterictalbott6102 4 жыл бұрын
I would preorder the US release but i couldn't wait and got the UK one. Had to go through the whole thing and cross off all the extra U's but totally worth it.
@jerry3790
@jerry3790 4 жыл бұрын
As someone who needs those extra u’s for words to look normal, you disgust me.
@otakuribo
@otakuribo 4 жыл бұрын
I pre-ordered the ebook and the waiting is killing me. I'm US but I'm fluent in UK and i don't mind the extra u's and plural "maths", but none of the ebook platforms have the original version available. I'm sure it's a publisher thing. Still, books shouldn't be region locked.
@ValentineC137
@ValentineC137 4 жыл бұрын
@@jerry3790 do you prefer your Armor colored or flavored?
@nymalous3428
@nymalous3428 4 жыл бұрын
I saw this in my sub feed. It said it had been posted "14 seconds ago." I found that a bit odd. It is the earliest I've been to a newly posted video (since I clicked on it right away). It currently has no views and 3 likes, which is also odd. It also has five comments... but none have appeared on the screen. Another odd thing. Well, Happy New Year!
@nymalous3428
@nymalous3428 4 жыл бұрын
Also, at 14:23, Matt tries to get the Sine waves perfectly in phase but instead makes them perfectly out of phase... Parker phase?
@fghsgh
@fghsgh 4 жыл бұрын
Views are only counted if you watch the video far enough (people like before watching) and they need to be more accurate in the end (because the money YT has to pay to the creators depends on it), so they make sure it's done well. That doesn't mean it's always 100% up-to-date, but that they take the time to verify each view to be a genuine view and not e.g. generated by a bot. However, views, being the most common events on YT, are cached a lot more than likes or comments, which are (relatively) rare occurances in comparison.
@iamdigory
@iamdigory 4 жыл бұрын
Two of those are odd, but the first one is even
@CorwynGC
@CorwynGC 4 жыл бұрын
That is the way KZfaq works. Many servers need to be in sync, and as you can see from this video, that takes a while.
@petemagnuson7357
@petemagnuson7357 4 жыл бұрын
The first minutes of a KZfaq video being public often have mismatched numbers like that. I think it has something to do with different KZfaq datacenters taking time to talk to each other and get a final version of the various counts.
@redlinedexperience3154
@redlinedexperience3154 4 жыл бұрын
The “even-spaced out-of-phase” plot is an example 3-phase AC power (US) and how it looks.
@BenHorton1066
@BenHorton1066 4 жыл бұрын
I think this is my favourite KZfaq video ever!
@binaryagenda
@binaryagenda 4 жыл бұрын
You could have just made K negative. Also would be interesting to see how much you could perturb the angular frequencies before the synchronisation stops working
@caboose202ful
@caboose202ful 4 жыл бұрын
+
@WildAnimalChannel
@WildAnimalChannel 4 жыл бұрын
I know right. Probably his brain was too filled up with Christmas brandy.
@MilkLikeSubstance
@MilkLikeSubstance 4 жыл бұрын
I will get the spreadsheet, complete with the A, B, and B sine waves.
@sadiqmohamed681
@sadiqmohamed681 4 жыл бұрын
What an interesting video. I still have to watch the first two of Hannah's lectures, so will probably do that now on iPlayer. I wonder if I could have done this in Algol, back in the day when I could still remember how!
@petemurphy7164
@petemurphy7164 4 жыл бұрын
Congratulations on the half million subscribers 👍😉 Looking forward to your 2^19 subscribers video...
@orlandonerz2999
@orlandonerz2999 4 жыл бұрын
Would this also work in 3 Dimensons? Like pendulums swinging in different directions while hanging on a board that's also hanging? Or would this just lead to a Chaotic pendulum ?
@Gauteamus
@Gauteamus 4 жыл бұрын
What happens if you, instead of putting the oscillators on a "linear coupling board", put them on a "circular coupling board", like on the tips of a huge fidget spinner/ball bearing?
@broderfoder9348
@broderfoder9348 4 жыл бұрын
As the metronome ( placed correctly) will jerk the spinner clockwise and anticlockwise, instead of left-right, it will be the same as in linear coupling, only in a circle.
@the_mentaculus
@the_mentaculus 4 жыл бұрын
Really cool video. This may be obvious to many, but I had to think about it for a second: The equation given for the model is an "equation of motion" (a differential equation that defines d(theta)/dt), but doesn't give you theta(t) outright. So Matt is just doing Euler's method to solve theta(t) and plug that into x(t). Euler's method is the simplest way of numerically solving an ODE when you know theta(0) and d(theta)/dt, by approximating theta(t+dt)=theta(t) + dt*(d(theta)/dt). Of course, there is no factor of dt used here when solving theta(t), but I guess all the scaling here is basically arbitrary.
@leighnbrasington
@leighnbrasington 4 жыл бұрын
In July 1980, I took a riverboat from just south of Singapore into the heart of Sumatra. We entered the Siak River just around sunset and all along the riverbank, about every 10th tree was covered in fireflies - and they were all blinking in sync. Quite an astounding sight - and no noise either.
@hcblue
@hcblue 4 жыл бұрын
Hopefully we on youtube get to see the lecture Hannah did with you. Also, digging the scruff. 😍🔥
@ThomasNimmesgern
@ThomasNimmesgern 4 жыл бұрын
As far as I understand, you can see them on BBC4 (and their Mobile app), and on the Ri KZfaq channel at the end of January (i.e., four weeks later).
@zankumo
@zankumo 4 жыл бұрын
Yeah, they mention the KZfaq channel it will be on at the very end of the video (And a link in the description)
@louiskohnke2343
@louiskohnke2343 4 жыл бұрын
Read "Spreadsheet", clicked instantly
@ivanjackson5769
@ivanjackson5769 4 жыл бұрын
This is the second video where you have talked about your book (humble pi) at 3:14. It is a good book I have enjoyed reading it
@dhayes5143
@dhayes5143 4 жыл бұрын
Calls it Stand-up maths office Furnishes it with a chair
@atlasxatlas
@atlasxatlas 4 жыл бұрын
Now I'm really interested to see what would happen if you made them coupled but with different frequencies. What would the end result be
@SirPhysics
@SirPhysics 4 жыл бұрын
Made a simple program where you can change the frequencies and find out: editor.p5js.org/jrutty/sketches/zOvU7Ehrg Short answer is that if the frequencies are multiples of one another you can get a kind of synchronization, but if they're not then the synchronization effect breaks almost immediately.
@alexandr623
@alexandr623 4 жыл бұрын
Thanks m8
@atlasxatlas
@atlasxatlas 4 жыл бұрын
@@SirPhysics Amazing program. Thank you very much
@raykent3211
@raykent3211 4 жыл бұрын
I once made a sort of spinning disc strobe with one red and one green led on the disc, each driven by its own oscillator. Spinning the disc at constant speed I could create the illusion of 3 red dots turning clockwise while 4 green ones turned counter clockwise. To my surprise there was a "magnetic" effect such that when the dots were moving slowly in relation to one another they locked. Corresponding, I guess, to f1 and f2 (the oscillators driving the leds) nearly having a small integer multiple, 12. The oscillators must have been weakly coupled by way of sharing the same power supply, both were on the same chip.
@Vikash137
@Vikash137 4 жыл бұрын
Are we going to talk about the fact that he named the spreadsheet n-sync
@BurnsRubber
@BurnsRubber 3 жыл бұрын
This demo with metronome and Excel model also illustrates how laser oscillators work. The phases couple from mutual feedback.
@Abhothra
@Abhothra 4 жыл бұрын
12:01 That's what my compiler said. Cheers for the video Matt, all the best for 2020 and quick question : Is there something you can't capture in a spreadsheet ?
@Seth1484
@Seth1484 4 жыл бұрын
"Excel is super underpowered for what I'm trying to do." These works have been spoken by everyone who's ever used excel.
@OonHan
@OonHan 4 жыл бұрын
looks like a Parker beard has grown :)
@jypsridic
@jypsridic 4 жыл бұрын
Nah, that's a Parker Shave right there
@DoorknobHead
@DoorknobHead 4 жыл бұрын
I loved this. I love putting math models in Excel to explore them, just like was done here.
@awesomeglock
@awesomeglock 4 жыл бұрын
Hi, Matt! I’m not much of a mathematician in any way, but I do find mathematics fascinating, especially as a musician and have always really enjoyed your videos! This particular one has gained my interest because of my familiarity to a similar topic in music. You should check out Steve Reich, a minimalist composer who uses the compositional technique of “phasing” in some of his music. Having played one of these pieces, “Drumming,” I became very familiar with the concept and was excited to see it in mathematics. In music, two (or more) players play the same rhythm, whether in unison or offset, and one player stays steady in tempo while another gradually speeds up, going out of phase, and through that eventually lines up on a different partial of the rhythm to create different interlocking patterns using the same rhythm through this process of “phasing.” This also often achieved using electronics and was how it was discovered, and was originally thought to be almost impossible for a single musician to do on their own. It’s a really awesome thing to listen to and creates an extremely satisfying moment when all the voices eventually sync back up in unison. You can find this in other works of his like “It’s Gonna Rain,” “Violin Phase,” “Piano Phase,” and more. He also takes this gradual process and makes it immediate in a process called “phrase shifting.” This takes out the gradual speeding up and at a certain moment a voice changes where exactly the rhythm starts like in his piece “Clapping Music.” You should definitely check out his music if you found this metronome phase cool!
@bartjennings
@bartjennings 4 жыл бұрын
Why do you do this to me Matt? I was about to go to sleep and now I have to stay up another 20 minutes!! (Not complaining though!)
@LordPonathan
@LordPonathan 4 жыл бұрын
Same, 2am here in Germany
@ScottTilYouDrop
@ScottTilYouDrop 4 жыл бұрын
Amen
@Danilego
@Danilego 4 жыл бұрын
Parker Synchronizing: doesn't exactly sync, in fact it makes stuff as out-of-sync as possible, perfectly out of sync!
@Mateus_Coutoo
@Mateus_Coutoo 4 жыл бұрын
What an awesome video!
@pseudo_goose
@pseudo_goose 4 жыл бұрын
Something you didn't touch on: The Kuramoto model allows for each oscillator to have their own increment/frequency/omega parameters. That's quite useful for real-world models where there is going to be some expected variance in the frequency of oscillators. For example, your metronomes will likely move in/out of phase on their own over long periods of time, despite your attempts to set them identically.
@aoki1980taichi
@aoki1980taichi 3 жыл бұрын
I completely agree with you. I tried making the spreadsheet with each independent omega parameters. It seems to work. 1drv.ms/x/s!AuCyus6wr0yslisdlCyjwfW3P3vf?e=wpuOWF
@BRRT199
@BRRT199 4 жыл бұрын
just for my curiosity: WHAT happens if the metronomes aren't synchronized perfectly? how would that graph look like? is it exponentially more difficult to "code" in excel?
@misode
@misode 4 жыл бұрын
You mean if they have a different period?
@MrJoepenn
@MrJoepenn 4 жыл бұрын
If you're asking if the system would still synchronise if each oscillator had a different period, the answer is yes. This is accounted for in the Kuramoto model with the omega_i term, the natural frequency of the oscillator.
@amber1862
@amber1862 4 жыл бұрын
@@MrJoepenn Would the in-phase frequency simply be an average of the different frequencies?
@SirPhysics
@SirPhysics 4 жыл бұрын
When you say "aren't synchronized perfectly" do you mean they have different resonant frequencies? If so, they try to synchronize but won't stay that way for long. If the frequencies are even multiples of each other then they can eventually reach a sort of synchronization, but it takes much longer. If you want to play around with it I made a very rudimentary program you can play around with: editor.p5js.org/jrutty/sketches/zOvU7Ehrg
@effuah
@effuah 4 жыл бұрын
some things are every easy in excel, other hard, depends on what you want to do. For more difficlut programms in excel you can use VBA.
@murk1e
@murk1e 4 жыл бұрын
A little disappointed that you went for “tweak freq” rather than modelling the forces directly to see the effect come out of the physics.... Also, modelling if metronome freqs are close bu slightly differ
@dallebull
@dallebull 4 жыл бұрын
Im mostly impressed by your excel skills :o I do C# in Visual Studio all day but this is amazing.
@sgreatwood
@sgreatwood 4 жыл бұрын
Nice few beers there too, from here in Melbourne (Colonial Brewing). Cheers Matt!
@woutervanr
@woutervanr 4 жыл бұрын
Didn't Mythbusters try syncing loads of these on a board wayyyyy back as well?
@TheKitMan94
@TheKitMan94 4 жыл бұрын
Yeah, I think they used fairly cheap metronomes though, so the period of all 100 wasn't exactly the same
@snafu2350
@snafu2350 4 жыл бұрын
Mythbusters is excellent entertainment, but fairly poor science :( Generally good for basic speculations tho
@anzaca1
@anzaca1 4 жыл бұрын
@@snafu2350 The science was fairly good, but obviously it was never going to be high-level science.
@jeim376
@jeim376 4 жыл бұрын
Least interesting video title award for 2019 goes to Matt Parker
@watcherofwatchers
@watcherofwatchers 4 жыл бұрын
Strongly disagree
@leophoenixmusic
@leophoenixmusic 4 жыл бұрын
Awesome video !
@Wordsnwood
@Wordsnwood 4 жыл бұрын
love the segue at the end... reminds me of the awesome insanity of Matt's FOTSN recursive intro video
SOLUTION: Three Indistinguishable Dice Puzzle
28:36
Stand-up Maths
Рет қаралды 447 М.
The Deepest Maths Video Ever [pressure vs depth]
32:29
Stand-up Maths
Рет қаралды 294 М.
Когда на улице Маябрь 😈 #марьяна #шортс
00:17
格斗裁判暴力执法!#fighting #shorts
00:15
武林之巅
Рет қаралды 53 МЛН
Маленькая и средняя фанта
00:56
Multi DO Smile Russian
Рет қаралды 4 МЛН
The mathematically impossible ball that shouldn’t exist.
19:29
Stand-up Maths
Рет қаралды 120 М.
General Relativity: Top 05 Mishaps [inc INTERSTELLAR]
39:12
Stand-up Maths
Рет қаралды 993 М.
The Surprising Secret of Synchronization
20:58
Veritasium
Рет қаралды 25 МЛН
The Datasaurus Dozen
8:18
Stand-up Maths
Рет қаралды 134 М.
I Found a Whale Using Maths!
22:22
Stand-up Maths
Рет қаралды 274 М.
Will a falling pencil hit the table? We do the maths!
16:19
Stand-up Maths
Рет қаралды 289 М.
My response to being reverse-Dereked
8:36
Matt_Parker_2
Рет қаралды 607 М.
How do fish swim so quickly?
17:25
Numberphile
Рет қаралды 485 М.
How did the 'impossible' Perfect Bridge Deal happen?
24:55
Stand-up Maths
Рет қаралды 766 М.
КАРМАНЧИК 2 СЕЗОН 5 СЕРИЯ
27:21
Inter Production
Рет қаралды 247 М.
Не пей газировку у мамы в машине
0:28
Даша Боровик
Рет қаралды 10 МЛН
За Наташу порвёт меня😆С мамой шутки плохи😂
0:22
Рецепт Любви 🖤
Рет қаралды 15 МЛН
小路飞越变越大#海贼王  #路飞
0:16
路飞与唐舞桐
Рет қаралды 10 МЛН
За Наташу порвёт меня😆С мамой шутки плохи😂
0:22
Рецепт Любви 🖤
Рет қаралды 15 МЛН