an interesting approach to the Gaussian integral.

  Рет қаралды 49,642

Michael Penn

Michael Penn

Күн бұрын

Пікірлер: 110
@blazedinfernape886
@blazedinfernape886 4 жыл бұрын
Soooooo cool. Never thought this integral is even solvable with elementary calculus. This integral is such a classic to introduce multivariable calculus!
@stephenbeck7222
@stephenbeck7222 4 жыл бұрын
I don’t know if I would call the Wallis integrals part of ‘elementary calculus’, but there is definitely a lot here that a Calc 1 or 2 student can follow.
@bttfish
@bttfish 4 жыл бұрын
But this method is more dirty,and you should know the Wallis integral
@blazedinfernape886
@blazedinfernape886 4 жыл бұрын
@@bttfish How is it dirty though. Imo the usual method is dirtier because you have to know way multivariable calculus to integrate a single variable function. Also Wallis integral is just integration by parts which is elementary calculus.
@mcwulf25
@mcwulf25 4 жыл бұрын
It's one of those solutions that can only be found be reverse engineering. You wouldn't start with that inequality. But if you have a couple of integrals which you know give the same answer as the Gaussian, and you can show that they are the results of a limit that never exceed the Gaussian (or is never lower) the rest falls into place. Very neat.
@williamchurcher9645
@williamchurcher9645 4 жыл бұрын
For those confused about the integral from 0 to 1 at 13:20, Martin Epstein came up with this: the integral (0,1) left
@scipionedelferro
@scipionedelferro 4 жыл бұрын
I'm still confused. I understand you can replace with max(1-x^2,0). But in the same spirit you can also replace with f(x) = (1-x^2) for x1. I.e. for x>1 we use the gaussian function itself. f(x) then is 1 is the same). Then the integral 0-inf of this f(x) on the lhs is sqrt(pi)/2 (for the part x1 part of f(x). And in the end the integral 0-inf of the lhs will be bigger than what we want. what am i missing?
@chercherchercher4479
@chercherchercher4479 4 жыл бұрын
@@scipionedelferro you should apply the limit when n goes to infinity, the integration of the x>1 part of f(x) will most certainly go to 0.
@martinepstein9826
@martinepstein9826 4 жыл бұрын
I think there's a simpler way to look at it. Integral(0 to 1) (left) is less than integral(0 to 1) (middle) which is less than integral(0 to oo) (middle). QED.
@williamchurcher9645
@williamchurcher9645 4 жыл бұрын
@@martinepstein9826 yes nice one. simple.
@bharatvardhamane2406
@bharatvardhamane2406 3 жыл бұрын
Even if we consider the left integral = middle integral it can only happen when both integral are from 0 to infinity. Since the left integral goes from 0 to 1 instead of taking 0 to infinity the lhs will become less than middle integral and the equality will break down. If we assumed from the start that left integral < middle integral then even integrating left from 0 to infinity will make left less than middle
@JoaquinArguelles
@JoaquinArguelles 4 жыл бұрын
Very cool. That's my favorite integral (solved the "usual" way: square it, convert to polar coordinates, use tricks, integrate, then square root). I've never seen this approach. Thank you.
@tch3n93
@tch3n93 4 жыл бұрын
4:00 I think we can tackle the two-sided inequality much faster by considering f(x) = exp(x) - 1 - x which (a) has critical point at x = 0 and (b) is convex everywhere, which proves f(x) >= 0 or exp(x) >= 1 + x (the derivatives are much easier than using x^2). Then, x --> -x^2 provides the lower bound and x --> x^2 and then inverting both sides provides the upper bound.
@thatdude_93
@thatdude_93 4 жыл бұрын
this is actually the way we had to solve it in our analysis 1 homework! great seeing you give this approach some respect ;)
@AbouTaim-Lille
@AbouTaim-Lille 4 жыл бұрын
as u know The function e^x² or e^-x² has no explicit formula for the indefinite integral. However, we can always get its integral through Taylor series. Since the function e^x is analytic. And then we replace x by x² (or-x²) and integrate ... This ideal can be used to get an approximation to the definite integral since the Taylor series is convergent we can minimize the perturbation as much as we want by just increasing the terms We take of the series.
@tedbo1819
@tedbo1819 4 жыл бұрын
This method also appears in Calculus by Spivak.
@loganreina2290
@loganreina2290 4 жыл бұрын
I love spivak's texts. We used his single variable Calculus book at the University of Michigan.
@martinepstein9826
@martinepstein9826 4 жыл бұрын
It's amazing what Spivak is able to prove in that book with relatively simple tools. The only proofs of the fundamental theorem of algebra I ever hear about are based on complex analysis or topology, but Spivak proves it with high school algebra and a smidge of real analysis.
@alexpavlov6754
@alexpavlov6754 4 жыл бұрын
Thanks. In Russia this integral usually are counting in polar coordinates. Your variant of the solve is unfamous. It is great
@Retroist2024
@Retroist2024 2 жыл бұрын
Well that's not only in Russia, everywhere it is mostly commonly solved by polar coordinates
@padraiggluck2980
@padraiggluck2980 3 жыл бұрын
Glad to see an approach different than I^2. 👍
@ghstmn7320
@ghstmn7320 Ай бұрын
4:20 what if we substitute in the inequality with e^x^2 x=iu and get the left hand side?
@saptashwabaisya4202
@saptashwabaisya4202 4 жыл бұрын
sir the video was very nice, but it will be very helpful for me if you come up with a video explaining the walis integral formula or share a document about it
@dryopithecinen558
@dryopithecinen558 4 жыл бұрын
You could also simply square the Integral, use Fubini and Substitute y=x*s, dy=x*ds. Remember 1/(1+s^2) is the Derivative of arctan(s) you'll get the result.
@jackkalver4644
@jackkalver4644 8 ай бұрын
The squeeze theorem! Never thought it would show up here!
@dingo_dude
@dingo_dude 4 жыл бұрын
using wallis product and squeeze theorem, super cool way of finding the gaussian integral
@holyshit922
@holyshit922 2 жыл бұрын
Gamma function and reflection formula - with sine Double integral and polar coordinates
@parameshwarhazra2725
@parameshwarhazra2725 4 жыл бұрын
13:18 sir please tell why did you integrate it from 0 to 1??? Please help I can't figure it out
@jackchung
@jackchung 4 жыл бұрын
Squeeze theorem
@Catilu
@Catilu 4 жыл бұрын
He did it because the result of the tool he used was from the integral from 0 to 1, and he was allowed to use that because it could maintain the inequality (if it had been an equation he couldn't have done it, but as long as it is an inequality and the leftmost thing is less than the others, it's ok to do that).
@parameshwarhazra2725
@parameshwarhazra2725 4 жыл бұрын
@@Catilu thank you sir
@parameshwarhazra2725
@parameshwarhazra2725 4 жыл бұрын
@@jackchung 👍 thanks sir
@williamchurcher9645
@williamchurcher9645 4 жыл бұрын
This puzzled me at first. I thought of it like this: The 1-x^2 can actually be replaced with max(1-x^2, 0) and the inequality still holds, as e^whatever >= 0. So now if we integrate from 0, inf the left hand integral is now integral from 0 to inf of max(1-x^2, 0) = integral from 0 to 1 of 1-x^2, as max(0, 1-x^2) = 0 for x>= 1.
@mackenziekelly1148
@mackenziekelly1148 4 жыл бұрын
Around 4:00, couldn't you have just substituted -x^2 for all the x^2 in the power series formula and immediately seen that e^-x^2>=1-x^2? Or would you need to do more case work after that?
@ricardocavalcanti3343
@ricardocavalcanti3343 4 жыл бұрын
The rest, in this case, is an alternating series: R(x) = x^4/2! - x^6/3! + x^8/4! - x^10/5! + ... It's not obvious that R(x) >= 0 for all x. It requires some work to prove that.
@martinepstein9826
@martinepstein9826 4 жыл бұрын
@@ricardocavalcanti3343 Exactly. But it does irk me that he proved all of these equalities for x^2 when he could have just proved them for t >= 0 and then substituted t = x^2.
@dav3141
@dav3141 2 жыл бұрын
12:25 Taking the n power can cause problems if the first term is negative and n even. Isn't it?
@sankalpadas9937
@sankalpadas9937 3 жыл бұрын
At 9:36 , I could not get why limit n tends to inf ((n)^(1/2) Wallis product) converges to (pi^(1/2))/2
@Paul-tf6zz
@Paul-tf6zz 3 жыл бұрын
in which video you show this part? 9:32
@prathmeshraut1616
@prathmeshraut1616 4 жыл бұрын
Ur are Great Professor
@Ali-bc7rk
@Ali-bc7rk 2 жыл бұрын
At 13:07 You said the integral between 0 and 1 is less than the integral between 0 and infinity. But if n be 1 the integral is evaluated as x-x^3/3,which is 2/3 between 0 and 1 and negative infinity between 0 and infinity! I don't get it. Can you explain please?
@non-inertialobserver946
@non-inertialobserver946 4 жыл бұрын
I'm a bit confused about what you did around 13:08. The lhs diverges to +inf for even n so the inequality doesn't hold anymore. Also by only integrating from 0 to 1 you're basically dropping the integral from 1 to inf, which is divergent. For the inequality, instead of 1-x² you should have defined a function h(x)=1-x² for |x|≤1 and h(x)=0 for all other x. Then from h(x)≤e^(-x²) you can safely arrive at the last inequality and integrate everything from 0 to inf.
@Wurfenkopf
@Wurfenkopf 4 жыл бұрын
The inequality holds, if you consider the up-to-one integral over all of the three and then add a (positive) one-to-infty integral to the second and third alone
@martinepstein9826
@martinepstein9826 4 жыл бұрын
"The lhs diverges to +inf for even n so the inequality doesn't hold anymore" No it doesn't. At least, not over the domain of integration (the domain that matters).
@TwilightBrawl59
@TwilightBrawl59 4 жыл бұрын
13:06 What if we integrate from 0 to infinity, like the other two integrals? It would be bigger than √π/2, right?
@TwilightBrawl59
@TwilightBrawl59 4 жыл бұрын
@@danielelaudaz8551 Oh, that makes sense now. I was confused on why you intergrate this one only from 0 to 1.
@shohamsen8986
@shohamsen8986 4 жыл бұрын
Look up the sandwich theorem. He wants to show that the integral of the gaussian is \sqrt(pi)/2.
@non-inertialobserver946
@non-inertialobserver946 4 жыл бұрын
@@danielelaudaz8551 It diverges to +inf for even n
@joemarz2264
@joemarz2264 3 жыл бұрын
So, basically you chased the integral until it was trapped between 2 walls and couldn't escape anymore...
@Jonasz314
@Jonasz314 3 жыл бұрын
I'm not sure I agree with the trick you used to integrate two terms in your inequality between 0 and infinity, and limit the left term to integral between 0 and 1. The function you integrate is positive only for -1 < x < 1, and clearly diverges towards -inf, so if you take a larger part of the integral, you'll end up with a smaller value. In fact the integral is maximal between 0 and 1 (if you stay on positive values of x). I think you need to explain this step a lot more. I'm not saying it's invalid, but the way it's presented it feels rather bizarre.
@alexh3160
@alexh3160 4 жыл бұрын
You are the math professor i wish i had
@leonig100
@leonig100 4 жыл бұрын
can someone give me a reference to this Wallis variant product.
@xCorvus7x
@xCorvus7x 4 жыл бұрын
If 1-x^2 is less than or equal to exp(-x^2), wouldn't the integral of (1-x^2)^n from 0 to infinity still be less than or equal to the Gaussian integral, i. e. converge also to sqrt(π)/2?
@tomatrix7525
@tomatrix7525 4 жыл бұрын
Haven’t seen this derivation of the result before, it’s definitely one that wouldn’t be a 1st solution lol! Great though
@ffggddss
@ffggddss 4 жыл бұрын
That's pretty neat! But still, IMHO, nothing beats that rectangular-to-polar conversion method for this integral. Nevertheless, this is a priceless 'arrow' in our mathematical 'quiver.' It could work some integrals the other method can't. Fred
@CM63_France
@CM63_France 3 жыл бұрын
Hi, Fine! I found the proof by double integral and polar cordinates a little bit tricky. For fun: There are bunches of places other than YT, 1 "and so on and so forth".
@er8061
@er8061 4 жыл бұрын
캬 이거지
@manuel3494
@manuel3494 3 жыл бұрын
3:29 You should point out that you can take the reciprocal of both sides of the inequality like the way you did because both sides are non-negative.
@zerkaouizerkaoui454
@zerkaouizerkaoui454 4 жыл бұрын
Why the limits of integration from the left [0;1[
@someheree6362
@someheree6362 4 жыл бұрын
Why can you drop the left integral into 0 to 1?
@tomasstride9590
@tomasstride9590 4 жыл бұрын
Bit confused by this myself. If n is even then the bit of the integral from 1 to infinity is positive and so dropping it is not a problem as the inequality stays the same. But it does look a bit odd.
@tomasstride9590
@tomasstride9590 4 жыл бұрын
Thinking about it a bit more the point is that the inequality which is used to construct the left hand side is only really meant to apply for x between 0 and 1. For x greater than 1 the we need 0 as 1-x^2 is negative and clearly less than exp(-x^2)
@someheree6362
@someheree6362 4 жыл бұрын
I believe we are looking for the sup and 0 to 1 gives us the sup
@martinepstein9826
@martinepstein9826 4 жыл бұрын
Why wouldn't you be able to only integrate from 0 to 1? You just need it to be less than the middle integral.
@tomasstride9590
@tomasstride9590 4 жыл бұрын
@@martinepstein9826 If you just formally integrate between zero and infinity then the integrate is diverges . It's diverged to plus infinity for n even and minus infinity for n odd. The result is none the less fine but needs a little more explanation.
@victorserras
@victorserras 4 жыл бұрын
At 9:15 shouldn’t it be (2n-1)? Because the way it’s written, at n=1 the first term would be 3.
@joseantoniotorreslerma5103
@joseantoniotorreslerma5103 3 жыл бұрын
If you consider I=int_{0}^{infty} (e^(-x^2))dx Then, I^2=int_{0}^{infty}int_{0}^{infty} (e^(-(x^2+y^2)))dxdy Thus, changing the coordinates from the cartesian coord system to the polar coord system (taking into account that an infinite square is equal to a circle of infinite radius), and considering the determinant of the Jacobian matrix, hence: I^2=2pi*int_{0}^{infty}(r·e^(-r^2)) dr Which is an immediate integral. Once you have I^2, you get the initial I with the sqrt function!
@kingkartabyo6206
@kingkartabyo6206 4 жыл бұрын
Did you assume Stirling formula for those limits? If yes, it's kinda roundabout... expressing one hard theorem by another
@goodplacetostop2973
@goodplacetostop2973 4 жыл бұрын
14:28 Homework... Imagine an election between two candidates. A receives m votes, B receives n votes, and A wins (m>n). If the ballots are cast one at a time, what is the probability that A will lead all the way throughout the voting process?
@goodplacetostop2973
@goodplacetostop2973 4 жыл бұрын
Solution and source p = (m-n)/(m+n) See futilitycloset.com/2013/04/29/the-ballot-box-problem for more details
@Fun_maths
@Fun_maths 4 жыл бұрын
How do you find this?
@pshr2447
@pshr2447 4 жыл бұрын
huh...
@goodplacetostop2973
@goodplacetostop2973 4 жыл бұрын
@@Fun_maths You mean, find the homework or find the solution?
@Fun_maths
@Fun_maths 4 жыл бұрын
@@goodplacetostop2973 the homework
@fatihsenguel
@fatihsenguel 4 жыл бұрын
When x = sin(t), why is dx = cos(t)*t and not dx = dsin(t) ? (7:40)
@victorserras
@victorserras 4 жыл бұрын
Now do the Gaussian integral using the gamma function, it’s a cool derivation
@Noam_.Menashe
@Noam_.Menashe 2 жыл бұрын
@@angelmendez-rivera351 You can find it by the reflection formula, no?
@Mr_mechEngineer
@Mr_mechEngineer 4 жыл бұрын
I remember we had that as an exam problem in my analysis 2 course in first yr
@TheCherry1994
@TheCherry1994 4 жыл бұрын
And that's a good place to sto
@peterolbrisch1653
@peterolbrisch1653 4 жыл бұрын
When you have the answer hand delivered to you by ups
@cernejr
@cernejr 4 жыл бұрын
Interesting, but not satisfying. How about some discussion of what was done? And why (motivation)? And why integrating the leftmost expression 0to1 gives the same result as 0toInf?
@mcwulf25
@mcwulf25 4 жыл бұрын
I too was left thinking: I want to know the story behind the discovery. I am pretty certain it didn't start with that inequality.
@pbj4184
@pbj4184 4 жыл бұрын
I think I have a solution. Basically we write everything upto 12:58 Also for sake of simplicity, I will write the terms as A
@pbj4184
@pbj4184 4 жыл бұрын
TL;DR: It follows from the inequality at 12:58 that their integrals over (0,1) follow the same inequality. Similarly, the integrals over (1,∞) follow the inequality. And integrals over (0,∞) are greater than integrals over (0,1) as all functions are greater than 0 for all x. Combining them together, we get what we wanted.
@HebrewJones
@HebrewJones 4 жыл бұрын
It needs to be part of the overkill playlist
@nombreusering7979
@nombreusering7979 4 жыл бұрын
מחזק
@AhmadAhmad-qx6fp
@AhmadAhmad-qx6fp 4 жыл бұрын
Any Stats students know by heart that the evaluation of said integrand can be attached directly to standard normal distribution (mean = 0, s.d =1) a.k.a Gaussian pdf (probability density function).. Problem only lies within reconciling the pdf and the integrand presented here.. Integral (from -~ to ~) of [exp {(-x^2)/2} dx] equals to sqrt (2*Pi).. If you transform, exp {(-x^2)/2} as {(-x/(sqrt 2))}, and solve it, it becomes sqrt (2*Pi)/ sqrt (2) = sqrt (Pi).. Since Gaussian ranges from -~ to +~ then, the definite integral of 0 to ~ is HALF of the said value (because it's symmetrical on x=0).. id est, equals to [sqrt (Pi)]/ 2..
@gtziavelis
@gtziavelis 4 жыл бұрын
is infinity minus TREE(3) still infinity? (yes)
@YK-ef5rs
@YK-ef5rs 4 жыл бұрын
Natural and Beautiful..
@tomctutor
@tomctutor 4 жыл бұрын
It is easy to show that ∫ exp(-x^2)dx, x=0 to ∞ is convergent because we can split the integral at x=1 so.. ∫ exp(-x^2)dx, x=0 to 1 + ∫ exp(-x^2)dx, x=1 to ∞ since exp(-x^2)>0, the first definite integral is finite some number. and since exp(-x^2)⋜exp(-x) for x⋝1 the second integral must also converge because it is less by comparison ∫ exp(-x)dx, x=1 to ∞ which is 1/e.
@ammarlali1795
@ammarlali1795 2 жыл бұрын
Love from Pakistan ❤️
@adandap
@adandap 4 жыл бұрын
You can get your second inequality much easier by using 1 + x^2 + 1/2! x^4 + ... = 1.
@kitkatcats3360
@kitkatcats3360 4 жыл бұрын
Fedex
@rodrigochaves7816
@rodrigochaves7816 4 жыл бұрын
behenrj
@get2113
@get2113 4 жыл бұрын
Totally too complicated. Let I denote the integral. Write I^2 as the product of two integrals, one in x and the other in y. Express I^2 as a 2-dimensional integral, switch to polar coordinates, and I^2 can be easily determined. I=sqrt(I^2).
@anastasiostongas8217
@anastasiostongas8217 4 жыл бұрын
@@jean-claudearbaut7322 what about convergence of sequences of real valued functions? Uniform and pointwise. Is it on first year calculus in your country? I see sequences of real valued functions and limits... Anyway my preferred way to find that integrally is using Fourier transform
@get2113
@get2113 4 жыл бұрын
The presentation I sketched was given by a TA in a calculus section at the University of Wisconsin 55 years ago. I always kept it on mental file because it was so clever. I don't see advanced real analysis, measure theory, or anything like that being an issue. Thanks 😊 for remarks.
@get2113
@get2113 4 жыл бұрын
Ok, fair enough. Math literate Americas generally have extremely high regard for French math training.
@_judge_me_not
@_judge_me_not 4 жыл бұрын
A question :- If x,y € [1,10] 3^(sec²x-1) * √(9y²-6y+2)
@blazedinfernape886
@blazedinfernape886 4 жыл бұрын
This looks like a classic old jee advanced problem. 9y^2-6y+2 >=1 for all y But 3^tan^2x * sqrt(9y^2-6y+2) =
@ricardocavalcanti3343
@ricardocavalcanti3343 4 жыл бұрын
I haven't understood the question. What are we supposed to calculate?
@blazedinfernape886
@blazedinfernape886 4 жыл бұрын
@@ricardocavalcanti3343 Number of pairs of solutions (x,y). It is given in the question
@ricardocavalcanti3343
@ricardocavalcanti3343 4 жыл бұрын
@@blazedinfernape886 Thanks. Then the answer is zero: the minimum of 3^((sec x)^2 - 1) in the interval [1,10] is 1, at x = pi, 2pi and 3pi, and the minimum of sqrt(9y^2-6y+2) in the same interval is sqrt(5), at y = 1. Therefore, 3^((sec x)^2 - 1)*sqrt(9y^2-6y+2) >= sqrt(5) for x, y in the interval [1,10]. (Note that y=1/3 lies outside that interval.)
a nice integral identity
6:14
Michael Penn
Рет қаралды 19 М.
Do we even need the real numbers??
26:14
Michael Penn
Рет қаралды 57 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
A viewer suggested integral.
14:11
Michael Penn
Рет қаралды 63 М.
A different approach to the Gaussian integral
10:48
Maths 505
Рет қаралды 12 М.
This trick is new to me!
12:40
Michael Penn
Рет қаралды 60 М.
a physicist's favorite "FUNCTION"
20:38
Michael Penn
Рет қаралды 47 М.
Only FEYNMAN'S TRICKS can help solve this TERRIFYING INTEGRAL
14:17
The Gaussian Integral is DESTROYED by Feynman’s Technique
24:05
Jago Alexander
Рет қаралды 88 М.
Find the last two digits!
16:14
Michael Penn
Рет қаралды 37 М.
Researchers thought this was a bug (Borwein integrals)
17:26
3Blue1Brown
Рет қаралды 3,9 МЛН
sum of Riemann zeta(s)-1
14:57
blackpenredpen
Рет қаралды 71 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН