Matrices and determinants play a fundamental role in linear algebra and have wide applications in various fields such as engineering, physics, economics, and computer science.
A matrix is a rectangular array of numbers, arranged in rows and columns. A matrix with m rows and n columns is called an m × n matrix.
A = [ 1 2 3 ]
[ 4 5 6 ]
[ 7 8 9 ]
If two matrices have the same order, their sum and difference are obtained by adding or subtracting corresponding elements.
If A
is an m × n matrix and B
is an n × p matrix, their product AB
is an m × p matrix.
A determinant is a scalar value associated with a square matrix, which helps determine the invertibility of a matrix.
|A| = ad - bc
|A| = a(ei - fh) - b(di - fg) + c(dh - eg)
The inverse of a matrix A
exists if |A| ≠ 0
and is given by:
A⁻¹ = (1/|A|) * adj(A)