The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V19. Complex and harmonic analysis

Mathlib.Analysis.SpecialFunctions.Bessel

19 declarations. Mathlib docs · Source

Bessel function

We introduce Bessel functions in this file. Bessel functions commonly take two complex parameters a and x. They are analytic for x ∈ Complex.slitPlane. We also provide scoped notation in the namespace Complex for these functions.

Complex.besselJ a x: Bessel function of the first kind $J_a(x)$

The Bessel function $J_a(x)$ has the representation $$ J_a(x) = (x / 2)^a \frac{₀F₁(-; a + 1; -(x/2)^2)} {Γ(a + 1)} $$ where $₀F₁$ is the hypergeometric function. Based on this, we define Complex.besselJ a x using Complex.regularizedHGFun for the fraction part which removes the singularity for negative integer $a$.

This function is analytic for all x when a is an integer. (see Complex.analyticAt_besselJ_int)

$J_a(0) = 0$ for all complex $a \ne 0$. For $a = 0$, we have $J_0(0) = 1$. (See Complex.besselJ_zero)

TODO

  • Bessel function of the second kind
  • Differential equations
  • Generating functions
  • Bessel's integrals

def Complex.besselJ E1 #

ℂ → ℂ → ℂ

Bessel function of the first kind $J_a(x)$.

theorem Complex.besselJ_def E0 #

Complex.besselJ = fun a x ↦ (x / 2) ^ a * Complex.regularizedHGFun 0 {a + 1} (-(x / 2) ^ 2)

theorem Complex.besselJ_int_neg E1 #

∀ (a : ℤ) (x : ℂ), Complex.besselJ (↑a) (-x) = (-1) ^ a * Complex.besselJ (↑a) x

J a is even or odd when $a$ is even or odd, respectively.

theorem Complex.odd_besselJ E1 #

∀ {a : ℤ}, Odd a → Function.Odd (Complex.besselJ ↑a)

theorem Complex.even_besselJ E1 #

∀ {a : ℤ}, Even a → Function.Even (Complex.besselJ ↑a)

theorem Complex.analyticAt_besselJ E1 #

∀ (a : ℂ) {x : ℂ}, x ∈ Complex.slitPlane → AnalyticAt ℂ (Complex.besselJ a) x

J a is analytic outside of the branch cut on the negative real axis.

theorem Complex.analyticOnNhd_besselJ E1 #

∀ (a : ℂ), AnalyticOnNhd ℂ (Complex.besselJ a) Complex.slitPlane

theorem Complex.besselJ_neg_int E1 #

∀ (a : ℤ) (x : ℂ), Complex.besselJ (-↑a) x = (-1) ^ a * Complex.besselJ (↑a) x

For integer a, J a and J (-a) are related by a sign.

theorem Complex.besselJ_neg_comm E1 #

∀ (a : ℤ) (x : ℂ), Complex.besselJ (-↑a) x = Complex.besselJ (↑a) (-x)

theorem Complex.analyticAt_besselJ_int E1 #

∀ (a : ℤ) (x : ℂ), AnalyticAt ℂ (Complex.besselJ ↑a) x

J a is analytic for integer a.

theorem Complex.analyticOnNhd_besselJ_int E1 #

∀ (a : ℤ), AnalyticOnNhd ℂ (Complex.besselJ ↑a) Set.univ

theorem Complex.besselJ_zero E1 #

∀ (a : ℂ), Complex.besselJ a 0 = if a = 0 then 1 else 0

theorem Complex.two_mul_self_mul_besselJ E1 #

∀ (a x : ℂ), 2 * a * Complex.besselJ a x = x * Complex.besselJ (a - 1) x + x * Complex.besselJ (a + 1) x

theorem Complex.mul_deriv_besselJ_eq_besselJ_add_one E1 #

∀ (a : ℂ) {x : ℂ},
  x ∈ Complex.slitPlane → x * deriv (Complex.besselJ a) x = a * Complex.besselJ a x - x * Complex.besselJ (a + 1) x

theorem Complex.mul_deriv_besselJ_eq_besselJ_sub_one E1 #

∀ (a : ℂ) {x : ℂ},
  x ∈ Complex.slitPlane → x * deriv (Complex.besselJ a) x = x * Complex.besselJ (a - 1) x - a * Complex.besselJ a x

theorem Complex.two_mul_deriv_besselJ E1 #

∀ (a : ℂ) {x : ℂ},
  x ∈ Complex.slitPlane → 2 * deriv (Complex.besselJ a) x = Complex.besselJ (a - 1) x - Complex.besselJ (a + 1) x

theorem Complex.two_mul_deriv_besselJ_int E1 #

∀ (a : ℤ) (x : ℂ), 2 * deriv (Complex.besselJ ↑a) x = Complex.besselJ (↑a - 1) x - Complex.besselJ (↑a + 1) x

theorem Complex.mul_deriv_besselJ_eq_besselJ_add_one_int E1 #

∀ (a : ℤ) (x : ℂ), x * deriv (Complex.besselJ ↑a) x = ↑a * Complex.besselJ (↑a) x - x * Complex.besselJ (↑a + 1) x

theorem Complex.mul_deriv_besselJ_eq_besselJ_sub_one_int E1 #

∀ (a : ℤ) (x : ℂ), x * deriv (Complex.besselJ ↑a) x = x * Complex.besselJ (↑a - 1) x - ↑a * Complex.besselJ (↑a) x