0:00:05.990,0:00:09.473 Every square matrix has[br]associated with it a special 0:00:09.473,0:00:11.021 quantity called its determinant. 0:00:11.640,0:00:16.092 And determinants turn out to be[br]very useful when it comes to 0:00:16.092,0:00:19.431 doing more advanced things with[br]matrices like finding inverse 0:00:19.431,0:00:22.028 matrices and solving[br]simultaneous equations and later 0:00:22.028,0:00:26.109 videos will cover these topics[br]were going in this video. Just 0:00:26.109,0:00:30.561 look at finding the determinant[br]of a two by two square matrix. 0:00:30.561,0:00:32.787 So let's look at an example. 0:00:35.990,0:00:37.658 Suppose we have a matrix A. 0:00:38.390,0:00:42.782 Which is got entries[br]in it elements in it 0:00:42.782,0:00:44.734 435 and minus one. 0:00:46.240,0:00:49.540 So this is a two by two matrix.[br]It's a square matrix. 0:00:50.240,0:00:54.255 Now the determinant is a single[br]value. It's a value that's 0:00:54.255,0:00:57.905 generated by combining the[br]numbers within the matrix in a 0:00:57.905,0:01:01.555 special way for two by two[br]matrices. The way isn't 0:01:01.555,0:01:04.475 particularly hard, but equally[br]it's not particularly obvious 0:01:04.475,0:01:09.585 that you would do it this way,[br]so we need to just see an 0:01:09.585,0:01:14.330 example, so we want to find the[br]determinant of A and we normally 0:01:14.330,0:01:18.710 denote that by the letters Det[br]being the first 3 letters of 0:01:18.710,0:01:20.170 determinant. So we right. 0:01:20.260,0:01:21.808 Debt of a. 0:01:23.870,0:01:26.942 A moment working out[br]determinants instead of using 0:01:26.942,0:01:30.398 round brackets around the[br]matrix, we use vertical lines. 0:01:32.000,0:01:35.636 But the numbers within the[br]vertical lines are exactly 0:01:35.636,0:01:36.444 the same. 0:01:38.090,0:01:40.666 And now we have to combine[br]those numbers. 0:01:41.710,0:01:45.644 The first thing we do is we look[br]at the numbers on the leading 0:01:45.644,0:01:49.297 diagonal. That's the four and[br]the minus one. And what we do is 0:01:49.297,0:01:50.702 we find their product, we 0:01:50.702,0:01:55.850 multiply them together. So 4 *[br]-- 1 Now having dealt with the 0:01:55.850,0:01:59.755 numbers on the leading diagonal,[br]we've got 2 numbers left. The 0:01:59.755,0:02:03.305 numbers that aren't on the[br]leading diagonal, and so we 0:02:03.305,0:02:06.855 multiply those two numbers[br]together. So that's 3 * 5. 0:02:08.110,0:02:11.080 So we've got the product of the[br]numbers on the leading 0:02:11.080,0:02:13.780 diagonal, and we've got the[br]product. The numbers that are 0:02:13.780,0:02:16.750 not on the diagonal, and then[br]we just take this second 0:02:16.750,0:02:18.370 product away from the first[br]product. 0:02:19.860,0:02:27.403 And then we work it out 4 * -- 1[br]is minus four. 3 * 5 is 15, so 0:02:27.403,0:02:31.770 we take away 15 -- 4 takeaway.[br]15 is minus 19. 0:02:34.290,0:02:38.216 And so that's how we do every[br]single determinant for a two by 0:02:38.216,0:02:41.840 two matrix. We simply find the[br]product of the numbers on the 0:02:41.840,0:02:45.162 leading diagonal and take away[br]from that the product of the 0:02:45.162,0:02:46.974 other two numbers. So let's do 0:02:46.974,0:02:52.448 another example. Here's another[br]two by two matrix B with 0:02:52.448,0:02:53.951 elements 6, two. 0:02:55.330,0:02:57.178 Three and five. 0:02:58.390,0:03:00.868 And to workout the[br]determinant of B. 0:03:03.280,0:03:06.657 We find the product of the[br]numbers on the leading diagonal 0:03:06.657,0:03:10.955 is 6 and five. Then we take away[br]the product of the two numbers. 0:03:10.955,0:03:12.797 Those two numbers are two and 0:03:12.797,0:03:16.574 three. So we're taking[br]away 2 * 3. 0:03:17.800,0:03:24.469 So 6 * 5 is 32 *[br]3 is 630 takeaway 6, and 0:03:24.469,0:03:26.008 we're getting 24. 0:03:27.680,0:03:31.640 The one more example here. So we[br]got the matrix D. 0:03:32.410,0:03:36.080 Which has got entries 64. 0:03:36.640,0:03:43.130 Three and two. Now when we[br]workout, the determinant of D. 0:03:44.610,0:03:49.186 New the product, the numbers on[br]the leading diagonal is 6 * 2. 0:03:49.900,0:03:56.380 Then we take away the product of[br]the two numbers, which is 3 * 4. 0:03:56.380,0:04:03.724 So 6 * 2 is 12. Taking away 3[br]* 4, she's also 12, and so we 0:04:03.724,0:04:05.452 get the answer 0. 0:04:06.750,0:04:10.110 So we see that every time we[br]workout the determinant, what we 0:04:10.110,0:04:11.510 get is a single number. 0:04:12.210,0:04:18.306 Determinant of a is minus 19 the[br]determinant of B is 24 0:04:18.306,0:04:20.846 determinant of D is 0. 0:04:21.900,0:04:26.796 Now when a matrix has a zero[br]determinant, it has a especially 0:04:26.796,0:04:31.692 given name to that property. We[br]say that the matrix is singular. 0:04:39.020,0:04:43.376 So any matrix which is singular[br]is a square matrix whose 0:04:43.376,0:04:44.564 determinant is 0. 0:04:45.750,0:04:49.886 These other matrices, where[br]the determinant wasn't zero 0:04:49.886,0:04:51.437 are called nonsingular. 0:04:57.520,0:05:01.480 So it doesn't matter what the[br]determinant is, just so long as 0:05:01.480,0:05:03.460 it isn't zero. That makes the 0:05:03.460,0:05:08.000 matrix nonsingular. Finally,[br]we'll just look at a general two 0:05:08.000,0:05:13.670 by two matrix. So here we have a[br]matrix A and the entries the 0:05:13.670,0:05:15.695 elements in this matrix RABC&D. 0:05:16.330,0:05:19.066 If you want to workout[br]the determinant of a. 0:05:22.670,0:05:27.134 We just follow the process we've[br]already seen. We take the values 0:05:27.134,0:05:30.482 that are on the leading[br]diagonal. We multiply them 0:05:30.482,0:05:35.318 together to get a D. We take the[br]other two values and multiply 0:05:35.318,0:05:39.782 them together. It should be in C[br]and we subtract this second 0:05:39.782,0:05:43.874 product away from the first[br]product, and so this is the 0:05:43.874,0:05:47.966 general formula for any two by[br]two matrix. The elements are 0:05:47.966,0:05:52.430 ABCD. The determinant is worked[br]out to be a * D minus. 0:05:52.700,0:05:53.558 B * C. 0:05:56.670,0:06:00.323 So that's all there is to know[br]about 2, but the determinants of 0:06:00.323,0:06:01.447 two by two matrices.