From: 3blue1brown
The determinant of a linear transformation is a special scaling factor that measures how much the transformation stretches or squishes space [00:00:34]. More specifically, it quantifies the factor by which the area of a given region (in 2D) or the volume (in 3D) increases or decreases [00:00:39].
Determinants in Two Dimensions
In two dimensions, the determinant measures how much a linear transformation changes any area [00:02:28]. This scaling factor can be understood by observing what happens to a 1x1 unit square [00:01:46].
Visualizing Area Scaling
Consider a matrix with columns [3, 0]
and [0, 2]
[00:00:47]. This transformation scales the basis vector i-hat by a factor of 3 and j-hat by a factor of 2 [00:00:51]. A 1x1 unit square, whose bottom sits on i-hat and left side on j-hat, transforms into a 2x3 rectangle [00:00:56]. Since the initial area was 1 and the final area is 6, the area has been scaled by a factor of 6 [00:01:08]. The determinant of this transformation is 6.
In contrast, a shear transformation with matrix columns [1, 0]
and [1, 1]
leaves i-hat in place and moves j-hat to [1, 1]
[00:01:18]. The unit square gets slanted into a parallelogram, but its area remains 1, as its base and height continue to be 1 [00:01:27]. This means the determinant for this shear transformation is 1, indicating areas remain unchanged [00:01:41].
The scaling factor derived from the unit square applies to any region in space [00:01:51]. This is because all grid squares scale by the same amount due to parallel and evenly spaced grid lines, and any shape can be approximated by grid squares [00:01:56].
Determinant of Zero
A determinant of 0 for a 2D transformation signifies that the transformation squishes all of space onto a line or even a single point [00:03:08]. In such cases, the area of any region becomes zero [00:03:14]. Checking if a matrix’s determinant is zero provides a way to determine if its associated transformation reduces dimensionality [00:03:20].
Negative Determinants and Orientation
The full concept of the determinant allows for negative values, which signifies an inversion of space’s orientation [00:03:45]. This can be visualized as “flipping space over” like turning a sheet of paper [00:03:57]. Another way to perceive this is by observing i-hat and j-hat: if j-hat moves from being to the left of i-hat to the right of i-hat after transformation, orientation has been inverted [00:04:15].
When orientation is inverted, the determinant is negative [00:04:32]. The absolute value of the determinant still provides the factor by which areas have been scaled [00:04:37]. For example, a matrix with columns [1, 1]
and [2, -1]
has a determinant of -3, meaning space is flipped over and areas are scaled by a factor of 3 [00:04:43]. The progression of i-hat approaching j-hat, causing the determinant to approach zero and then become negative as i-hat “crosses over,” makes negative values feel natural [00:05:04].
Computing the 2D Determinant
For a 2x2 matrix with entries [a, b; c, d]
, the formula for the determinant is ad - bc
[00:07:37].
- If
b
andc
are both 0,a
indicates i-hat’s stretch in the x-direction, andd
indicates j-hat’s stretch in the y-direction. In this case,ad
represents the area of the transformed rectangle, similar to the[3, 0; 0, 2]
example [00:07:48]. - If only one of
b
orc
is 0, the transformed shape is a parallelogram with basea
and heightd
, so the area is stillad
[00:08:15]. - The
bc
term accounts for how much the parallelogram is stretched or squished in the diagonal direction when bothb
andc
are non-zero [00:08:25].
While computation by hand requires practice, understanding what the determinant represents is more crucial [00:08:43].
Determinants in Three Dimensions
In three dimensions, the determinant tells you how much a linear transformation scales volumes [00:05:36]. This is understood by observing the transformation of a 1x1x1 unit cube, whose edges rest on the basis vectors i-hat, j-hat, and k-hat [00:05:45]. After transformation, this cube becomes a “parallelepiped” [00:06:04]. Since the initial volume is 1, the determinant is simply the volume of this resulting parallelepiped [00:06:18].
Determinant of Zero in 3D
A determinant of 0 in 3D implies that all of space is squished onto something with zero volume, such as a flat plane, a line, or a single point [00:06:32]. This condition also indicates that the columns of the matrix are linearly dependent [00:06:43].
Negative Determinants in 3D
For three dimensions, orientation is described using the right-hand rule [00:06:56]. If, after the transformation, the right-hand rule (forefinger for i-hat, middle finger for j-hat, thumb for k-hat) can still be applied, the orientation has not changed, and the determinant is positive [00:07:03]. If only the left hand can be used to align with the transformed basis vectors, the orientation has been flipped, and the determinant is negative [00:07:21].
Computing the 3D Determinant
There is a formula for computing 3D determinants, but the emphasis remains on understanding its conceptual meaning over manual computation [00:08:56].
Properties of Determinants
A notable property of determinants is that if two matrices are multiplied together, the determinant of the resulting matrix is equal to the product of the determinants of the original two matrices [00:09:20]. This is a key determinant property related to matrix multiplication.
Determinants are fundamental to understanding linear transformations and will be related to linear systems of equations in future discussions [00:09:42].