So let’s take a random graph. You ever wonder what the the exact slope of a random angle is? Well with differentiation you can actually use maths to figure this out.
Normally you would take two points near each other, draw perhaps a line and see how close you can get. But at some point in time mathematicians started wondering if you can actually get the formula for the slope between two points where the two points are actually put over each other. And turns out you can!
This phenomenal discovery let to huge breakthroughs in maths as a whole. Including the discovery of integration. Which is in simple terms the opposite of differentiation. Only this time it’s not so much for the slope but the for the entire area of a graph. For if you reverse it you can actually get the exact size of a surface.
I had pretty terrible math education in school but as an adult I’ve gotten into programming and making video games and every time I learn a math concept I think “wow, math is even cooler than I thought” but the main part stopping me from learning some concepts is not having a practical example.
I vaguely know differentiation and integration… I think it might be the correct way to describe things like determining/applying acceleration to an object over time… but when I read your description I really don’t understand…
I think that’s in general what I run into with math. it’s cool and amazing when I get it, but a lot of the descriptions of concepts have a lot of assumptions about the reader sometimes to the point where to understand the description you’d have to already understand the concept.
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.
Keep going I’m almost there
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.
Now make some different sized trapezoidal and take a weighted average.
🥵🥵🥵
here’s a different way to think about differentiation and integration (which are easier to generalize to other settings):
differentiation: lines are really easy to understand (they’re completely determined by two points), so wouldn’t it be nice if everything was a line? sadly, most things are not lines. but what if instead, we tried to approximate things using lines? i mean after all, if you zoom in really far when looking at the graphs of most common functions, they look kind of like a line, so it seems like it should work. and it does (for sufficiently nice functions)! and so, we define the derivative f’(x) of a function f to be the line that best approximates a function near some given number x. these approximations are typically quite good when considering numbers very close to x.
in higher dimensions, you don’t consider the best approximating line, but the best approximating linear function. this is a big reason why linear algebra is so useful and important: you can use calculus to turn complicated problems into linear ones, and then use linear algebra to solve those problems.
differentiation is also a good example of a way of thinking that starts to become prevalent in different parts of abstract math: the big picture of something may be quite complicated, but when you zoom in, and only look at small regions, things can be rather nicely behaved. here’s another example of this sort of concept: the earth. when you look at it in its entirety, it’s spherical (complicated). but when you look at things locally (e.g. if you only focus on one particular city), then that region is “basically flat”. this is in part why maps/GPS systems can work: you can put street directions on a flat piece of paper because that’s a decent way to approximate small regions of the earth.
integration: this one is admittedly a bit more contrived, but here goes. integration is basically a way to generalize the concept of measuring things. what does it mean to measure something? it depends :) but let’s consider a simple example: let’s say you counted how many pieces of fruit you ate each month and wanted to measure how many pieces of fruit you ate in a year. what would you do? add up the amount of fruit eaten each month. so this is the simplest kind of measurement: addition.
what if you (somehow) had information about how much fruit you ate from now until infinity. how would you measure the total amount of fruit eaten? this would be considerably more challenging. but there is one thing that will make this a tad easier: the heat-death of the universe. eventually, the amount of fruit eaten will start to decline. (fruit will be harder to find when there are no more stars.) so, after a certain point, the new terms added by future months will be negligible: they will barely affect your sum. and so, your tally of total fruit eaten will start to settle on a value as you add up more and more months. this kind of measurement is called infinite summation.
okay, but what if you (somehow) had information about how much fruit you’re consuming literally all the time. not just every second, but every possible moment. just non-stop fruit information. how would you measure how much fruit you’ve eaten on a given day? this is a bit tricker since you’re now trying to measure a whole continuum. so what do you do? approximate. you could start out by breaking the day up into 1 hour intervals and then approximate how much fruit you ate each hour. you then add up all those estimates and divide by 24 (basically take the average). you could then take finer and finer approximations (break the day up into half hour chunks, quarter hour chunks, then 5 minute chunks, 5 second chunks, etc, taking the average each time), and then see if a pattern starts to emerge. eventually (hopefully), you’ll see that past a certain point, these finer and finer approximations start to settle on a value. i.e., it seems like you’re reaching a point of diminishing returns, where better approximations start to result in smaller differences in your final measurement. the value that these subsequent approximations start to approach is called the integral.
it’s maybe worth mentioning that the symbol for integration is a big squiggly S, for summation. and that’s because it’s really supposed to be a way to try to add up a bunch of things. in the case of adding up a finite number of things, you no longer need to approximate and you can just add them up directly.
💦
Great finish
okay, but what if you (somehow) had information about how much fruit you’re consuming literally all the time. not just every second, but every possible moment. just non-stop fruit information.
For a moment I wondered how you were going to switch from discrete to continuous using fruit eating… 🙂
in hindsight it might have been better to do that using smoothies or something. but explaining integration using fruits was a bit challenging
I said it before and I say it again, infodumping is hot
Dang, you wanna date me?
The girl’s facial expression always turns me down.
deleted by creator
She looks like she realy needs to pee.
( ͡° ͜ʖ ͡°)
if differentiation was as difficult as integration we would not have neural networks. that is the only thing you need to know.
Dude should be thinking in terms of the area under the curve
I love calc.
Lol :P
As a female who earned a math degree, I’m really offended by this meme. This does not represent women in mathematics at all.
What makes you think that the intent was to represent women in mathematics?
I’m honestly asking, I’m a privileged white male so I’m not going to pretend to know what it’s like as a woman in STEM fields.
Perhaps the meme would work better if the genders were switched? I mean, finding intellectual passion attractive is universal, at least in my experience.
deleted by creator
No woman calls themselves a female. Troll better or log off.
She consistently claims to be a woman, at least.
This is her story as I’ve gathered it so far, from her lemmy.world account and her recently suspended Reddit account of the same name.
She is a 35 year old woman with a math degree who applied to join the army once, and once fled to South America to escape the Fresno Bulldogs gang. She has Irish dual citizenship. Her husband secretly used her as a baby factory for other men’s children. She believes she was trafficked as a toddler. Her parents (who she believes are not her biological ones) have her children in their custody, and she’s not sure she’d be able to recognize them now because their facial features may have changed, so she wants DNA tests done to confirm, particularly on her daughter who she suspects was switched at birth. She has a fiancée who has a daughter. She has opinions about blood types and their relationship to “race”, personalities, and reproductive viability between people. She is a frequent blood donor and has never failed a drug test. There are two murdered people buried in the yard where she grew up. She shaves her head. She can’t possibly be a Nazi, because only mid-20th century blue-eyed Germans can be Nazis. She’s flummoxed as to why people on Lemmy keep calling her a Nazi.
She’s banned from c/asklemmy for being a “Neonazi troll” and from c/politics for “repeated trolling, Nazi dogwhistle in user name.” It’s no great mystery why so many neonazis seem to have been born in ’88.
[Edited to add further research.]
Mate that is high quality stalking. Either that or both of you are sibling bots.
I did it because, if you let a Nazi into your bar, the next thing you know you have a Nazi bar.
It looks like her account got purged this morning, so mission accomplished.
Yeeey
Yeesh
There actually are plenty that do. But I’m right there with you, it’s weird.
I’m not trolling. I swear that every woman who doesn’t use her account to post nudes to Lemmy, just gets abused on here and accused of being a man.
Have you tried explaining differentiation and integration to them?
To males? Yes. Also to females. It has been part of my job in the past. It might be part of my job in the future, too. It depends on my job assignment.
If you’re not trolling, why would you choose the word female instead of the word woman? Are you working with us herd of goats?
That’s just how I talk. I can’t risk my job to prove it to you. Sorry.
My point was that, when you say female, you need to specify the species. Otherwise it’s ambiguous. I assume when you say female that you’re talking about goats.