---
title: "Wronskian Matrix"
canonical: "https://docs.magma-maths.org/v2.30-1/CommutativeAlgebra/DifferentialRings/wronskians.html"
source: "https://docs.magma-maths.org/v2.30-1/CommutativeAlgebra/DifferentialRings/wronskians.md"
part: "Commutative Algebra"
chapter: "Differential Rings"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Commutative Algebra", "source": "https://docs.magma-maths.org/v2.30-1/CommutativeAlgebra/index-commutative-algebra.md"}
  - {"title": "Differential Rings", "source": "https://docs.magma-maths.org/v2.30-1/CommutativeAlgebra/DifferentialRings/index-differential-rings.md"}
prev: {"title": "Ideals and Quotient Rings", "source": "https://docs.magma-maths.org/v2.30-1/CommutativeAlgebra/DifferentialRings/ideal-quotient-ring.md"}
next: {"title": "Differential Operator Rings", "source": "https://docs.magma-maths.org/v2.30-1/CommutativeAlgebra/DifferentialRings/creation-diff-op-rings.md"}
intrinsics:
  - {"name": "WronskianMatrix", "signature": "WronskianMatrix(L): [RngDiffElt] -> AlgMatElt"}
  - {"name": "WronskianDeterminant", "signature": "WronskianDeterminant(L): [RngDiffElt] -> RngDiffElt, AlgMatElt"}
examples:
  - "ex-95dc85"
---

# Wronskian Matrix

Let $R$ be a differential ring and let $y_1,y_2,\ldots,y_n$ be elements of $R$. The *wronskian matrix* of $y_1,y_2,\ldots,y_n$ is defined as the $n\times n$ matrix

$$
 W(y_1,y_2,\ldots,y_n)=\begin{pmatrix}y_1&y_2&\ldots&y_n\\ \delta_R(y_1)&\delta_R(y_2)&\ldots&\delta_R(y_n)\\ \vdots&\vdots&\ddots&\vdots\\ \delta_R^{n-1}(y_1)&\delta_R^{n-1}(y_2)&\ldots&\delta_R^{n-1}(y_n)\end{pmatrix}
$$

The *wronskian determinant*, or simply the *wronskian*, of $y_1,y_2,\ldots,y_n$ is the determinant of the wronskian matrix $W(y_1,y_2,\ldots,y_n)$.

<a id="function-wronskianmatrix-rngdiffelt"></a>
## `WronskianMatrix(L): [RngDiffElt] -> AlgMatElt`

Given a sequence of differential ring elements $L$, return the Wronskian matrix of $L$ whose entries are elements of the universe of $L$.

<a id="function-wronskiandeterminant-rngdiffelt"></a>
## `WronskianDeterminant(L): [RngDiffElt] -> RngDiffElt, AlgMatElt`

Given a sequence of differential ring elements $L$, return the determinant of the Wronskian matrix of $L$ as well as the matrix itself.

<a id="example-ex-95dc85"></a>
## `Example: Wronskian Matrix and Determinant (ex-95dc85)`

```magma
> F<z> := RationalDifferentialField(Rationals());
> WronskianMatrix([1,z,z^2]);
[1 z z^2]
[0 1 2*z]
[0 0 2]
> WronskianDeterminant([1,z^2,1/z]);
6/z
[z z^2 1/z]
[1 2*z -1/z^2]
[0 2 2/z^3]
```
