Matrices and Determinants
Matrices and Determinants
Introduction
In many of social and economic models, the relationship between variables is assumed to be linear.
Multiples of linear equations may be generated which are usually difficult to be solved by the
common algebraic approaches. In such situations, matric methods are found useful.
Matrices
A matrix is a set of mn numbers arranged in a tabular form with m rows and n columns. The order
The horizontal lines are known as rows, while the vertical lines are called columns. Each element
is described by its location, thus element aij is the element located on the ith row and jth column.
(ii) Column matrix – A matrix with only one column and may contain any numbers of row.
(iii) Square matrix – A matrix with same number of rows and columns, that is m = n. the
main Diagonal of a square matrix has the elements a11, a22, …, amn
(iv) Diagonal Matrix – We have a Diagonal matrix when all the elements of a square matrix
(vii) Scalar -a matrix of the order (1x1), which contains a single element is known as a
scalar.
Laws
Commutative Law: A + B = B + A
A + (B + C) = (A + B) + C
Matric Multiplication
AB BA
2 3 0 1
A B=
5 7
and
4 6
(2 x0) (2 x6) (2 x 1) (3 x7)
AB
(4 x0) (5 x6) (4 x 1) (5 x7)
0 12 2 21
AB
0 30 4 35
12 19
AB
30 31
Check if
AB = BA
Note that two matrices A and B can only be multiplied if the number of columns of A is equal to
the number of rows of B. If a row vector and (R) a column vector (C) each have n elements, the
Transpose of a matrix
Transpose of a matrix A, generally denoted as AT is derived by interchanging the rows and columns
of A. for example, if
then
a11 a 21
A = a12
T
a 22
a13 a 23
So, if A = (aij)
Then, AT = (aji)
Inverse of a Matrix
In basic algebra
y
= yx-1 = x-1y
x
In the above, division by x is equal to multiplication by the inverse of x, that is, x-1.
AA-1 = A-1A = I
Properties of Inverses
(1) It is not all matrices that have inverses. Those that have no inverses are referred to as
(3) Matrix A must be square in order to have an inverse (This condition is necessary but not
sufficient).
Determinants
The determinant of a matrix is a scalar (number), derived from elements of a matrix by certain
operations. Lit is also the characteristic of the matrix. The determinants are computed for only
square matrix.
a11 a12
AB
a 22
Given then
a 21
= b11 (b22 b23 b23 b32 ) b12 (b21b33 b23 b31 ) b13 (b21b32 b22 b31 )
Each determinant in the same is the determinant of a submatrix of B gotten by deleting row and
column of B. these determinants are known as minors and then + or - signs are according to (-
1)i+jbij
The minor Mij of the element aij in a given determinant is the determinant of order
(n-1 x n-1) obtained by deleting the ith row and jth column for example in the determinant
b22 b23
The minor of the element b11 is M11 = b13
b32 b33
b21 b23
The minor of element b12 is m12 = b13
b31 b33
and so on
The scalar eij = (-1)i+jMij are known as the cofactor of the element bij of the matrix B:
Cramer’s Rule
a2x + b2y = c2
Then,
Ax Ay
x= and y=
A A
-4a + 2b = 9c = 2
3a + 4b + c = 5
a – 3b + 2c = 8
Solution
4 2 9
|A|= 3 4 1
1 3 2
|A| = 63
2 2 9
Aa = 5 4 1
8 3 2
= 441
= -189
4 2 2
|Ac| = 3 4 5
1 3 8
= -252
Therefore,
| Aa | 441
a= 7
| A| 63
| Ab | 189
b= 3
| A| 63
| Ac | 252
c= 74
| A| 63
Y = C + Io + Go (1)
C = a + bY (2)
1 1 Y I Go
In matrix form: = o
b 1 C a
Solving for Ye
I o G o 1
a - 1
Ye =
1 -1
-b 1
I o Go a
=
1 b
1 Io G o
-b a
Solving for Ce =
1 -1
-b 1
a b(I o G o )
=
1- b
POLYNOMIALS
A polynomial is a combination of terms containing number and variables raised to positive (or
If the power is a fraction or negative, the contribution of terms and variables are not polynomials.
The term degree is the sum of powers in a term for example the term degree of 3x2y3 is 5
Also, the polynomial degree for 5x2y4+3x2y2 -8 is 6, that is, maximum (not total) term degree.
Addition and subtraction of Polynomials
Solution
6𝑥 3 + 4𝑥 − 3 − 7𝑥 2 + 5𝑥 − 3
= 6x 3 - 7x 2 9x 6
applicable.
Solution
Example
Divide polynomial
x 3 4 x 2 5 x 14 by x – 2
Solution
x 2 6x 7
x 2 x 4 x 5 x 14
-(x3-2x2)
6x2 - 5x
-(6x2 - 12x)
7x – 14
-(7x – 14)
0
Therefore, ( x 3 4 x 2 5 x 14 ) = (x-2) ( x 3 6 x 7)
Suppose d(x) and P(x) are non-zero polynomials where the degree of P is greater than or equal to
the degree of d. There exist two unique polynomials q(x) and r(x), such that
P(x) = d(x) + r(x), where r(x) = 0 or the degree of r is strictly less than the degree of d.
The polynomial P is called the divider, d is the divisor, q is the quotient, r is the remainder.
If r(x) = 0, then d is called a factor of P
rPrrrrrrrrrerrrrremainremainder is P©
In the above division, P(x) = 𝑥 3 + 4𝑥 2 – 5𝑥 – 14 was divided by 𝑥 − 2 and the remainder was
zero (0).
2 3 4(2) 2 5(2) 14 8 16 10 14 0
Thus, we have checked for the applicability of remainder theorem in our previous example.
PARTIAL FRACTIONS
The process of breaking a fraction down back to its original form is known as partial fraction
Example 1:
7x 4
Decompose
x 2x 8
2
Solution
7x 4 7x 4
=
x 2x 8
2
( x 2)( x 4)
7x 4 A B
=
( x 2)( x 4) x2 x4
7x 4 A B
(x+2)(x-4)
( x 2)( x 4) x 2 x 4
7x – 4 = A(x-4) + B(x+2)
7x – 4 = Ax – 4A + Bx + 2B
we then group terms that have 𝑥 in common and the ones that have no 𝑥 in common.
7x = Ax + Bx = A + B = 7
-4 = -4A + 2B = -4A + 2B = -4
A+B=7
-4A + 2B = -4
A = 3, B = 4
Therefore
7x 4 A B
=
x 2 x 8)
2
x2 x4
Example 2
7 x 2 5x 7
Decompose
( x 2)( x 2 2 x 1)
Solution: First factorise the quadratic equation in the Denominator before going ahead to
7 x 2 5x 7 7 x 2 5x 7
=
( x 2)( x 2 2 x 1) ( x 2)( x 1) 2
(The denominator has one non repeated linear factor and repeated linear factor.
7 x 2 5x 7 A B C
( x 2)( x 2 x 1) x 2 x 1 ( x 1)
2 2
7 x 2 5x 7 A B C
( x 2)( x 1) 2
( x 2)( x 1)
2
x 2 x 1 ( x 1) 2
7 x 2 5 x 7 A( x 1) 2 B( x 2)( x 1) c( x 2)
7 x 2 5 x 7 A( x 2 2 x 1) B( x 2 x 2) c( x 2) c( x 2)
7 x 2 5 x 7 Ax 2 2 Ax A Bx 2 Bx 2 B Cx 2C
7 x 2 Ax 2 Bx 2
5 x 2 Ax Bx Cx
7 A 2 B 2C
A+B=7
2A – B + C = 5
A – 2B – 2C = 7
A = 5, B = 2, C = -3
Therefore
7 x 2 5x 7 5 2 3
( x 2)( x 2 x 1) x 2 x 1 ( x 1) 2
2
Scenario 3: Non repeated irreducible quadratic factors
Example 3:
2 x 2 13 x 17
Decompose into partial fractions
( x 3)( x 2 2 x 4)
In this example, the denominator has one linear factor and one irreducible quadratic equation, the
2 x 2 13 x 17 A Bx C
2
( x 3)( x 2 x 4) x 3 x 2 x 4
2
2 x 2 13 x 17 A Bx C
( x 3)( x 2 2 x 4) 2
( x 3)( x 2 x 4) x 3 x 2 x 4
2
2 x 2 13 x 17 A( x 2 2 x 4) ( Bx C )( x 3)( x 3)
2 x 2 13 x 17 Ax 2 2 x 4 A Bx 2 3Bx ( x 3C )
2 x 2 Ax 2 Bx 2
13 x 2 A 3Bx Cx
-17 = 4A + 3C
A+B=2
-2A + 3B + C = 13
4A + 3C = 17
A = -2, B = 4, C = -3
2 x 2 13 x 17 2 4x 3
2
( x 3)( x 2 x 4) x 3 x 2 x 4
2
Example 4
Case 1:
(We include linear expression in the numerator because the dev. In quadratic. Also, two
Case 2:
(Three fractions are required because the quadratic factors are repeated three terms)
Case 3
(The fractions are required because the quadratic factor is repeated twice)