integ(exp(-x^2/2), x, [-inf,inf])

Over the whole real line, let J = ∫-∞+∞exp(-x22)dx. The integrand is strictly positive; computing its square will also establish convergence
1) By Tonelli's theorem, the product of the two positive integrals gives J2 = ∫-∞+∞∫-∞+∞exp(-x2 + y22)dxdy, even before convergence is known. Compute this double integral
⇥1.1) Transform the integral into polar coordinates
⇥Use polar coordinates: x = r·cos(θ), y = r·sin(θ), hence x2 + y2 = r2
⇥The whole plane corresponds to r ≥ 0 and 0 ≤ θ < 2π. The Jacobian is r: the area element becomes dx·dy = r·dr·dθ
⇥With the Jacobian and the new bounds, the original integral becomes: ∫-∞+∞∫-∞+∞exp(-x2 + y22)dxdy = ∫02π∫0+∞rexp(-r22)drdθ
⇥1.2) First integrate with respect to r, keeping θ constant
⇥⇥1.2.1) Let's compute the integral: ∫0+∞rexp(-r22)dr
⇥⇥Let u = -r22. Then du = -r·dr, so r·dr = -du
⇥⇥∫rexp(-r22)dr = -∫exp(u)du
⇥⇥exp(u) is an antiderivative of exp(u)
⇥⇥We substitute u = -r22 back into the antiderivative
⇥⇥ⅰ ∫rexp(-r22)dr = -1exp(r22)
⇥⇥ -1exp(r22)
⇥⇥At the infinite bound +∞, the antiderivative is evaluated by its limit
⇥⇥Compute the limit of -1exp(r22) as r → +∞
⇥⇥ⓘ A quantity that grows without bound raised to a positive power still grows without bound, to a negative power it tends to 0
⇥⇥ The limit of r2 is +∞ when r → +∞
⇥⇥ⓘ A quantity that grows without bound divided by a nonzero number still grows without bound, the signs giving +∞ or -∞
⇥⇥ The limit of r22 is +∞ when r → +∞
⇥⇥ⓘ We use a reference limit of the function exp
⇥⇥The limit of exp(r22) is +∞ when r → +∞
⇥⇥ⓘ A number divided by a quantity that grows without bound tends to 0
⇥⇥So the limit of -1exp(r22) is 0⁻ when r → +∞
⇥⇥1.2.2) Let's evaluate for the interval [0, +∞): 1exp(022)
⇥⇥ⓘ Raising a nonzero number to the power 0 gives 1: exp(0) = 1
⇥⇥ 1
⇥1.3) Now integrate with respect to θ. The integral with respect to r is 1, so the remaining integral is ∫02π1dθ
⇥⇥1.3.1) Let's compute the integral: ∫02π1dθ
⇥⇥ⓘ The derivative of θ is 1, so θ is an antiderivative of 1: ∫1dθ = θ
⇥⇥ θ
⇥⇥1.3.2) Let's evaluate for the interval [0, 2π]: 2π + 0
⇥⇥ⓘ Adding 0 preserves the original value: 2π + 0 = 2π
⇥⇥ 2π
We obtain J2 = 2π, a finite value, so the integral converges. Since J is positive, J = 2π
2π
ⓘ The root of a product is the product of the roots, ab = ab: 2π = 2·π
▶Integral:   2·π
2) The numeric value of: 2·π equals:
≈ 1.4142·≈ 3.14160.5
≈ 1.4142·≈ 1.7725
▷ ≈ 2.5066

The 100% free maths solver with steps

100% free

  • Access to every feature and every step
  • Unlimited queries
  • No signup required

Simple

  • Queries in natural language
  • Detailed explanations for every step
  • A simple interface for desktop and mobile

Reliable and lean

  • Fast calculations
  • Reproducible results
  • No AI, low energy use

For everyone

  • Calculation, differentiation, integration, solving, factoring, graphing...
  • Pupils, students, individuals, teachers…
  • Through high school and beyond