CALCULATE

CALCULATE

** nxn matrix determinant calculator** calculates a determinant of a matrix with real elements. It is an online tool programmed to calculate the determinant value of the given matrix input elements. This calculator is designed to calculate $2\times 2$, $3\times3$ and $4\times 4$ matrix determinant value. Select the appropriate calculator from the list of three.

It is necessary to follow the next steps:

- Enter elements of matrix in the box. Elements of matrices must be real numbers.
- Press the "
**GENERATE WORK**" button to make the computation; - nxn matrix determinant calculator will give the real value that represents useful information about the matrix.

The determinant of the matrix $A=(a_{ij})_{2\times 2}$ is determined by the following formula
$$det(A)=|A|=\left|
\begin{array}{cc}
a &b\\
c& d \\
\end{array}
\right|=ad-cb$$

The determinant of the matrix $A=(a_{ij})_{3\times 3}$ is determined by the following formula
$$\begin{align} det(A)=|A|&=\left|
\begin{array}{ccc}
a & b & c \\
d& e & f \\
g & h & i \\
\end{array}
\right| \\&=a\left|
\begin{array}{cc}
e &f \\
h & i \\
\end{array}
\right|-b\left|
\begin{array}{cc}
d &f \\
g & i \\
\end{array}
\right|+c\left|
\begin{array}{cc}
d &e \\
g & h \\
\end{array}
\right|\\& =a(ei-fh)-b(di-fg)+c(dh-eg)
\\& =aei+bfg+cdh-ceg-afh-bdi\end{align}$$

The determinant of the matrix $A=(a_{ij})_{4\times 4}$ is determined by the following formula
$$\begin{align} det(A)=|A|&=\left|
\begin{array}{cccc}
a & b & c & d \\
e & f & g & h \\
i & j & k & l \\
m & n & o & p \\
\end{array}
\right|
\\&=a\left|
\begin{array}{ccc}
f & g & h \\
j & k & l \\
n & o & p \\
\end{array}
\right|-b\left|
\begin{array}{ccc}
e & g & h \\
i & k & l \\
m & o & p \\
\end{array}
\right|+c\left|
\begin{array}{ccc}
e & f & h \\
i & j & l \\
m & n & p \\
\end{array}
\right|-d\left|
\begin{array}{ccc}
e & f & g \\
i & j & k \\
m & n & o \\
\end{array}
\right|
\end{align}$$

The concept of the matrix determinant appeared in Germany and Japan at almost identical times. Seki wrote about it first in 1683 with his Method of Solving the Dissimulated Problems. Seki developed the pattern for determinants for $2 \times 2$, $3 \times 3$, $4 \times 4$, and $5 \times 5$ matrices and used them to solve equations. In the same year, G. Leibniz wrote about a method for solving a system of equations. This method is well known as Cramers Rule. The determinant of a square matrix $A$ is an unique, real number which is an attribute of the matrix $A$. The determinant of the matrix $A$ is denoted by $det(A)$ or $|A|$.

Let us consider the matrix $A=\left[ \begin{array}{cc} a &b\\ c& d \\ \end{array} \right]$ of the size $2\times2$. The real number $$\left|\begin{array}{cc} a &b\\ c& d \\ \end{array} \right|=ad-cb$$ is the determinant of the matrix $A$. More precisely, to find a $2\times 2$ matrix determinant we need to follow next steps:

- Multiply the element in the first row and first column by the elements in the second row and second column;
- Multiply the element in the first row and second column by the element in the second row and first column;
- $2\times 2$ matrix determinant is the difference between the second product and the first product.

There is another way for computing of a $3\times 3$ determinant well knows as Sarrus' rule or Sarrus' scheme.

- Extend the determinant by rewriting the first two columns of numbers:
- Add the products of the red diagonals and subtract the products of the blue diagonals, i.e. $$det(A)=aei+bfg+cdh-ceg-afh-bdi$$ This rule can be remembered by remembering about diagonals of the extended determinant read diagonals means plus $(aei+bfg+cdh)$ and blue diagonals means minus $(-ceg-afh-bdi)$.

Geometrically, determinant represents the volume of $n$-dimensional parallelepiped spanned by the column or row vectors of the matrix. The vector product and the scalar product are the two ways of multiplying vectors which are applicable in almost all field of sciences. If the vectors are expressed in terms of unit vectors $\vec i, \vec j,$ and $\vec k$ in the $x, y,$ and $z$ directions, then the vector product of two vectors $\vec a=(x_a,y_a,z_a)$ and $\vec b=(x_b,y_b,z_b)$ is $$\left|\begin{array}{ccc} \vec i & \vec j &\vec k \\ x_a& x_b & x_c \\ y_a &y_b & y_c \\ \end{array} \right|$$ Determinant can be used to calculate areas of parallelogram sand triangles on the coordinate plane. For instance, the area of triangle $\Delta ABC$ with $A(x_A,y_A)$, $B(x_B,y_B)$ and $C(x_C,y_C)$ is determined by the formula $$A(\Delta ABC)=\frac12|\left|\begin{array}{ccc} x_A & y_A &1 \\ x_B& y_B & 1 \\ x_C &y_C & 1 \\ \end{array} \right| |$$ Another important application of matrix determinant is in solving systems of linear equations, so called Cramer's Rule. The determinant informs us whether the system has a unique solution. Determinant may also be useful in finding the inverse of a nonsingular matrix, etc.

**Practice Problem 1 : **

Find the vector product of the vectors $\vec a=(1,-3,0)$ and $\vec b=(3,5,7).$

**Practice Problem 2 : **

Given the triangle $\Delta ABC$ with $A(0,0)$, $B(3,4)$ and $C(-2,5)$. Using the determinant find the area of the triangle $\Delta ABC$.

The nxn matrix determinant calculator, formula, example calculation (work with steps), real world problems and practice problems would be very useful for grade school students (K-12 education) to understand the concept of matrix determinant. This concept is conceived in almost all areas of science, so it will be helpful in solving more complex problems.