• Fat Tony@lemmy.worldOP
    link
    fedilink
    arrow-up
    44
    arrow-down
    1
    ·
    edit-2
    9 months ago

    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.

    • ramirezmike@programming.dev
      link
      fedilink
      arrow-up
      16
      ·
      9 months ago

      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.

      • agamemnonymous@sh.itjust.works
        link
        fedilink
        arrow-up
        13
        ·
        edit-2
        9 months ago

        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.

  • affiliate@lemmy.world
    link
    fedilink
    arrow-up
    20
    ·
    9 months ago

    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.

    • 7heo@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      9 months ago

      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… 🙂

      • affiliate@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        9 months ago

        in hindsight it might have been better to do that using smoothies or something. but explaining integration using fruits was a bit challenging

  • iAvicenna@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    9 months ago

    if differentiation was as difficult as integration we would not have neural networks. that is the only thing you need to know.

  • dragontangram88@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    16
    ·
    9 months ago

    As a female who earned a math degree, I’m really offended by this meme. This does not represent women in mathematics at all.

    • UNY0N@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      9 months ago

      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.

      • diplodocus@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        18
        ·
        edit-2
        9 months ago

        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.]

      • adj16@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        9 months ago

        There actually are plenty that do. But I’m right there with you, it’s weird.

      • dragontangram88@lemmy.world
        link
        fedilink
        arrow-up
        6
        arrow-down
        9
        ·
        9 months ago

        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.

          • dragontangram88@lemmy.world
            link
            fedilink
            arrow-up
            2
            arrow-down
            5
            ·
            edit-2
            9 months ago

            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.

        • surewhynotlem@lemmy.world
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          9 months ago

          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?

            • surewhynotlem@lemmy.world
              link
              fedilink
              arrow-up
              2
              arrow-down
              2
              ·
              9 months ago

              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.