Showing posts with label inverse matrix. Show all posts
Showing posts with label inverse matrix. Show all posts

Monday, May 6, 2024

20.16 - Miscellaneous Examples

In the previous section, we completed a discussion on determinants. We saw a solved example also. In this section, we will see some miscellaneous examples.

Solved example 20.27
If a, b, c are positive and unequal, show that the value of the determinant $\Delta ~=~\left |\begin{array}{r}                           
a    &{    b    }    &{    c    }    \\
b    &{    c    }    &{    a    }    \\
c    &{    a    }    &{    b    }    \\
\end{array}\right |
$ is negative.
Solution:
1. First we will simplify the given determinant:


◼ Remarks:
• 2 (magenta color): Apply R1 → R1 + R2.
• 3 (magenta color): Apply R1 → R1 + R3.
• 4 (magenta color): Apply C3 → C3 − C1.
• 5 (magenta color): Apply C2 → C2 − C1.
• 6 (magenta color): Expand along R1.

2. Consider the above result. There are three terms:
(i) −(1/2)
(ii) (a+b+c)
(iii) (a−b)2 + (a−c)2 + (b−c)2.

• Given that: a, b, c are +ve and unequal.
• So (ii) and (iii) cannot become -ve.
• Therefore, due to the presence of −(1/2), the result as a whole will become -ve.

Solved example 20.28
If a, b, c are in A.P, find the value of
$\Delta ~=~\left |\begin{array}{r}                           
2y+4    &{    5y+7    }    &{    8y+a    }    \\
3y+5    &{    6y+8    }    &{    9y+b    }    \\
4y+6    &{    7y+9    }    &{    10y+c    }    \\
\end{array}\right |
$.
Solution:


◼ Remarks:
• 2 (magenta color): Apply R3 → R3 − R2.
• 3 (magenta color): Apply R2 → R2 − R1.
• 4 (magenta color): Apply R3 → R3 − R2.
• 5 (magenta color): Since, a, b, c are in A.P, we can put 2b = a+c.
• 6 (magenta color): All elements of R3 are zeroes. So the value of the determinant is zero.

Solved example 20.29
Show that
$\Delta ~=~\left |\begin{array}{r}                         
(y+z)^2    &{    xy    }    &{    zx    }    \\
xy    &{    (x+z)^2    }    &{    yz    }    \\
xz    &{    yz    }    &{    (x+y)^2    }    \\
\end{array}\right | ~=~2xyz (x+y+z)^3
$.
Solution:


◼ Remarks:
• 2 (magenta color):
    ♦ Multiply R1 by x
    ♦ Multiply R2 by y
    ♦ Multiply R3 by z
To balance these multiplications, the whole determinant should be multiplied by (1/xyz)
• 3 (magenta color):
Take out the common factors:
    ♦ x from C1
    ♦ y from C2
    ♦ z from C3
• 4 (magenta color):
Apply two operations:
    ♦ C2 → C2 − C1
    ♦ C3 → C3 − C1
• 5 (magenta color):
    ♦ Apply the identity: a2 − b2 = (a+b)(a-b).
    ♦ This is applied to C2 and C3.
• 6 (magenta color): Take out (x+y+z) from C1 and C2.
• 7 (magenta color):
Apply R1 → R1 − R2
• 8 (magenta color):
Apply R1 → R1 − R3
• 9 (magenta color):
Apply C2 → C2 + (1/y)C1
• 10 (magenta color):
Apply C3 → C3 + (1/z)C1
• 11 (magenta color):
Expand along R1.

Solved example 20.30
Use product
$\left [\begin{array}{r}                         
1    &{    -1    }    &{    2    }    \\
0    &{    2    }    &{    -3    }    \\
3    &{    -2    }    &{   4    }    \\
\end{array}\right ] \left [\begin{array}{r}                         
-2    &{    0    }    &{    1    }    \\
9    &{    2    }    &{    -3    }    \\
6    &{    1    }    &{   -2    }    \\
\end{array}\right ]$
to solve the system of equations
x - y + 2z = 1
2y − 3z = 1
3x − 2y + 4z = 2
Solution:
1. Use matrix multiplication to find the product.
• We get:
$\left [\begin{array}{r}                         
1    &{    -1    }    &{    2    }    \\
0    &{    2    }    &{    -3    }    \\
3    &{    -2    }    &{   4    }    \\
\end{array}\right ] \left [\begin{array}{r}                         
-2    &{    0    }    &{    1    }    \\
9    &{    2    }    &{    -3    }    \\
6    &{    1    }    &{   -2    }    \\
\end{array}\right ]~ = \left [\begin{array}{r}                         
1    &{    0    }    &{   0    }    \\
0    &{    1    }    &{   0    }    \\
0    &{    0    }    &{   1    }    \\
\end{array}\right ]
$

2. The product is an identity matrix. So it is clear that:
Inverse of $\left [\begin{array}{r}                         
1    &{    -1    }    &{    2    }    \\
0    &{    2    }    &{    -3    }    \\
3    &{    -2    }    &{   4    }    \\
\end{array}\right ]$ is $\left [\begin{array}{r}                         
-2    &{    0    }    &{    1    }    \\
9    &{    2    }    &{    -3    }    \\
6    &{    1    }    &{   -2    }    \\
\end{array}\right ]$


3. The given system can be written in the form AX = B.
$A = \left [\begin{array}{r}                         
1    &{    -1    }    &{    2    }    \\
0    &{    2    }    &{    -3    }    \\
3    &{    -2    }    &{   4    }    \\
\end{array}\right ],~X = \left[\begin{array}{r}       
x        \\
y        \\
z        \\
\end{array}\right]~~ \text{and}~~B = \left[\begin{array}{r}                           
1        \\
1        \\
2        \\
\end{array}\right]
$

4. So X = A−1 B.
• Check whether A−1 exists:
We have already obtained the inverse. Therefore, A−1 exists.

5. Use matrix multiplication to find A−1B.
• We get: X = A−1 B =
$\left [\begin{array}{r}                         
-2    &{    0    }    &{    1    }    \\
9    &{    2    }    &{    -3    }    \\
6    &{    1    }    &{   -2    }    \\
\end{array}\right ]~\left[\begin{array}{r}                           
1        \\
1        \\
2        \\
\end{array}\right]~ = \left[\begin{array}{r}                        0        \\
5        \\
3        \\
\end{array}\right]
$

6. So the solution is: x = 0, y = 5 and z = 3

Solved example 20.31
Prove that
$ \Delta ~=~ \left |\begin{array}{r}                         
a+bx    &{    c+dx    }    &{    p+qx    }    \\
ax+b    &{    cx+d    }    &{    px+q    }    \\
u    &{    v    }    &{   w    }    \\
\end{array}\right | ~=~ (1 - x^2) \left |\begin{array}{r}                         
a    &{    c    }    &{    p    }    \\
b    &{    d    }    &{    q    }    \\
u    &{    v    }    &{   w    }    \\
\end{array}\right |$
Solution:
1. First we will split the given matrix by applying property V.

◼ Remarks:
• 2 (magenta color):
We split R1 so that, a, c and p are obtained in the first row. These are the elements that we want in the R1 of the final result.

2. Now we simplify |A|:


◼ Remarks:
• 2 (magenta color): We split R2 of |A|.
• 3 (magenta color): Consider the first determinant in (2). Every element in R2 is proportional to the corresponding elements in R1, by the same ratio 'x'. So this determinant becomes zero.

3. Next we simplify |B|:

◼ Remarks:
• 2 (magenta color): We split R2 of |B|.
• 3 (magenta color): Consider the second determinant in (2). Every element in R1 is proportional to the corresponding elements in R2, by the same ratio 'x'. So this determinant becomes zero.
• 4 (magenta color): We take out the common factor 'x' from R1 and R2.
• 5 (magenta color): We want the elements a, c and p in R1. So we interchange R1 and R2. The sign of the determinant will change when the two rows are interchanged.

4. Finally we add |A| and |B|. We get:



The link below gives a few more examples:

Miscellaneous Examples


In the next section, we will see Continuity and Differentiability.

Previous

Contents

Next

Copyright©2024 Higher secondary mathematics.blogspot.com

Monday, April 29, 2024

20.15 - Solved Examples on Matrix Method

In the previous section, we saw the matrix method for solving systems of linear equations. We saw a solved example also. In this section, we will see a few more solved examples.

Solved example 20.24
Solve the system of equations:
2x + 5y = 1
3x + 2y = 7
Solution:
1. The given system can be written in the form AX = B.
$A = \left[\begin{array}{r}                           
2        &{    5    }    \\
3        &{    2    }    \\
\end{array}\right],~X = \left[\begin{array}{r}       
x        \\
y        \\
\end{array}\right]~~ \text{and}~~B = \left[\begin{array}{r}                           
1        \\
7        \\
\end{array}\right]
$

2. So X = A−1 B.
• Check whether A−1 exists:
   ♦ |A| = (4 − 15) = −11
   ♦ |A| ≠ 0
   ♦ So A is a non-singular matrix. Therefore, A−1 exists.

3. Use the method in Solved example 20.21 to find A−1.
We get: $A^{-1} = \left[\begin{array}{r}                           
-2/11        &{    5/11    }    \\
3/11        &{    -2/11    }    \\
\end{array}\right]$

4. Use matrix multiplication to find A−1B.
• We get: X = A−1 B =
$\left[\begin{array}{r}                           
-2/11        &{    5/11    }    \\
3/11        &{    -2/11    }    \\
\end{array}\right]~\left[\begin{array}{r}                           
1        \\
7        \\
\end{array}\right]~ = \left[\begin{array}{r}                        3        \\
-1        \\
\end{array}\right]
$

5. So the solution is: x = 3 and y = -1

Solved example 20.25
Solve the system of equations:
3x − 2y + 3z = 8
2x + y − z = 1
4x − 3y + 2z = 4
Solution:
1. The given system can be written in the form AX = B.
$A = \left[\begin{array}{r}                           
3        &{    -2    } &{    3    }    \\
2        &{    1    } &{    -1    }    \\
4        &{    -3    } &{   2    }    \\
\end{array}\right],~X = \left[\begin{array}{r}       
x        \\
y        \\
z        \\
\end{array}\right]~~ \text{and}~~B = \left[\begin{array}{r}                           
8        \\
1        \\
4        \\
\end{array}\right]
$

2. So X = A−1 B.
• Check whether A−1 exists:
   ♦ |A| = −17 (by expansion along any row or column)
   ♦ |A| ≠ 0
   ♦ So A is a non-singular matrix. Therefore, A−1 exists.

3. Use the method in Solved example 20.20 to find A−1.
We get: $A^{-1} = - \frac{1}{17} \left[\begin{array}{r}                           
-1        &{    -5    } &{    -1    }    \\
-8        &{    -6    } &{    9    }    \\
-10        &{    1    } &{   7    }    \\
\end{array}\right]$

4. Use matrix multiplication to find A−1B.
• We get: X = A−1 B =
$- \frac{1}{17} \left[\begin{array}{r}                           
-1        &{    -5    } &{    -1    }    \\
-8        &{    -6    } &{    9    }    \\
-10        &{    1    } &{   7    }    \\
\end{array}\right]~\left[\begin{array}{r}                           
8        \\
1        \\
4        \\
\end{array}\right]~ = \left[\begin{array}{r}                        1        \\
2        \\
3        \\
\end{array}\right]
$

5. So the solution is: x = 1, y = 2 and z = 3

Solved example 20.26
Sum of three numbers is 6. If we multiply third number by 3 and add second number to it, we get 11. By adding first and third numbers, we get double of second number. Represent it algebraically and find the numbers by matrix method.
Solution:
1. Let the numbers be x, y and z.
2. Given: Sum is 6.
• So we can write: x + y + z = 6
3. Given: If we multiply third number by 3 and add second number to it, we get 11.
• So we can write: 3z + y = 11.
• This is same as 0x + y + 3z = 11
4. Given: By adding first and third numbers, we get double of second number.
• So we can write: x + z = 2y
• This is same as: x − 2y + z = 0
5. From (2), (3) and (4), we get three equations:
x + y + z = 6
0x + y + 3z = 11
x − 2y + z = 0
6. The given system can be written in the form AX = B.
$A = \left[\begin{array}{r}                           
1        &{    1    } &{    1    }    \\
0        &{    1    } &{    3    }    \\
1        &{    -2    } &{   1    }    \\
\end{array}\right],~X = \left[\begin{array}{r}       
x        \\
y        \\
z        \\
\end{array}\right]~~ \text{and}~~B = \left[\begin{array}{r}                           
6        \\
11        \\
0        \\
\end{array}\right]
$

7. So X = A−1 B.
• Check whether A−1 exists:
   ♦ |A| = 9 (by expansion along any row or column)
   ♦ |A| ≠ 0
   ♦ So A is a non-singular matrix. Therefore, A−1 exists.

8. Use the method in Solved example 20.20 to find A−1.
We get: $A^{-1} =  \frac{1}{9} \left[\begin{array}{r}                           
7        &{    -3    } &{    2    }    \\
3        &{    0    } &{    -3    }    \\
-1        &{    3    } &{   1    }    \\
\end{array}\right]$

9. Use matrix multiplication to find A−1B.
• We get: X = A−1 B =
$ \frac{1}{9} \left[\begin{array}{r}                           
7        &{    -3    } &{    2    }    \\
3        &{    0    } &{    -3    }    \\
-1        &{    3    } &{   1    }    \\
\end{array}\right]~\left[\begin{array}{r}                           
6        \\
11        \\
0        \\
\end{array}\right]~ = \left[\begin{array}{r}                        1        \\
2        \\
3        \\
\end{array}\right]
$

10. So the solution is: x = 1, y = 2 and z = 3


The link below gives a few more solved examples:

Exercise 20.6


In the next section, we will see some miscellaneous examples.

Previous

Contents

Next

Copyright©2024 Higher secondary mathematics.blogspot.com

Sunday, April 28, 2024

20.14 - Applications of Determinants and Matrices

In the previous section, we saw adjoint and inverse of a matrix. In this section, we will see applications of determinants and matrices.

• First we will see consistent and inconsistent systems. It can be explained in 4 steps:

1. Consider a system of linear equations:
x + 2y = 4
2x + 3y = 5
(Recall that, in a linear equation, all variables will have a power of 1. If one or more variables have power greater that 1, it is a non-linear equation)
• Solving this system, we get: x = -2 and y = 3
• (-2, 3) is the only possible solution.
• If we draw the graphs of the given equations, we will get two lines. Those two lines will intersect at one and only one point (-2,3)
• The solution (-2,3) will satisfy both the equations.
2. Consider another system of linear equations:
6x - 2y = 16
3x - y = 8
• If we draw the graphs of these equations, we will see that, both the equations represent the same line.
• Any point which lies on one line will lie on the other line also.
• So any solution which satisfy one equation will satisfy the other equation also.
   ♦ For example, (3,1) satisfies both equations.
   ♦ Another example is (0,8).
• In this way, there will be an infinite number of solutions.
3. Consider yet another system of linear equations:
5x - y = 4
5x - y = -6
• If we draw the graphs of these equations, we will see that, they represent parallel lines.
• Parallel lines never meet. So this system has no solution.
4. We have seen three types of systems.
◼ Types I and II fall in the group: Consistent systems
• We can write:
If the system of equations have one or more than one solutions, it is a consistent system.
◼ Type III falls in the group: Inconsistent systems.
• We can write:
If the system of equations have no solution, it is a inconsistent system.


Determinants and matrices can be used to solve systems of linear equations. It can be explained in 5 steps:
1. Consider the system of equations
a1 x +  b1 y +  c1 z = d1
a2 x +  b2 y +  c2 z = d2
a3 x +  b3 y +  c3 z = d3

2. Let
$A = \left[\begin{array}{r}                           
a_1    &{    b_1    }    &{    c_1    }    \\
a_2    &{    b_2    }    &{    c_2    }    \\
a_3    &{    b_3    }    &{    c_3    }    \\
\end{array}\right],~X = \left[\begin{array}{r}       
x        \\
y        \\
z        \\
\end{array}\right]~~ \text{and}~~B = \left[\begin{array}{r}                           
d_1        \\
d_2        \\
d_3        \\
\end{array}\right]
$

3. Then the system of equations in (1) can be written as:
$\left[\begin{array}{r}                           
a_1    &{    b_1    }    &{    c_1    }    \\
a_2    &{    b_2    }    &{    c_2    }    \\
a_3    &{    b_3    }    &{    c_3    }    \\
\end{array}\right]~\left[\begin{array}{r}                           
x        \\
y        \\
z        \\
\end{array}\right]~ = \left[\begin{array}{r}                        d_1        \\
d_2        \\
d_3        \\
\end{array}\right]
$

• Consider the L.H.S
   ♦ A is  3 × 3 matrix. X is a 3 × 1 matrix.
   ♦ So multiplying A and X will give a 3 × 1 matrix.
• In the R.H.S also, we have a 3 × 1 matrix. So after multiplication, we will be able to equate corresponding terms.
• By equating corresponding terms, we will get the same system as in (1).
• Thus it is clear that, the given system can be written as
AX = B
4. If we can find the matrix X, we will be able to write the values of x, y and z.
• So our next task is to find X. For that, we adopt the following method:


◼ Remarks:
• 2 (magenta color): Here we premultiply the whole equation by A−1 .
• 3 (magenta color): Here we use the fact that, A−1A = I.
• 4 (magenta color): Here we use the fact that, IX = X.


5. We will be able to write the steps in (4), only if A−1 exists. That is., A must be a non-singular matrix.
• If A is singular, we must calculate (adj A) B. Here two cases can arise.
I. (adj A) B ≠ O.
• Then the system is inconsistent.
II. (adj A) B = O.
• Then the system can be consistent or inconsistent.
   ♦ Consistent if there are infinite number of solutions.
   ♦ Inconsistent if there is no solution.


Let us see a solved example:

Solved example 20.23
Solve the system of equations:
x + 2y = 4
2x + 3y = 5
Solution:
1. The given system can be written in the form AX = B.
$A = \left[\begin{array}{r}                           
1        &{    2    }    \\
2        &{    3    }    \\
\end{array}\right],~X = \left[\begin{array}{r}       
x        \\
y        \\
\end{array}\right]~~ \text{and}~~B = \left[\begin{array}{r}                           
4        \\
5        \\
\end{array}\right]
$

2. So X = A−1 B.
• Check whether A−1 exists:
   ♦ |A| = (3 − 4) = −1
   ♦ |A| ≠ 0
   ♦ So A is a non-singular matrix. Therefore, A−1 exists.

3. Use the method in Solved example 20.21 to find A−1.
We get: $A^{-1} = \left[\begin{array}{r}                           
-3        &{    2    }    \\
2        &{    -1    }    \\
\end{array}\right]$

4. Use matrix multiplication to find A−1B.
• We get: X = A−1 B =
$\left[\begin{array}{r}                           
-3        &{    2    }    \\
2        &{    -1    }    \\
\end{array}\right]~\left[\begin{array}{r}                           
4        \\
5        \\
\end{array}\right]~ = \left[\begin{array}{r}                        -2        \\
3        \\
\end{array}\right]
$

5. So the solution is: x = -2 and y = 3


In the next section, we will see a few more solved examples.

Previous

Contents

Next

Copyright©2024 Higher secondary mathematics.blogspot.com

Wednesday, April 24, 2024

20.13 - Solved Examples

In the previous section, we saw adjoint and inverse of a matrix. In this section, we will see some solved examples.

Solved example 20.20
If $A~=~\left [\begin{array}{r}   
1       &{    3    } &{    3    }    \\
1       &{    4    } &{    3    }    \\
1       &{    3    } &{    4    }    \\
\end{array}\right ]$, then verify that A(adj A) = |A| I. Also find A−1.
Solution:
Part (i):
1. First we will find the Minors and Cofactors of A.


2. So the Cofactor matrix of A is: $\left [\begin{array}{r}   
7       &{    -1    } &{    -1    }    \\
-3       &{    1    } &{    0    }    \\
-3       &{    0    } &{    1    }    \\
\end{array}\right ]$

3. Transpose of the Cofactor matrix will give the adjoint matrix. So we get:

adj A = $\left [\begin{array}{r}   
7       &{    -3    } &{    -3    }    \\
-1       &{    1    } &{    0    }    \\
-1       &{    0    } &{    1    }    \\
\end{array}\right ]$

4. Use matrix multiplication to find A(adj A). We get:

$\left [\begin{array}{r}   
1       &{    3    } &{    3    }    \\
1       &{    4    } &{    3    }    \\
1       &{    3    } &{    4    }    \\
\end{array}\right ] \left [\begin{array}{r}   
7       &{    -3    } &{    -3    }    \\
-1       &{    1    } &{    0    }    \\
-1       &{    0    } &{    1    }    \\
\end{array}\right ] ~=~\left [\begin{array}{r}   
1       &{    0    } &{    0    }    \\
0       &{    1    } &{    0    }    \\
0       &{    0    } &{    1    }    \\
\end{array}\right ]$

5. Let us calculate |A|:

|A| = 1(16 − 9) − 3(4 − 3) + 3(3 − 4)
= 7 − 3 − 3 = 1

6. Now we can calculate |A|I:

$(1) \left [\begin{array}{r}   
1       &{    0    } &{    0    }    \\
0       &{    1    } &{    0    }    \\
0       &{    0    } &{    1    }    \\
\end{array}\right ] ~=~\left [\begin{array}{r}   
1       &{    0    } &{    0    }    \\
0       &{    1    } &{    0    }    \\
0       &{    0    } &{    1    }    \\
\end{array}\right ]$

7. From (4) and (6), we see that: A(adj A) = |A| I

Part (ii):
We have already calculated |A| and (adj A) in part (i). So we can calculate A−1 as follows:

$A^{-1} = \frac{1}{|A|}(\text{adj A}) = \frac{1}{1} \left [\begin{array}{r}   
7       &{    -3    } &{    -3    }    \\
-1       &{    1    } &{    0    }    \\
-1       &{    0    } &{    1    }    \\
\end{array}\right ]= \left [\begin{array}{r}   
7       &{    -3    } &{    -3    }    \\
-1       &{    1    } &{    0    }    \\
-1       &{    0    } &{    1    }    \\
\end{array}\right ]$

Solved example 20.21
If $A~=~\left [\begin{array}{r}   
2        &{    3    }    \\
1        &{    -4    }    \\
\end{array}\right ]$ and $B~=~\left [\begin{array}{r}   
1        &{    -2    }    \\
-1        &{    3    }    \\
\end{array}\right ]$, then verify that (AB)−1 = B−1A−1.
Solution:
1. First we will test whether A and B are invertible.
(i) |A| = −8 − 3 = −11
|A| ≠ 0. So A is invertible.
(ii) |B| = 3-2 = 1
|B| ≠ 0. So B is invertible.

2. Next we will find A−1.
• adj A =  $\left [\begin{array}{r}   
-4        &{    -3    }    \\
-1        &{    2    }    \\
\end{array}\right ]$
(Recall the shortcut method explained in fig.20.5 of the previous section)

• So we get:
$A^{-1} = \frac{1}{|A|}(\text{adj A}) = -{\frac{1}{11}} \left [\begin{array}{r}   
-4        &{    -3    }    \\
-1        &{    2    }    \\
\end{array}\right ]$   

3. Next we will find B−1.
• adj B =  $\left [\begin{array}{r}   
3        &{    2    }    \\
1        &{    1    }    \\
\end{array}\right ]$
(Recall the shortcut method explained in fig.20.5 of the previous section)
• So we get:
$B^{-1} = \frac{1}{|B|}(\text{adj B}) = \frac{1}{1} \left [\begin{array}{r}   
3        &{    2    }    \\
1        &{    1    }    \\
\end{array}\right ]= \left [\begin{array}{r}   
3        &{    2    }    \\
1        &{    1    }    \\
\end{array}\right ]$

4. Use matrix multiplication to find B−1A−1. We get:
$B^{-1} A^{-1} = \left [\begin{array}{r}   
3        &{    2    }    \\
1        &{    1    }    \\
\end{array}\right ]~\times~ -{\frac{1}{11}} \left [\begin{array}{r}   
-4        &{    -3    }    \\
-1        &{    2    }    \\
\end{array}\right ] = {\frac{1}{11}} \left [\begin{array}{r}   
14        &{    5    }    \\
5        &{    1    }    \\
\end{array}\right ]$

5. Use matrix multiplication to find AB. We get:
$AB = \left [\begin{array}{r}   
2        &{    3    }    \\
1        &{    -4    }    \\
\end{array}\right ]~\left [\begin{array}{r}   
1        &{    -2    }    \\
-1        &{    3    }    \\
\end{array}\right ] = \left [\begin{array}{r}   
-1        &{    5    }    \\
5        &{    -14    }    \\
\end{array}\right ]$

6. Next we will find |(AB)|.
|(AB)| = 14 − 25 = -11

7. Now we can calculate (AB)−1.
• adj (AB) =  $\left [\begin{array}{r}   
-14        &{    -5    }    \\
-5        &{    -1    }    \\
\end{array}\right ]$
(Recall the shortcut method explained in fig.20.5 of the previous section)

• So we get:
$(AB)^{-1} = \frac{1}{|(AB)|}(\text{adj (AB)}) = \frac{1}{(-11)} \left [\begin{array}{r}   
-14        &{    -5    }    \\
-5        &{    -1    }    \\
\end{array}\right ] = \frac{1}{11} \left [\begin{array}{r}   
14        &{    5    }    \\
5        &{    1    }    \\
\end{array}\right ]$

8. Comparing the results in (4) and (7), we can write:
(AB)−1 = B−1A−1.

Solved example 20.22
Show that the matrix   $A~=~\left [\begin{array}{r}   
2        &{    3    }    \\
1        &{    2    }    \\
\end{array}\right ]$ satisfies the equation A2 − 4A + I = O, where I is 2 × 2 identity matrix and O is 2 × 2 zero matrix. Using this equation, find A−1.
Solution:
Part (i): To prove that, A2 − 4A + I = O
1. Use matrix multiplication to find A2. We get:
$A^2 = AA = \left [\begin{array}{r}   
2        &{    3    }    \\
1        &{    2    }    \\
\end{array}\right ]~\left [\begin{array}{r}   
2        &{    3    }    \\
1        &{    2    }    \\
\end{array}\right ] = \left [\begin{array}{r}   
7        &{    12    }    \\
4        &{    7    }    \\
\end{array}\right ]$

2. Next we will find 4A.
$4A = 4 \left [\begin{array}{r}   
2        &{    3    }    \\
1        &{    2    }    \\
\end{array}\right ]= \left [\begin{array}{r}   
8        &{    12    }    \\
4        &{    8    }    \\
\end{array}\right ]$

3. Substituting the above matrices in the given equation, we get:


• We see that, L.H.S = R.H.S.
• So matrix A satisfies the given equation.

Part (ii): To find A−1.
1. First we need to test whether A is invertible.
• We have: |A| = (4-3) = 1.
• Since |A| ≠ 0, A is invertible.

2. To find A−1, we rearrange the equation that was proved in part (i).


◼ Remarks:
• 3 (magenta color): In this line, we post multiply the whole equation by A−1.
• 4 (magenta color): In this line, we apply the fact that, AA−1 = I.


The link below gives a few more solved examples:

Exercise 20.5


In the next section, we will see the applications of determinants and matrices.

Previous

Contents

Next

Copyright©2024 Higher secondary mathematics.blogspot.com

Tuesday, April 23, 2024

20.12 - Adjoint And Inverse of A Matrix

In the previous section, we saw Minors and Cofactors. In this section, we will see adjoint and inverse of a matrix.

Adjoint of a Matrix

Some basics can be written in 6 steps:
1. Consider a square matrix A = [aij]n.
2. We know how to write the Cofactor Aij of any element aij of the matrix A.
3. So we can write a new matrix which contains the Cofactors.
• For example, if the original matrix is
$A ~=~\left [\begin{array}{r}                           
a_{11}      &{    a_{12}    } &{    a_{13}    }    \\
a_{21}      &{    a_{22}    } &{    a_{23}    }    \\
a_{31}      &{    a_{32}    } &{    a_{33}    }    \\
\end{array}\right ]$,
then the corresponding matrix of Cofactors will be:
$\left [\begin{array}{r}                           
A_{11}      &{    A_{12}    } &{    A_{13}    }    \\
A_{21}      &{    A_{22}    } &{    A_{23}    }    \\
A_{31}      &{    A_{32}    } &{    A_{33}    }    \\
\end{array}\right ]$

4. Now, the transpose of the matrix of Cofactors will be:
$\left [\begin{array}{r}                           
A_{11}      &{    A_{21}    } &{    A_{31}    }    \\
A_{12}      &{    A_{22}    } &{    A_{32}    }    \\
A_{13}      &{    A_{23}    } &{    A_{33}    }    \\
\end{array}\right ]$
• This matrix obtained by transposing, is called adjoint matrix.
5. Adjoint of matrix A is denoted by adj A.
6. For the example matrix A mentioned in (3),
adj A = $\left [\begin{array}{r}                           
A_{11}      &{    A_{21}    } &{    A_{31}    }    \\
A_{12}      &{    A_{22}    } &{    A_{32}    }    \\
A_{13}      &{    A_{23}    } &{    A_{33}    }    \\
\end{array}\right ]$

Solved example 20.19
Find adj A for $A~=~\left [\begin{array}{r}   
2       &{    5    }    \\
-3       &{    7    }    \\
\end{array}\right ]$
Solution:
1. First we will find the Minors and Cofactors:


2. So the matrix of Cofactors is:
$\left [\begin{array}{r}   
7       &{    3    }    \\
-5       &{    2    }    \\
\end{array}\right ]$

3. The transpose of the above matrix, is the required adjoint matrix. So we get:

$\text{adj A}~=~\left [\begin{array}{r}   
7       &{    -5    }    \\
3       &{    2    }    \\
\end{array}\right ]$


For any square matrix of order 2, there is a direct method to find the adjoint. It can be written in 4 steps:
1. Fig.20.5(a) below shows the original matrix A.

To find the adjoint of a square matrix of order 2, interchange the elements alonfg the first diagonal and change signs of the elements in the second diagonal.
Fig.20.5

2. Consider the yellow diagonal, which is drawn from left-top to right-bottom. We need to interchange the elements in this diagonal.   
3. Consider the red diagonal, which is drawn from right-top to left-bottom. We should not interchange the elements in this diagonal. But we must change the signs of those elements.
4. The resulting new matrix is the adj A. It is shown in fig.20.5(b) above.


Now we will see four theorems related to adjoint matrices.

Theorem I
• If A is any given square matrix of order n, then
A(adj A) = (adj A)A = |A|I
    ♦ Where I is the identity matrix of the same order n.

Verification can be written in steps:
1. Let $A ~=~\left [\begin{array}{r}                           
a_{11}      &{    a_{12}    } &{    a_{13}    }    \\
a_{21}      &{    a_{22}    } &{    a_{23}    }    \\
a_{31}      &{    a_{32}    } &{    a_{33}    }    \\
\end{array}\right ]$.
• Then adj A will be: $\left [\begin{array}{r}       
A_{11}      &{    A_{21}    } &{    A_{31}    }    \\
A_{12}      &{    A_{22}    } &{    A_{32}    }    \\
A_{13}      &{    A_{23}    } &{    A_{33}    }    \\
\end{array}\right ]$
2. We know how to write the product A(adj A).
• Let us write the first element (intersection of R1 and C1):
a11 A11 + a12 A12 + a13 A13
• We see that:
    ♦ First term is the product of a11 and it’s Cofactor.
    ♦ Second term is the product of a12 and it’s Cofactor.
    ♦ Third term is the product of a13 and it’s Cofactor.            
    ♦ Also, we are taking the sum of the three terms.
3. So we can write:
The first element in A(adj a) is: The determinant |A|
4. All diagonal elements of A(adj a), will be similar to the form written in (2).
• So all diagonal elements in A(adj a), will become |A|
5. Let us write the second element (intersection of R1 and C2) of A(adj a):
a11 A21 + a12 A22 + a13 A23
• We see that:
    ♦ First term is the product of a11 and a different Cofactor.
    ♦ Second term is the product of a12 and a different Cofactor.
    ♦ Third term is the product of a13 and a different Cofactor.
    ♦ Also, we are taking the sum of the three terms.
6. So we can write:
The second element in A(adj a) is: zero
7. All non-diagonal elements of A(adj a), will be similar to the form written in (5).
• So all non-diagonal elements in A(adj a), will become zero.
8. Thus we get:
$A(\text{adj A})~=~\left[\begin{array}{r}   
|A|    &{    0    }    &{    0    }    \\
0    &{    |A|    }    &{    0    }    \\
0    &{    0    }    &{    |A|    }    \\
\end{array}\right]
~=~|A|\left[\begin{array}{r}                           
1    &{    0    }    &{    0    }    \\
0    &{    1    }    &{    0    }    \\
0    &{    0    }    &{    1    }    \\
\end{array}\right]~=~|A|I$
9. Similarly, we can show that (adj A)A = |A|I
10. Based on (8) and (9), we can write:
A(adj A) = (adj A) A = |A|I

Theorem II
If A and B are non-singular matrices of the same order, then AB and BA are also non-singular matrices of the same order.
(We will see the proof of this theorem in higher classes)
    ♦ A square matrix A is said to be singular if |A| = 0
    ♦ A square matrix A is said to be non-singular if |A| ≠ 0

Theorem III
If A and B are square matrices of the same order, then |AB| = |A| |B|.
(We will see the proof of this theorem in higher classes)


Now we can write about an interesting result. It can be written in 4 steps:

1. Let A be a square matrix of order 3.
2. Let us try to simplify (adj A)A: 

◼ Remarks:
• 1 (magenta color): Here we use theorem I
• 2 (magenta color): In the R.H.S, the unit matrix is multiplied by a constant value. So all non-diagonal elements of the resulting matrix will be zeroes.
• 3 (magenta color): Here we take determinants on both sides.
• 5 (magenta color): Here we apply theorem III in the L.H.S.

3. We see that:
• We started the calculations with a square matrix A of order 3.
• In the final result, the determinant of A has a power of 2.
4. So we can write the general form:
If A is a square matrix of order n, then
|(adj a)| = |A|n-1.
(We will see the actual proof in higher classes)


Theorem IV
A square matrix A is invertible if and only if A is a non-singular matrix.
• Proof can be written in 3 steps:
1. Let A be a invertible matrix of order n. Also, let I be an identity matrix of the same order n.
• Then, from the discussion that we had on matrices in the previous chapter, we can write: AB = BA = I.
    ♦ Where B is a square matrix of order n.
2. Consider the equation AB = I
• Writing determinants of matrices on both sides, we get:
|AB| = |I|
• This is same as |AB| = 1
3. Applying theorem III on the L.H.S, we get: |A| |B| = 1.
• |A| and |B| are numbers. If their product is 1, it means that, none of them can be zero.
• So we get: |A| ≠ 0.
• That means, A is a non-singular matrix.

Converse of Theorem IV
If A is a non-singular square matrix, then it is invertible.
• Proof can be written in 3 steps:
1. Consider theorem I:
A(adj A) = (adj A) A = |A|I
2. |A| is a number. So we can use it to divide the whole equation. We get:
$A \left(\frac{1}{|A|}(\text{adj A}) \right)~=~ \left(\frac{1}{|A|}(\text{adj A}) \right)A~=~I$
3. We can rearrange this equation into a familiar form, if we put 'B' in the place of $\frac{1}{|A|}(\text{adj A})$.
• We get: AB = BA = I
4. The above result implies that, matrix B is the inverse of matrix A.
• So we can write:
A is invertible and the inverse is $\frac{1}{|A|}(\text{adj A})$


In the next section, we will see some solved examples.

Previous

Contents

Next

Copyright©2024 Higher secondary mathematics.blogspot.com

Tuesday, March 19, 2024

19.16 - Miscellaneous Examples

In the previous section, we completed a discussion on inverse matrix. In this section, we will see some miscellaneous examples.

Solved Example 19.19
If A = $\left[\begin{array}{r}               
\cos \theta     &{    \sin \theta    }    \\
-\sin \theta     &{    \cos \theta    }  \\
\end{array}\right]               
$, then prove that An = $\left[\begin{array}{r}               
\cos n \theta     &{    \sin n \theta    }    \\
-\sin n \theta     &{    \cos n \theta    }  \\
\end{array}\right]               
$, where n is any natural number.
Solution:
We will prove this by using the principle of mathematical induction. Details can be seen here.

1. For any natural number, let P(n) denote the given statement. Then we can write:

P(n): If A = $\left[\begin{array}{r}               
\cos \theta     &{    \sin \theta    }    \\
-\sin \theta     &{    \cos \theta    }  \\
\end{array}\right]               
$, then An = $\left[\begin{array}{r}               
\cos n \theta     &{    \sin n \theta    }    \\
-\sin n \theta     &{    \cos n \theta    }  \\
\end{array}\right]               
$

2. Basic step: (n=1)


• We see that, the statement is true when n = 1

3. Inductive step: (n=k) and (n= k+1)

(i) n = k

P(k): If A = $\left[\begin{array}{r}               
\cos \theta     &{    \sin \theta    }    \\
-\sin \theta     &{    \cos \theta    }  \\
\end{array}\right]               
$, then Ak = $\left[\begin{array}{r}               
\cos k \theta     &{    \sin k \theta    }    \\
-\sin k \theta     &{    \cos k \theta    }  \\
\end{array}\right]               
$

• We will assume that, this statement is true. 

(ii) n = k+1
• We need to prove the statement:
P(k+1): If A = $\left[\begin{array}{r}               
\cos \theta     &{    \sin \theta    }    \\
-\sin \theta     &{    \cos \theta    }  \\
\end{array}\right]               
$, then Ak+1 = $\left[\begin{array}{r}               
\cos (k+1) \theta     &{    \sin (k+1) \theta    }    \\
-\sin (k+1) \theta     &{    \cos (k+1) \theta    }  \\
\end{array}\right]               
$

• This can be proved as follows:


◼ Remarks:
In (2 magenta color), we are able to replace Ak. This is because, we assumed that, P(k) is true.


4. Thus P(k+1) is true whenever P(k) is true. Hence by the principle of mathematical induction, P(n) is true for any natural number n.


Solved Example 19.20
If A and B are symmetric matrices of the same order, then show that AB is symmetric if and only if A and B are commute, that is AB = BA
Solution:
1. If AB is to be symmetric, then it should be equal to it’s transpose. That is:
AB = (AB)'.
2. We know that, (AB)' = B'A'.
3. So the result in (1) becomes:
AB is symmetric if and only if AB = B'A'.
4. But given that, A and B are symmetric matrices. So we get:
A' = A and B' = B
5. So the result in (3) becomes:
AB is symmetric if and only if AB = BA.


• We can show the converse also:
AB = BA, if and only if AB is symmetric.
This can be shown in 3 steps:
1. If AB = BA, then we can write: AB = B'A'.
• This is because, A and B are said to be symmetric matrices. So A' = A and B' = B
2. We know that (AB)' = B'A'.
• So the result in (1) becomes:
If AB = BA, then AB = (AB)'.
3. But AB = (AB)' indicates that, AB is symmetric.
• So the result in (2) becomes:
If AB = BA, then AB is symmetric.

Solved Example 19.21
Let $A = \left[\begin{array}{r}               
2     &{    -1    }    \\
3     &{    4    }  \\
\end{array}\right] ,~ B = \left[\begin{array}{r}               
5     &{    2    }    \\
7     &{    4    }  \\
\end{array}\right],~ C = \left[\begin{array}{r}               
2     &{    5    }    \\
3     &{    8    }  \\
\end{array}\right]$.
Find a matrix D such that CD – AB = O
Solution:
1. Finding the order of D:
• Both A and B are 2 × 2 matrices. So AB will be a 2 × 2 matrix.
• AB is being subtracted from CD. So CD will be a 2 × 2 matrix.
• In CD, the matrix C is a 2 × 2 matrix. So we have two points:
    ♦ CD is a 2 × 2 matrix.
    ♦ C is a 2 × 2 matrix.
• Let D be of the order m × n.
• Comparing the orders of C and D to form CD, we see that:
    ♦ m must be 2
    ♦ n must be 2
• So the order of D is 2 × 2

2. Let $D = \left[\begin{array}{r}               
a     &{    b    }    \\
c     &{    d    }  \\
\end{array}\right]$.

3. Given that, CD – AB = O
This can be rearranged as shown below:


◼ Remarks:
Magenta 2: We add AB on both sides.


4. By equality of matrices, we get four equations:
(i) 2a + 5c = 3
(ii) 2b + 5d = 0
(iii) 3a + 8c = 43
(iv) 3b + 8d = 22

5. Now we can solve the equations:
• Solving (i) and (iii), we get: a = -191 and c = 77
• Solving (ii) and (iv), we get: b = -110 and d = 44

6. So the required matrix can be written as:
$D = \left[\begin{array}{r}               
a     &{    b    }    \\
c     &{    d    }  \\
\end{array}\right] ~=~ \left[\begin{array}{r}               
-191     &{    -110    }    \\
77     &{    44    }  \\
\end{array}\right]$.


Alternate method:
Since all matrices involved are square matrices, we can apply inverse.

1. Given that, CD – AB = O
This can be rearranged as shown below:

◼ Remarks:
Magenta 2: We add AB on both sides.
Magenta 4: We pre multiply both sides by C-1.

2. So our next task is to find C-1.

3. Our next task is to find AB:


4. Our final task is to find D:


The link below gives a few more examples:

Miscellaneous Exercise


In the next chapter, we will see Determinants.

Previous

Contents

Next 

Copyright©2024 Higher secondary mathematics.blogspot.com