Determinant in LaTeX (\det(A))

det⁡(A)\det(A)
LaTeX command
\det(A)
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Determinant of a square matrix A, the scalar giving its signed volume scaling factor.

\det is a predefined operator, so it prints upright with correct spacing; typing det(A) would italicize three separate variables. Key identities include \det(AB) = \det(A)\det(B) and \det(A^{-1}) = 1/\det(A). Unlike \sin, \det can take limits placed under it in display style, like \lim. For an explicit matrix, the vmatrix environment draws vertical bars directly, so \begin{vmatrix} a & b \\ c & d \end{vmatrix} = ad - bc reads naturally. Parentheses are optional when the argument is a single letter, \det A, as with other operators.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

det⁡(abcd)=ad−bc\det\begin{pmatrix} a & b \\ c & d \end{pmatrix} = ad - bc
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Determinant: $\det(A)$

\[ \det\begin{pmatrix} a & b \\ c & d \end{pmatrix} = ad - bc \]
\end{document}

Related symbols

All Linear Algebra →

Frequently asked questions

How do I write Determinant in LaTeX?
Type \det(A) in math mode, for example $\det\begin{pmatrix} a & b \\ c & d \end{pmatrix} = ad - bc$. It works in plain LaTeX without loading any package.
Which package do I need for \det(A)?
None. \det(A) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \det(A) in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\det(A)$ in running text.
Math poweredSumulat ng LaTeX gamit ang AI

Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf

Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI

  • Gumawa ng magagandang TikZ diagrams gamit ang AI
  • Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
  • Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers