A multi-index in $n$ variables is a function $\alpha : \{1, \ldots, n\} \to \mathbb{N}$ recording the order of differentiation in each coordinate.
Instances For
The order of a multi-index $\alpha = (\alpha_1, \ldots, \alpha_n)$ is $|\alpha| = \sum_i \alpha_i$, i.e. the total number of derivatives it represents.
Instances For
The multi-index derivative $\partial^{\alpha} f = \partial_{x^1}^{\alpha_1} \cdots \partial_{x^n}^{\alpha_n} f$, obtained by iterating partial derivatives according to the list encoding of the multi-index $\alpha$.
Instances For
The set of multi-indices of order at most $N$ in $n$ variables is finite.
The $N$-jet of a function at a point: stores the base point $x \in \mathbb{R}^n$ and the values of all partial derivatives $\partial^{\alpha} u(x)$ with $|\alpha| \le N$. This is the data on which a PDE of order $N$ acts (Definition 1.0.1).
- derivatives : { α : MultiIndex' n // multiIndexOrder α ≤ N } → ℝ
Instances For
A linear differential operator of order at most $N$ on $\mathbb{R}^n$ (Definition 4.0.2): specified by coefficient functions $a_{\alpha}(x)$ for each multi-index $\alpha$ with $|\alpha| \le N$, acting on a function $u$ as $\mathcal{L} u = \sum_{|\alpha| \le N} a_{\alpha}(x) \partial^{\alpha} u$.
- coeff : { α : MultiIndex' n // multiIndexOrder α ≤ N } → (Fin n → ℝ) → ℝ
Instances For
Action of a linear differential operator on a function: $(\mathcal{L} u)(x) = \sum_{|\alpha| \le N} a_{\alpha}(x) \, \partial^{\alpha} u(x)$.
Instances For
Repackage a linear differential operator as a genuine $\mathbb{R}$-linear map
$\mathcal{L} : C^{\infty}(\mathbb{R}^n) \to C^{\infty}(\mathbb{R}^n)$, given the linearity
of each multi-index derivative supplied via hlin.
Instances For
The underlying function of L.toLinearMap agrees with L.apply.
Additivity: $\mathcal{L}(u + v) = \mathcal{L} u + \mathcal{L} v$.
Homogeneity: $\mathcal{L}(c u) = c \mathcal{L} u$ for any scalar $c \in \mathbb{R}$.
A linear operator commutes with finite sums: $\mathcal{L}\left(\sum_{i \in s} f_i\right) = \sum_{i \in s} \mathcal{L} f_i$.
Subtractivity: $\mathcal{L}(u - v) = \mathcal{L} u - \mathcal{L} v$.
Defining linearity of a linear differential operator (Definition 4.0.2, pointwise form): $\mathcal{L}(a u + b v)(x) = a \, \mathcal{L} u(x) + b \, \mathcal{L} v(x)$ for all constants $a, b \in \mathbb{R}$, all functions $u, v$, and all $x$.
A linear PDE is homogeneous (Definition 4.0.4) iff its source term $f$ is identically zero; otherwise it is called inhomogeneous.
Instances For
Superposition principle (Proposition 4.0.1): if $u_1, \ldots, u_M$ are solutions to the homogeneous linear PDE $\mathcal{L} u = 0$ and $c_1, \ldots, c_M \in \mathbb{R}$ are any scalars, then $\sum_{i=1}^{M} c_i u_i$ is also a solution.
Relationship between inhomogeneous and homogeneous solutions (Proposition 4.0.2): given a fixed inhomogeneous solution $u_I$ with $\mathcal{L} u_I = f$, the set $S_I$ of all solutions to $\mathcal{L} u = f$ equals the translate of the homogeneous solution set $S_H = \{u_H \mid \mathcal{L} u_H = 0\}$ by $u_I$, i.e. $S_I = \{u_I + u_H \mid u_H \in S_H\}$.