Determinant in LaTeX
Enter the matrix and get the determinant notation.
Free · Runs in your browser · Your text is never uploaded
vmatrix
The vmatrix environment draws single vertical bars around a matrix, the notation for a determinant: \begin{vmatrix} a & b \\ c & d \end{vmatrix}.
Matrix versus determinant
Round or square brackets denote the matrix itself. Vertical bars denote its determinant, a single number. Double bars (Vmatrix) are used for norms.
Package
Load amsmath in your preamble.
Need more options? Open the full LaTeX Matrix Generator.
Related guides
Frequently asked questions
How do I write det(A) in LaTeX?
Use \det(A), or \begin{vmatrix} … \end{vmatrix} to show the entries.
What is the difference between vmatrix and Vmatrix?
vmatrix uses single bars, Vmatrix uses double bars.