# Abel's identity

In mathematics, Abel's identity (also called Abel's formula or Abel's differential equation identity) is an equation that expresses the Wronskian of two solutions of a homogeneous second-order linear ordinary differential equation in terms of a coefficient of the original differential equation. The relation can be generalised to nth-order linear ordinary differential equations. The identity is named after the Norwegian mathematician Niels Henrik Abel.
Since Abel's identity relates to the different linearly independent solutions of the differential equation, it can be used to find one solution from the other. It provides useful identities relating the solutions, and is also useful as a part of other techniques such as the method of variation of parameters. It is especially useful for equations such as Bessel's equation where the solutions do not have a simple analytical form, because in such cases the Wronskian is difficult to compute directly.
A generalisation of first-order systems of homogeneous linear differential equations is given by Liouville's formula.

## Statement

Consider a homogeneous linear second-order ordinary differential equation
    $y''+p(x)y'+q(x)\,y=0$
on an interval I of the real line with real- or complex-valued continuous functions p and q. Abel's identity states that the Wronskian $W=(y_{1},y_{2})$ of two real- or complex-valued solutions $y_{1}$ and $y_{2}$ of this differential equation, that is the function defined by the determinant
    $W(y_{1},y_{2})(x)={\begin{vmatrix}y_{1}(x)&y_{2}(x)\\y'_{1}(x)&y'_{2}(x)\end{vmatrix}}=y_{1}(x)\,y'_{2}(x)-y'_{1}(x)\,y_{2}(x),\quad x\in I,$
satisfies the relation
    $W(y_{1},y_{2})(x)=W(y_{1},y_{2})(x_{0})\cdot \exp \left(-\int _{x_{0}}^{x}p(t)\,dt\right),\quad x\in I,$
for each point $x_{0}\in I$.

### Remarks

* When the differential equation is real-valued, since $\exp \left(-\int _{x_{0}}^{x}p(t)\,dt\right)$ is strictly positive, the Wronskian $W(y_{1},y_{2})$ is always either identically zero, always positive, or always negative at every point $x$ in $I$.
* If the two solutions $y_{1}$ and $y_{2}$ are linearly dependent, then the Wronskian is identically zero. Conversely, if the Wronskian is not zero at any point on the interval, then they are linearly independent.
* It is not necessary to assume that the second derivatives of the solutions $y_{1}$ and $y_{2}$ are continuous.
* If $p(x)=0$ then $W$ is constant.

### Proof

Differentiating the Wronskian using the product rule gives (writing $W$ for $W(y_{1},y_{2})$ and omitting the argument $x$ for brevity)
    ${\begin{aligned}W'&=y_{1}'y_{2}'+y_{1}y_{2}''-y_{1}''y_{2}-y_{1}'y_{2}'\\&=y_{1}y_{2}''-y_{1}''y_{2}.\end{aligned}}$
Solving for $y''$ in the original differential equation yields
    $y''=-(py'+qy).$
Substituting this result into the derivative of the Wronskian function to replace the second derivatives of $y_{1}$ and $y_{2}$ gives
    ${\begin{aligned}W'&=-y_{1}(py_{2}'+qy_{2})+(py_{1}'+qy_{1})y_{2}\\&=-p(y_{1}y_{2}'-y_{1}'y_{2})\\&=-pW.\end{aligned}}$

## Generalization

The Wronskian $W(y_{1},\ldots ,y_{n})$ of $n$ functions $y_{1},\ldots ,y_{n}$ on an interval $I$ is the function defined by the determinant
    $W(y_{1},\ldots ,y_{n})(x)={\begin{vmatrix}y_{1}(x)&y_{2}(x)&\cdots &y_{n}(x)\\y'_{1}(x)&y'_{2}(x)&\cdots &y'_{n}(x)\\\vdots &\vdots &\ddots &\vdots \\y_{1}^{(n-1)}(x)&y_{2}^{(n-1)}(x)&\cdots &y_{n}^{(n-1)}(x)\end{vmatrix}},\qquad x\in I,$
Consider a homogeneous linear ordinary differential equation of order $n\geq 1$:
    $y^{(n)}+p_{n-1}(x)\,y^{(n-1)}+\cdots +p_{1}(x)\,y'+p_{0}(x)\,y=0,$
on an interval $I$ of the real line with a real- or complex-valued continuous function $p_{n-1}$. Let $y_{1},\ldots ,y_{n}$ by solutions of this nth order differential equation. Then the generalisation of Abel's identity states that this Wronskian satisfies the relation:
    $W(y_{1},\ldots ,y_{n})(x)=W(y_{1},\ldots ,y_{n})(x_{0})\exp {\biggl-\int _{x_{0}}^{x}p_{n-1}(\xi )\,{\textrm {d}}\xi {\biggr )},\qquad x\in I,$
for each point $x_{0}\in I$.

### Direct proof

For brevity, we write $W$ for $W(y_{1},\ldots ,y_{n})$ and omit the argument $x$. It suffices to show that the Wronskian solves the first-order linear differential equation
    $W'=-p_{n-1}\,W,$
because the remaining part of the proof then coincides with the one for the case $n=2$.
In the case $n=1$ we have $W=y_{1}$ and the differential equation for $W$ coincides with the one for $y_{1}$. Therefore, assume $n\geq 2$ in the following.
The derivative of the Wronskian $W$ is the derivative of the defining determinant. It follows from the Leibniz formula for determinants that this derivative can be calculated by differentiating every row separately, hence
    ${\begin{aligned}W'&={\begin{vmatrix}y'_{1}&y'_{2}&\cdots &y'_{n}\\y'_{1}&y'_{2}&\cdots &y'_{n}\\y''_{1}&y''_{2}&\cdots &y''_{n}\\y'''_{1}&y'''_{2}&\cdots &y'''_{n}\\\vdots &\vdots &\ddots &\vdots \\y_{1}^{(n-1)}&y_{2}^{(n-1)}&\cdots &y_{n}^{(n-1)}\end{vmatrix}}+{\begin{vmatrix}y_{1}&y_{2}&\cdots &y_{n}\\y''_{1}&y''_{2}&\cdots &y''_{n}\\y''_{1}&y''_{2}&\cdots &y''_{n}\\y'''_{1}&y'''_{2}&\cdots &y'''_{n}\\\vdots &\vdots &\ddots &\vdots \\y_{1}^{(n-1)}&y_{2}^{(n-1)}&\cdots &y_{n}^{(n-1)}\end{vmatrix}}\\&\qquad +\ \cdots \ +{\begin{vmatrix}y_{1}&y_{2}&\cdots &y_{n}\\y'_{1}&y'_{2}&\cdots &y'_{n}\\\vdots &\vdots &\ddots &\vdots \\y_{1}^{(n-3)}&y_{2}^{(n-3)}&\cdots &y_{n}^{(n-3)}\\y_{1}^{(n-2)}&y_{2}^{(n-2)}&\cdots &y_{n}^{(n-2)}\\y_{1}^{(n)}&y_{2}^{(n)}&\cdots &y_{n}^{(n)}\end{vmatrix}}.\end{aligned}}$
However, note that every determinant from the expansion contains a pair of identical rows, except the last one. Since determinants with linearly dependent rows are equal to 0, one is only left with the last one:
    $W'={\begin{vmatrix}y_{1}&y_{2}&\cdots &y_{n}\\y'_{1}&y'_{2}&\cdots &y'_{n}\\\vdots &\vdots &\ddots &\vdots \\y_{1}^{(n-2)}&y_{2}^{(n-2)}&\cdots &y_{n}^{(n-2)}\\y_{1}^{(n)}&y_{2}^{(n)}&\cdots &y_{n}^{(n)}\end{vmatrix}}.$
Since every $y_{i}$ solves the ordinary differential equation, we have
    $y_{i}^{(n)}+p_{n-2}\,y_{i}^{(n-2)}+\cdots +p_{1}\,y'_{i}+p_{0}\,y_{i}=-p_{n-1}\,y_{i}^{(n-1)}$
for every $i\in \lbrace 1,\ldots ,n\rbrace$. Hence, adding to the last row of the above determinant $p_{0}$ times its first row, $p_{1}$ times its second row, and so on until $p_{n-2}$ times its next to last row, the value of the determinant for the derivative of $W$ is unchanged and we get
    $W'={\begin{vmatrix}y_{1}&y_{2}&\cdots &y_{n}\\y'_{1}&y'_{2}&\cdots &y'_{n}\\\vdots &\vdots &\ddots &\vdots \\y_{1}^{(n-2)}&y_{2}^{(n-2)}&\cdots &y_{n}^{(n-2)}\\-p_{n-1}\,y_{1}^{(n-1)}&-p_{n-1}\,y_{2}^{(n-1)}&\cdots &-p_{n-1}\,y_{n}^{(n-1)}\end{vmatrix}}=-p_{n-1}W.$

### Proof using Liouville's formula

The solutions $y_{1},\ldots ,y_{n}$ form the square-matrix valued solution
    $\Phi (x)={\begin{pmatrix}y_{1}(x)&y_{2}(x)&\cdots &y_{n}(x)\\y'_{1}(x)&y'_{2}(x)&\cdots &y'_{n}(x)\\\vdots &\vdots &\ddots &\vdots \\y_{1}^{(n-2)}(x)&y_{2}^{(n-2)}(x)&\cdots &y_{n}^{(n-2)}(x)\\y_{1}^{(n-1)}(x)&y_{2}^{(n-1)}(x)&\cdots &y_{n}^{(n-1)}(x)\end{pmatrix}},\qquad x\in I,$
of the $n$-dimensional first-order system of homogeneous linear differential equations
    ${\begin{pmatrix}y'\\y''\\\vdots \\y^{(n-1)}\\y^{(n)}\end{pmatrix}}={\begin{pmatrix}0&1&0&\cdots &0\\0&0&1&\cdots &0\\\vdots &\vdots &\vdots &\ddots &\vdots \\0&0&0&\cdots &1\\-p_{0}(x)&-p_{1}(x)&-p_{2}(x)&\cdots &-p_{n-1}(x)\end{pmatrix}}{\begin{pmatrix}y\\y'\\\vdots \\y^{(n-2)}\\y^{(n-1)}\end{pmatrix}}.$
The trace of this matrix is $-p_{n-1}(x)$, hence Abel's identity follows directly from Liouville's formula.