How to integrate with respect to any function!

Поделиться
HTML-код
  • Опубликовано: 17 авг 2023
  • Head to squarespace.com/michaelpenn to save 10% off your first purchase of a website or domain using code michaelpenn
    🌟Support the channel🌟
    Patreon: / michaelpennmath
    Channel Membership: / @michaelpennmath
    Merch: teespring.com/stores/michael-...
    My amazon shop: www.amazon.com/shop/michaelpenn
    🟢 Discord: / discord
    🌟my other channels🌟
    mathmajor: / @mathmajor
    pennpav podcast: / @thepennpavpodcast7878
    🌟My Links🌟
    Personal Website: www.michael-penn.net
    Instagram: / melp2718
    Twitter: / michaelpennmath
    Randolph College Math: www.randolphcollege.edu/mathem...
    Research Gate profile: www.researchgate.net/profile/...
    Google Scholar profile: scholar.google.com/citations?...
    🌟How I make Thumbnails🌟
    Canva: partner.canva.com/c/3036853/6...
    Color Pallet: coolors.co/?ref=61d217df7d705...
    🌟Suggest a problem🌟
    forms.gle/ea7Pw7HcKePGB4my5

Комментарии • 80

  • @dqrk0
    @dqrk0 10 месяцев назад +88

    for the case of differentiable function g, this is integral of f(x) times differential of g(x) which is g'(x)dx, which you use all the time when doing substitutions.

    • @skylardeslypere9909
      @skylardeslypere9909 10 месяцев назад +18

      It's actually how we were taught substitutions in high school, which I didn't really like. For instance, if we had the integral of e^(x²)*2x, our teacher would write 2x as d(x²) and write the integral as ∫e^(x²) d(x²) which equals e^(x²) + C.

  • @burpleson
    @burpleson 10 месяцев назад +47

    As a physicist, I would say dg/dx is a sum of delta functions, and be done with it.

    • @tomkerruish2982
      @tomkerruish2982 10 месяцев назад +21

      You ever watch Andrew Dotson? He's had some gems, like how every matrix (even non square ones) are invertible. "If it's in physics, it's in-vertible."
      (That was from a joke video with Flammable Maths.)

    • @nicholaselias9312
      @nicholaselias9312 10 месяцев назад +8

      As an astronomer and data scientist I would also say that.

    • @KitagumaIgen
      @KitagumaIgen 10 месяцев назад +6

      We always have underdetermined problems once we've taken our data. That's no problem to handle for linear problems with the general inverse of non-square matrices with some regularisation.

    • @rylanbuck1332
      @rylanbuck1332 10 месяцев назад +3

      I love physics for that fact that it never ceases to amaze me… it never ceases to amaze me how much physicists disrespect and disregard the lengths mathematicians have gone to prove/discover something and simply choose to summarize it in as few, undescriptive, incomplete words that convey as little information and make things as confusing as possible…

    • @rylanbuck1332
      @rylanbuck1332 10 месяцев назад +3

      No hate to the original commenter, but all hate to physicists who do yhos

  • @demenion3521
    @demenion3521 10 месяцев назад +23

    we kinda use that all the time with differentiable functions. it's just usually called substitution in that case. like you integrate du with u=u(x)

  • @ZetaGirlPower
    @ZetaGirlPower 10 месяцев назад +1

    I like the blue and pink border surrounding the white text of the definition

  • @kikivoorburg
    @kikivoorburg 5 месяцев назад +1

    “Stieltjes” definitely seems like a Dutch name, in which case it would be pronounced like “steeltyes” (/stiːltjəs/ for those who can read IPA). It could be one of those cases where a Dutch last name was ported somewhere else like the USA though, like “vandenberg” and such.
    It’s very neat that the floor function takes the integral to a summation, feels very intuitive!

  • @strikeemblem2886
    @strikeemblem2886 10 месяцев назад +5

    No, not *any* g:[a,b]->R. terms and conditions apply.

  • @starter497
    @starter497 10 месяцев назад +4

    You have one of the best channels for any high undergrad/graduate/ post graduate mathematician. Its great to refresh old high level concepts and learn new high level concepts in different areas of mathematics.

  • @erickleuro6159
    @erickleuro6159 10 месяцев назад +4

    Thank you Professor Penn. For me the timing of this video couldn't be better. I'm building intuition on how Fredholm integral equations are solved when the kernel is singular, and afterwards how those are computationally calculated via Gaussian Quadrature. It can be said that the topics are not exactly the same, but for my currents needs/wants, they are related closely enough, which is great

  • @matheusmarchetti628
    @matheusmarchetti628 10 месяцев назад

    Thank you so much for this video

  • @treeleupp8504
    @treeleupp8504 10 месяцев назад +1

    Cool video and good timing. Just recently watched a lecture on the mathematical formulation of Quantum Mechanics, where that pops up too.

  • @danielc.martin1574
    @danielc.martin1574 10 месяцев назад +16

    If you wanted to cover the Stiltjies integral completely, you would have to do at least 10 videos! 😂

  • @gp-ht7ug
    @gp-ht7ug 10 месяцев назад +4

    23:45 good place to stop ❤️

  • @Happy_Abe
    @Happy_Abe 10 месяцев назад +2

    @20:15 I believe the interval should be (a+(k-1), a+k-(1/N)
    Which is still within an integer but a different interval than what Michael said

  • @aidarosullivan5269
    @aidarosullivan5269 10 месяцев назад +3

    I've been putting the g under the d since forever, since it's much easier to mentally visualize the u dv formula

  • @EyadAmmari
    @EyadAmmari 10 месяцев назад

    Amazing stuff.

  • @farfa2937
    @farfa2937 10 месяцев назад +4

    Do you really need the integral to be from integer to integer? At first glance I think you could have any real numbers and you'd just get an extra f(a) at the end.

  • @selimhacsalihzade3949
    @selimhacsalihzade3949 10 месяцев назад

    Many thanks for this video! An interesting and meaningful special case for g is a Brownian motion, which is continuous everywhere bu not differentiable anywhere. This leads to the non-intuitive Ito integral which has scary applications in financial engineering.

  • @comeraczy2483
    @comeraczy2483 10 месяцев назад +6

    Thanks for introducing this important concept. Maybe it would have been even better if a couple minutes had been dedicated to actual applications. Also, even though the exemple detailed at length uses the beautiful floor function, perhaps the max(x, 0) would have been more useful (and easier to structure) considering the applications for neural networks.

    • @strikeemblem2886
      @strikeemblem2886 10 месяцев назад

      g(x) = max{x,0} is not interesting. This is simply the usual ∫ f(x)dx, where you start from 0 instead of a, when a is negative.

  • @youteubakount4449
    @youteubakount4449 10 месяцев назад +31

    Another method: notice that the "derivative" of floor(x) is just the sum of dirac distributions at every integer between a and b. So when you have discontinuities, you could account for them that way.

  • @johannesmoerland5438
    @johannesmoerland5438 10 месяцев назад

    In other words, it’s just a sum of compactly supported differential forms (dg = g’dx), integrated over half-open intervals. Stokes’ theorem generalizes this idea to arbitrary manifolds

  • @smolboi9659
    @smolboi9659 6 месяцев назад

    U can also use the Lebesgue integral with respect to the counting measure to get a summation.

  • @zh84
    @zh84 10 месяцев назад +2

    My favourite non-continuous function is Thomae's function, but since that is zero except on a set of measure zero I presume taking an interval with respect to it would also give zero. Intuition, however, is dangerous in mathematics.

  • @user-fh5rm2ef4n
    @user-fh5rm2ef4n 10 месяцев назад +1

    I think signed measure can be quite usefull with regards to the defentition of such an integral.

  • @profesorleonardo1645
    @profesorleonardo1645 10 месяцев назад +1

    Hi, I've just learned about Pade Approximation. Do you have any videos on that?

  • @RubenHernandez-fq1ys
    @RubenHernandez-fq1ys 10 месяцев назад

    Thanks for this video. It would be interesting to see solutions to an integral involving a function of “dx”, i.e. g(dx). An example I have seen is in the application of equity options securities pricing (the Black-Scholes formula). This was a case of “sqrt(dx)”.

  • @JamesLewis2
    @JamesLewis2 8 месяцев назад +1

    "Stieltjes" is a Dutch name, pronounced like the English phrase "STEAL chess".

  • @yakov9ify
    @yakov9ify 10 месяцев назад

    Fun fact: This integral is equivalent to the integral with respect to the signed measure G where G((a,b]) = g(b) - g(a).

  • @mathunt1130
    @mathunt1130 10 месяцев назад +2

    *cough differential 1-form *cough.

  • @ahsonkusare2352
    @ahsonkusare2352 10 месяцев назад +7

    Please next video: how to differentiate with respect to any function. I really need it. It might be one of the most useful videos of my life.

    • @ardan981
      @ardan981 10 месяцев назад +4

      I don't mean to be rude, but wouldn't that just be the chain rule?

    • @Yoshinoyo1
      @Yoshinoyo1 10 месяцев назад +4

      @@ardan981 I think it is a question about the functional derivative

    • @JosuaKrause
      @JosuaKrause 10 месяцев назад

      df / dg = (df / dg) * (dx / dx) = df * dx / dg / dx = (df / dx) / (dg / dx) = f' / g' note this is not the same as d(f/g)/dx which would need the quotient rule

    • @skylardeslypere9909
      @skylardeslypere9909 10 месяцев назад +3

      @@Yoshinoyo1 But this video doesn't talk about calculus of variations at all, which the functional derivative is about. I don't think they meant functional derivative.

    • @tomkerruish2982
      @tomkerruish2982 10 месяцев назад +5

      Well, df/dg = (df/dx)/(dg/dx) = f'/g'. Yes, it takes a shortcut through infinitesimals, but that always gives the right answer anyway.

  • @fuxpremier
    @fuxpremier 10 месяцев назад +3

    Interesting. The general formula is what we use for change of variables (like polar coordinates for instance). The case of the floor function is also interesting. Once you get the intuition of what's going on on the graph the proof is not that cool to write as it starts to be a little bit messy and you've actually cheated by redefining N = Nm as the value for summation. You would have to show that the behavior when b-a doesn't divide N is actually the same. It would be very technical and rather boring but needed for a full proof.
    But actually, it would be much easier to show this definition of integral is compatible with Lebesgue integration. Derivative of floor function is then a distribution of Diracs at natural numbers values, hence the result.

    • @kikivoorburg
      @kikivoorburg 5 месяцев назад

      Why is it not valid to use Nm instead of N?
      The limit is N to “infinity”, and both N and Nm go to arbitrarily large integers. At a certain point the fact that N doesn’t divide the interval perfectly and Nm does becomes insignificant because the divisions (perfect or not) are so tiny any error is minuscule.
      Unless I’ve missed something?

    • @fuxpremier
      @fuxpremier 5 месяцев назад

      @@kikivoorburg In case of doubt, the general rule is go back to the definition. In this case, we need to remember what taking a limit means. And the definition of a limit says for all epsilon, there is a No such that for all N > No, etc. We only have proven the result for specific values of N, not all Ns.

    • @kikivoorburg
      @kikivoorburg 5 месяцев назад

      @@fuxpremier I suppose that makes sense, there’s probably some sort of step missing from the video for a truly rigorous argument. Calling it cheating seems harsh, but I can see your argument now

  • @paulg444
    @paulg444 3 месяца назад

    its the ubiquitous scenario in probability and statistics.

  • @Djake3tooth
    @Djake3tooth 10 месяцев назад +1

    What if g is decreasing or not monotone?

  • @somecreeep
    @somecreeep 10 месяцев назад

    So I know that Cauchy has a repeated integral named after him, where you can express n nested integrals as a single integral. Has the idea been generalized to repeated integration WRT a continuous function g?

  •  10 месяцев назад

    Small detail, but in 2:20 if we go from a=x0 to b=X_N, didn't we divide the interval into N+1 instead of N?

  • @someheree6362
    @someheree6362 10 месяцев назад

    You could have saved a ton of work if you used the dirac comb instead of looking at the details of the comb. The answer becomes immediate after establishing the comb and finishing the integral as a sum of delta integrals

  • @franksaved3893
    @franksaved3893 10 месяцев назад +3

    6:35 favourite function? Oh sh. here we go again

  • @xaxuser5033
    @xaxuser5033 10 месяцев назад +4

    wtf is going on on 06:09 ??? there is a x_n* inside g' and not x_n, we don't know anything about the monotony of g so it's not that obvious to say that the sum reduces to the integral of fg'

    • @giovanni1946
      @giovanni1946 10 месяцев назад +3

      I think this can be proved using the uniform continuity of g (Heine's theorem), but this would require g to be C1

    • @xaxuser5033
      @xaxuser5033 10 месяцев назад +4

      @@giovanni1946 actually, to say that the integral exists in riemann sence, and if it has to be for all f , g' has to be continuous

    • @bjornfeuerbacher5514
      @bjornfeuerbacher5514 10 месяцев назад +4

      For N going to infinity, the size of the intervals (x_n-1;x_n) is going to zero. And x_n* is an element of such an interval. So x_n* has to converge to x_n, which becomes equal to x_n-1 in the limit. Monotony is rather irrelevant here, as far as I can see. (You only need continuity of g', as others already have pointed out.)

    • @xaxuser5033
      @xaxuser5033 10 месяцев назад +3

      @@bjornfeuerbacher5514 i said monotony as a sufficient condition to see it as an obvious conclusion, if it s not the case, and if we only have the continuity of g' the result is not obvious at all to state it without even mentioning it

    • @bjornfeuerbacher5514
      @bjornfeuerbacher5514 10 месяцев назад +4

      @@xaxuser5033 Sorry, I really don't understand your problem. I explained how the result follows, and that line of reasoning is totally obvious.

  • @TaladrisKpop
    @TaladrisKpop 10 месяцев назад

    You only consider a subsequence (mN instead of N) of the sequence of Riemann sums, so you cannot be sure that the integral actually exists

    • @iabervon
      @iabervon 10 месяцев назад

      Yeah, and I think it turns out that the integral doesn't exist if f isn't continuous at the integers, but this derivation is more of an "it can't exist and be anything other than this" calculation, rather than exploring when it exists.

  • @JosuaKrause
    @JosuaKrause 10 месяцев назад +7

    for the continuous case you can simply multiply the integral by 1=dx/dx so you get \int f(x) dg * dx / dx = \int f(x) dg / dx * dx = \int f(x) g'(x) dx

    • @skylardeslypere9909
      @skylardeslypere9909 10 месяцев назад +9

      Differential geometers are crying at your comment

  • @deep45789
    @deep45789 10 месяцев назад +4

    I have always wondered what is the graphical meaning of the integration of a function with respect to another function analogous to what we usually say about a ordinary integral with respect to x. I would be grateful if someone tell me.

    • @praharmitra
      @praharmitra 10 месяцев назад +1

      make a plot with f(x) on the y-axis and g(x) on the x-axis. This integral then has the usual interpretation of area under the curve

    • @skylardeslypere9909
      @skylardeslypere9909 10 месяцев назад +2

      @@praharmitra What do you mean exactly by "g(x) on the x-axis"? Because simply relabeling the x-axis to say "g(1), g(2)" etc. doesn't give any more geometrical intuition as the definition does.

    • @johannmeier6707
      @johannmeier6707 10 месяцев назад +4

      f(x)dx means to multiply f(x+delta-x)delta-x and taking the limit for delta-x to 0, roughly speaking. So in the end adding up rectangles that re infinitly small in width and have the height of f(x). But for this "funtional" integration the width of the rectangle "changes" like the function while still being infinitesimal small. f(x)d(sin(x)) would mean the infinitesimal width of the rectangle "wobbles". This is how I imagine it graphially. But if that has any deeper meaning or where it is useful: no idea.

    • @deep45789
      @deep45789 10 месяцев назад +1

      @@praharmitra you mean that instead of selecting x from [a,b] as x-axis I should replace it with g(x) from [g(a), g(b)]. yes that's a way to look at it. But then g(x) should by any function so why we always restrict it to be a monotonically increasing function while defining Stieltjes Integral.

    • @deep45789
      @deep45789 10 месяцев назад

      @@johannmeier6707 actually this created another question for me... how would you imagine the geometrical significance of taking the derivative of a function f with respect to another function g?
      By your similar approach, could it be the slope of the function f with respect to g?( I don't know how to even think about that)

  • @weeblol4050
    @weeblol4050 3 месяца назад

    No mystery here derivative of a floor function is just a sum of chronicer deltas at all integers

  • @cicik57
    @cicik57 10 месяцев назад

    g'(x) = dg /dx, so replace dg = g'(x) dx, it is that simple...

  • @Axenvyy
    @Axenvyy 10 месяцев назад +1

    I use this trick of integrating f(x) wrt g(x) all the time Micheal but my peers deem it too outlandish until I justify it with a Substitution. They don't seem to share the intuition that when we Substitute we are basically integrating with respect to some function instead. (I do it with nice functions which are cont and diff, but your video with the floor function now that's what makes your vids enticing and exciting 💫)
    My ways don't always sync with the standard rigourous ways but I make sure I know what I am doing when I'm doing something unconventional

  • @user-qh9yn3gk8u
    @user-qh9yn3gk8u 10 месяцев назад

    int f(x) dg = int f(x) g'(x) dx. simple as that. we learn differentials for a simple reason