Scalar integration by parts on a Euclidean ball in a constant direction
ProvedMeasureTheory.integral_directional_derivative_balldivergence-theoremintegration-by-partsmultivariable-calculus
Let , , , and let be continuously differentiable in a neighborhood of each point of the closed ball . For any constant vector ,
Here is the surface measure on the unit sphere. This scalar boundary integration formula applies in every constant direction, and is useful for integration by parts, weak derivative identities, and componentwise assembly of vector or covector flux formulas.
Preamble
import Definitions.Def_HunterPDE_Harmonic_MeanValue import Mathlib.Analysis.Calculus.ContDiff.Comp open MeasureTheory
Formal statement
namespace MeasureTheory
/-- Scalar integration by parts on a ball in a constant direction. -/
theorem integral_directional_derivative_ball {n : ℕ} (hn : 0 < n)
{f : EuclideanSpace ℝ (Fin n) → ℝ}
{x : EuclideanSpace ℝ (Fin n)} {r : ℝ} (hr : 0 < r)
(hf : ∀ y ∈ Metric.closedBall x r, ContDiffAt ℝ 1 f y)
(v : EuclideanSpace ℝ (Fin n)) :
(∫ y in Metric.ball x r, fderiv ℝ f y v) =
r ^ (n - 1) *
(∫ ω : Metric.sphere (0 : EuclideanSpace ℝ (Fin n)) 1,
f (x + r • ω.1) * inner ℝ v ω.1 ∂volume.toSphere) := by sorry
end MeasureTheorySource
John K. Hunter, Notes on Partial Differential Equations, revised 6/18/2014, https://www.math.ucdavis.edu/~hunter/pdes/pde_notes.pdf, printed p. 17 Theorem 1.46 and printed p. 18 subsequent integration-by-parts formula. Specialize to the ball and the vector field f v: its divergence is Df[v], outward unit normal is omega, and surface scaling is r^(n-1).