Skip to main content
Chemistry LibreTexts

16.5: Determinants

  • Page ID
    287087
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    The concept of determinants has its origin in the solution of simultaneous linear equations. In physical chemistry, they are an important tool in quantum mechanics

    Suppose you want to solve the following system of two equations with two unknowns (\(x\) and \(y\)):

    \[a_1x+b_1y=c_1 \nonumber \]

    \[a_2x+b_2y=c_2 \nonumber \]

    In order to find \(y\), we could use the following general procedure: we multiply the first equation by \(a_2\) and the second by \(a_1\), and subtract one line from the other to cancel the term in \(x\):

    \[a_1x+b_1y=c_1\overset{\times a_2}{\rightarrow}a_1a_2x+b_1a_2y=c_1a_2 \nonumber \]

    \[a_2x+b_2y=c_2\overset{\times a_1}{\rightarrow}a_1a_2x+b_2a_1y=c_2a_1 \nonumber \]

    \[\left.\begin{matrix} a_1a_2x+b_1a_2y=c_1a_2\\ a_1a_2x+b_2a_1y=c_2a_1 \end{matrix}\right\} \rightarrow (b_2a_1-b_1a_2)y=a_1c_2-a_2c_1\rightarrow y=\dfrac{a_1c_2-a_2c_1}{b_2a_1-b_1a_2} \nonumber \]

    We can follow the same strategy to find \(x\): we multiply the first equation by \(b_2\) and the second by \(b_1\), and subtract one line from the other to cancel the term in \(y\):

    \[a_1x+b_1y=c_1\overset{\times b_2}{\rightarrow}a_1b_2x+b_1b_2y=c_1b_2 \nonumber \]

    \[a_2x+b_2y=c_2\overset{\times b_1}{\rightarrow}b_1a_2x+b_2b_1y=c_2b_1 \nonumber \]

    \[\left.\begin{matrix} a_1b_2x+b_1b_2y=c_1b_2\\ b_1a_2x+b_2b_1y=c_2b_1 \end{matrix}\right\} \rightarrow (b_2a_1-b_1a_2)x=b_2c_1-b_1c_2\rightarrow x=\dfrac{b_2c_1-b_1c_2}{b_2a_1-b_1a_2} \nonumber \]

    We define a \(2\times 2\) determinant as:

    \[\begin{vmatrix} a &b \\ c& d \end{vmatrix}=ad-cb \nonumber \]

    The determinant, which is denoted with two parallel bars, is a number. For example,

    \[\begin{vmatrix} 3 &-1 \\ 1/2& 2 \end{vmatrix}=3\times 2-(-1)\times 1/2=13/2 \nonumber \]

    Let’s look at the expressions we obtained for \(x\) and \(y\), and write them in terms of determinants:

    \[x=\dfrac{b_2c_1-b_1c_2}{b_2a_1-b_1a_2}=\dfrac{\begin{vmatrix} c_1 &b_1 \\ c_2& b_2 \end{vmatrix}}{\begin{vmatrix} a_1 &b_1 \\ a_2& b_2 \end{vmatrix}} \nonumber \]

    \[y=\dfrac{a_1c_2-a_2c_1}{b_2a_1-b_1a_2}=\dfrac{\begin{vmatrix} a_1 &c_1 \\ a_2& c_2 \end{vmatrix}}{\begin{vmatrix} a_1 &b_1 \\ a_2& b_2 \end{vmatrix}} \nonumber \]

    Let’s look at our equations, and see how these determinants are constructed from the coefficients.

    \[a_1x+b_1y=c_1 \nonumber \]

    \[a_2x+b_2y=c_2 \nonumber \]

    The determinant in the denominator of both \(x\) and \(y\) is the determinant of the coefficients on the left-side of the equal sign:

    \[\left.\begin{matrix} {\color{Red} a_1}x+{\color{Red} b_1}y=c_1\\ {\color{Red} a_2}x+{\color{Red} b_2}y=c_2 \end{matrix}\right\} {\begin{vmatrix} {\color{Red} a_1} &{\color{Red} b_1} \\ {\color{Red} a_2}& {\color{Red} b_2} \end{vmatrix}} \nonumber \]

    The numerator in the expression of \(y\) is built by replacing the coefficients in the \(y\)-column with the coefficients on the right side of the equation:

    \[\left.\begin{matrix} {\color{Red} a_1}x+ b_1y={\color{OliveGreen} c_1}\\ {\color{Red} a_2}x+b_2y={\color{OliveGreen} c_2} \end{matrix}\right\} {\begin{vmatrix} {\color{Red} a_1} &{\color{OliveGreen} c_1} \\ {\color{Red} a_2}& {\color{OliveGreen} c_2} \end{vmatrix}} \nonumber \]

    The numerator in the expression of \(x\) is built by replacing the coefficients in the \(x\)-column with the coefficients on the right side of the equation:

    \[\left.\begin{matrix} a_1x+ {\color{Red} b_1}y={\color{OliveGreen} c_1}\\ a_2x+{\color{Red} b_2}y={\color{OliveGreen} c_2} \end{matrix}\right\} {\begin{vmatrix} {\color{OliveGreen} c_1} &{\color{Red} b_1} \\ {\color{OliveGreen} c_2}&{\color{Red} b_2} \end{vmatrix}} \nonumber \]

    We can extend this idea to \(n\) equations with \(n\) unknowns (\(x_1, x_2, x_3,...,x_n).\)

    \[\begin{matrix} a_{11}x_1&+&a_{12}x_2 &+&\cdots&+&a_{1n}x_n&=b_1 \\ a_{21}x_1&+& a_{22}c_2&+&\cdots&+&a_{2n}x_n &=b_2\\ \vdots&&\vdots & &\ddots & &\vdots&\vdots\\ a_{n1}x_1&+& a_{n2}c_2&+&\cdots&+&a_{nn}x_n &=b_n\\ \end{matrix} \nonumber \]

    Note that we use two subscripts to identify the coefficients. The first refers to the row, and the second to the column. Let’s define the determinant \(D\) as the determinant of the coefficients of the equation (the ones on the left side of the equal sign):

    \[D=\begin{vmatrix} a_{11} &a_{12} &\cdots &a_{1n}\\ a_{21}&a_{22} &\cdots &a_{2n} \\ \vdots& \vdots &\ddots & \vdots\\ a_{n1} &a_{n2} &\cdots &a_{nn} \end{vmatrix} \nonumber \]

    and let’s define the determinant \(D_k\) as the one obtained from \(D\) by replacement of the \(kth\) column of \(D\) by the column with elements \(b_1, b_2...b_n\). For example, \(D_2\) is

    \[D_2=\begin{vmatrix} a_{11} &b_1 &\cdots &a_{1n}\\ a_{21}&b_2 &\cdots &a_{2n} \\ \vdots& \vdots &\ddots & \vdots\\ a_{n1} &b_{n} &\cdots &a_{nn} \end{vmatrix} \nonumber \]

    The unknowns of the system of equations are calculated as:

    \[x_1=\dfrac{D_1}{D}, x_2=\dfrac{D_2}{D},...,x_n=\dfrac{D_n}{D} \nonumber \]

    For example, let’s say we want to find \(x,y\) and \(z\) in the following system of equations:

    \[2x+3y+8z=0 \nonumber \]

    \[x-\dfrac{1}{2}y-3z=\dfrac{1}{2} \nonumber \]

    \[-x-y-z=\dfrac{1}{2} \nonumber \]

    We can calculate the unknowns as;

    \[x=\dfrac{D_1}{D},y=\dfrac{D_2}{D},z=\dfrac{D_3}{D} \nonumber \]

    where

    \[D=\begin{vmatrix} 2 &3 & 8 \\ 1 &-1/2 &-3 \\ -1 &-1 &-1 \end{vmatrix} \nonumber \]

    \[D_1=\begin{vmatrix} 0 &3 & 8 \\ 1/2 &-1/2 &-3 \\ 1/2 &-1 &-1 \end{vmatrix} \nonumber \]

    \[D_2=\begin{vmatrix} 2 &0 & 8 \\ 1 &1/2 &-3 \\ -1 &1/2 &-1 \end{vmatrix} \nonumber \]

    \[D_3=\begin{vmatrix} 2 &3 & 0 \\ 1 &-1/2 &1/2 \\ -1 &-1 &1/2 \end{vmatrix} \nonumber \]

    In order to do this, we need to learn how to solve \(3\times3\) determinants, or in general, \(n \times n\) determinants.


    This page titled 16.5: Determinants is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Marcia Levitus via source content that was edited to the style and standards of the LibreTexts platform.