Professional Documents
Culture Documents
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.
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
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
1 0 0
0 3 0
0 0 2
CE Review – AdvMath
3
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.
Example:
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.
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
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.
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
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.
I = i when D = 9;
from (1) i = k/92 ……….. (2)
I = i/3 when D = x;
from (1), i /3 = k/x2 .………. (3)
CE Review – AdvMath