Adjugate Matrix Calculator

Find the adjugate of a square matrix: minors, cofactors, then transpose.

Matrix A
Size
2

Write rows separated by semicolons, like 1, 2; 3, 4.

Try

Result

You enteredadj⁡(1234)\operatorname{adj}\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}

(4−2−31)\displaystyle \begin{pmatrix} 4 & -2 \\ -3 & 1 \end{pmatrix}

Determinant

−2\displaystyle -2
Show the work
  1. Matrix of minors

    The minor MijM_{ij} is the determinant left after crossing out row ii and column jj of AA. In a 2 by 2 matrix that is the single entry that remains.

    Using Mij=det⁡(A without row i and column j)M_{ij} = \det\left(A \text{ without row } i \text{ and column } j\right)

    M11=4,  M=(4321)M_{11} = 4,\ \ M = \begin{pmatrix} 4 & 3 \\ 2 & 1 \end{pmatrix}
  2. Cofactors (checkerboard of signs)

    Multiply each minor by +1+1 or −1-1 in a checkerboard pattern that starts with ++ in the top-left corner: the sign is ++ when i+ji + j is even and −- when it is odd.

    Using Cij=(−1)i+jMijC_{ij} = \left(-1\right)^{i+j} M_{ij}

    C=(+−−+)⊙(4321)=(4−3−21)C = \begin{pmatrix} + & - \\ - & + \end{pmatrix} \odot \begin{pmatrix} 4 & 3 \\ 2 & 1 \end{pmatrix} = \begin{pmatrix} 4 & -3 \\ -2 & 1 \end{pmatrix}
  3. Transpose

    The adjugate is the transpose of the cofactor matrix: rows become columns.

    Using adj⁡(A)=CT\operatorname{adj}\left(A\right) = C^{\mathsf{T}}

    adj⁡(A)=(4−3−21)T=(4−2−31)\operatorname{adj}\left(A\right) = \begin{pmatrix} 4 & -3 \\ -2 & 1 \end{pmatrix}^{\mathsf{T}} = \begin{pmatrix} 4 & -2 \\ -3 & 1 \end{pmatrix}
  4. Shortcut for a 2 by 2 matrix

    For a 2 by 2 matrix the whole calculation collapses to a rule: swap the two diagonal entries and change the sign of the other two.

    Using adj⁡(abcd)=(d−b−ca)\operatorname{adj}\begin{pmatrix} a & b \\ c & d \end{pmatrix} = \begin{pmatrix} d & -b \\ -c & a \end{pmatrix}

    adj⁡(A)=(4−2−31)\operatorname{adj}\left(A\right) = \begin{pmatrix} 4 & -2 \\ -3 & 1 \end{pmatrix}
  5. Adjugate and determinant

    The adjugate is what makes the inverse formula work: multiplying AA by its adjugate gives the determinant times the identity matrix. When the determinant is not 0, dividing the adjugate by it gives the inverse.

    Using A adj⁡(A)=det⁡(A)IA\,\operatorname{adj}\left(A\right) = \det\left(A\right) I

    det⁡(A)=−2\det\left(A\right) = -2
  6. Result

    So adj⁡(A)=(4−2−31)\operatorname{adj}(A) = \begin{pmatrix} 4 & -2 \\ -3 & 1 \end{pmatrix}.

Worked examples