this post was submitted on 05 Apr 2024
456 points (96.2% liked)

memes

10408 readers
1656 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] agamemnonymous@sh.itjust.works 13 points 7 months ago* (last edited 7 months ago) (2 children)

So acceleration is a great example. Velocity is change in position over some change in time, v = ∆p/∆t (∆is just a symbol that means "change in ___"). You calculate this by finding the difference in position (p2-p1) and dividing it by the corresponding difference in time (t2-t1). For example, if I'm on the highway, and I pass mile marker 20 at exactly 11:00, and mile marker 75 at exactly 12:00, my average velocity is (75-20)miles/(12-11) hours, or 55 miles/hour. Simple.

Acceleration is change in velocity over change in time, a = ∆v/∆t. Let's say you plug a recorder into your speedometer, so you get a graph that plots your velocity over time. Now if you don't start measuring until you're on the highway with cruise control on, the graph will just show a horizontal line at whatever speed you set cruise control to. If you speed up to pass someone, the curve will slope up a bit. If you get slowed down by traffic, the curve will slope down a bit. If you calculate the slope of the curve over one of those intervals(∆v/∆t), you'll get your average acceleration over that interval. Simple.

Differentiation is just making a slope calculation like that, but for such a small ∆t that it's practically instantaneous. You can't make it exactly instantaneous, because if t1 = t2, then t2 - t1 = 0, and we all know you can't divide by 0. So mathematicians came up with something called an 'epsilon', which is just an infinitesimally small value that's almost 0 but not quite. We see how our function, in this case ∆v/∆t, behaves if we set ∆t to epsilon. That is, how the function is behaving at (basically) one exact instant, instead of averaged over some longer period. We symbolize that our ∆ is infinitesimally small by changing it to a d. In this case ∆t is shown as dt. So ∆v/dt is our instantaneous acceleration at any one point in time, like the moment I speed up to pass someone.

In conclusion, differentiation is just instantaneous rate of change: the slope of some function over an infinitesimally narrow interval.

Integration is kinda to differentiation what multiplication is to division. Let's say instead of trying to extract acceleration from our velocity graph, we want to extract the distance traveled.

Distance is equal to velocity • time. If I travel at a constant 50mph for 3 hours, total distance traveled is 50mph • 3h = 150 miles. If I have a graph of my velocity, it will be shown by a horizontal line at y = 50, with the x-axis ticking away the hours traveled. That means that our distance formula, velocity • time, is exactly the same as the formula for the area of the rectangle under our line, 50 • 3. Simple enough.

This gets a little more complicated if our velocity isn't constant, so the area under the velocity curve isn't a rectangle. However, we can approximate the area under a curve by slicing it into narrower rectangles (kinda like pixelating a circle), and adding up those areas. We can make our approximation better and better by making those rectangles narrower and narrower. The best approximation would use that epsilon trick from earlier, making the width of each rectangle almost-but-not-quite 0 (like an extremely high resolution pixelated circle).

That's basically integration. Differentiation and integration are basically the fairly straightforward concepts of finding the change of a value, and finding the total accumulation of a value, taken to the highest resolution we can via the concept of an infinitesimally small interval.

[–] swab148@startrek.website 7 points 7 months ago

Keep going I'm almost there

[–] dragontangram88@lemmy.world 1 points 7 months ago (1 children)

I like your explanation of Riemann Sums. It is also good to note that creating trapezoids beneath the curve, to model area, or integration of the function, would give a more exact answer than the rectangles.

[–] Knock_Knock_Lemmy_In@lemmy.world 1 points 7 months ago

Now make some different sized trapezoidal and take a weighted average.