"I have a need for speed, and it's higher order derivatives" was literally so funny I forgot to laugh. I had to just sit back and appreciate such a great physics joke.
Your running into real-life drift errors is the first time I felt my engineering and automation degree wasn't useless. Please do a video on Kalman filters next it'd be so interesting. And I can do the filtering for you if you'd like!
@@codahighland I'm sorry I misspoke. I meant systems that have a consistent change of acceleration. And even if they do I believe it should be possible to account for that.
We need some sort of symbol for giving things a go, perhaps one that's to do with math, and named after Matt Parker in some way..... Ah well, no ideas!
Fun fact: There's also a name for the -1st derivative of position: the time *integral* of displacement, measured in units of meters *times* seconds! It's known as Absement. It's a measure of how far something's away from the origin, for how long. It doesn't come up much but it has some use in cases where there's a natural resting position for a thing. For instance, if a car's speed is a function of the displacement of the gas/brake pedal, then the distance traveled is a function of the absement of those pedals.
You could also use it as a metric for "likelihood your relationship will break up"... If you spend 3 years away from your partner, but only 1200m away, you're as likely to break up as spending 10 days on a trip 130km away. Or maybe your partner went to serve in the army 600km away for a year, which would make you 166 times more likely to break up! Try not to get caught cheating...
As a crude example, absement may be used, very approximately, to model the cost of a long-distance phone call as the product of distance and time. A short-duration call over a long distance might, for example, represent the same quantity of absement (and hence the cost) as a long-duration call over a shorter distance.
You can actually translate higher order derivatives of displacement into a measurement of displacement to some extent. Acceleration is how far back into your seat you are pushed (ie you’ve translated it back into displacement into a soft squishy seat), jerk is roughly the speed you get pushed into it, and snap is the acceleration of you squishing into it. Of course, it’s only roughly linear at low “speeds” (accelerations) because the seat acts as a spring whose resistance increases as you go further into it. You could also do something similar by making your measure of acceleration into the displacement of the gas pedal, but that’s less of a feeling of forces of higher order derivatives and more of making those higher order derivatives. And jerk as a measurement *is* truly what you mean whenever you saying you’re getting “jerked around”-the acceleration is usually fine, but lots of jerk can be extremely uncomfortable and that’s why there’s very few fields of engineering that actually both to deal with minimizing it. Namely roller coaster engineers put a lot of effort into minimizing jerk, snap, crackle, and sometimes pop if it becomes important enough.
The way I imagine jerk is how fast you are pulling Gs. That is something that still makes sense to me. But everything above jerk, I can't really imagine. Sure, I know intellectually what the derivative means but it's hard to visualize it...
I also always think in those modern elevators where you can barely feel any forces as it gets moving and stops, how many orders of the distance derivatives did the engineers need to smooth out in the elevator motion control to deceive our vestibular system to such a degree.
@@TheAngelsHaveThePhoneBox they probably had to minimize at least the first three derivatives. Hell, just use exp(-1/x^2) or exp(-1/abs(x)) as a basis function for the velocity and you’ve got a really great start for maximizing total displacement over time/average velocity while minimizing subsequent derivatives.
Nice explanation! I think the easiest way to experience jerk is when you're standing on a bus ready to get off, and you find yourself being thrown *backwards* at any point. The bus's deceleration will push you forwards, so you brace your legs and lean into it, but suddenly that acceleration stops and your brace is inappropriate so you stagger. It can't be acceleration pushing you back, because that would mean the bus is speeding up, which it's not, so you know it must be jerk. (I notice this when I'm driving as well, so if I have passengers, I try to ease off the brake as I'm slowing down to reduce jerk when the vehicle finally comes to a stop. If you just keep your foot in the same position on the pedal, there can be uncomfortable jerk right at that moment.) I think most people in most contexts would struggle to identify snap, but I think jerk is easy enough.
Silly Matt! Simply sitting on a swing allows you to experience infinite speed derivatives! For simplicity let's say your position is sin(t), then your speed is cos(t), your acceleration is -sin(t), your jerk is -cos(t), your snap is sin(t), your crackle is cos(t), and your pop is -sin(t). This pattern repeats indefinitely.
@@Steeyuv i think a 42 year old man who had just bought 27 lottery tickets recording himself sitting at a swing while strangers watch is worth something, at least
I mean you wouldn't sit on a swing for all eternity, and sin(t) is an approximation. I wonder if it's possible this is incorrect. 2 orbiting particles have infinite non-zero derivatives, but even that is an approximation. I highly doubt that the position of everything in the world can be written as a finite polynomial, but I can't find a fundemental reason why not. I guess because polynomials are unbounded either above or below, as time tends to infinity, the positions and velocities of everything approach infinity, but also we can't assume that time will last forever.
At 17:00 you say that one has a better long term accuracy (no drift) while the other has the better shape (smoother data). That rang a bell for me from an old uni class. This would be a perfect application for Kalman sensor fusion! Where multiple data sources are used to create one superior output that contains the best of both worlds without each side's drawbacks. First time I tried it, it's kinda magic, might be a cool video idea! (although not sure how engaging the maths is for an engineering topic :p)
The easiest way to get jerk or snap is to brake hard into a corner (because you always want to do all your braking before you turn - if you're still braking after you start to turn, you'll go wide on the turn) and then hit the throttle as you turn and exit the curve. This describes what you probably did in that pretty sharp turn on your diagram of the track.
You get jerk every time you stop. It's that lurch at the end where you transition from decellerating to having come to a complete stop. Snap is what you feel at a stop sign when you start to let off the brakes at the end because coming to a complete stop like the law requires is just too much trouble.
Braking through turns isn't necessarily bad, it puts more weight over the front wheels that do the steering. Obviously you need to do most of the braking before you turn but it doesn't have to be all of it.
"if you're still braking after you start to turn, you'll go wide in the turn". False. Braking into the curve is called "trail braking" and is the technique specifically used to *prevent going wide* in the curve. Cornering radius reduces as speed reduces, hence slowing down while turning let's you turn sharper. You'll go wide by not reducing speed enough or getting on the accelerator too early.
Matt Parker might not be the biggest motorcycle enthusiast, but the subtitle writing software seems to be. It labels the sound of an accelerating bike as [Music].
I teach engineering and do a lab exactly like this (with a mechanism, not a motorcycle) in 2nd year dynamics. Very cool seeing you frig around with this type of data. I might recommend my students watch this video before the lab next year! PS your content is excellent.
I had a teacher who was ambidextrous and could write with both hands, but at any given time, he was writing with only one hand! Very surprising to see him standing at the middle of the blackboard (yes, that's a long time ago) and start writing and continue writing on the full width without moving. I felt something was odd and it took me a few minutes to understand.
What an amazing experience it must have been for you to get to go on that ride. I was really surprised to see that it was a real racing bike. I was really really surprised to see that you actually rode on my cousin Nicky's bike. Nicky Hayden aka the Kentucky Kid was MotoGP champion in 2006. We tragically lost him in an accident (not related to racing) in 2017.
Over thirty years ago I was tasked with driving a relative’s wedding cake about 40 miles, and although it was a nerve-wracking journey, I kept myself occupied in attempting to reduce all the derivatives that I could think of. The third derivative (the jerk) was to me equivalent to the change of pressure on the accelerator or brake pedal, but further derivatives were beyond what my brain could manage! Subsequently as a passenger I noted the least comfortable drives were when the driver failed to minimize this third derivative. I don’t think I have ever rationalised what the fourth derivative actually feels like. Ever since that wedding cake drive I still use this method of driving for any fragile cargo - particularly elderly relatives, and I haven’t had any complaints yet.
This is how I like to think of it, referencing everything to how "pushed back into your seat" you feel: as we know, there is no sensation associated with constant speed - if the road wasn't bumpy, you couldn't tell that you're moving at constant speed and zero acceleration. There is no jerk or snap, there is no feeling of being pushed back. If your speed starts changing at a non-zero acceleration, you feel pushed back into your seat a fixed amount, depending on how high your acceleration is - but as long as it's constant, there's no jerk or snap and no change in feeling. If you experience non-zero constant jerk that means your acceleration is now increasing too, and you feel gradually pushed into your seat harder and harder - but as long as there's no snap, the process is gradual at a fixed rate. Finally, if you have non-zero constant snap, that means your jerk is now steadily increasing too and your acceleration is started increasing more and more sharply - you're getting pushed into the seat harder and harder at an accelerating rate... The thing to understand is that none of this necessarily involves what we think of as "being jerked around" in a daily sense - for instance, hitting a brick wall and stopping instantly (in an idealized scenario) involves all of the above in a negative direction, yet none of them "constant" but an abrupt spike...
When I was often in car for work, I started thinking about that when the driver stops lifts his foot from the gas pedal, you get thrown to front a little. When I was thinking about it, my first thought, and people with whom I discussed it, seemed to think that it was deceleration of a car. But it didn't make sense to me, since it is very noticeable for a short amount of time, no matter the speed. So I came up with the idea that the reason for that is probably elastic reaction of the seat foam (and probably reaction from your body and other elements). The foam is compressed during acceleration, and when acceleration stops, it releases this energy like a spring, throwing you in the opposite direction. That's why jerk is so noticeable in cars, you basically lay on a spring that is ready to push you when it has opportunity. Harder, stiffer backrest should decrease the jerk feeling.
Check out the video on Spline Continuity floating around out there, it gets into some neat applications of higher order derivatives like these, but in the context of smoothness of surfaces. The higher orders come into factor when considering things like how light would reflect off a given surface -- engineers of smooth shiny real world objects (like car door handles for example) have to conform to these factors to keep reflections from looking wrong.
This is why you have to bandwidth-limit derivative data in many control theory applications, taking the derivative increases noise markedly unless you've got a high quality sensor with very low noise to start with. And if you think about it a lot of the actual jerk and snap will be vibration to start with.
That could explain why he made the worst 3 in his life. Because it looks like he was going to make the left "c" shape of the x but turned it into a 3 halfway, starting the Parker streak onward. EDIT: Actually, nevermind, he clearly makes a deliberate "3" movement with his hand, it just came out weird, even though the other 3 looks much worse in my opinion, as for his x's, it looks more like "doc" to me than dx.
Hi! As a seismologist we often work between displacement - velocity - acceleration time series. One "trick" if you want to integrate is indeed linear detrending. Another one is high pass filtering, as there's usually a maximum period (i.e. a lowest frequency) a seismometer or accelerometer can reliably measure. The whole process usually is: Detrend, taper (usually 5 % half-cosine) or pad with zeroes, filter, integrate, but just detrending the result can be enough for some purposes!
You should take a look into Kalman filters. That is one main way that GPS measurements are merged with accelerometer data to combine the accuracy of the GPS with the precision of the accelerometers.
@@jasonosmond6896Of course, GPS is not inertial, though Kalman filters are used in both and their interaction is interesting because they complement each other well - inertial is very accurate short-term, but tends to drift, whereas GPS is not so accurate short-term but doesn't drift. Feed *both* into a suitably weighted Kalman filter and you can get the best of both worlds.
I think his main problem was, as he points out, the accelerometers were attached to a piston engine that produces vibrations at variable Hz. Worse, the engine cycles within the same order of magnitude as the accelerometer sampling frequency (100 Hz, equivalent to 6000 RPM). So it's an interesting idea, but doesn't solve the problem of noise in the accelerometer readings. More sensors! You could try noise cancellation between the accelerometers and recorded audio. I doubt that would work, though. But what you do get with recorded audio is a pretty good cross-check of velocity, if you know the gear ratios.
Weird that he doesn't point it out himself. I suppose there are ways to get meaningful values for the higher order derivatives after acceleration... ideally that would be by measurement, though.
circuit distance is also calculated at the mid-point of the track the racing line will be different, probably shorter, so your measurement is even more accurate
I can't speak for Moto GP but I know in F1 the Racing line optimises for speed carried through a corner, not distance travelled, so the racing line may not be that far off the mid-point distance in length, and could actually be longer.
@@AshleyFrankland for some sections of the track the racing line might be a little longer than the official distance but i would expect over an entire track the racing line to be somewhere between the center line and the shortest route for a single corner the racing line would be wide on entry, hit the apex, wide on exit which is further than the shortest path and i expect likely pretty close to the center line distance depending on the exact corner (i think a hairpin would be a bigger difference to the center line than a shallow kink) when there is a series of closely linked corners / a chicane the racing line and the shortest line are going to be pretty close i cant really think of any situations where the racing line is going to be noticeably longer than the center line just for the benefit of being able to carry more speed through the corner, the only ones i can think of really its to avoid bumps on street circuits, like the "straight" between Casino and Mirabeau in monaco that has a virtual chicane 1/2 way along it which afaik is just to avoid a bump on the left side of the track
@@custard131 yeah, that's why i said probably shorter there might be some instances where it is faster to go the long way, but usually the faster path with be shorter
@@custard131 I would have thought that the racing line is sure to be longer than the centre line distance because it effectively zig-zags along the track. At each corner It swings from the outside edge on entry to the inside edge at the apex and then back to the outside edge. Also, if the next corner is in the opposite direction then it needs to cross the centre line again before entry.
There's a suspicious, fairly consistent interval between all the peaks in the snap plot. They're even too regular for gear changes. It's probably some slight periodic discontinuity that's been introduced in the data at some point. Possibly even be an inherent limitation of the accelerometer, where it periodically does some extra processing, or some kind of correction. Would be interesting to do the same data processing in some other scenarios, including being stationary.
This is similar to how it was explained to me 20 years ago. Speed, acceleration, jerk, etc. are the easiest conceptual representation of calculus - in both directions.
You could say that acceleration is the rotational position of the driver's wrist (or foot on the break), jerk is the rotational speed, and snap is the acceleration of that speed. This makes it easier to imagine it, one derivation up, I think. So I think the snap basically corresponds to a very quick acceleration/breaking done by an imperfect human being that is trying but is not able to immediately accelerate the rotation of their wrist/foot. So I believe your snap is believable as a graph of trying harder.
Numerical second derivatives are extremely sensitive to noise. Before and between derivations you should smooth the data just to get meaningful results. You should be able to do that as you have 100 samples per second and the changes on the bike are slower than that.
Yeah, this! I think a 0,1s resolution would be interesting enough, because a moment of experience can't be much shorter than that. We'd get plenty precise data even with 10x smoothing.
I love how effectively titled/thumbnailed this is; I didn't believe you when you said there was nothing exciting, so you thus perfectly matched my expectations. I love the honesty, ie. lack of clickbait.
What you describe with the different pros and cons of accelerometers and GPS is precisely the reason Kalman filters are used. You could run your data through that for the best of both worlds.
A Kalman filter needs to know a lot of characteristics (statistics) about the sensors in use. On that note, getting a GPS that runs 25 Hz or so would be a fine start. Airline INS' accelerometers are integrated at well over 2000 Hz. For this sort of thing, you also want the accelerometers and gyros "strapped down" pretty tight.
Oh snap! I really like how with each derivative you can see it hone in on and highlight the "most notable" sections. When it got to Snap basically the only things on the graph were a few lines relating to the greatest change of pretty much everything.
As humans, we are more sensitive to jerk than to acceleration. When you are in an elevator and feel it jerk, it is the jerk, not the acceleration, that you are noticing.
humans don't feel acceleration or force at all, instead what we feel is the derivative of force across distance. Treating gravity as a force, because its close enough, you feel weightless, that because the force is generally uniform across the body. The reason you can notice an elevator accelerating, is because we have inertia and so our feet feel a compression.
@pneumaniac14 This is really interesting, however the feeling of weightless in orbit alone might not be enough to demonstrate the idea. Let's assume there was some way to feel force directly. In low earth orbit (assuming your body is pointing in the same direction the whole time) this would be a 360° rotation of the force direction over about two hours which would be really hard to notice. You could however spin your body around the head-feet axis at 90° to the down direction. You would feel the centrifugal force, but that would be constant over time. The direction of earth's gravitational pull would change by 360° relative to your body for each revolution around your axis. If force could be felt directly you should be able to tell the direction of earth. For an example with no extra forces felt I think you would need to be in a pretty tight orbit around a neutron star.
Oh, this matches how I drive. I always try to minimise jerk when e.g. braking. Relatives complain that it looks like I am going to hit the car in front of me because I'm not braking fast enough, but they also compliment me on driving really smoothly.
@@pneumaniac14 I would have do disagree with the statement that we don't feel acceleration at all. We are actually very good at defecting the direction of an acceleration, but we are less sensitive to its magnitude. Sensing the direction of an acceleration is why we can tell which way is "up" fairly accurately. It's also why full-motion flight simulators feel so realistic for airliner pilot training -- we sense the direction of the acceleration (as well as the jerk), but aren't sensitive to the accelerations being off by 10% or 20% from what they would be on a real airplane.
@andrewsnow7386 we can only tell which way is up because of the normal force of the ground. We also aren't accelerating when we're on the ground. Contact forces provide a difference in force across the body, so thats why we can feel contact forces, and hence we can feel gravity when standing, an elevator that accelerates, a plane that has turbulence. But strictly speaking it isn't the force that we feel, but the variability in force. Assuming you are standing, and the force is being applied to your feet, then every bone bar the arms accelerates almost as a rigid structure, blood lags behind so you can feel that, your flesh and arms also lag behind. What I'm getting at, is if you applied an acceleration, or a jerk, or any derivative of force for that matter, to every atom in the human body uniformly, so long as there is no reference point, ie the ground, or the air, you would never feel a thing.
I need an episode about Euler's brick. I am not expecting success in the matter, but it would bring about the same level of entertainment/joy as the annual PI-episodes.
Jerk is rate of change of acceleration, so I'd guess that the moment you were at minimum Jerk was when the bike went from accelerating as hard as possible, to breaking as hard as possible. The acceleration would have gone from a big positive to a big negative in a short amount of time. The other largest Jerk moments would be similarly placed at the boundary of braking and acceleration zones. EDIT: As to the question of whether you experienced Snap, you definitely did. The issue is whether it is recorded accurately, but you definitely changed the rate at which you were changing the rate at which you were changing the rate at which you were changing position. I'd say it's damn near impossible to be a human and NOT do that.
One other consideration is gear changing. When you shift up under acceleration the acceleration momentarily stops before returning when the engine is reengaged. I suspect this would also produce noticable jerk and even snap
@@SpeedcoreDancecore nice observation. Although I guess at the start of your fall from the high building, you go from 0 acceleration to 9.81 so at that point it must have some rate of change. So I guess the only potential jerk etc comes from whether you calmly side-step off the building, or launch yourself from a springy diving board? (Again like you said, this is all happening with no air).
Oh, snap! Edit: It has occurred to me, as a result of watching this video, that English lacks a useful word for the _scalar_ of acceleration. We have displacement vs distance, and velocity vs speed, but when we reach acceleration...nothing. I hereby nominate "haste" as the term for the magnitude of acceleration. Haste cannot be negative--haste means you are changing speed somehow. It's a clean, convenient, existing English word with more or less the right meaning (it implies specifically _positive_ acceleration, but I'm okay with that small wrinkle). Jerk, snap, crackle, and pop can all just stay as they are, since those magnitudes are much less relevant than distance, speed, and haste.
Acceleration is the rate of change of velocity and the magnitude of that acceleration is not the same as the rate of change of speed. I.e. The magnitude of the rate of change of velocity is not necessarily the same as the rate of change of the magnitude of velocity. For example, an object moving in a circle at constant speed has an acceleration directed towards the centre - the magnitude of that acceleration is constant and non-zero, yet the speed is not changing, so the rate of change of speed *is* zero. As you say "haste means you are changing speed somehow", I think you mean to define haste as rate of change of speed. If this is the case, your haste would be negative when you are reducing your speed. This being so, I think a better word for it might be "quickening"?
The large values of snap look like they're occurring regularly, so it's possible that this is an artefact introduced by whatever filter Dom used, and/or some low-frequency artefact from the accelerometer itself. Otherwise, I think you're right that this signal is just noise
Can't help but admire the Parker penchant for pushing mathematical ideas beyond their real-world ability to be meaningful. In this one, we see the perils of over-differentiating a dataset with a coarse time increment. 4th (time) derivative of position? My immediate thought was, "Here comes some random noise!" This is just the sort of thing I've come to love about this channel! A random observation, at around 7min: The "aspect ratio" mismatch between the curve from the map and your plotted GPS positions, looks like it resulted from not correcting your longitude-line spacings by the factor cos(latitude). Fred
@@stargazer7644 Yes, I'm sure he foresaw what would happen if he took 3 or 4 derivatives of velocity or position data. Still, accelerometers are subject to drift, and . . . but the "Parkerness" of this quest is in the sort of extreme that going after 4th derivatives entails. Love it!
Latitude and longitude are not what you should be using if you want your plot to have the correct shape. You should convert them to cartesian coordinates, and then rotate the points so their center lands on on the z axis. Then you can scatter plot the x/y components, and it should be much closer to the actual shape of the circuit...
Other than a slight aspect ratio difference between lat and long (which he corrected for by stretching the image), none of that will make any difference over a couple of kilometers. He would have been far better off to have logged the output of a proper GPS receiver instead of the pseudo GPS that a phone gives you.
@@stargazer7644 the aspect ratio difference is not slight. And using cartesian coordinates would also allow him to use actual units of length, which could be derived over time to get speed, acceleration, and so on.
@@stephaneduhamel7706 The aspect ratio at his lat/lon is all of 1.62:1 and once again, he easily corrected for that. If it really bothers you, you can simply scale the lat or lon axis for it in an area this small. What difference does it make? You don't need Cartesian coordinates to calculate distances, as I didn't in calculating that aspect ratio. He didn't use the GPS coordinate data for speed or acceleration and he explained why. It is too low in temporal resolution, and as I mentioned and he showed, phones don't generate very good GPS data to start with.
@@stargazer7644 I don't understand why you are against the idea of plotting GPS coordinates the correct way. Calculating the local aspect ratio is a nice approximation for smaller scale objects, but doing the reprojection properly isn't that hard and doesn't deform the shapes no matter the GPS coordinates.
@@stephaneduhamel7706 My objection is precisely because of your insistence that it is the "correct" way. You keep going on about distortion but you don't seem to realize any projection of spherical coordinates onto a flat surface will ALWAYS result in distortion of one type or another. Again not that it would matter the slightest in an area this small, but you don't seem to realize that either.
This is the awesomest video yet. I use data from my Gopro's GPS, accel and gyro all the time to try and learn where i could be improving in my track riding. I had never thought about derivating the accelerometer data to find additional inputs. Now i wonder if this can help me understand things like smoothness of throttle application!
The huge jerk comes from tracing a rough, relatively small circle to another one but in the other direction in a really short time! Acceleration is going from very big and roughly constant to your right to very big and roughly constant to your left, so of course that means you experience a huge jerk, very localized in time (ideally, Dirac delta-like), and its subsequent derivatives only get larger and larger, but more and more localized in time. So I don't think it's data noise/error. It is simply huge because it lasts very shortly but its high order integral must be finite to ensure the change in acceleration!
Awesome video Matt! The thing is, that while most everyone would assume racing would give the most jerk and snap, the fastest racer is probably the one who minimizes those quantities. Smooth is fast is an old racing adage, and after all, smooth and jerk are inversely proportional!
This was great, taught me a lot about the sensor accuracy and drift in a phone. This has been a toy problem of mine for about a decade. Accelerating forward with a force the same as gravity is way cool. Total acceleration would essentially be at 45 degrees rather than straight down. Of course a bike is not needed to make this demonstration. Driving and coming to a stop sign or red light (and coming to an abrupt stop rather than silky smooth stop) will give you all of these derivatives. Abrupt change in acceleration when the wheels stop turning. Elevators are another great example. Some stop without you hardly noticing - imperceptible jerk. Others noticeably change acceleration when coming to a stop and abruptly halt at the bottom. All giving very clean data since it is all in one direction. I’m guessing your snap spikes were all due to taking derivatives near the resolution of the data (discontinuity at each step change), not actual snap. Thanks again for the great video.
17:20 On the original speed plot, the central peak seems to have been clipped to 50 m/s by the same gps error you observed in the position plot. Since the integrated acceleration plot shows higher speeds through that portion, it suggests the first speed plot would underestimate your total distance. We can't know how much of the discrepancy that error accounts for, but it would move your estimate toward the actual circuit length.
What a video. Niche physics units that I've been fascinated by for years, motorcycles, and a reverse psychology click-bait title. Bravo Matt and a big GG
15:40 I'd have thought that this might be due to misalignment of the accelerometer and the gyroscope. If you can't precisely eliminate the gravitational component, you'll naturally have a linear increase of the velocity over time. 🤔
This would be the case, so most likely the conversion was simply calibrated wrong the whole time. You should be able to identify the gravitational axis by using gyro to convert the accelerations all into one (arbitrary) uniform axis set, and then integrating that from start to finish, with the end point being the direction of gravity (and its magnitude multiplied by time). With that calibrated and subtracted out you would then have in the integration a plot of your horizontal velocity over time, and with some simple knowledge of the track you could use that to determine a "forward" orientation for the phone over time also.
Likewise by forcing the acceleration etc to be 1-dimensional along the track, large lateral changes in the turns will add more noise in normalising for bike frame of reference - do you subtract vectors from before or after the time spot? This mini-integration will accumulate more error the higher the snap.
All accelerometers drift. The more money you pay for them, the less they drift, but they all drift over time. And you didn't pay much for the ones in your cell phone .
As a massive maths, physics and motorsport fan, I really loved this video. I'm sure I wasn't the only person watching to be naming all of the corners of the Silverstone circuit while watching the footage - that corner with the 'oh snap' moment is called The Loop by the way. There is such a lot of maths and physics involved in motorsport, which is one of the reasons why I love it (though I prefer 4 wheels to 2).
They would have even more spikes than snap, but that could just be due to noise because every small rapid change in dataset amounts to an extremely high slope/derivative
Hi Matt! My reasoning is: Add mass to your equations and you get momentum, force and power as physical quantities representing derivatives of position. In your example, simple test for filtering data is power, which is limited by power of the bike you were riding on. If measured power from your data exceeds max. power of the bike, probability of error is high :-). There is also another point regarding drift in your integration. No sensor is perfectly zeroed at the beginning , therefore integration over time will produce effect you have observed.
i just want to mention that numerical derivative is extremely sensitive to noise, the high derivative you go the less reliable it is. coming from a control background
@@cosmicshambles That's clever I suppose. I hadn't heard of him before this. Imagine driving motorbikes for a living and dying in a bicycle accident. 😣
I think a third data set is required to rule on snap v.s. jerk. Perhaps the audio track allows recovery of engine RPM, assuming the max jerk and snap aren't taking place during clutch use where engine RPM does not match with RPM of the rear wheel?
Really awesome video! I don't know much about motorbike racing but I follow F1 and it's always so cool to see 'ordinary' people get to experience those sorts of things. Something I'd love to get to do. Regarding the data analysis and taking repeated derivatives of data with noise (so all real data) is prone to substantially amplify the noise. So most of the large spikes in both Jerk and Snap are likely caused by numerical effects of taking derivatives. There are methods to minimize those things (for example using higher order differentiation schemes) but most of them are non-trivial. Not knowing how the derivatives were computed I can't say for certain that's what's happening but I'd anticipate it's playing a notable role in the large values. Something I've learned in working with data like this is you actually ignore the large spikes and pay more attention to the smaller more consistent patterns closer to zero. That's where the interesting bit actually is. 😀
Great video, I would've loved a deep dive into the math of how to convert the gyroscopic data of accelerations in three directions to the one-dimensional acceleration while accounting for gravity.
That snap makes sense. From the most negative jerk to none is a huge positive change in jerk, i.e. a huge positive snap. Not sure if it is close enough in the timeline, but from a quick look at the stacked graphs, they do appear close.
The big indication for me that there was an issue with the snap data was the even spacing. Something with the filtering caused an artifact every 3 seconds.
Derivatives amplify noise creating all the spikes, so you should use something like cubic spline interpolation on the acceleration graph before computing jerk and snap.
This brings us to one of my favorite math facts. Derivatives make things spiky, integrals make them smooth. The best way to show this is to look at an arbitrary sine wave. The derivative makes low frequency sine waves small and high frequency ones large and vice versa
Just to add a note, a negative jerk does not imply you are slowing down. In fact it doesn't tell you anything about whether your speed is increasing, decreasing or staying the same. It just means your acceleration is decreasing, whether it is positive, negative or zero.
I love Matt! @1:45 he says thats the worst 3 he's ever done, then writes a worse three on the bottom of d3x/dt3. I think the world is better with Matt inspiring us to drop our inhibitions, and "give it a go!" ❤
The most obvious moment you can feel jerk is when a vehicle stops. It was decelerating, so you felt like there was a force pushing you forward, so you adapted by resisting that force. But when the speed reaches 0, it suddenly stops decelerating, so you're thrown back into your seat because of your own force. In that situation, you have an instant change of acceleration, so you have infinite jerk. And infinite snap.
its not infinite, nothing in real world is (except for people stupidity). the car isnt rigid, you have suspension with springs, shocks, you have a soft seat - everything works to compensate sudden accels and jerks.
@mojeimja OK, the jerk might not be infinite, but it's really big, at least for the wheels, though for the passengers, it is dampened by everything between the wheels and them. And the snap might not be infinite, but it's even bigger. And the more you derive, the bigger it can get, because the more you derive, the less physical sense it has. And the less physical sense it has, the less it is constrained by physical laws such as "nothing is infinite"
But there is no end to the derivatives. To affect even the slightest change in position requires an infinite derivative derivative derivative chain... My mind bleeds thinking about this stuff.
I really thought the catch was that the room was sideways when i saw the permanent markers trying to roll to the right and how careful Matt was to put the caps back on. I thought the (presumably) calculator was glued-down to hold them in-place. 😂
My physics lecturer liked this example of jerk: when you brake in a car, the lurching effect you feel when you stop is the jerk. This is because when your velocity hits 0, your acceleration isn't yet at 0, causing you to begin moving backwards. During this time period after you begin to move is when you experience jerk, as the car begins to accelerate forward
@@svhb1000 Related, the car is somewhat loosely positioned as well due to the suspension. The differential loading of the front and rear suspension can cause a brief acceleration of the car body backwards, relative to the locked wheels. When I was a teen driving a manual car (and you know, being a teen), I got pretty good at releasing the brake just as the car came to a stop such that it would roll backwards a foot or two!
I'm literally 25 seconds in, I have no idea what this video is actually about, and I'm entirely sold. I will listen to Matt talk about math even if the words he was saying were as boring as my freshman professor managed to make calc 2. I just like to hear him talk about math in the background while I code.
I'm curious as to how exactly you're doing numerical differentiation, for instance if the time in between data points is Δt, and you use 3 data points for the derivative of the middle point (central difference scheme), then the error on the first derivative is on the order of Δt³, and the error of the second derivative is on the order Δt².
Oh Snap! My suspicion, for Snap and higher derivatives, is that they will tend to mirror the Jerk. My reasoning is that the gas pedal/brake pads control the acceleration and adjustments to them are done by a human, making it closer to binary. So going from no gas to full gas (common for humans to do) will result in a spike in jerk, snap, crackle, and pop.
You could model the noise statistically, and then solve for n such that the difference between the true derivative and the approximation is smaller than some epsilon in probability. No reason that the approximated derivative can’t be treated as any other estimator.
When I was often in car for work, I started thinking about that when the driver stops lifts his foot from the gas pedal, you get thrown to front a little. When I was thinking about it, my first thought, and people with whom I discussed it, seemed to think that it was deceleration of a car. But it didn't make sense to me, since it is very noticeable for a short amount of time, no matter the speed. So I came up with the idea that the reason for that is probably elastic reaction of the seat foam (and probably reaction from your body and other elements). The foam is compressed during acceleration, and when acceleration stops, it releases this energy like a spring, throwing you in the opposite direction. That's why jerk is so noticeable in cars, you basically lay on a spring that is ready to push you when it has opportunity. Harder, stiffer backrest should decrease the jerk feeling.
I’m not so sure of that. We are very sensitive to jerk. In fact at constant velocity we don’t really experience any difference as a sensation. At constant acceleration the only feeling is a constant unchanging slight push into your seat. Almost imperceptible. (Basically higher gravity but not changing - that is can you tell if you weigh 2% more?). Jerk is totally different your gravity changes back and forth you weigh less then in an instant you weigh more. ….
@@jonathanjohnson2427 Well, when the car stops accelerating you not only feel it, but you are physically thrown forward (in relation to the car), and sometimes you can see it on inanimate objects resting on seat backrest too. I think it may be the other way- we feel the jerk so much, because it changes the "resting state of our bodies". Meaning, during acceleration your body accommodates to it, and after jerk happens, it needs to adapt it. Imagine your head, not resting on the headrest in car during acceleration- your muscles need to keep head in place, but when jerk happens, the muscles need rebalance forces or your head will start moving.
Oh snap! It is disappointing that Matt switched from a spreadsheet to Google to do the units conversion. I mean, I'd do it but I expected more from a more experienced spreadsheet user such as Matt! 😂
There is something fishy in your snap plot. It has bursts of activity at constant intervals and is very quiet between those bursts. It is visible in the jerk plot too but not as clearly. That huge negative jerk spike should have produced similar negative snap spike immediately followed by similar positive spike but the plot only shows a positive spike.
As someone whos daily activities also revolves around plotting data, I found this video quite intertaining (interesting+entertaining)! The sound recording from the motor bike doesn't crackle, and I think the production really pops! ... am I the only one who wants Rice Crispys?
Oh snap! The big jerk measurement looks to be through the Maggots and Becketts S bends, which makes sense as the acceleration is changing quickly per second. When this stops going into the Chapel bend I would imagine that creates a large Snap, as in the acceleration per second per second spikes. As a Physics grad who loves motorsport and programming I endorse this video ❤
"I have a need for speed, and it's higher order derivatives" was literally so funny I forgot to laugh. I had to just sit back and appreciate such a great physics joke.
"...and it is higher order derivatives"? ;-)
Should be a T-shirt slogan 😄
""I feel the need for jerk...."" @@joseandresthuel623
Wish I could say the same -- I legitimately laughed out loud much harder than I'd like to admit 😂
its*
I love how this could have been so click baity with a sick MotoGP clip, but instead we get a whiteboard. True to his maths ❤
I am not surprised that Matt can find more excitement in a spreadsheet than riding a 200 bhp motorbike.
Yeah, he's not a sportsman..... I find more fun in prime numbers than gladiatorial athletic displays
What's your point? Are you trying to suggest that a lickle bikey wikey is more exciting than a spreadsheet? How cute.
Your running into real-life drift errors is the first time I felt my engineering and automation degree wasn't useless. Please do a video on Kalman filters next it'd be so interesting. And I can do the filtering for you if you'd like!
Kalman filters are not generic. They have to be designed according to the suite of sensors in use.
@@AlanTheBeast100 True. Alpha-beta filters are a good optimization for the gh parameters for most non-accelerating systems though.
@@mohammedfahmy6715This... is most definitely an accelerating system. XD
@@codahighland I'm sorry I misspoke. I meant systems that have a consistent change of acceleration. And even if they do I believe it should be possible to account for that.
@@codahighlandsooo…constant jerk? But we want to see those higher orders, not assume they’re zero!
Oh snap! I love mundane videos where Matt sits in a quiet room and talks spreadsheets.
Matt can spread my sheets any day
Oh, snap! Me too.
Too bad it was all clickbait. I feel like I have only one choice for breaking my trust……. Unsubscribing
@@mikeallison5549you're being a jerk.
No snap! I think the data's too noisy.
"...and I appreciate everyone that gave it a go" Spoken like a true teacher, Matt!
Well, and spoken like a true Matt Parker. He has a long history of presenting a problem and encouraging his viewers to give it a go.
Every achievement in the world begins with someone giving it a go.
We need some sort of symbol for giving things a go, perhaps one that's to do with math, and named after Matt Parker in some way..... Ah well, no ideas!
Fun fact: There's also a name for the -1st derivative of position: the time *integral* of displacement, measured in units of meters *times* seconds! It's known as Absement. It's a measure of how far something's away from the origin, for how long. It doesn't come up much but it has some use in cases where there's a natural resting position for a thing. For instance, if a car's speed is a function of the displacement of the gas/brake pedal, then the distance traveled is a function of the absement of those pedals.
i like to think of it as the "amount of openness" in a gate for example
then there's absity, abseleration, abserk
there is some use for them in fluid flow too
Very interesting!
You could also use it as a metric for "likelihood your relationship will break up"... If you spend 3 years away from your partner, but only 1200m away, you're as likely to break up as spending 10 days on a trip 130km away. Or maybe your partner went to serve in the army 600km away for a year, which would make you 166 times more likely to break up! Try not to get caught cheating...
As a crude example, absement may be used, very approximately, to model the cost of a long-distance phone call as the product of distance and time. A short-duration call over a long distance might, for example, represent the same quantity of absement (and hence the cost) as a long-duration call over a shorter distance.
You can actually translate higher order derivatives of displacement into a measurement of displacement to some extent. Acceleration is how far back into your seat you are pushed (ie you’ve translated it back into displacement into a soft squishy seat), jerk is roughly the speed you get pushed into it, and snap is the acceleration of you squishing into it. Of course, it’s only roughly linear at low “speeds” (accelerations) because the seat acts as a spring whose resistance increases as you go further into it. You could also do something similar by making your measure of acceleration into the displacement of the gas pedal, but that’s less of a feeling of forces of higher order derivatives and more of making those higher order derivatives.
And jerk as a measurement *is* truly what you mean whenever you saying you’re getting “jerked around”-the acceleration is usually fine, but lots of jerk can be extremely uncomfortable and that’s why there’s very few fields of engineering that actually both to deal with minimizing it. Namely roller coaster engineers put a lot of effort into minimizing jerk, snap, crackle, and sometimes pop if it becomes important enough.
The way I imagine jerk is how fast you are pulling Gs. That is something that still makes sense to me. But everything above jerk, I can't really imagine. Sure, I know intellectually what the derivative means but it's hard to visualize it...
I also always think in those modern elevators where you can barely feel any forces as it gets moving and stops, how many orders of the distance derivatives did the engineers need to smooth out in the elevator motion control to deceive our vestibular system to such a degree.
@@TheAngelsHaveThePhoneBox they probably had to minimize at least the first three derivatives. Hell, just use exp(-1/x^2) or exp(-1/abs(x)) as a basis function for the velocity and you’ve got a really great start for maximizing total displacement over time/average velocity while minimizing subsequent derivatives.
Really appreciate this description
Nice explanation!
I think the easiest way to experience jerk is when you're standing on a bus ready to get off, and you find yourself being thrown *backwards* at any point. The bus's deceleration will push you forwards, so you brace your legs and lean into it, but suddenly that acceleration stops and your brace is inappropriate so you stagger. It can't be acceleration pushing you back, because that would mean the bus is speeding up, which it's not, so you know it must be jerk.
(I notice this when I'm driving as well, so if I have passengers, I try to ease off the brake as I'm slowing down to reduce jerk when the vehicle finally comes to a stop. If you just keep your foot in the same position on the pedal, there can be uncomfortable jerk right at that moment.)
I think most people in most contexts would struggle to identify snap, but I think jerk is easy enough.
Silly Matt! Simply sitting on a swing allows you to experience infinite speed derivatives! For simplicity let's say your position is sin(t), then your speed is cos(t), your acceleration is -sin(t), your jerk is -cos(t), your snap is sin(t), your crackle is cos(t), and your pop is -sin(t). This pattern repeats indefinitely.
Good point well made. But given the choice between a video of ‘Matt sitting on a swing’ and ‘Matt tearing round Silverstone on a MotoGP bike’…
@@Steeyuv i think a 42 year old man who had just bought 27 lottery tickets recording himself sitting at a swing while strangers watch is worth something, at least
I mean you wouldn't sit on a swing for all eternity, and sin(t) is an approximation. I wonder if it's possible this is incorrect. 2 orbiting particles have infinite non-zero derivatives, but even that is an approximation. I highly doubt that the position of everything in the world can be written as a finite polynomial, but I can't find a fundemental reason why not. I guess because polynomials are unbounded either above or below, as time tends to infinity, the positions and velocities of everything approach infinity, but also we can't assume that time will last forever.
Release would be a parabolic with initial vector tan(t)?
matt must not be having a lot of fun on the swing given that modelling position as a sinusoid is only true for small amplitudes of displacement
At 17:00 you say that one has a better long term accuracy (no drift) while the other has the better shape (smoother data). That rang a bell for me from an old uni class. This would be a perfect application for Kalman sensor fusion! Where multiple data sources are used to create one superior output that contains the best of both worlds without each side's drawbacks. First time I tried it, it's kinda magic, might be a cool video idea! (although not sure how engaging the maths is for an engineering topic :p)
How could Matt do this to us with that blatant click-bait
Reverse-click-bait! Click-scarecrow?
@@JWQweqOPDHClick-hate?
Oh snap! What a jerk!
Clearly Clickbait Video definitely wasn't unexciting. I hate it
Yeah, disgusting
The easiest way to get jerk or snap is to brake hard into a corner (because you always want to do all your braking before you turn - if you're still braking after you start to turn, you'll go wide on the turn) and then hit the throttle as you turn and exit the curve. This describes what you probably did in that pretty sharp turn on your diagram of the track.
You get jerk every time you stop. It's that lurch at the end where you transition from decellerating to having come to a complete stop. Snap is what you feel at a stop sign when you start to let off the brakes at the end because coming to a complete stop like the law requires is just too much trouble.
Braking through turns isn't necessarily bad, it puts more weight over the front wheels that do the steering. Obviously you need to do most of the braking before you turn but it doesn't have to be all of it.
"if you're still braking after you start to turn, you'll go wide in the turn".
False. Braking into the curve is called "trail braking" and is the technique specifically used to *prevent going wide* in the curve. Cornering radius reduces as speed reduces, hence slowing down while turning let's you turn sharper. You'll go wide by not reducing speed enough or getting on the accelerator too early.
Matt Parker might not be the biggest motorcycle enthusiast, but the subtitle writing software seems to be. It labels the sound of an accelerating bike as [Music].
Ahhh... this noise, it's music to my audio-recognition algorithms
At least he didn't get a copyright strike!
@@gcewingI'm pretty sure Harley once attempted to copyright their distinctive engine sound... So that isn't too far off
I spent a while wondering what “subtle writing software” was, before rereading more closely.
@@henrikoldcorn There was a subtle difference that you missed, I guess? 😎
I teach engineering and do a lab exactly like this (with a mechanism, not a motorcycle) in 2nd year dynamics. Very cool seeing you frig around with this type of data. I might recommend my students watch this video before the lab next year! PS your content is excellent.
One minute in and I'm already learning something! I always thought GAS means "Genuinely approachable Sudoku"! Thank you Matt!
After learning that the 5th derivative of position was "Crackle," did you think the next one was "The Cryptic?"
Man of culture, I see
I thought GAS means gas
Small world we live in. Hope they'll title the next one "Greater Automobile Speed"
Same 😂
As a long time fan and ex- racer, this has immediately become my favorite episode! RIP, Champ.
As a man with his own whiteboard, I fully appreciate the skills on show required to effectively and clearly write on one with one hand
I had a teacher who was ambidextrous and could write with both hands, but at any given time, he was writing with only one hand!
Very surprising to see him standing at the middle of the blackboard (yes, that's a long time ago) and start writing and continue writing on the full width without moving. I felt something was odd and it took me a few minutes to understand.
What an amazing experience it must have been for you to get to go on that ride. I was really surprised to see that it was a real racing bike. I was really really surprised to see that you actually rode on my cousin Nicky's bike. Nicky Hayden aka the Kentucky Kid was MotoGP champion in 2006. We tragically lost him in an accident (not related to racing) in 2017.
Over thirty years ago I was tasked with driving a relative’s wedding cake about 40 miles, and although it was a nerve-wracking journey, I kept myself occupied in attempting to reduce all the derivatives that I could think of. The third derivative (the jerk) was to me equivalent to the change of pressure on the accelerator or brake pedal, but further derivatives were beyond what my brain could manage! Subsequently as a passenger I noted the least comfortable drives were when the driver failed to minimize this third derivative. I don’t think I have ever rationalised what the fourth derivative actually feels like. Ever since that wedding cake drive I still use this method of driving for any fragile cargo - particularly elderly relatives, and I haven’t had any complaints yet.
This is how I like to think of it, referencing everything to how "pushed back into your seat" you feel: as we know, there is no sensation associated with constant speed - if the road wasn't bumpy, you couldn't tell that you're moving at constant speed and zero acceleration. There is no jerk or snap, there is no feeling of being pushed back. If your speed starts changing at a non-zero acceleration, you feel pushed back into your seat a fixed amount, depending on how high your acceleration is - but as long as it's constant, there's no jerk or snap and no change in feeling. If you experience non-zero constant jerk that means your acceleration is now increasing too, and you feel gradually pushed into your seat harder and harder - but as long as there's no snap, the process is gradual at a fixed rate. Finally, if you have non-zero constant snap, that means your jerk is now steadily increasing too and your acceleration is started increasing more and more sharply - you're getting pushed into the seat harder and harder at an accelerating rate... The thing to understand is that none of this necessarily involves what we think of as "being jerked around" in a daily sense - for instance, hitting a brick wall and stopping instantly (in an idealized scenario) involves all of the above in a negative direction, yet none of them "constant" but an abrupt spike...
When I was often in car for work, I started thinking about that when the driver stops lifts his foot from the gas pedal, you get thrown to front a little. When I was thinking about it, my first thought, and people with whom I discussed it, seemed to think that it was deceleration of a car. But it didn't make sense to me, since it is very noticeable for a short amount of time, no matter the speed. So I came up with the idea that the reason for that is probably elastic reaction of the seat foam (and probably reaction from your body and other elements). The foam is compressed during acceleration, and when acceleration stops, it releases this energy like a spring, throwing you in the opposite direction. That's why jerk is so noticeable in cars, you basically lay on a spring that is ready to push you when it has opportunity. Harder, stiffer backrest should decrease the jerk feeling.
Check out the video on Spline Continuity floating around out there, it gets into some neat applications of higher order derivatives like these, but in the context of smoothness of surfaces. The higher orders come into factor when considering things like how light would reflect off a given surface -- engineers of smooth shiny real world objects (like car door handles for example) have to conform to these factors to keep reflections from looking wrong.
This is why you have to bandwidth-limit derivative data in many control theory applications, taking the derivative increases noise markedly unless you've got a high quality sensor with very low noise to start with. And if you think about it a lot of the actual jerk and snap will be vibration to start with.
1:42 It's actually very interesting, once you take the derivative for the third time, the distance variable disappears!
That should just be a mistake
it's a Parker's derivative
I was just about to comment this but yeah I would assume that’s a mistake for jerk and snap too
@@dopwop553 My favorite feature of Parker's derivatives is how the d's slowly mutate into a's.
That could explain why he made the worst 3 in his life.
Because it looks like he was going to make the left "c" shape of the x but turned it into a 3 halfway, starting the Parker streak onward.
EDIT: Actually, nevermind, he clearly makes a deliberate "3" movement with his hand, it just came out weird, even though the other 3 looks much worse in my opinion, as for his x's, it looks more like "doc" to me than dx.
Hi! As a seismologist we often work between displacement - velocity - acceleration time series. One "trick" if you want to integrate is indeed linear detrending. Another one is high pass filtering, as there's usually a maximum period (i.e. a lowest frequency) a seismometer or accelerometer can reliably measure.
The whole process usually is: Detrend, taper (usually 5 % half-cosine) or pad with zeroes, filter, integrate, but just detrending the result can be enough for some purposes!
You should take a look into Kalman filters. That is one main way that GPS measurements are merged with accelerometer data to combine the accuracy of the GPS with the precision of the accelerometers.
The history of inertial navigation systems would be a highly relevant and interesting followon topic.
@@jasonosmond6896Of course, GPS is not inertial, though Kalman filters are used in both and their interaction is interesting because they complement each other well - inertial is very accurate short-term, but tends to drift, whereas GPS is not so accurate short-term but doesn't drift. Feed *both* into a suitably weighted Kalman filter and you can get the best of both worlds.
The missile knows where it is...
@@insouciantFoxbecause it knows where it isn't, (but also where the nearest oil field is down to the mm)
I think his main problem was, as he points out, the accelerometers were attached to a piston engine that produces vibrations at variable Hz. Worse, the engine cycles within the same order of magnitude as the accelerometer sampling frequency (100 Hz, equivalent to 6000 RPM).
So it's an interesting idea, but doesn't solve the problem of noise in the accelerometer readings.
More sensors! You could try noise cancellation between the accelerometers and recorded audio. I doubt that would work, though. But what you do get with recorded audio is a pretty good cross-check of velocity, if you know the gear ratios.
In this video, Matt discovers integrator drift and the noise emphasizing properties of differencing.
Weird that he doesn't point it out himself. I suppose there are ways to get meaningful values for the higher order derivatives after acceleration... ideally that would be by measurement, though.
circuit distance is also calculated at the mid-point of the track
the racing line will be different, probably shorter, so your measurement is even more accurate
Also, he may have started or ended from the box
I can't speak for Moto GP but I know in F1 the Racing line optimises for speed carried through a corner, not distance travelled, so the racing line may not be that far off the mid-point distance in length, and could actually be longer.
@@AshleyFrankland for some sections of the track the racing line might be a little longer than the official distance but i would expect over an entire track the racing line to be somewhere between the center line and the shortest route
for a single corner the racing line would be wide on entry, hit the apex, wide on exit which is further than the shortest path and i expect likely pretty close to the center line distance depending on the exact corner (i think a hairpin would be a bigger difference to the center line than a shallow kink)
when there is a series of closely linked corners / a chicane the racing line and the shortest line are going to be pretty close
i cant really think of any situations where the racing line is going to be noticeably longer than the center line just for the benefit of being able to carry more speed through the corner, the only ones i can think of really its to avoid bumps on street circuits, like the "straight" between Casino and Mirabeau in monaco that has a virtual chicane 1/2 way along it which afaik is just to avoid a bump on the left side of the track
@@custard131 yeah, that's why i said probably shorter
there might be some instances where it is faster to go the long way, but usually the faster path with be shorter
@@custard131 I would have thought that the racing line is sure to be longer than the centre line distance because it effectively zig-zags along the track. At each corner It swings from the outside edge on entry to the inside edge at the apex and then back to the outside edge. Also, if the next corner is in the opposite direction then it needs to cross the centre line again before entry.
" ..Jerk, snap, crackle, pop" - never to be forgotten. Thanks.
We're going to need a video calculating the derivative of the rate of change of Matt's d's into a's on the whiteboard
And some "x"s into nothings.
The Parker D-celeration?
@@AthAthanasius dx turning into 'doc', and the "s" turning into 8's, and the t's turning into + .
There's a suspicious, fairly consistent interval between all the peaks in the snap plot. They're even too regular for gear changes. It's probably some slight periodic discontinuity that's been introduced in the data at some point. Possibly even be an inherent limitation of the accelerometer, where it periodically does some extra processing, or some kind of correction. Would be interesting to do the same data processing in some other scenarios, including being stationary.
I noticed that too. Periodicity seems to be about every 3 seconds. It could be from the measurement device, or the post processing?
This is similar to how it was explained to me 20 years ago. Speed, acceleration, jerk, etc. are the easiest conceptual representation of calculus - in both directions.
You could say that acceleration is the rotational position of the driver's wrist (or foot on the break), jerk is the rotational speed, and snap is the acceleration of that speed. This makes it easier to imagine it, one derivation up, I think. So I think the snap basically corresponds to a very quick acceleration/breaking done by an imperfect human being that is trying but is not able to immediately accelerate the rotation of their wrist/foot. So I believe your snap is believable as a graph of trying harder.
Numerical second derivatives are extremely sensitive to noise. Before and between derivations you should smooth the data just to get meaningful results. You should be able to do that as you have 100 samples per second and the changes on the bike are slower than that.
YES!
Yeah, this! I think a 0,1s resolution would be interesting enough, because a moment of experience can't be much shorter than that. We'd get plenty precise data even with 10x smoothing.
I'm surprised he didn't smooth the initial data. He could have worked with a nice curve the whole time.
I love how effectively titled/thumbnailed this is; I didn't believe you when you said there was nothing exciting, so you thus perfectly matched my expectations. I love the honesty, ie. lack of clickbait.
What you describe with the different pros and cons of accelerometers and GPS is precisely the reason Kalman filters are used. You could run your data through that for the best of both worlds.
A Kalman filter needs to know a lot of characteristics (statistics) about the sensors in use.
On that note, getting a GPS that runs 25 Hz or so would be a fine start.
Airline INS' accelerometers are integrated at well over 2000 Hz.
For this sort of thing, you also want the accelerometers and gyros "strapped down" pretty tight.
Oh snap! I can't believe that my favorite math educator has decided to experience my favorite hobby.
This is the best day of my life.
Oh snap! I really like how with each derivative you can see it hone in on and highlight the "most notable" sections. When it got to Snap basically the only things on the graph were a few lines relating to the greatest change of pretty much everything.
This really made me mis Nicky Hayden a true legend. Super nice you got to ride his bike, very jealous.
As humans, we are more sensitive to jerk than to acceleration. When you are in an elevator and feel it jerk, it is the jerk, not the acceleration, that you are noticing.
humans don't feel acceleration or force at all, instead what we feel is the derivative of force across distance. Treating gravity as a force, because its close enough, you feel weightless, that because the force is generally uniform across the body. The reason you can notice an elevator accelerating, is because we have inertia and so our feet feel a compression.
@pneumaniac14 This is really interesting, however the feeling of weightless in orbit alone might not be enough to demonstrate the idea. Let's assume there was some way to feel force directly. In low earth orbit (assuming your body is pointing in the same direction the whole time) this would be a 360° rotation of the force direction over about two hours which would be really hard to notice. You could however spin your body around the head-feet axis at 90° to the down direction. You would feel the centrifugal force, but that would be constant over time. The direction of earth's gravitational pull would change by 360° relative to your body for each revolution around your axis. If force could be felt directly you should be able to tell the direction of earth. For an example with no extra forces felt I think you would need to be in a pretty tight orbit around a neutron star.
Oh, this matches how I drive. I always try to minimise jerk when e.g. braking. Relatives complain that it looks like I am going to hit the car in front of me because I'm not braking fast enough, but they also compliment me on driving really smoothly.
@@pneumaniac14 I would have do disagree with the statement that we don't feel acceleration at all. We are actually very good at defecting the direction of an acceleration, but we are less sensitive to its magnitude. Sensing the direction of an acceleration is why we can tell which way is "up" fairly accurately. It's also why full-motion flight simulators feel so realistic for airliner pilot training -- we sense the direction of the acceleration (as well as the jerk), but aren't sensitive to the accelerations being off by 10% or 20% from what they would be on a real airplane.
@andrewsnow7386 we can only tell which way is up because of the normal force of the ground. We also aren't accelerating when we're on the ground. Contact forces provide a difference in force across the body, so thats why we can feel contact forces, and hence we can feel gravity when standing, an elevator that accelerates, a plane that has turbulence. But strictly speaking it isn't the force that we feel, but the variability in force. Assuming you are standing, and the force is being applied to your feet, then every bone bar the arms accelerates almost as a rigid structure, blood lags behind so you can feel that, your flesh and arms also lag behind. What I'm getting at, is if you applied an acceleration, or a jerk, or any derivative of force for that matter, to every atom in the human body uniformly, so long as there is no reference point, ie the ground, or the air, you would never feel a thing.
I love a nice, quiet explanation in a room with a whiteboard. No need for an "oh snap" moment!
You know you are becoming a mathematician (studying at uni) when this video made you well excited and happy
I need an episode about Euler's brick. I am not expecting success in the matter, but it would bring about the same level of entertainment/joy as the annual PI-episodes.
Jerk is rate of change of acceleration, so I'd guess that the moment you were at minimum Jerk was when the bike went from accelerating as hard as possible, to breaking as hard as possible. The acceleration would have gone from a big positive to a big negative in a short amount of time.
The other largest Jerk moments would be similarly placed at the boundary of braking and acceleration zones.
EDIT: As to the question of whether you experienced Snap, you definitely did. The issue is whether it is recorded accurately, but you definitely changed the rate at which you were changing the rate at which you were changing the rate at which you were changing position. I'd say it's damn near impossible to be a human and NOT do that.
One other consideration is gear changing. When you shift up under acceleration the acceleration momentarily stops before returning when the engine is reengaged. I suspect this would also produce noticable jerk and even snap
What you said for snap can also be applied to infinitely higher derivatives of speed as well. They just get a lot harder to accurately record.
Don't discount the sharp left/right accelerations through the slaloms -- though forward speed can remain near constant.
In free fall (neglecting air) you have no jerk or snap or crackle or pop
@@SpeedcoreDancecore nice observation. Although I guess at the start of your fall from the high building, you go from 0 acceleration to 9.81 so at that point it must have some rate of change. So I guess the only potential jerk etc comes from whether you calmly side-step off the building, or launch yourself from a springy diving board? (Again like you said, this is all happening with no air).
Oh, snap!
Edit: It has occurred to me, as a result of watching this video, that English lacks a useful word for the _scalar_ of acceleration. We have displacement vs distance, and velocity vs speed, but when we reach acceleration...nothing.
I hereby nominate "haste" as the term for the magnitude of acceleration. Haste cannot be negative--haste means you are changing speed somehow. It's a clean, convenient, existing English word with more or less the right meaning (it implies specifically _positive_ acceleration, but I'm okay with that small wrinkle). Jerk, snap, crackle, and pop can all just stay as they are, since those magnitudes are much less relevant than distance, speed, and haste.
Acceleration is the rate of change of velocity and the magnitude of that acceleration is not the same as the rate of change of speed. I.e. The magnitude of the rate of change of velocity is not necessarily the same as the rate of change of the magnitude of velocity.
For example, an object moving in a circle at constant speed has an acceleration directed towards the centre - the magnitude of that acceleration is constant and non-zero, yet the speed is not changing, so the rate of change of speed *is* zero.
As you say "haste means you are changing speed somehow", I think you mean to define haste as rate of change of speed. If this is the case, your haste would be negative when you are reducing your speed.
This being so, I think a better word for it might be "quickening"?
The large values of snap look like they're occurring regularly, so it's possible that this is an artefact introduced by whatever filter Dom used, and/or some low-frequency artefact from the accelerometer itself. Otherwise, I think you're right that this signal is just noise
Can't help but admire the Parker penchant for pushing mathematical ideas beyond their real-world ability to be meaningful.
In this one, we see the perils of over-differentiating a dataset with a coarse time increment. 4th (time) derivative of position?
My immediate thought was, "Here comes some random noise!"
This is just the sort of thing I've come to love about this channel!
A random observation, at around 7min: The "aspect ratio" mismatch between the curve from the map and your plotted GPS positions, looks like it resulted from not correcting your longitude-line spacings by the factor cos(latitude).
Fred
Well actually he took the first (jerk) and second (snap) derivative of acceleration from an accelerometer.
@@stargazer7644 Yes, I'm sure he foresaw what would happen if he took 3 or 4 derivatives of velocity or position data.
Still, accelerometers are subject to drift, and . . . but the "Parkerness" of this quest is in the sort of extreme that going after 4th derivatives entails. Love it!
Latitude and longitude are not what you should be using if you want your plot to have the correct shape. You should convert them to cartesian coordinates, and then rotate the points so their center lands on on the z axis. Then you can scatter plot the x/y components, and it should be much closer to the actual shape of the circuit...
Other than a slight aspect ratio difference between lat and long (which he corrected for by stretching the image), none of that will make any difference over a couple of kilometers. He would have been far better off to have logged the output of a proper GPS receiver instead of the pseudo GPS that a phone gives you.
@@stargazer7644 the aspect ratio difference is not slight. And using cartesian coordinates would also allow him to use actual units of length, which could be derived over time to get speed, acceleration, and so on.
@@stephaneduhamel7706 The aspect ratio at his lat/lon is all of 1.62:1 and once again, he easily corrected for that. If it really bothers you, you can simply scale the lat or lon axis for it in an area this small. What difference does it make? You don't need Cartesian coordinates to calculate distances, as I didn't in calculating that aspect ratio. He didn't use the GPS coordinate data for speed or acceleration and he explained why. It is too low in temporal resolution, and as I mentioned and he showed, phones don't generate very good GPS data to start with.
@@stargazer7644 I don't understand why you are against the idea of plotting GPS coordinates the correct way.
Calculating the local aspect ratio is a nice approximation for smaller scale objects, but doing the reprojection properly isn't that hard and doesn't deform the shapes no matter the GPS coordinates.
@@stephaneduhamel7706 My objection is precisely because of your insistence that it is the "correct" way. You keep going on about distortion but you don't seem to realize any projection of spherical coordinates onto a flat surface will ALWAYS result in distortion of one type or another. Again not that it would matter the slightest in an area this small, but you don't seem to realize that either.
This is the awesomest video yet. I use data from my Gopro's GPS, accel and gyro all the time to try and learn where i could be improving in my track riding. I had never thought about derivating the accelerometer data to find additional inputs. Now i wonder if this can help me understand things like smoothness of throttle application!
The huge jerk comes from tracing a rough, relatively small circle to another one but in the other direction in a really short time! Acceleration is going from very big and roughly constant to your right to very big and roughly constant to your left, so of course that means you experience a huge jerk, very localized in time (ideally, Dirac delta-like), and its subsequent derivatives only get larger and larger, but more and more localized in time. So I don't think it's data noise/error. It is simply huge because it lasts very shortly but its high order integral must be finite to ensure the change in acceleration!
But I thought that Dom normalised the data in the direction of travel?
Awesome video Matt! The thing is, that while most everyone would assume racing would give the most jerk and snap, the fastest racer is probably the one who minimizes those quantities. Smooth is fast is an old racing adage, and after all, smooth and jerk are inversely proportional!
My country's economy (Argentina) must be the only one in the world where the inflation rate has Jerk
This was great, taught me a lot about the sensor accuracy and drift in a phone. This has been a toy problem of mine for about a decade. Accelerating forward with a force the same as gravity is way cool. Total acceleration would essentially be at 45 degrees rather than straight down.
Of course a bike is not needed to make this demonstration. Driving and coming to a stop sign or red light (and coming to an abrupt stop rather than silky smooth stop) will give you all of these derivatives. Abrupt change in acceleration when the wheels stop turning. Elevators are another great example. Some stop without you hardly noticing - imperceptible jerk. Others noticeably change acceleration when coming to a stop and abruptly halt at the bottom. All giving very clean data since it is all in one direction. I’m guessing your snap spikes were all due to taking derivatives near the resolution of the data (discontinuity at each step change), not actual snap. Thanks again for the great video.
17:20 On the original speed plot, the central peak seems to have been clipped to 50 m/s by the same gps error you observed in the position plot. Since the integrated acceleration plot shows higher speeds through that portion, it suggests the first speed plot would underestimate your total distance. We can't know how much of the discrepancy that error accounts for, but it would move your estimate toward the actual circuit length.
What a video. Niche physics units that I've been fascinated by for years, motorcycles, and a reverse psychology click-bait title. Bravo Matt and a big GG
15:40 I'd have thought that this might be due to misalignment of the accelerometer and the gyroscope. If you can't precisely eliminate the gravitational component, you'll naturally have a linear increase of the velocity over time. 🤔
This would be the case, so most likely the conversion was simply calibrated wrong the whole time. You should be able to identify the gravitational axis by using gyro to convert the accelerations all into one (arbitrary) uniform axis set, and then integrating that from start to finish, with the end point being the direction of gravity (and its magnitude multiplied by time). With that calibrated and subtracted out you would then have in the integration a plot of your horizontal velocity over time, and with some simple knowledge of the track you could use that to determine a "forward" orientation for the phone over time also.
Cheap accelerometers typically have drift, even if you calibrate them. They simply are bad for measuring absolute position and velocity.
Likewise by forcing the acceleration etc to be 1-dimensional along the track, large lateral changes in the turns will add more noise in normalising for bike frame of reference - do you subtract vectors from before or after the time spot? This mini-integration will accumulate more error the higher the snap.
All accelerometers drift. The more money you pay for them, the less they drift, but they all drift over time. And you didn't pay much for the ones in your cell phone .
As a massive maths, physics and motorsport fan, I really loved this video. I'm sure I wasn't the only person watching to be naming all of the corners of the Silverstone circuit while watching the footage - that corner with the 'oh snap' moment is called The Loop by the way. There is such a lot of maths and physics involved in motorsport, which is one of the reasons why I love it (though I prefer 4 wheels to 2).
Was hoping to see the crackle and pop plots, even if they would have just been noise.
They would have even more spikes than snap, but that could just be due to noise because every small rapid change in dataset amounts to an extremely high slope/derivative
To be fair, snap, crackle, and pop are *all* just noise(s).
Loved this video, I didn't know that you could actually make sense of all these derivatives
4:44 Hannah Fry spotted
Hi Matt! My reasoning is: Add mass to your equations and you get momentum, force and power as physical quantities representing derivatives of position. In your example, simple test for filtering data is power, which is limited by power of the bike you were riding on. If measured power from your data exceeds max. power of the bike, probability of error is high :-).
There is also another point regarding drift in your integration. No sensor is perfectly zeroed at the beginning , therefore integration over time will produce effect you have observed.
i just want to mention that numerical derivative is extremely sensitive to noise, the high derivative you go the less reliable it is. coming from a control background
0:13 Truly a bold move for Parker to admit that he does, in fact, know where I live. So far, this is very interesting.
This video has been up for 20 minutes and nobody has commented on what number bike it was? for shame, UA-cam.
Oh yeah, nice video Matt.
why would anyone comment on that?
@@mrosskne it was number 69, a very famous and important number in the math community.
Fun Fact: The bike in the picture is of the late Nicky Hayden who ran with #69 so his bike read the same even if it was upside down after a crash.
@@cosmicshambles That's clever I suppose. I hadn't heard of him before this. Imagine driving motorbikes for a living and dying in a bicycle accident. 😣
As soon as Matt started to take the third derivative, I couldn't help but yell at the screen, "Jerk!"
I think a third data set is required to rule on snap v.s. jerk. Perhaps the audio track allows recovery of engine RPM, assuming the max jerk and snap aren't taking place during clutch use where engine RPM does not match with RPM of the rear wheel?
Really awesome video! I don't know much about motorbike racing but I follow F1 and it's always so cool to see 'ordinary' people get to experience those sorts of things. Something I'd love to get to do.
Regarding the data analysis and taking repeated derivatives of data with noise (so all real data) is prone to substantially amplify the noise. So most of the large spikes in both Jerk and Snap are likely caused by numerical effects of taking derivatives. There are methods to minimize those things (for example using higher order differentiation schemes) but most of them are non-trivial. Not knowing how the derivatives were computed I can't say for certain that's what's happening but I'd anticipate it's playing a notable role in the large values.
Something I've learned in working with data like this is you actually ignore the large spikes and pay more attention to the smaller more consistent patterns closer to zero. That's where the interesting bit actually is. 😀
I saw this and I trust Matt is such an honest person my gut instinct was “Oh ok I guess this one isn’t that interesting, maybe I should skip it.”
Great video, I would've loved a deep dive into the math of how to convert the gyroscopic data of accelerations in three directions to the one-dimensional acceleration while accounting for gravity.
Fingers crossed for rice krispies memes🤞
Edit: rice krispy memes are satisfactory
That snap makes sense. From the most negative jerk to none is a huge positive change in jerk, i.e. a huge positive snap.
Not sure if it is close enough in the timeline, but from a quick look at the stacked graphs, they do appear close.
The big indication for me that there was an issue with the snap data was the even spacing. Something with the filtering caused an artifact every 3 seconds.
I think that might be the gear-changes.
@@tunefix Gear changes wouldn't be that consistent
Oh snap! I sat on this for 3 weeks. I would have watched it sooner had I known it was a good one!
Derivatives amplify noise creating all the spikes, so you should use something like cubic spline interpolation on the acceleration graph before computing jerk and snap.
YES, this ^^^
Nope! The derivative would essentially record this 3d degree curves.
He could've smoothed the data initially. That would have helped.
This brings us to one of my favorite math facts. Derivatives make things spiky, integrals make them smooth. The best way to show this is to look at an arbitrary sine wave. The derivative makes low frequency sine waves small and high frequency ones large and vice versa
Just to add a note, a negative jerk does not imply you are slowing down. In fact it doesn't tell you anything about whether your speed is increasing, decreasing or staying the same. It just means your acceleration is decreasing, whether it is positive, negative or zero.
I love Matt! @1:45 he says thats the worst 3 he's ever done, then writes a worse three on the bottom of d3x/dt3. I think the world is better with Matt inspiring us to drop our inhibitions, and "give it a go!" ❤
The Parker 3. A reverse C 😂
The most obvious moment you can feel jerk is when a vehicle stops. It was decelerating, so you felt like there was a force pushing you forward, so you adapted by resisting that force. But when the speed reaches 0, it suddenly stops decelerating, so you're thrown back into your seat because of your own force. In that situation, you have an instant change of acceleration, so you have infinite jerk. And infinite snap.
its not infinite, nothing in real world is (except for people stupidity). the car isnt rigid, you have suspension with springs, shocks, you have a soft seat - everything works to compensate sudden accels and jerks.
@mojeimja OK, the jerk might not be infinite, but it's really big, at least for the wheels, though for the passengers, it is dampened by everything between the wheels and them. And the snap might not be infinite, but it's even bigger. And the more you derive, the bigger it can get, because the more you derive, the less physical sense it has. And the less physical sense it has, the less it is constrained by physical laws such as "nothing is infinite"
@@lucasbrelivet5238 its big but it is very short. and the more you derive, the shorter it gets, so it can be felt less and less
But there is no end to the derivatives. To affect even the slightest change in position requires an infinite derivative derivative derivative chain... My mind bleeds thinking about this stuff.
@@lucasbrelivet5238 yes
That snap graph was exactly what I was expecting
I really thought the catch was that the room was sideways when i saw the permanent markers trying to roll to the right and how careful Matt was to put the caps back on. I thought the (presumably) calculator was glued-down to hold them in-place. 😂
"That's how you define things in physics, you take a vote." *Pluto demoters looking around nervously*
Sizes of bikes apparently changed drastically between 2007 and 2012.
07-11 the bikes were 800cc, went up to 1000cc in 2012 onwards.
Actually, Matt is a giant, and that bike was made specifically for him.
The most special part of this whole vid is that he got to ride on Nicky Hayden's bike. What a special honor. R.I.P. Kentucky Kid. We miss you.
My physics lecturer liked this example of jerk: when you brake in a car, the lurching effect you feel when you stop is the jerk. This is because when your velocity hits 0, your acceleration isn't yet at 0, causing you to begin moving backwards. During this time period after you begin to move is when you experience jerk, as the car begins to accelerate forward
Indeed. But the car itself is not really moving backwards (the brakes prevent this). It's just because you are rather loose sitting in the car.
@@svhb1000 Related, the car is somewhat loosely positioned as well due to the suspension. The differential loading of the front and rear suspension can cause a brief acceleration of the car body backwards, relative to the locked wheels. When I was a teen driving a manual car (and you know, being a teen), I got pretty good at releasing the brake just as the car came to a stop such that it would roll backwards a foot or two!
Snap! - Rhythm Is a Dancer
Missed a couple of x's at the 3rd and 4th derivatives on the white board...
I'm literally 25 seconds in, I have no idea what this video is actually about, and I'm entirely sold. I will listen to Matt talk about math even if the words he was saying were as boring as my freshman professor managed to make calc 2. I just like to hear him talk about math in the background while I code.
This unexciting video is still better then most of live TV.
Fun Fact: An alternative (and better) name for snap, crackle, and pop is: flounce, pounce, and jounce.
I'm curious as to how exactly you're doing numerical differentiation, for instance if the time in between data points is Δt, and you use 3 data points for the derivative of the middle point (central difference scheme), then the error on the first derivative is on the order of Δt³, and the error of the second derivative is on the order Δt².
Oh Snap!
My suspicion, for Snap and higher derivatives, is that they will tend to mirror the Jerk. My reasoning is that the gas pedal/brake pads control the acceleration and adjustments to them are done by a human, making it closer to binary. So going from no gas to full gas (common for humans to do) will result in a spike in jerk, snap, crackle, and pop.
Is there a mathematical way to determine how many data points per second you need in order to reliably calculate the n-th derivative?
You could model the noise statistically, and then solve for n such that the difference between the true derivative and the approximation is smaller than some epsilon in probability. No reason that the approximated derivative can’t be treated as any other estimator.
When I was often in car for work, I started thinking about that when the driver stops lifts his foot from the gas pedal, you get thrown to front a little. When I was thinking about it, my first thought, and people with whom I discussed it, seemed to think that it was deceleration of a car. But it didn't make sense to me, since it is very noticeable for a short amount of time, no matter the speed. So I came up with the idea that the reason for that is probably elastic reaction of the seat foam (and probably reaction from your body and other elements). The foam is compressed during acceleration, and when acceleration stops, it releases this energy like a spring, throwing you in the opposite direction. That's why jerk is so noticeable in cars, you basically lay on a spring that is ready to push you when it has opportunity. Harder, stiffer backrest should decrease the jerk feeling.
I’m not so sure of that. We are very sensitive to jerk. In fact at constant velocity we don’t really experience any difference as a sensation. At constant acceleration the only feeling is a constant unchanging slight push into your seat. Almost imperceptible. (Basically higher gravity but not changing - that is can you tell if you weigh 2% more?). Jerk is totally different your gravity changes back and forth you weigh less then in an instant you weigh more. ….
@@jonathanjohnson2427 Well, when the car stops accelerating you not only feel it, but you are physically thrown forward (in relation to the car), and sometimes you can see it on inanimate objects resting on seat backrest too. I think it may be the other way- we feel the jerk so much, because it changes the "resting state of our bodies". Meaning, during acceleration your body accommodates to it, and after jerk happens, it needs to adapt it. Imagine your head, not resting on the headrest in car during acceleration- your muscles need to keep head in place, but when jerk happens, the muscles need rebalance forces or your head will start moving.
Oh snap! It is disappointing that Matt switched from a spreadsheet to Google to do the units conversion. I mean, I'd do it but I expected more from a more experienced spreadsheet user such as Matt! 😂
I thought for a moment i had been duped by the promise of a video about derivatives, but, when it was disrupted by something duller, i was reassured.
Maths is exciting enough without tarting it up
Yeah, right? What a jerk
Tell me you're a pure mathematician without telling me you're a pure mathematician.
MotoGP is exciting enough without tarting it up with maths you mean ;)
@@cosmicshambles I was going to say that
It goes further, with even more physicist jokes.
Position. Speed, Acceleration, Jerk, Snap, Crackle, Pop, Lock, and Drop
There is something fishy in your snap plot. It has bursts of activity at constant intervals and is very quiet between those bursts. It is visible in the jerk plot too but not as clearly.
That huge negative jerk spike should have produced similar negative snap spike immediately followed by similar positive spike but the plot only shows a positive spike.
As someone whos daily activities also revolves around plotting data, I found this video quite intertaining (interesting+entertaining)! The sound recording from the motor bike doesn't crackle, and I think the production really pops!
... am I the only one who wants Rice Crispys?
This video is very derivative... I'll let myself out
Thank you Matt. Disappointingly interesting.
So awesome that this was in MotoGP, the absolute best motorsport!
Oh snap! The big jerk measurement looks to be through the Maggots and Becketts S bends, which makes sense as the acceleration is changing quickly per second. When this stops going into the Chapel bend I would imagine that creates a large Snap, as in the acceleration per second per second spikes. As a Physics grad who loves motorsport and programming I endorse this video ❤