You are on page 1of 7

MATRICES

Matrix Multiplication
Matrices are used to express relationships A product of two matrices is defined only
between elements in sets. Matrices are used in a when the number of columns in the first matrix
wide variety of models. They are used in models (premultiplier matrix) equals the number of rows
of communication networks and transportation of the second matrix (postmultiplier matrix). The
systems. product of matrices is not defined when the number
of columns in the first matrix and the number of
Definition: columns in the second matrix are not the same.
A matrix is a rectangular array of
numbers. A matrix with m rows and n columns Let A be an mxk matrix and B be a kxn
is called an m x n matrix. A matrix with the matrix. The product of A and B, denoted by AB,
same number of rows and columns is called a is the mxn matrix with its (i,j)th entry equal to
square matrix. Two matrices are equal if they the sum of the products of the corresponding
have the same number of rows and the same elements of the ith row of A and the jth column
number of columns and the corresponding of B. In other words, if AB = [cij] then cij = ai1b1j
elements in every position are equal. + ai2b2j + … + aikbkj.

1 0 4 14 4
2  
1    8 9
2 4
 a1 1 a1 2 ... a1n   1 
a 1 1   
a2 2 ... a2 n  3 1 0  7 13
A   21   3 0   
 ... ... ... ...  0 2 2  8 2 
 
 am 1 am 2 ... amn 
NOTE:
The (i,j)th element or entry of A is the element aij, Matrix multiplication is not commutative.
that is, the number in the ith row and jth column That is, if A and B are two matrices, it is not
of A. A convenient shorthand notation for necessarily true that AB and BA are the same. In
expressing the matrix A is to write A = [aij], fact, it may be that only one of these two
which indicates that A is the matrix with its (i,j)th products is defined.
element equal to aij.

TRANSPOSES AND POWERS OF


MATRIX ARITHMETIC MATRICES

The identity matrix of order n is the nxn matrix


Matrix Addition In = [ij] where ij = 1 if i = j and ij = 0 if ij.
The sum of two matrices of the same size
is obtained by adding elements in the 1 0 ... 0 
corresponding positions. Matrices of different 0
sizes cannot be added since the sum of two 1 ... 0 
matrices is defined only when both matrices have In  
... ... ... ...
the same number of rows abd the same number  
of columns. 0 0 ... 1 
Let A = [aij] and B = [bij] be mxn matrices. Let A = [aij] be an mxn matrix. The transpose of
The sum of A and B, denoted by A+B, is the A, denoted by At, is the nxm matrix obtained by
mxn matrix that has aij + bij as its (i,j)th element. interchanging the rows and columns of A. In
In other words, A+B = [aij + bij]. other words, if At = [bij], then bij = aji for i = 1,2, .
. . , n and j = 1,2, . . . , m

1 4 
1 0  1  3 4  1 4 4  2 1 2 3 
2 2  3   1  3 0   3  1  3 A  At   2 5 
 
       4 5 6 3 6 
3 4 0   1 1 2  2 5 2 

CE Review – AdvMath
2

A square matrix A is called symmetric if A = At. LOWER TRIANGULAR MATRIX


Thus A = [aij] is symmetric if aij = aji for all I
and j with 1  i  n and 1  j  n. Note that a A lower triangular matrix is a square matrix in
matrix is symmetric if and only if it is square and which all entries above the main diagonal are
it is symmetric with respect to its diagonal. zero (only nonzero entries are found below the
main diagonal - in the lower triangle).
Example: 1 1 0
1 0 1 1 0 0
  2

0 1 0
  3 0


1 4 2

ZERO-ONE MATRICES
ELEMENTARY ROW OPERATIONS
A matrix with entries that are either o or 1
is called a zero-one matrix. Algorithms using Row Switching
these structures are based on Boolean arithmetic. Rows can be switched around to put the matrix
This arithmetic is based on the Boolean into a new row arrangement
operations  and , which operates on pairs of
bits.

1 if b1  b2  1
b1  b2  
0 if otherwise

Row Multiplication
1 if b1  1or b2  1 Rows can be multiplied with a constant to
b1  b2   modify the row elements
0 otherwise

DIAGONAL MATRIX

A square matrix in which every element except


the principle diagonal elements is zero, it is called
a Diagonal Matrix. A square matrix D = [dij]n x Row Addition
n will be called a diagonal matrix if dij = 0, Elements of a row can be added to the elements
whenever i is not equal to j. of another row.

1 0 0
0 3 0
 

0 0 2

UPPER TRIANGULAR MATRIX


DETERMINANT
An upper triangular matrix is a square matrix in
which all entries below the main diagonal are In linear algebra, the determinant is a scalar
zero (only nonzero entries are found above the value that can be computed from the elements of
main diagonal - in the upper triangle). a square matrix and encodes certain properties of
the linear transformation described by the matrix.
The determinant of a matrix A is denoted det(A),
1 2 6 det A, or |A|.
0 3 4
 

0 0 2

CE Review – AdvMath
3

Determinants are like matrices, but done up in ADJOINT OF A MATRIX


absolute-value bars instead of square brackets.
The adjoint of a matrix A is the transpose of the
cofactor matrix of A . It is denoted by adj A .
An adjoint matrix is also called an adjugate
matrix.

To find the determinant of a matrix, multiply the INVERSE OF A MATRIX


elements in the diagonal then subtract
For a square matrix A, the inverse is written A-
1. When A is multiplied by A-1 the result is
the identity matrix I. Non-square matrices do not
have inverses.

Note: Not all square matrices have inverses. A


square matrix which has an inverse is
The determinant is useful for solving linear called invertible or nonsingular, and a square
equations, capturing how linear transformation matrix without an inverse is
change area or volume, and changing variables in called noninvertible or singular.
integrals.

The determinant can be viewed as a function For 2x2 matrices, the inverse can be found using
whose input is a square matrix and whose output this formula:
is a number.

MINOR AND COFACTOR

A "minor" is the determinant of the square


matrix formed by deleting one row and one
column from some larger square matrix. Since
there are lots of rows and columns in the original
matrix, you can make lots of minors from it.

These minors are labeled according to the row


and column you deleted.

Example:

So if you were to go, say, to the a2,4 entry from


some matrix A and cross out the row and column Augmented matrix method
that pass through that entry (that is, if you Use Gauss-Jordan elimination to
remove the second row and the fourth column of transform [ A | I ] into [ I | A-1 ].
the matrix), the determinant of the new (and
smaller) matrix is called "the minor M2,4". Example: The following steps result in

Once the minor Mi,j, is found, take the subscript


on the name of the minor (the "i, j" part) and add
the two numbers i and j. Whatever result you get
from this addition, make this value the power
on –1, so you get "+1" or "–1", depending on
whether i + j is even or odd. Then multiply this
on the minor Mi, j.

This gives you the "cofactor" Ai, j. That is:


(–1)i+j Mi, j = Ai, j
CE Review – AdvMath
4

ADJOINT METHOD Example:


Solve the system of linear equations using
matrices
A-1 = (adjoint of A) or 7x – 8y + 5z = 5
-4x + 5y – 3z = -3
A-1 = (cofactor matrix of A)T x–y+z=0

Example:
 7 8 5 
The following steps result in A-1 for A   4 5  3
 1  1 1 

 x 5
X   y  B   3
The cofactor matrix for A is  z   0 

ARITHMETIC SEQUENCES
so the adjoint is
An arithmetic sequence is a sequence of numbers
such that the difference of any two successive
members of the sequence is a constant.

Since det A = 22, we get


Example

2,4,6,8,10….is an arithmetic sequence with the


common difference 2.

If the first term of an arithmetic sequence


is a1 and the common difference is d, then the nth
term of the sequence is given by:

Solutions of Systems 0f Linear Equations by an=a1+(n−1)d


Matrices
An arithmetic series is the sum of an arithmetic
sequence. We find the sum by adding the first,
Given the system: a1 and last term, an, divide by 2 in order to get the
a11x1 + a12x2 + . . . + a1nxn = b1 mean of the two values and then multiply by the
a21x1 + a22x2 + . . . + a2nxn = b2 number of values, n:
. . . .
. . . . Sn=(n/2)(a1+an)
an1x1 + an2x2 + . . . + annxn = bn

GEOMETRIC SEQUENCES
The system can be expressed as AX = B where A
= [aij], X is an nx1 matrix with xi, the entry in its
ith row, and B is an nx1 matrix with bi, the entry A geometric sequence is a sequence of numbers
in its ith row. that follows a pattern were the next term is found
by multiplying by a constant called the common
If the matrix is invertible, the solution of the ratio, r.
system can be found using X = A-1B
an=an−1⋅r
an=a1⋅rn−1

CE Review – AdvMath
5

Example The expansion will have n+1 terms, there is


always a symmetry in the coefficients in front of
Write the first five terms of a geometric sequence the terms.
in which a1=2 and r=3.
Example:
We use the first given formula:
Expand the following binomial expression using
a1=2 the binomial theorem
a2=2⋅3=6
a3=6⋅3=18 The expansion will have five terms, there is
a4=18⋅3=54 always a symmetry in the coefficients in front of
a5=54⋅3=162 the terms. We use the binomial theorem to
expand our binomial:
Just as with arithmetic series it is possible to find
the sum of a geometric series. It is found by using
one of the following formulas:

Sn=(a1−a1⋅rn) / (1−r)
Sn= [a1(1−rn)] / (1−r)
Note that the coefficients in front of our terms are
HARMONIC SEQUENCES 1, 4, 6, 4, 1. One could have found the first three
coefficients and then used this symmetry to find
A harmonic progression, or harmonic sequence the last two. Also note that the powers of x and y
is a progression formed by taking the reciprocals are reversed.
of an arithmetic progression. Equivalently,
a sequence is a harmonic progression when each The coefficients in front of the terms could be
term is the harmonic mean of the neighboring found in an easier way - using Pascal´s triangle.
terms.
The coefficients form a triangle called Pascal´s
The nth term of a HP series is triangle and this is used in order to expand a
binomial expression that has been raised to a
Tn =1/ [a + (n -1) d]. large power.

In order to solve a problem on Harmonic


Progression, one should make the corresponding
AP series and then solve the problem. nth
term of H.P. = 1/(nth term of corresponding
A.P.)

If three terms a, b, c are in HP,


then b =2ac/(a+c).

VARIATIONS
BINOMIAL EXPANSION
In problems relating to two or more variables, it
is seen that the value of a variable changes with
Expanding a binomial expression that has been
the change in the value ( or values ) of the related
raised to some large power could be troublesome;
variable (or variables).
one way to solve it is to use the binomial
theorem:
Suppose a train running at a uniform speed of v
km./h. travels a distance of d km. in t hours.
Obviously, if t remains unchanged then v
increases or decreases according as d increases or
decreases. But if d remains unchanged, then v
decreases or increases according as t increases or
decreases.

CE Review – AdvMath
6

This shows that the change in the value of a Illustrative Examples:


variable may be accompanied differently with the
change in the values of related variables. Such A precious stone worth 15,600 is accidentally
relationship with regards to the change in the dropped and broken into three pieces the
value of a variable when the values of the related weights of which are respectively proportional
variables change, is termed as variation. to 2 : 3 : 5. The value of a stone of this variety
varies as the cube of its weight. Calculate the
Variation can be of different types according the percentage loss thus incurred by the breakage.
pattern of changing or relationships of variables.

Let V be the value of a precious stone of weight


Direct Variation: In a variation if variables W.
change proportionately i.e. either increase or
decrease together then it is called as direct V ∝ W3
variation. If X is in direct variation with Y, it can
be symbolically written as X α Y. V ∝ kW3 ……..... (1) [k = constant of variation]

Inverse or Indirect Variation: In inverse or Since the weights of the three broken pieces are
indirect variation the variables change proportional to 2 : 3: 5, we assume their weights
disproportionately or when one of the variables as 2w, 3w and 5w respectively.
increases, the other one decreases. So behavior of
the variables is just the opposite of direct Hence, the weight of the unbroken piece of stone
variations. That is why it is called as Inverse or = 2w + 3w + 5w = 10w.
indirect variation. If X is in indirect variation
with Y, it can be symbolically written as V = 15,600 when W = l0w.
X α 1Y1Y. 15,600 = k ∙ (10w)3 = 1000kw3
or, kw3 = 15,600/1000 = 15.6.
Joint Variation: If more than two variables are
related directly or one variable changes with the Let, v1, v2 and v3 be the values of the 3 pieces of
change product of two or more variables it is weights 2w, 3w and 5w respectively.
called as joint variation. If X is in joint variation v1 = k(2w)3 = 8kw3;
with Y and Z, it can be symbolically written as v2 = k(3w)3 = 27kw3
X α YZ. and v3 = k(5w) 3 = 125kw3.
Combined Variation: Combined variation is a Therefore the total value of the 3 pieces
combination of direct or joint = (v1 + v2 + v3)
variation, and indirect variation. So in this case = (8kw3 + 27kw3 + 125kw3)
three or more variables exist. If X is in combined = 160kw3
variation with Y and Z, it can be symbolically = 160 × 15.6
written as X α YZYZ or X α ZYZY. = 2,496.
Partial Variation: When two variables are Therefore, the total loss incurred by the breakage
related by a formula or a variable is related by the = (the value of the original stone) - (the total
sum of two or more variables then it is called as value of the 3 pieces) = 15,600 - 2,496 =13,104.
partial variation. X = KY + C (where K and C Hence, the required percentage loss
are constants) is a straight line equation which is (13,104/l5,600) × 100 % = 84 %.
a example of partial variation.

Here are some examples of direct and inverse


The illumination from a source of light varies
variations.
inversely as the square of the distance. A book
Direct Variation: Perimeter of circle C= 2πr is at a distance of 9 cm. from a lamp. Find how
where 2 and π are constants and C increases if r much further the book is to be removed so that
increases, decreases if r decreases. So C is in it receives one-third as much light.
direct variation with r.
Solution:
Inverse Variation: If I need to go a distance of S Let l be the illumination at a distance D from the
with velocity V and time T then T = SVSV. Here source of light.
the distance S is constant. If velocity increases it
will take less time so T decreases. So T is in
indirect variation with V.
CE Review – AdvMath
7

I ∝ 1/D2 or, I = k/D2 (1)


[k = constant of variation]

Let i and be the illuminations at a distance of 9


cm. and x cm. respectively from the source of
light.

I = i when D = 9;
from (1) i = k/92 ……….. (2)

I = i/3 when D = x;
from (1), i /3 = k/x2 .………. (3)

Dividing (2) by (3) we get,


i ÷ i/3 = k/92 ÷ k/x2
i × 3/i = k/92 × x2/k
3 = x2/92
x2 = 92 ∙ 3
x = 9√3 (since x > 0)

Therefore, the book must be removed further


through a distance of (9√3 - 9) cm. = 6.6 cm.

CE Review – AdvMath

You might also like