PDEAtlas

6.1. Diffusion and weak evolution🔗

The simplest example shows the smoothing mechanism. Take the separated candidate u(x,t)=e^{-t}\sin x and differentiate in time:

-- Compute the time derivative of the separated heat mode. #cas [derive t] #cas [derive t] Domain: (t, x) ∈ ℝ^2 Input (scalar ℝ): (exp (-t) * sin x) Output (scalar ℝ): -(exp(-t)*sin(x))
[CAS.Command.details] More details
  • Variables: t, x
  • [CAS.Command.computation] Analytic domain conditions
    • Raw checked nonzero requirements: (none)
    • Raw checked positivity requirements: (none)
  • [CAS.Command.computation] Partial derivative in t
    • [CAS.Command.computation] 1. Apply symbolic differentiation rules
      • raw result: exp(-t)*-1*sin(x) + exp(-t)*cos(x)*0
    • [CAS.Command.computation] 2. Normalize the symbolic derivative unconditionally
      • normalized result: -(exp(-t)*sin(x))
    • [CAS.Command.computation] 3. Apply checked side-conditioned cleanup
      • displayed result: -(exp(-t)*sin(x))
      • additional nonzero requirements: (none)
  • [CAS.explanation] Proof evidence
    • [CAS.explanation.checkedEvidence] Checked proof steps
      • [CAS.explanation.checkedStep] Derivative of the input
        • Proposition: ∀ (t x : ℝ), HasDerivAt (fun t ↦ Real.exp (-t) * Real.sin x) (-(Real.exp (-t) * Real.sin x)) t
        • Validation: proof term checked by the kernel against this proposition
        • Theorem: CAS.Command.hasDerivAt_of_displayRoute
      • [CAS.explanation.checkedStep] Partial derivative in t: indexed rules compute Expr.diff
        • Proposition: (CAS.Verified.Expr.DiffDerivation.build 0 (𝕏[0].neg.exp.mul 𝕏[1].sin)).rawDerivative = CAS.Verified.Expr.diff 0 (𝕏[0].neg.exp.mul 𝕏[1].sin)
        • Validation: proof term checked by the kernel against this proposition
        • Theorem: CAS.Verified.Expr.DiffDerivation.rawDerivative_eq_diff
      • [CAS.explanation.checkedStep] Partial derivative in t: normalization preserves evaluation
        • Proposition: ∀ (ρ : Fin 2 → ℝ), CAS.Verified.Expr.eval ρ (CAS.Verified.Expr.DiffDerivation.build 0 (𝕏[0].neg.exp.mul 𝕏[1].sin)).simplifiedDerivative = CAS.Verified.Expr.eval ρ (CAS.Verified.Expr.DiffDerivation.build 0 (𝕏[0].neg.exp.mul 𝕏[1].sin)).rawDerivative
        • Validation: proof term checked by the kernel against this proposition
        • Theorem: CAS.Verified.Expr.DiffDerivation.eval_simplifiedDerivative_eq_rawDerivative
      • [CAS.explanation.checkedStep] Partial derivative in t: side-conditioned display normalization
        • Proposition: ∀ (ρ : Fin 2 → ℝ), CAS.Verified.Expr.Alg.SideHolds ρ (CAS.Command.displayDerivativeRoute (CAS.Verified.Expr.DiffDerivation.build 0 (𝕏[0].neg.exp.mul 𝕏[1].sin))).nonzero → CAS.Verified.Expr.eval ρ (CAS.Command.displayDerivativeRoute (CAS.Verified.Expr.DiffDerivation.build 0 (𝕏[0].neg.exp.mul 𝕏[1].sin))).rhs = CAS.Verified.Expr.eval ρ (CAS.Verified.Expr.DiffDerivation.build 0 (𝕏[0].neg.exp.mul 𝕏[1].sin)).simplifiedDerivative
        • Validation: proof term checked by the kernel against this proposition
        • Theorem: CAS.Command.displayDerivativeRoute_sound
      • [CAS.explanation.checkedStep] Partial derivative in t: analytic semantics of the displayed result
        • Proposition: ∀ (x : ℝ^2), CAS.Verified.Expr.ValidAt x.ofLp (𝕏[0].neg.exp.mul 𝕏[1].sin) → CAS.Verified.Expr.Alg.SideHolds x.ofLp (CAS.Command.displayDerivativeRoute (CAS.Verified.Expr.DiffDerivation.build 0 (𝕏[0].neg.exp.mul 𝕏[1].sin))).nonzero → (fderiv ℝ (fun y ↦ CAS.Verified.Expr.eval y.ofLp (𝕏[0].neg.exp.mul 𝕏[1].sin)) x) (EuclideanSpace.single 0 1) = CAS.Verified.Expr.eval x.ofLp (CAS.Command.displayDerivativeRoute (CAS.Verified.Expr.DiffDerivation.build 0 (𝕏[0].neg.exp.mul 𝕏[1].sin))).rhs
        • Validation: proof term checked by the kernel against this proposition
        • Theorem: CAS.Command.fderiv_apply_single_eq_eval_displayDerivative
    • [CAS.explanation.plannerMetadata] Planner metadata (not proof)
(exp (-t) * sin x)
Expand...
#cas [derive t]
Domain: (t, x) ∈ ℝ^2
Input (scalar ℝ): (exp (-t) * sin x)
Output (scalar ℝ): -(exp(-t)*sin(x))

[CAS.Command.details] More details
  • Variables: t, x
  • [CAS.Command.computation] Analytic domain conditions
    • Raw checked nonzero requirements: (none)
    • Raw checked positivity requirements: (none)
  • [CAS.Command.computation] Partial derivative in t
    • [CAS.Command.computation] 1. Apply symbolic differentiation rules
      • raw result: exp(-t)*-1*sin(x) + exp(-t)*cos(x)*0
    • [CAS.Command.computation] 2. Normalize the symbolic derivative unconditionally
      • normalized result: -(exp(-t)*sin(x))
    • [CAS.Command.computation] 3. Apply checked side-conditioned cleanup
      • displayed result: -(exp(-t)*sin(x))
      • additional nonzero requirements: (none)
  • [CAS.explanation] Proof evidence
    • [CAS.explanation.checkedEvidence] Checked proof steps
      • [CAS.explanation.checkedStep] Derivative of the input
        • Proposition: ∀ (t x : ℝ), HasDerivAt (fun t ↦ Real.exp (-t) * Real.sin x) (-(Real.exp (-t) * Real.sin x)) t
        • Validation: proof term checked by the kernel against this proposition
        • Theorem: CAS.Command.hasDerivAt_of_displayRoute
      • [CAS.explanation.checkedStep] Partial derivative in t: indexed rules compute Expr.diff
        • Proposition: (CAS.Verified.Expr.DiffDerivation.build 0 (𝕏[0].neg.exp.mul 𝕏[1].sin)).rawDerivative = CAS.Verified.Expr.diff 0 (𝕏[0].neg.exp.mul 𝕏[1].sin)
        • Validation: proof term checked by the kernel against this proposition
        • Theorem: CAS.Verified.Expr.DiffDerivation.rawDerivative_eq_diff
      • [CAS.explanation.checkedStep] Partial derivative in t: normalization preserves evaluation
        • Proposition: ∀ (ρ : Fin 2 → ℝ), CAS.Verified.Expr.eval ρ (CAS.Verified.Expr.DiffDerivation.build 0 (𝕏[0].neg.exp.mul 𝕏[1].sin)).simplifiedDerivative = CAS.Verified.Expr.eval ρ (CAS.Verified.Expr.DiffDerivation.build 0 (𝕏[0].neg.exp.mul 𝕏[1].sin)).rawDerivative
        • Validation: proof term checked by the kernel against this proposition
        • Theorem: CAS.Verified.Expr.DiffDerivation.eval_simplifiedDerivative_eq_rawDerivative
      • [CAS.explanation.checkedStep] Partial derivative in t: side-conditioned display normalization
        • Proposition: ∀ (ρ : Fin 2 → ℝ), CAS.Verified.Expr.Alg.SideHolds ρ (CAS.Command.displayDerivativeRoute (CAS.Verified.Expr.DiffDerivation.build 0 (𝕏[0].neg.exp.mul 𝕏[1].sin))).nonzero → CAS.Verified.Expr.eval ρ (CAS.Command.displayDerivativeRoute (CAS.Verified.Expr.DiffDerivation.build 0 (𝕏[0].neg.exp.mul 𝕏[1].sin))).rhs = CAS.Verified.Expr.eval ρ (CAS.Verified.Expr.DiffDerivation.build 0 (𝕏[0].neg.exp.mul 𝕏[1].sin)).simplifiedDerivative
        • Validation: proof term checked by the kernel against this proposition
        • Theorem: CAS.Command.displayDerivativeRoute_sound
      • [CAS.explanation.checkedStep] Partial derivative in t: analytic semantics of the displayed result
        • Proposition: ∀ (x : ℝ^2), CAS.Verified.Expr.ValidAt x.ofLp (𝕏[0].neg.exp.mul 𝕏[1].sin) → CAS.Verified.Expr.Alg.SideHolds x.ofLp (CAS.Command.displayDerivativeRoute (CAS.Verified.Expr.DiffDerivation.build 0 (𝕏[0].neg.exp.mul 𝕏[1].sin))).nonzero → (fderiv ℝ (fun y ↦ CAS.Verified.Expr.eval y.ofLp (𝕏[0].neg.exp.mul 𝕏[1].sin)) x) (EuclideanSpace.single 0 1) = CAS.Verified.Expr.eval x.ofLp (CAS.Command.displayDerivativeRoute (CAS.Verified.Expr.DiffDerivation.build 0 (𝕏[0].neg.exp.mul 𝕏[1].sin))).rhs
        • Validation: proof term checked by the kernel against this proposition
        • Theorem: CAS.Command.fderiv_apply_single_eq_eval_displayDerivative
    • [CAS.explanation.plannerMetadata] Planner metadata (not proof)

The result is exactly u_{xx}, because \partial_x^2\sin x=-\sin x. The mode \sin x decays at the rate its own curvature dictates. Higher-frequency modes \sin(kx) decay like e^{-k^2t}, quadratically faster in the frequency, and that is the spectral mechanism behind smoothing. Extend this to an infinite mode expansion and you still owe summability estimates before convergence and term-by-term differentiation are legitimate.

For example, the initial profile g(x)=\sin x+\sin(2x) evolves as

u(x,t)=e^{-t}\sin x+e^{-4t}\sin(2x).

Both terms have equal amplitude at t=0. At t=\log 2, their amplitudes are 1/2 and 1/16: the shorter wavelength has become eight times smaller than the longer one. Differentiating each term gives u_t=u_{xx}, and substitution at zero gives the initial profile. This smooth periodic example illustrates relative decay of frequencies; it has infinite L^2 norm on the whole line.

We can see the derivative budget in the same teaching calculation. For a nonnegative integer m, frequency k\ge0, and t>0,

k^m e^{-k^2t} =t^{-m/2}(k\sqrt t)^m e^{-(k\sqrt t)^2} \le C_m t^{-m/2}, \qquad C_m=\sup_{z\ge0}z^m e^{-z^2}<\infty.

Each spatial derivative costs a factor k; positive-time decay pays for every fixed number of them. The price t^{-m/2} grows near the initial slice, where the datum may be rough. Reversing the mode evolution replaces e^{-k^2t} by e^{k^2t}, so arbitrarily small errors at high frequencies can become large. This calculation explains smoothing and backward instability for a single mode.

The polynomial examples from Foundations give another way to see the balance. For the planar polynomial heat solution, the two spatial squares contribute a constant Laplacian, which is matched by a linear time term. The verified calculation uses the same derivatives as the harmonic-polynomial check, but now the spatial terms add instead of canceling. This growing polynomial also explains why decay and finite-energy conclusions need assumptions on the data and domain beyond a vanishing heat residual.

Parabolic equations generalize the picture to an elliptic spatial operator coupled to forward evolution. For weak solutions, the time derivative may belong to a dual space; the initial value is then supplied by a continuous pivot-space representative.

For the variational evolution framework we follow Chapter 7 of Evans (2010), and for the Gelfand-triple formulation and the continuous-representative theorem, Lions and Magenes (1972); the compactness step behind the nonlinear limits follows Simon (1986). The classical kernel material follows Evans's §2.3. The finite-time singularity mechanisms come from a literature specific to each model equation: Kaplan's eigenfunction method and concavity arguments for nonlinear heat, moment arguments for Keller–Segel.

6.1.1. Positive time and the initial instant🔗

Smoothing holds at positive time, while convergence to the initial datum may take place in a weaker norm. With rough coefficients, the time derivative may exist only in a dual space.

Initial data cannot be swapped for an arbitrary time trace, and estimates that hold almost everywhere in time need not hold at the initial instant. Each passage to t=0 needs a continuity or limiting theorem of its own.

6.1.2. Why the heat kernel is fundamental🔗

The Gaussian kernel

\Gamma_n(x,t) = \frac{1}{(4\pi t)^{n/2}}\,e^{-|x|^2/(4t)},\qquad t>0,

is the heat equation's response to a unit point source. You can derive it: parabolic scaling and radial symmetry cut a mass-preserving candidate down to an ODE in |x|^2/t, and solving that ODE and normalizing the mass gives the Gaussian. Four properties are proved separately. It solves the heat equation for t>0. It carries unit mass \int\Gamma_n(x,t)\,dx=1 at every positive time. It is strictly positive at every positive time. And as t\downarrow 0 it concentrates into an approximate identity. Convolving against it, u(t)=\Gamma_n(\cdot,t)*g, therefore solves the equation for positive time, because differentiation passes under the integral onto the kernel, and recovers g as t\downarrow0, by the approximate-identity limit. The certified plots of the computation chapter draw \Gamma_1(\cdot,t) at three times as bands whose panels are kernel-checked enclosure theorems.

6.1.3. The kernel's derivative, step by step🔗

The kernel time derivative below uses positivity of 4\pi t when differentiating its real power. The calculation applies to the Gaussian branch at positive time.

open PDE.Common HeatEquation in example {n : ℕ} (x : ℝ^n) (t : ℝ) (ht : t > 0) : deriv (fun s ↦ fundamentalSolutionHeat (n := n) x s) t = (‖x‖ ^ 2 / (4 * t ^ 2) - (n : ℝ) / (2 * t)) * fundamentalSolutionHeat (n := n) x t := n:ℕx:ℝ^nt:ℝht:t > 0⊢ deriv (fun s ↦ fundamentalSolutionHeat x s) t = (‖x‖ ^ 2 / (4 * t ^ 2) - ↑n / (2 * t)) * fundamentalSolutionHeat x t n:ℕx:ℝ^nt:ℝht:t > 0hgt_pos:0 < 4 * Real.pi * t⊢ deriv (fun s ↦ fundamentalSolutionHeat x s) t = (‖x‖ ^ 2 / (4 * t ^ 2) - ↑n / (2 * t)) * fundamentalSolutionHeat x t -- Work with the `t > 0` branch of the definition via -- an eventual equality near `t`. n:ℕx:ℝ^nt:ℝht:t > 0hgt_pos:0 < 4 * Real.pi * thbranch:(fun s ↦ fundamentalSolutionHeat x s) =ᶠ[nhds t] fun s ↦ (4 * Real.pi * s) ^ (-↑n / 2) * Real.exp (-(‖x‖ ^ 2 / (4 * s)))⊢ deriv (fun s ↦ fundamentalSolutionHeat x s) t = (‖x‖ ^ 2 / (4 * t ^ 2) - ↑n / (2 * t)) * fundamentalSolutionHeat x t n:ℕx:ℝ^nt:ℝht:t > 0hgt_pos:0 < 4 * Real.pi * thbranch:(fun s ↦ fundamentalSolutionHeat x s) =ᶠ[nhds t] fun s ↦ (4 * Real.pi * s) ^ (-↑n / 2) * Real.exp (-(‖x‖ ^ 2 / (4 * s)))⊢ deriv (fun s ↦ (4 * Real.pi * s) ^ (-↑n / 2) * Real.exp (-(‖x‖ ^ 2 / (4 * s)))) t = (‖x‖ ^ 2 / (4 * t ^ 2) - ↑n / (2 * t)) * ((4 * Real.pi * t) ^ (-↑n / 2) * Real.exp (-(‖x‖ ^ 2 / (4 * t)))) All goals completed! 🐙

The squared heat-ball slice radius is 2n\tau\log(r^2/(4\pi\tau)). Its derivative calculation uses r\ne0 and \tau\ne0 to differentiate the logarithm.

open HeatEquation in example (n : ℕ) {r τ : ℝ} (hr : r ≠ 0) (hτ : τ ≠ 0) : HasDerivAt (heatBallSliceRadiusSq n r) (2 * (n : ℝ) * (Real.log (r ^ 2 / (4 * Real.pi * τ)) - 1)) τ := n:ℕr:ℝτ:ℝhr:r ≠ 0hτ:τ ≠ 0⊢ HasDerivAt (heatBallSliceRadiusSq n r) (2 * ↑n * (Real.log (r ^ 2 / (4 * Real.pi * τ)) - 1)) τ n:ℕr:ℝτ:ℝhr:r ≠ 0hτ:τ ≠ 0⊢ HasDerivAt (fun τ ↦ 2 * ↑n * τ * Real.log (r ^ 2 / (4 * Real.pi * τ))) (2 * ↑n * (Real.log (r ^ 2 / (4 * Real.pi * τ)) - 1)) τ All goals completed! 🐙