Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Tools › Maths

Matrix determinant calculator

Determinant of a 2 × 2 or 3 × 3 matrix, expanded step by step.

-59

  1. |A| = a(ei − fh) − b(di − fg) + c(dh − eg)
  2. = 2(-2) − 1(-5) + 3(-20)
  3. = -59
  4. The determinant is not 0, so A has an inverse.

How it works

For [[a, b], [c, d]] the determinant is ad − bc. A 3 × 3 determinant is expanded along the first row using 2 × 2 minors.

If the determinant is 0, the matrix has no inverse.

Worked example

With Matrix rows = 2 1 3; 0 4 1; 5 2 0:

  1. |A| = a(ei − fh) − b(di − fg) + c(dh − eg)
  2. = 2(-2) − 1(-5) + 3(-20)
  3. = -59
  4. The determinant is not 0, so A has an inverse.

Answer: -59

Questions

What does a zero determinant mean?
The rows are dependent: one row can be made from the others. Geometrically, the matrix squashes space flat.

Learn the method properly

The chapter behind this tool, with animations, an experiment and an AI tutor who checks each step you write.

Open the chapter

More maths tools

  • Quadratic equation solver
  • LCM and HCF calculator
  • Fraction simplifier
  • Percentage calculator
  • Simple interest calculator
  • Compound interest calculator