There are a few words you should know the meaning of::::::
Definitionsssssssss
Click on the blue words
1 of 4
Page 3 of 12
suffix
suffix
In order to distinguish matrix elements from each other, SUFFIX NOTATION is used to refer to a particular element.
For example, in the matrix A , the element common to the 2nd row and 4th column is referred to as a24.
So in this example a24 = -6...atrix are referred to by lower-case letters.
2 7 8 1
-1 1 -1 3
7 4 -1 2
3 -2 4 -6
-1 1 -1 3
2 7 8 1
-1 1 -1 3
leaddiag
2 7 8 1
-1 1 -1 3
7 4 -1
3 -2 4
-1 1 -1
2 7 8 1
-1 1 -1 3
M = 4 -1
3 -2 4
-1 1 -1
2 7 8 1
-1 1 -1 3
leaddiag
In an n x n square matrix M, the elements m11 , m22 , m33 , ..... , mnn are referred to as the LEADING DIAGONAL of M.
In this example, the leading diagonal (7, -2, -1) is coloured green.erred to as the LEADING DIAGONAL of M............
2 7 8 1
-1 1 -1 3
7 4 -1 2
3 -2 4 -6
-1 1 -1 3
2 7 8 1
-1 1 -1 3
element
Each number in the matrix is referred to as an ELEMENT.
In this example there are 12 elements:
order
A matrix with m rows and n columns is referred to as an m x n matrix: such a matrix is said to be of ORDER m x n.
In this example the matrix is of order
3 x 4:
REMEMBER: order is ROWS x COLUMNS....
square
If a matrix has n rows and m columns and m = n, the matrix is called a SQUARE matrix.
In this example the matrix is a 3 x 3 square matrix:::::
scalar
If a matrix has just one row and just one column, then it only has a single element. The matrix is then called a SCALAR.
A scalar is usually written without the brackets, eg.
7. 7.
2 7 8 1
-1 1 -1 3
7 4 -1
3 -2 4
-1 1 -1
2 7 8 1
-1 1 -1 3
starttext
Click onto each word
to see its definition.
.&+ +E
mouseenter
.&+ +E
mouseleave
element
prevbutton
t%showex
buttonup
4prevbutton
showex
ELEMENTS
order
prevbutton
t%showex
buttonup
4prevbutton
showex
ORDER
square
prevbutton
t%showex
buttonup
4prevbutton
showex
SQUARE MATRIX
scalar
prevbutton
t%showex
buttonup
4prevbutton
showex
SCALAR
suffix
prevbutton
t%showex
buttonup
4prevbutton
showex
SUFFIX NOTATION
leaddiag
prevbutton
t%showex
buttonup
4prevbutton
showex
LEADING DIAGONAL
wwwwwwww
wwwwwwww
wwwwwwww
wwwwwwww
wwwwwwww
wwwwwwww
wwwwwwww
wwwwwwww
wwwwwwww
wwwwwwww
wwwwwwww
wwwwwwww
wwwwwwww
wwwwwwww
wwwwwwww
wwwwwwww
wwwwwwww
wwwwwwww
wwwwwwww
wwwwwwww
wwwwwwww
wwwwwwww
""""""""""""
""""""""""""
""""""""""""
""""""""""""
wwwp
""""""""""""
wwwp
""""""""""""
wwwp
""""""""""""
""""""""""""
""""""""""""
""""""""""""
identity
leavepage
identity
Two matrices that deserve a special mention are:
(1)
the 3x3 identity matrix. The identity matrix (of any order) is denoted by I .
ts are 0. Thus
is the 3x3 identity matrix. The identity matrix (of any order) is denoted by I .
er) is denoted by I .
is the 3x3 identity matrix. The identity matrix (of any order) is denoted by I .
ny order) is denoted by I .
x. The identity matrix (of any order) is denoted by I .
is the 3x3 identity matrix. The identity matrix (of any order) is denoted by I .
0 0 ]
[ 0 1 0 ]
[ 0 0 1 ]
is the 3x3 identity matrix. The identity matrix (of any order) is denoted by I .
matrix. The identity matrix (of any order) is denoted by I .
ultiplying another matrix by I gives that matrix.
Definitions
Click on the red matrices
2 of 4
Page 4 of 12{
The IDENTITY matrix.
Click the matrix for more information.
identity
buttonup
identity
The ZERO matrix.
Click the matrix for more information.
buttonup
.&+ +E
mouseenter
.&+ +E
mouseleave
identity
buttonup
identity
1 0 0
0 1 0
0 0 1
2 7 8 1
-1 1 -1 3
2 7 8 1
-1 1 -1 3
.&+ +E
mouseenter
.&+ +E
mouseleave
buttonup
0 0
0 0
0 00000
2 7 8 1
-1 1 -1 3
2 7 8 1
-1 1 -1 3
The ZERO, or NULL, matrix of order mxn, is an m by n matrix ALL of whose entries are ZERO.
Multiplying a matrix by a zero matrix gives a zero matrix (compare this with the number zero).
identity
The IDENTITY matrix is a square matrix in which elements on the leading diagonal are all ONE and ALL other elements are ZERO.
Multiplying a matrix by an identity matrix gives the matrix you started with (compare this with the number one).
.&+ +E
.&+ +E
9clearup
.animate
buttonup
,%H.%
,%H.%
flashf
movef
a4brackets
animateold
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
sbmflashfff
a4c2r
movef3
a4c1r
a4brackets
a4c3r
animate
9clearup
.animate
buttonup
,%H.%
,%H.%
flashf
s2text
s4brackets
movef
animateold
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
s3c1r
sbmflashfff
s3c3r
s2text
movef3
flashf
s4brackets
s3c2r
animate
=10,-1,-1,
Summary
applications
matex2
column
leavepage
column
In an mxn matrix, if m = 1 or n = 1 (but not both) then the matrix is commonly referred to as a VECTOR, eg.
(1)
(2) ( 6 4 -1 )
( 2 0 -1 -6 )
You can find out more about this in the Vectors module...
buttonup
buttonup
Definitions
3 of 4
Page 5 of 12I
.&+ +E
mouseenter
.&+ +E
mouseleave
column
buttonup
column
2 7 8 1
-1 1 -1 3
-2 000000000000000
2 7 8 1
-1 1 -1 3
.&+ +E
mouseenter
.&+ +E
mouseleave
column
buttonup
column
2 7 8 1
-1 1 -1 3
-222222 000000000000000
2 7 8 1
-1 1 -1 3
If a matrix has only one row (m = 1), we refer to it as a ROW VECTOR.
So these are examples of 1x3 and 1x4 row vectors.s. vectors.
column
If a matrix has only one column (n = 1), we refer to it as a COLUMN VECTOR.
So these are examples of 3x1 and 2x1 column vectors.
Click on the red vectors
Definitions
Introduction
matex3
Summary
You should now understand the following about matrices and their properties:
Definitions of terminology such as elements, order, square matrix,
leading diagonal and so on;
Symmetry and how to transpose a matrix;
Equality of matrices;
How and when one can add and subtract matrices;
How and when one can multiply matrices.....
Summary
1 of 1
Page 12 of 12
matex1
matrix algebra
scalar
leavepage
scalar
#69699
Equality of matrices
Two mxn matrices A and B can be equal only if all of their elements are equal.
Multiplication by a scalar
If k is a scalar and A is a matrix then the PRODUCT, kA, is given by multiplying each element of A by k.
scalar
buttonup
scalar
Matrix Algebra
Click on the buttons
1 of 5
Page 7 of 12S
showme
oldbounds
showme
reset1
scalartext
buttonup
4oldbounds
"test"
B"showme"
H-165
H-100
B"reset1"
"scalartext"
Show me an example of SCALAR MULTIPLICATION
scalartext
4 0
4 0
10 5 4 0
2 1
3 55
0
4 0
10 5 4 0
3*2 3*1
3*3 3*55
4 0
4 0
10 5 4 0
6 3
9 15x5555
This principle of SCALAR MULTIPLICATION
holds for matrices of ANY order.....
&Button
reset1
oldbounds
showme
scalartext
buttonup
4oldbounds
"scalartext"
B"showme"
"test"
Remove
equality
showme2
equalitytext
oldbounds2
showme2
reset2
equality
buttonup
4oldbounds2
"equality"
B"showme2"
H-165
H-110
B"reset2"
"equalitytext"
Show me an example of MATRIX EQUALITY
equalitytext
, B =
and A = B
equalitytext
then we must have
a = -6.22 = 4 = 2 b21 = 3 b22 = 4
4 0
4 0
10 5 4 0
a 12
3 444444
4 0
4 0
10 5 4 0
-6 12
3 422
reset2
equalitytext
oldbounds2
showme2
equality
buttonup
4oldbounds2
"equalitytext"
B"showme2"
Remove
scalar
buttonup
A scalar is a single number (i.e. a matrix that has only one column and one row), e.g. 5 or 12.4.
Click to removeeeeeeeee
If two matrices A and B can be multiplied to get C (= AB), then the elements of C are formed by multiplying the ROWS of A by the COLUMNS of B.
fact, the elements Cij are formed by multiplying the i'th row of A by the j'th column of B.
on of how the element
c is formed from the above two matrices A and B.
From the above formula, we must take the "product" of row 2 of A and
column 1 of B. * ]
C = [ * * ]
[ * * ]
What are C's elements? As stated above, we mutiply the ROWS of A with the
COLUMNS of B and add the results. Specifically,
c = sum of products (ROW i of A) and (COLUMN j of B)
ij of elements of
As an example, we'll now show you an animation of how the element
c is formed from the above two matrices A and B.
From the above formula, we must take the "product" of row 2 of A and
column 1 of B. [ 7 0 ]
A = [ 8 0 5 3 ] B = [ 1 8 ] .
[ 1 2 1 2 ] [ 2 2 ]
[ 4 0 ]
We know, from the multiplication rule, that A and B can indeed be multiplied,
and that their product -- we'll call it C -- must be a 3x2 matrix. So C looks like
[ * * ]
C = [ * * ]
[ * * ]
What are C's elements? As stated above, we mutiply the ROWS of A with the
COLUMNS of B and add the results. Specifically,
c = sum of products (ROW i of A) and (COLUMN j of B)
ij of elements of
As an example, we'll now show you an animation of how the element
c is formed from the above two matrices A and B.
From the above formula, we must take the "product" of row 2 of A and
column 1 of B. trix. So C looks like
[ * * ]
C = [ * * ]
[ * * ]
What are C's elements? As stated above, we mutiply the ROWS of A with the
COLUMNS of B and add the results. Specifically,
c = sum of products (ROW i of A) and (COLUMN j of B)
ij of elements of
As an example, we'll now show you an animation of how the element
c is formed from the above two matrices A and B.
From the above formula, we must take the "product" of row 2 of A and
column 1 of B.
Matrix Algebra
Click on the buttons
4 of 5
Page 10 of 12
matmult
theory
removesingle
removematmul
buttonup
B"removematmul"
B"removesingle"
"theory"
Theory
single
removematmul
removetheory
buttonup
B"removematmul"
B"removetheory"
"single"
Single element
removesingle
removetheory
example
buttonup
B"removesingle"
B"removetheory"
"example"
Animated example
Click on the buttons opposite for information on matrix multiplication......
theory
theory
In fact, a single element cij, of the product of the matrices A and B, is formed by multiplying the ith row of A by the jth column of B.
This multiplication of a row by a column is carried out by multiplying each element of the row by the corresponding element of the column, then all these products are added together. This process is known as the vector scalar product.tion.st element of the column and to this is added the product of the second elements of the row and column etc..
scalarproduct
buttonup
"scalarproduct"
removetheory
theory
scalarproduct
buttonup
"scalarproduct"
"theory"
Remove
single
If the matrices A (order nxm) and B (order mxp) are multiplied to form C (order nxp) then the element c is formed by multiplying row 1 of A by column 2 of B, i.e
c = ( a a a ..... a )
= a b + a b + .... + a b
removesingle
single
buttonup
"single"
Remove
example
Consider the matrix product
AxB = x =
lick onto the small buttons to
see individual elements formed,
or the animate button for the
of other orders.
s for matrices of other orders.
N*f)K*
2 7 8 1
-1 1 -1 3
2 7 8 1
-1 1 -1 3
$.<-!.
2 7 8 1
-1 1 -1 3
5+3 7+6
4+1 1+0
-2+6 3+233
2 7 8 1
-1 1 -1 3
animate
animation
interrupt
Hold down to interrupt
sumelement
animate
viewer.tbk
animation
buttonup
"animation"
.tbk"
sumelement 1,1,3
Banimate
sumelement
animate
viewer.tbk
animation
buttonup
"animation"
.tbk"
sumelement 1,2,3
Banimate
sumelement
animate
viewer.tbk
animation
buttonup
"animation"
.tbk"
sumelement 2,2,3
Banimate
sumelement
animate
viewer.tbk
animation
buttonup
"animation"
.tbk"
sumelement 2,1,3
Banimate
removematmul
matmultflag
animate
interrupt
viewer.tbk
animation
example
buttonup
4matmultflag
"example"
B"animate"
"animation"
B"c11"
B"c21"
B"c12"
B"c22"
B"interrupt"
enabled
isopen
.tbk"
close
Remove
Click onto the small buttons to see individual elements formed, or the animation button for the complete matrix.
4 1 0
4 1 0
2 7 8 1
-1 1 -1 3
2 2222222222233
2 7 8 1
-1 1 -1 3
3 2 5
4 1 0
2 7 8 1
-1 1 -1 3
1 22222222233
2 7 8 1
-1 1 -1 3
times
scalarproduct
The row and column are vectors, each with the same number of elements. The scalar product of two vectors is only defined when both vectors have the same number of elements. It is this fact that gives rise to the matrix multiplicative condition (no. columns of A = no. rows of B).
See the Vector Module for a detailed explanation of scalar product. t.
scalarproduct
buttonup
"scalarproduct"
Remove
matex1
5~687
8f9 :
D~E8F
NdOB[f`
nno(p
zv{&|
}@~&g
There are two further properties of matrices which you should know about.
Click onto the exercise book to test your understanding of these properties...
Definitions
4 of 4
Page 6 of 12A
answer(2)
answer(1)
TRANSPOSE AND SYMMETRY
Exercise 111e 1D SYMMETRY
Exercise 1
buttonup
transpose
viewer.tbk
animation
buttonup
"animation"
.tbk"
"transpose"
The transpose of a matrix
buttonup
z!B N
symmetry
viewer.tbk
animation
buttonup
symmetry
"animation"
.tbk"
Symmetric matrices
symmetry
Matrix A is symmetric if and only if A = AT. Hence note that only square matrices can be symmetric.
Click on the numbered buttons to see some examples....d buttons to see some examples.
squit
9clearup
symmetry
viewer.tbk
animation
buttonup
clearup 3
symmetry
isopen
"animation"
.tbk"
close
Remove
transpose
Let A be an m by n matrix. The transpose of A, denoted by AT, is the matrix which is formed by interchanging the rows and columns of A.
Click on the numbered buttons to see some examples.
transpose
9clearup
viewer.tbk
animation
buttonup
clearup 1
transpose
isopen
"animation"
.tbk"
close
Remove
a2brackets
2 3 -1
6 -4 3
-7 2 2
AT =
a4brackets
P0(0M0
2 -1
-6 3
-7 2
B =
X101U1
BT =
2 6 -7
6 -4 2
-7 2 2
s2brackets
AT =
2 6 -7
3 -4 2
-1 2 2
s4brackets
T6,6Q6
BT =
a2c1r1
2 6 -777 2
2 2
a2c1r2
3 -4 222 2
2 2
a2c1r3
-1 3 2222 2
2 2
a2c2r1
6 -7 6 -777 2
2 2
a2c3r1
-7 6 -777 2
2 2
a2c2r2
-4 24 222 2
2 2
a2c3r2
v;.;s;
2 3 -4 222 2
2 2
a2c2r3
3 2 3 2222 2
2 2
a2c3r3
2-1 3 2222 2
2 2
a4c1r1
2 -6 -777 2
2 2
a4c1r2
-1 3 222 2
2 2
a4c2r1
-6 -7-6 -777 2
2 2
a4c3r1
-7 -6 -777 2
2 2
a4c2r2
n@&@k@
3 -1 3 222 2
2 2
a4c3r2
2 -1 3 222 2
2 2
2 6 -777 2
2 2
6 -4 222 2
2 2
-7 2 2222 2
2 2
s4c3r1
-12 3 -17 2
2 2
s4c1r2
6 -4 22 2
2 2
s4c1r3
-7 2 222 2
2 2
s2c1r1
-7 2 2
2 2
s2c2r3
2 2 2
2 2
s2c3r3
2 2 2
2 2
s2c1r2
-7 2 2
2 2
s2c1r3
-7 2 2
2 2
s2c2r1
s2c2r2
s2c3r1
XJ0JUJ
s2c3r2
2 2 2
2 2
s4c3r3
2-1 2 2222 2
2 2
s4c2r3
hL LeL
2 2 2
2 2
s4c2r2
2 2 2
2 2
s4c3r2
2-1 2 2222 2
2 2
s4c1r1
2 6 -717 2
2 2
s4c2r1
3 -4 222 2
2 2
exback
exback
A =
C = A + B
enter
Enter
QuitEx
Remove
smile1
buttonup
smile4
buttonup
smile3
buttonup
smile2
buttonup
frown1
frown4
frown3
frown2
Exercise 111111
Symmetry and Transposeeeeeeeeeeeen
question
Question 181111
order2
klogorder
buttonup
logorder
nonsymm
klogorder
buttonup
logorder
Is A symmetric ? Click the appropriate buttonnr
score
Score: 0 out of 099
matrix
right
matorig
tabtext
Use the Tab key (or mouse) to move from element to element. Enter the appropriate value for each element. Once all the elements have been entered click the Enter key...
tabexplan
buttonup
"tabexplan"
l_$_i_
What is the transpose of A, i.e AT ?
AT =???????????????????????????????
ansback
ansback
The transpose is formed by swapping the rows
and columns of the matrix . Since
A = then AT =
QuitEx
ansback
[&tidyup
matrix
genquestion
buttonup
tidyup
B"QuitEx"
"matrix"
genquestion
"ex1"
"ansback"
Next Question
tabexplan
buttonup
The Tab key is usually found to the left of the character Q on the keyboard. The key may be indicated by the symbols
click to remove
a3c1r1
-77 2 2
2 2
a3c1r2
|h4hyh
-77 2 2
2 2
a3c1r3
-77 2 2
2 2
a3c2r1
a3c2r2
vj.jsj
2 2 2
2 2
a3c2r3
2 2 2
2 2
s1c1r1
-7 2 2
2 2
s1c2r1
s1c3r1
s1c1r2
~m6m{m
-7 2 2
2 2
s1c2r2
s1c3r2
2 2 2
2 2
s1c1r3
-7 2 2
2 2
s1c2r3
2 2 2
2 2
s1c3r3
2 2 2
2 2
s1text
A = AT, therefore A is symmetric.
matrices can be symmetric.
Click on the numbered buttons to see some examples..........................................d buttons to see some examples.
a1c1r1
-7 2 2
2 2
a1c2r1
ts,sqs
2 2 2
2 2
a1c3r1
2 2 2
2 2
a1c1r2
-77777-7 2 2
2 2
a1c2r2
zu2uwu
2 2 2
2 2
a1c3r2
222 2 2 2
2 2
a1c1r3
-7777 6
-7 2 2
2 2
a1c2r3
2 2 2
2 2
a1c3r3
2 2 2
2 2
s3c1r1
2 6 -717 2
2 2
s3c2r1
s3c3r1
2 2 2
2 2
s3c1r2
3 -4 222 2
2 2
s3c2r2
2 2 2
2 2
s3c3r2
2-1 2 2222 2
2 2
s3c1r3
-1111 3
-1 2 2
2 2
s3c2r3
r}*}o}
2 2 2
2 2
s3c3r3
2-1 2 2222 2
2 2
s2text
BT, therefore B is NOT symmetric.
rices can be symmetric.
Click on the numbered buttons to see some examples..........................................d buttons to see some examples.
ogrey =
ellipsea
"routes"
flashwe 1,5,ellipsec,table,
2,13,ellipseb,
col1 =
col2 =
col3 =
col4 =
"ctobarc"
"ctobline"
flasharc "a",8,
flashline "b",5,
flashfield "
reset 1,5,
2,13,
-- scripts
, movediamonds
"coeff"
"Use the control pad
enter your answer"
vcoeff
"fract1"
"fract2"
"Cannot divide
Hzero"
"power"
vpower
"powera"
"powerb"
"fract3"
"invpow"
"power1"
"power2"
iscorrect
cf,pw
4syccoeff
tbkscore[][]
(cf-nx)
(cf+nx)
(pw-mx)
(pw+mx)
dx<0.001
dy<0.001
"try
4][1]
4][2]
4][1]
dx<0.001
sy<0.001
corcoef()
incorpow()&&wsign()
dy<0.001
sx<0.001
incorcoef()&&
sx<0.001
tempcoeff
sy<0.001
temppow
(helpfield
"benter"
"The coefficient
solution
incorrect."
"It seems that
wrong."
4row,col,current,colheight,deltay
enabled
4" =
("mat"&(
c-1)&i)
&i) =
fsize = fntsize
ratio = (matratio
8)/row
S" =
4colheight,colwidth,deltax,deltay,biggest[10]
4matrix1[][],row,
=,current
fill
U = 320
D = 40
] = 500
^ = 40
clearmatrix
"matorig"
="mat11"
"&i&j)
row=
enabled
[" =
resetsize "
inc = fntsize
fw = fntwidth
ratio=matratio
h+ 50
+ inc*
!arg =
clearup 1
animate
Zpoint fpos1,fpos2,fpos3
a2brackets
("a1c1r"&i)
("a1c2r"&i)
("a1c3r"&i)
sbmflashfff ("
U"&j&"r"&i)
movef3 ("
,("a2c"&i&"r1"),("
2"),("
3"),35
oldanimate
("a1c"&j&"r"&i)
clearup 2
animate
animateold
a4brackets
("a3c"&j&"r"&i)
flashf ("
fpos
movef ("
M,("a4c"&i&"r"&j)
Zpoint fpos1,fpos2,fpos3
i&"r1")
i&"r2")
i&"r3")
sbmflashfff ("
i&"r1"),("
i&"r2"),("
i&"r3")
i&"r1")
i&"r2")
i&"r3")
movef3 ("
i&"r1"),("a4c1r"&i),("
i&"r2"),("a4c2r"&i),("
i&"r3"),("a4c3r"&i),35
i&"r1")
i&"r2")
i&"r3")
i&"r1")
i&"r2")
i&"r3")
clearup 3
animate
animateold
s2brackets
("s1c"&j&"r"&i)
flashf ("
fpos
movef ("
M,("s2c"&i&"r"&j)
"s1text"
Zpoint fpos1,fpos2,fpos3
("s1c1r"&i)
("s1c2r"&i)
("s1c3r"&i)
sbmflashfff ("
movef3 ("
1"),("
2"),("
3"),35
clearup 4
animate
animateold
s4brackets
("s3c"&j&"r"&i)
flashf ("
fpos
movef ("
M,("s4c"&i&"r"&j)
"s2text"
Zpoint fpos1,fpos2,fpos3
("s3c1r"&i)
("s3c2r"&i)
("s3c3r"&i)
sbmflashfff ("
movef3 ("
1"),("
2"),("
3"),35
onum
"inner"
"textouter"
order
"pageno"
"page3"
K= "Again?"
K= "More"
"multcondition"
180,50,100
180,50,100
showex exname
4prevbutton
starttext
element
hideobj
order
square
scalar
suffix
leaddiag
4matmultflag
isinterrupt
B"c11"
B"c12"
B"c21"
B"c22"
B"animate"
"Again ?"
,oldmatmultflag
a,b,c,d,x,y
=(1)
enabled
"Continue ?"
logorder
4corder,numberRight,FirstTry
tbkscore[][]
firstTry =
enabled
B"enter" =
"correct"
X1][1]=
"question"
v1][2]=numberright
showinputmatrix
-- code found
"tabtext"
"Incorrect, answer should be "&(
f"Next Question"
"Quit Exercise"
B"QuitEx"
tidyup
genquestion
"ex2"
4animateflag
garraypos[6]
> 0)
( < 6)
isinterrupt
sumelement
B"addanimate"
--
"Again ?"
,oldanimateflag
a,b,c,d,x,y
=(1)
"Continue ?"
"order2"
startmatrix
pluscol
plusrow
exback
Bquitex
4numberRight
tbkscore[][]
2][1]=0
) = 0
"question" = 0
B" = 0
V" = 0
m2][2]
2][1]
2][1]
exinuse
expage = "mat"&(
8= "ex2"
B"QuitEx"
"matex2"
"exback"
"tabexplan"
genquestion
4acount,mcount,corder,firsttry
enabled
B"enter" =
(3) = 3
m1n =
(2)+1
m1m =
(2)+1
m2n =
(2)+1
m2m =
(2)+1
(2)+1
(2)+1
genmatrix
q,-2,9,2018,2915
,-2,9,2018,2780
,-2,9,4208,2915
,-2,9,4208,2780
"mg1"
"mg2"
"order2"
exists
$&"x"&
4row,col,biggest[10]
"matrix"
-- ignore
input phase
exercise
U>47
]<58)
f=43
-- only handles integer values,+,-
" > 9000
"You shouldn't need elements
width"
= "?"
crow =
current
ccol =
resizeElement
7,120
-- BackSpace
caretlocation
equalbiggest(
F-- no other
same
,-120
-- Tab
--
enabled
B"enter" =
-- rightarrow
-- leftarrow
4row,col,biggest[10]
"matrix"
-- ignore
input phase
exercise
U>47
]<58)
f=43
-- only handles integer values,+,-
" > 9000
"You shouldn't need elements
width"
crow =
current
ccol =
resizeElement
7,120
-- BackSpace
caretlocation
equalbiggest(
F-- no other
same
,-120
-- Tab
--
enabled
B"enter" =
-- rightarrow
-- leftarrow
4but1A,but2A, but3A,but4A,numberRight,attempted
tbkscore[][]
numberWrong=0
"smile1"
"frown1"
"smile2"
"frown2"
"smile3"
"frown3"
"smile4"
"frown4"
= 0
3][1]=
question
3][2]=numberright
"Correct"
f"Next
"Quit exercise"
3][1]=
= 1
"Incorrect:
sad face indicates
incorrect choice"
B"QuitEx"
tidyup
genquestion
"ex3"
4row,col,biggest[10]
"matrix"
-- ignore
input phase
exercise
U>47
]<58)
f=43
n=45
v = 42
-- only handles integer values,+,-,*
" > 9000
"You shouldn't need elements
width"
crow =
current
ccol =
resizeElement
7,120
-- BackSpace
caretlocation
equalbiggest(
F-- no other
same
,-120
-- Tab
--
enabled
B"enter" =
-- rightarrow
-- leftarrow
4row,col,numberRight
tbkscore[][]
4logical firstTry
\i,j,numberWrong,index,index2
stext
) = 0
checkfieldsyntax ("mat"&i&j)
studans =
g(i+(j-1)*
"m1" )
= 0
= 0
numberright
1][2]=
"Correct"
f"Next question"
"Quit exercise"
= 1
"Incorrect:
the highlighted value indicates
incorrect element"
f"Try Again"
"Show Answer"
^lues
1][1]
tidyup
B"QuitEx"
"matrix"
genquestion
"ex1"
oenabled =
"ansback"
"mg1"
H-100,300
row = 2
-- generate
called "mg2"
genmatrix
-4,-2,4900,3215
-4,-2,4900,3080
= (j-1)*
wtext =
= " "&
"m2" =
4row,col,numberRight
tbkscore[][]
4logical firstTry
\i,j,numberWrong,index
msg,mtext
& = 0
checkfieldsyntax ("mat"&i&j)
studans =
"m1" +
"m2")
= 0
= 0
2][1]=
"question"
2][2]=numberright
firsttry=
"Correct"
f"Next
"Quit exercise"
2][1]=
= 1
"Incorrect:
the highlighted value indicates
incorrect element"
f"Try Again"
"Show Answer"
^lues
tidyup
B"QuitEx"
"matrix"
genquestion
"ex2"
oenabled =
"ansback"
"mg1"
H-100,0
"mg2"
H-760,0
row = 2
-- generate
called "mg3"
genmatrix
0,3,4900,2915
0,3,4900,2780
"m3" =
width = (
)/2 + 700
!"a11"
!"a12"
f+100)
"m3" =
col-1
= (i-1)*
"m2" = "-"
"+"&(
"m2")
0,3,7615,2915
0,3,7615,2780
"mg4" =
!"a15"
!"a16"
+100)
"m4" =
tmpchar = (
"m1")+(
"m2")
3) = 1
"m4" = (
"m4" = (
{&" ")
4numberRight
tbkscore[][]
1][1]=0
) = 0
"question" = 0
B" = 0
V" = 0
m1][2]
1][1]
1][1]
exinuse
expage = "mat"&(
8= "ex1"
B"QuitEx"
"matex1"
"exback"
"tabexplan"
genquestion
4acount,mcount,corder,FirstTry
m1n,m1m,rannum
ltext
enabled
B"enter" =
firstTry =
(2) = 1
u = 2
z = 2
= 2
genmatrix
-8,9,2018,2915
-- now alter elements i.e.
-- want some matrices symmetric, others nearly so
= "2x2 nonsymm"
--
= changeval(2,3,
= "2x2
-- row 1 =
asure
= sbmrandom2(-9,-1,
,0,9,
(3) = 3
aterms on leading diag equal
-8,9,2018,2780
-- 3x3
--
i.e.
--
= "3x3
--
= "3x3
--
(3) = 3
"m1" =
"mg1"
"order2"
m1n=m2n
m1m=m2m
exists
(&"x"&
ochangeval oldword,newword,stext
oldval,newval, remchar
5 < 0
7 < 0 )
J >= 0
M >= 0)
t < 0
= " "&
logorder
4corder,numberright,firstTry
tbkscore[][]
"correct"
04][2]=
D" = numberRight
enabled
B"enter" =
showinputmatrix
-- code found
"tabtext"
-- may have been hidden
Ha large
Jquestion
"Incorrect, answer should be "&(
f"Next Question"
"Quit Exercise"
B"QuitEx"
tidyup
genquestion
"ex4"
4][1]=
FirstTry
"order2"
startmatrix
pluscol
plusrow
showexplan buttonname
V,m1m
crow,ccol
\" = "C"&
@&" = "
x-1)*
"m1"
g(k-1)*
"m2"
" = "
exback
Bquitex
logorder
4corder,numberRight
tbkscore[][]
1][1]
enabled
B"enter" =
"Correct"
m1][2]=numberright
= "nonsymm"
showinputmatrix
-- code found
"tabtext"
tidyup
B"QuitEx"
genquestion
"ex1"
"Incorrect, answer should be Yes"
f"Next Question"
y Exercise"
flashrr g,h
clearup n
("a1c"&j&"r"&i)
("a2c"&i&"r"&j)
"a2eq"
"a2brackets"
("a3c"&j&"r"&i)
("a4c"&i&"r"&j)
"a4eq"
"a4brackets"
("s1c"&j&"r"&i)
("s2c"&i&"r"&j)
"s2eq"
"s2brackets"
"s1text"
("s3c"&j&"r"&i)
("s4c"&i&"r"&j)
"s4eq"
"s4brackets"
"s2text"
firstTry
"order2"
startmatrix
pluscol
plusrow
exback
Bquitex
4numberRight,firstTry
tbkscore[][]
total
"question")-1
L1][1]=
X1][2]=numberright
exinuse
"ex1"
exer=1
][1]>0
performance(
%][2],
.][1])
storemarks bkid
T][1],
]][2]
i][1]=0
w][2]=0
"exback"
"ansback"
tidyup
"order2"
"matrix"
sbmnavigate
4acount,mcount
("mg"&i)
clearmatrix
-- now
4numberRight,firstTry
tbkscore[][]
total
"question")-1
L2][1]=
X2][2]=numberright
exinuse
"ex2"
exer=2
][1]>0
performance(
%][2],
.][1])
storemarks bkid
T][1],
]][2]
i][1]=0
w][2]=0
"exback"
tidyup
"order2"
"matrix"
sbmnavigate
4acount,mcount
("mg"&i)
clearmatrix
-- now
4numberRight,attempted
tbkscore[][]
total =
"question"
M3][1]=
Y3][2]=numberright
exinuse
8= "ex3"
exer=3
][1]>0
performance(
%][2],
.][1])
storemarks bkid
T][1],
]][2]
i][1]=0
w][2]=0
"exback"
"blayer"
tidyup
sbmnavigate
status="Click
board
exercise"
4acount,mcount
("mg"&i)
"smile1",
"smile2",
"smile3",
"smile4",
"frown1",
"frown2",
"frown3",
"frown4"
B"but1" =
B"but2" =
B"but3" =
B"but4" =
4numberRight
tbkscore[][]
status=""
3][1]=0
8 = 0
"question" = 1
Q" = 0
e" = 0
|3][2]
3][1]+1
3][1]
exinuse
expage = "mat"&(
8= "ex3"
B"QuitEx"
"matex3"
"exback"
"blayer"
genquestion
4acount,mcount,but1A,but2A, but3A,but4A,attempted
m1n = 1
m1m =
(3)+1
m2n =
(3)+1
m2m = 1
m3n =
(3)+1
m3m =
(3)+1
m4n =
(3)+1
m4m =
(3)+1
(3)+1
(3)+1
choice =
m0m =
m0n =
(3)+1
genmatrix
,m1m,-2,7,1760,4895
,m2m,-2,7,3830,4895
,m3m,-4,7,6000,4895
{,m4m,-2,7,8070,4895
m0n,m0m,-2,9,5300,2575
-- the
"mg5"
)/2 - 200
"b" = (
+ 150),
bringtoFront
4numberright
tbkscore[][]
status=""
4][1]=0
numberRight = 0
"question" = 1
Z" = 0
n" = 0
4][2]
4][1]+1
4][1]
exinuse
expage = "mat"&(
8= "ex4"
B"QuitEx"
"matex4"
"exback"
"tabexplan"
genquestion
4acount,mcount,corder,m1m,FirstTry
firstTry=
enabled
B"enter" =
ran =
m1n = 2
b = 2
(3) = 3
m2n = 3
m2m = 2
(3) = 3
m1m = 2
(3) = 3
(3) = 3
genmatrix
-2,6,2018,2390
-2,5,2018,2255
m2n,m2m,-2,6,4208,2390
5,4208,2255
"mg1"
"mg2"
"order2"
-- product exists
&"x"&
4numberright,firstTry
tbkscore[][]
total=(
"question")-1
L4][1]=
X4][2]=
exinuse
8= "ex4"
exer=4
][1]>0
performance(
%][2],
.][1])
storemarks bkid
T][1],
]][2]
i][1]=0
w][2]=0
"exback"
tidyup
"order2"
"matrix"
status="Click on
exercise
sbmnavigate
4acount,mcount
("mg"&i)
'*4+1)
!("a"&i)
clearmatrix
-- now
4animateflag,oldanimateflag
"Again ?"
c11f,
c12f,
c21f,
c22f,
c31f,
i = 1
B"interrupt"
"Continue ?"
enabled
"animation"
.tbk"
questionmark
-- see
handler
sumelement pos
temp1
("a"&
temp2
"plus"
temp3
("b"&
("a"&
("b"&
sbmflashfff ("a"&
u),("b"&
~), "
movef3 ("a"&
),pos1,
v,pos2,("b"&
),pos3
-- moves aij, plussign
positions above the matrices
-- these are later replaced
Ha single
which
Fmoved
Danswer matrix
("c"&
("a"&
("b"&
("a"&
("b"&
("c"&
), ("c"&
&"f")
("c"&pos)
("c"&
&"f")
("c"&
-- handlers
simon.tbk
4matmultflag,oldmatmultflag
"Again ?"
@ = 1
B"interrupt"
"Continue ?"
enabled
"animation"
.tbk"
-- see
handler
sumelement row,col,nelements
-- routine which takes a
a column (
2 matrices
animates their product.
flashff ("
posa =
"pos1"
posb =
"pos2"
posc =
"pos3"
diff = (
temp1
("a"&row&i)
temp2
"times"
temp3
("b"&i&col)
("a"&
("b"&i&
sbmflashfff ("a"&
l,("b"&i&
movef3 ("a"&
,("b"&i&
("c"&
("a"&
("b"&i&
("a"&
("b"&i&
("a"&
("b"&i&
("c"&
("c"&
", ("c"&
B("c"&
("c"&
("row"&
("col"&
-- handlers
simon.tbk
flashwe word1,word2,ellipse1,tfield, colour
4pauseanime, mytime
\iter,i
Zlogical fxbreak
= 4 +
-/400
ncolour
sycpause 10
adjustspeed()
reset
flasharc arcname, numsegments,
= 4 +
flashline linename,
= 4 +
oflashfield fieldname
= 4 +
4row,col,m1m,numberright,firstTry
tbkscore[][]
msg,mtext
index = 0
numberWrong = 0
checkfieldsyntax ("mat"&i&j)
studans =
element = 0
g((i-1)*
"m1")*(
g((k-1)*col+j)
"m2")
firsttry
4][2]=
4][1]=
question
" = numberRight
4][1]
"Correct"
f"Next
"Quit exercise"
4][1]=
4][1]
"Incorrect:
the highlighted value indicates
incorrect
f"Try Again"
"Show Answer"
Zlues
Delements"
tidyup
B"QuitEx"
"matrix"
genquestion
"ex4"
enabled
B"enter" =
"explan" = ""
"ansback"
"mg1"
H-100,0
"mg2"
H-760,0
--
col-1
(i-1)*
"m2" = "-"
--
--
--
"+"&(
"m2")
--
B("c"&i&j)
"exback"
bds =
B"c11"
xpos =
ypos =
bot =
B("c"&
&"1")
drawbracket
!"a9" =
!"a10" =
B("c1"&
!"a11" =
!"a12" =
g((i-1)*
"m1")*(
g((k-1)*
"m2")
B("c"&i&j) =
firsttry
4][2]=
4][1]=
question
" = numberRight
matex4
matex3
sbmflashredffw
quitmc
exback
multcondition
quitex
leavepage
sbmflashredffw f,g,h,
origcolourf
origcolourg
origcolourh
exback
Bquitex
multcondition
Bquitmc
"~"`'X2
choice
count
Multiplication of Matrices
Not all matrices can be multiplied together.
Matrices A (of order nxm) and B (of order pxq) can be multiplied to form the product AB, if and only if the condition m = p holds. The resulting matrix will be of order nxq.m = p. The resulting matrix will be of order nxq........
multiply
buttonup
multiply
Matrix Algebra
board and exercise
3 of 5
Page 9 of 12w
answer(2)
answer(1)
MULTIPLICATIVE CONDITION
Exercise 3
.&, 8
forward
multcondition
order
pageno
inner
status
buttonup
.&+ +E
mouseenter
.&+ +E
mouseleave
status=""
"pageno"
"inner"
"multcondition"
order
180,50,100
180,50,100
" = "More"
choice
This multiplicative condition is best illustrated by way of a diagram.
Click here to start
multcondition
noshow
choice
z*c J
A B = AB
order
order nxm mxp nxp
inner
outer
textinner
The product of the matrices A and B only exists if the number of columns of A equals the number of rows of B.
textouter
The product of the matrices A and B has order nxp, i.e it has the same number of rows as the matrix A and the same number of columns as the matrix B...
quitmc
forward
textouter
showmewhy
Click red text, green board and exercise
multcondition
lookslike
page3
outer
status
buttonup
"multcondition"
"outer"
"textouter"
"page3"
"lookslike"
"showmewhy"
status="Click
board
exercise"
Remove
forward
pageno
1 of 333333
page3
page3
For an example of the multiplicative condition consider the
matrices
A = , B =
why ?
2 7 8 1
-1 1 -1 3
2 1 8 3
3 0 1 4
5 -1 7 2
2 7 8 1
-1 1 -1 3
X9p8U9
2 7 8 1
-1 1 -1 3
*;B:';
4 1
2 2
9 -1
3 77777777777777
2 7 8 1
-1 1 -1 3
Does the product A and B exist?
Show me why ????????
lookslike
buttonup
"lookslike"
showmewhy
multiply
buttonup
"multiply"
"showmewhy"
lookslike
buttonup
The product of A and B, say C,
does exist and looks like C = .
Click to remove
2 7 8 1
-1 1 -1 3
* *
* *
* *
2 7 8 1
-1 1 -1 3
showmewhy
buttonup
A B = AB
order 3x4 4x2 3x2
outer
Since the values in this inner bracket are the same the matrices can be multiplied.
This outer bracket shows the order of the resulting matrix, i.e 3x2.
Click to remove
exback
exback
Consider the matrix product:
where B is replaced in turn by each of the matrices below.
Click onto the check box (or the matrix) for each matrix where the product exists. Then click the Enter key.
Enter
QuitEx
Remove
smile1
buttonup
smile4
buttonup
smile3
buttonup
smile2
buttonup
frown1
frown4
frown3
frown2
Exercise 3333
Matrix Multiplication Conditionn
question
Question 1447
score
Score: 0 out of 0344
MULTIPLY
buttonup
choice
In the product AB, B is said to be pre-multiplied by A, and A is post-multiplied by B.
Click to removeee
blayer
Click red text, green board and exercise
mes New Roman
Times New Roman
OtIKsp
OtIKsp
dJGvvzALJfF
Symbol
Symbol
Times New Roman
exinuse
Arial
matratio
fntsize
fntwidth
.TBK"
Arial
Times New Roman
System
Arial
Arial
all Fonts
Symbol
Times New Roman
Times New Roman
Times New Roman
Times New Roman
Times New Roman
Wingdings
Times New Roman
System
System
Times New Roman
Times New Roman
Times New Roman
Small Fonts
Times New Roman
Fixedsys
Times New Roman
Symbol
Times New Roman
w Roman
Times New Roman
tbkex1,tbkex2,tbkex3,tbkex4
System
J z
Times New Roman
Symbol
timesnewroman
Times New Roman
Times New Roman
System
Page id 13 of Book "C:\TB30\CAL\INDEF1.TBK"
Times New Roman
System
Times New Roman
Arial
Times New Roman
System
Times New Roman
Arial
0,numrights
tbkex1
urier
tbkex
urier
Times New Roman
Times New Roman
Times New Roman
System
Symbol
Times New Roman
Wingdings
Times New Roman
suisys.tbk
entersystem
matmultflag
animateflag
arraypos
11 12 21 22 31 32
enterbook
"suisys.tbk"
4animateflag,matmultflag
garraypos[6]
fill
f"11 12 21 22 31 32"
g] order
0 -- used
handler
matrix addition animation
0 --
,multiplication
Introduction to Matrices
general
Page id 155 of Book "D:\TB30\TLTPCAL\OLDEX\MAT1.TBK"
CDBSE&File
&Open... Ctrl+O
&Save Ctrl+S
Save &As...
saveas
&Import...
import
&Export...
export
Print Set&up...
printsetup
&Print Pages... Ctrl+P
printpages
Prin&t Report...
printreport
Send &Mail...
sendmail
&Run...
E&xit Alt+F4
&Edit
&Undo Ctrl+Z
Cu&t Ctrl+X
&Copy Ctrl+C
&Paste Ctrl+V
paste
C&lear Del
clear
Select &All Shift+F9
selectall
Select Pa&ge Shift+F12
selectpage
&Size to Page F11
sizetopage
F&ind... F5
Re&place...
replace
Aut&hor F3
author
&Text
&Character... F6
character
&Paragraph... F7
paragraph
&Regular Ctrl+Space
regular
&Bold Ctrl+B
&Italic Ctrl+I
italic
&Underline Ctrl+U
underline
Stri&keout Ctrl+K
strikeout
Superscrip&t/Subscript
superscriptSubscript
&Normal Script
normalscript
Su&bscript Ctrl+L
subscript
Su&perscript Ctrl+Shift+L
superscript
&Show Hotwords F9
showhotwords
&Page
&Next Alt+Right
&Previous Alt+Left
previous
&First Alt+Up
first
&Last Alt+Down
&Back Shift+F2
&History... Ctrl+F2
history
N&ew Page Ctrl+N
newpage
&Help
&Contents F1
contents
Status &Bar F12
statusbar
module
sectionno
main text
Next Page
previous
Previous Page
INTRODUCTION TO MATRICES
status
pageno
credits
buttonup
library
Library
return
return
exercise
fx_control
calculator
glossary
blank
sbmmodtitle
Click on the buttons
deftext
j;H;U;
Introduction
nt problem
symbol
leavepage
symbol
3l7R9
A MATRIX, eg.
is a set of elements (usually numbers) arranged in a rectangular array.
MATRICES is the plural of MATRIX.
ntroduce some definitions and properties of matrices, we will look at a few examples.
single symbol (usually a capital letter).
To introduce some definitions and properties of matrices, we will look at a few examples.
ices.
Only after you have learnt the "language" of matrices can you progress to
actually manipulating them, which you do later in the Matrix Algebra section.ing vocabulary in order to speak a language.
Only after you have learnt the "language" of matrices can you progress to
actually manipulating them, which you do in the "Matrix Algebra" section
in the next module......................ry in order to speak a language.
Only after you have learnt the "language" of matrices can you progress to
actually manipulating them, which you do in the "Matrix Algebra" section
in the next module.............
Introduction
1 of 1
Page 1 of 12
symbol
3 4 3
0 0 5
2 8 1
1 4 0
10 5 4 0
buttonup
buttonup
forward
backward
page1
what's in this module
status
buttonup
"what's
module"
"page1"
enabled
B"backward" =
status=""
What's in this module?
order
status
buttonup
"order"
status=""
Why are matrices useful ?
what's in this module
forward
.&, "
.&, "
.&, "
vector
page2
page4
backward
page1
algebra
notation
page3
buttonup
onum
enabled
B"backward" =
"page1"
"vector"
"page2"
"page3"
"algebra"
"notation"
"page4"
whatremove
@deftext
vector
page2
page4
page1
algebra
notation
page3
what's in this module
status
buttonup
"what's
module"
"page2"
"page1"
"page3"
"page4"
"algebra"
"notation"
"vector"
status=deftext
Remove
backward
.&, "
.&, "
.&, "
forward
page2
page4
page1
algebra
notation
page3
buttonup
oenabled =
"page1"
"page2"
"page3"
"algebra"
"notation"
"page4"
page1
page1
This module will take you through an introduction to matrices. Vectors are also introduced, but for a more detailed explanation see the separate Vectors Module.y First and Second Order O.D.E.s are considered here.
vector
buttonup
"vector"
1 of 4g
page3
page1
The two main sections of this module cover
page1
.&+ +E
mouseenter
.&+ +E
mouseleave
-#, 8
what page notation
algebra
notation
Definitions
buttonup
"what
notation"
"Definitions"
"algebra"
1. Notation and Definitions
page1
.&+ +E
mouseenter
.&+ +E
mouseleave
-#, 8
what page algebra
matrix algebra
algebra
notation
buttonup
"what
algebra"
"matrix
"notation"
2. Matrix algebra
3 of 4M$
page2
page3
Firstly, a number of definitions are given, these may seem tedious but they are important. In particular, you will need to know about the order of a matrix and suffix notation.
2 of 4
page4
Summary of Content
Definitions
Matrix addition
Matrix multiplication
n the plane
ent O.D.E.s
Good Luck!
4 of 4'(
algebra
buttonup
Matrix algebra covers the addition, subtraction and multiplication of matrices. However, matrices are never divided.....
what page algebra
Go to page 7 of this book for the details.
Click to Removeee
order
page1
Matrices enable a collection of many numbers to be considered as a single object, denoted by a single symbol (usually a capital letter).
With this convenient notation matrices prove useful in a variety of applications.
of many numbers to be considered as a single object, denoted by a single symbol (usually a capital letter).
symbol
flashf
buttonup
symbol
flashf
-#, 8
applications
what page applications
buttonup
"what
applications"
whyremove
@deftext
applications
order
status
buttonup
"order"
"applications"
status=deftext
Remove
notation
buttonup
There are several words that we need to introduce to explain all the properties of matrices.
what page notation
Go to page 3 of this book for the details.
Click to Removeeee
vector
buttonup
A vector is a special type of matrix that has either only one column or one row, e.g.
Click to removeee
( 2 -1 0 )
applications
buttonup
Matrices can be used to represent any set of numerical data which could be written in the form of a table.
what page applications
Go to page 2 of this book for specific examples.
Click to Remove
whyremove
buttonup
B"whyremove"
Click on the buttons
module
u2C}uZ
applications
Matrices are useful in analysing many practical problems. Click onto the numbered boxes to see some illustrations. introduce some definitions and properties of matrices, we will look at a few examples.
The numbers in the table can be written in matrix form by stripping out the other details and enclosing the data with brackets.
This is a "five-by-four" matrix (written 5x4) since it has five rows and four columns.
3 2 4 3
2 2 6 1
0 4 0 5
2 7 8 1
10 5 4 0
5 rows
4 columns
Click on each button
showme
text2
status
buttonup
Bshowme
text2
"status"="Click on each
Remove
3 2 4 3
2 2 6 1
0 4 0 5
2 7 8 1
10 5 4 0 0 4 0 4 0 4 0 6 1
Liberal 0 4 0 5
Acid-House 2 7 8 1
Tupperware 10 5 4 0
text2
This is a "five-by-four" matrix (written 5x4) since it has five rows and four columns.
d enclosing the data with brackets.
This is a "five-by-four" matrix (written 5x4) since it has five rows and four columns.
showme
text2
movef
buttonup
mpos
movef
,mat2
text2
Show me
network
1 1 1
0 0 2
1 0 0
7 8 1
10 5 4 0
Consider this map of three places A, B and C and their connecting roads.
It has associated with it a CONNECTIVITY TABLE showing the number of direct paths between the places.
So, remembering to go FROM the columns TO the rows, a CONNECTIVITY MATRIX can describe such a network of routes:
1 1 1
To : B
0 0 2
C
1 0 0
connectivity table shows the number of paths between places on the map. on the map.............. places on the map.
animation
Click on each button
routes
elements
viewer.tbk
Click on the buttons below
status
buttonup
"routes"
"Click on the buttons below"
"elements"
"status"="
>each
isopen
"animation"
.tbk"
close
Remove
ellipsea
ellipsec
ellipseb
Art Gallery
Bakery
Cinema
table
From:
A B C
A
1 1 1
To: B
0 0 2
C
1 0 0
Connectivity Table - number of
paths from one place to another. A
1 1 1
To : B
0 0 2
C
1 0 0
connectivity table shows the number of paths between places on the map. on the map.............. places on the map.
ctobarc
elements
1 route from A to A
reset
table
0,0,0
routes
8flashwe
flashfield
atoaarc
ellipsea
Vflasharc
buttonup
ogrey =
ellipsea
"routes"
flashwe 1,3,
7,table,
col1 =
flasharc "e",10,
"atoaarc"
col2 =
flashfield "
reset 1,3,
-- scripts
tur6?
ellipsec
reset
flashline
table
ctoaline
0,0,0
routes
1 route from A to C
8flashwe
flashfield
ellipsea
buttonup
animation
ogrey =
ellipsea
"routes"
flashwe 1,3,
N,table,
2,18,ellipsec,
col1 =
col2 =
"ctoaline"
flashline "d",4,
flashfield "
reset 1,3,
2,18,
-- scripts
table
ellipseb
reset
routes
8flashwe
flashfield
ellipsea
0 routes from A to B
buttonup
ogrey =
ellipsea
"routes"
flashwe 1,3,
N,table,
2,13,ellipseb,
flashfield "
reset 1,3,
2,13,
-- scripts
, flasharc
6?B??
table
ellipseb
0 routes from B to B
reset
routes
8flashwe
flashfield
ellipsea
buttonup
ogrey =
ellipsea
"routes"
flashwe 1,4,ellipseb,table,
2,13,
flashfield "
reset 1,4,
2,13,
-- scripts
, flasharc
ellipsec
reset
flashline
table
ctoaline
0,0,0
routes
1 route from C to A
8flashwe
flashfield
ellipsea
buttonup
ogrey =
ellipsea
"routes"
flashwe 1,5,ellipsec,table,
col1 =
col2 =
flashline "d",4,
"ctoaline"
flashfield "
reset 1,5,
-- scripts
, movediamonds
ellipseb
reset
btoaline
flashline
table
0,0,0
1 route from B to A
routes
8flashwe
flashfield
ellipsea
buttonup
animation
ogrey =
ellipsea
"routes"
flashwe 1,4,ellipseb,table,
col1 =
col2 =
"btoaline"
flashline "c",6,
flashfield "
reset 1,4,
-- scripts
, flasharc
table
ellipseb
ellipsec
0 routes from B to C
reset
routes
8flashwe
flashfield
ellipsea
buttonup
animation
ogrey =
ellipsea
"routes"
flashwe 1,4,ellipseb,table,
2,18,ellipsec,
flashfield "
reset 1,4,
2,18,
-- scripts
table
ellipsec
reset
0 routes from C to C
routes
8flashwe
flashfield
ellipsea
buttonup
ogrey =
ellipsea
"routes"
flashwe 1,5,ellipsec,table,
2,18,
flashfield "
reset 1,5,
2,18,
-- scripts
, flasharc
routes
Click on the buttons below
simeqn
simtext1
Suppose we have to solve three simultaneous equations in three unknowns, say x, y and z.
It is not the VARIABLES which are important in these equations, but rather the NUMBERS multiplying them.
You can see that the above equations are summarised by a 3x4 matrix.
This is often referred to as an AUGMENTED MATRIX, since the numerical entries from the left-hand sides of the equations have been augmented with those from the right-hand sides.
simtext3
Click on each button
simmat5
simtext2
status
buttonup
simmat5
simtext2
simtext3
"status"="Click on each
Remove
7x + 4y - z = 2
3x - 2y + 4z = -6
- x + y - z = 3
z = 3
simmat5
2 7 8 1
-1 1 -1 3
simmat5
7 4 -1 2
3 -2 4 -6
-1 1 -1 3
2 7 8 1
-1 1 -1 3
simmat1
7 4 -1
3 - 2 4
-1 1 - 1 3 3 3
2 7 8 1
-1 1 -1 3
simmat2
3 1 - 1 3 1 - 1 3 1 - 1 3
2 7 8 1
-1 1 -1 3
.&+ +E
.&+ +E
smpos1
simmat2
simmat4
simtext3
simtext2
simmat1
simmat5
movef
smpos2
simmat3
buttonup
simmat1
smpos1
smpos2
simmat2
movef
>,simmat3
,,simmat4
movedby
H-10,0
H10,0
simmat5
simtext2
simtext3
Separate the numbers
simmat3
7 4 -1
3 - 2 4
-1 1 - 1 3 3 3
2 7 8 1
-1 1 -1 3
simmat4
3 1 - 1 3 1 - 1 3 1 - 1 3
2 7 8 1
-1 1 -1 3
simtext2
You can see that the above equations are summarised by a 3x4 matrix.
This is often referred to as an AUGMENTED MATRIX, since the numerical entries from the left-hand sides of the equations have been augmented with those from the right-hand sides.
d by a 3x4 matrix.
This is often referred to as an AUGMENTED MATRIX, since the numerical entries from the left-hand sides of the equations have been augmented with those from the right-hand sides.
simtext3
The Advanced Matrices module tells you how to solve systems of equations using matrix methods.
ctobline
btoaline
ctoaline
atoaarc
Click on each button
2 routes from C to B
ellipseb
ellipsec
reset
flashline
table
ctobarc
0,0,0
routes
ctobline
8flashwe
flashfield
ellipsea
Vflasharc
buttonup
.&, "
.&, "
.&, "
.&, "
power2
fract3
powera
vcoeff
power
Use the control pad to enter your answer
power1
fract2
invpow
coeff
fract1
Cannot divide by zero
powerb
vpower
iscorrect
buttonup
.&, "
w, #?
w, #?
w, #?
w, #?
temppow
right
wsign
0corcoef
tbkscore
{incorpow
tempcoeff
!corpow
incorcoef
try again
syccoeff
iscorrect
helpfield
benter
helpfield
rightbuttonup
The coefficient of your solution is correct.
corcoef
The coefficient of your solution is incorrect.
incorcoef
The power of your solution is correct.
corpow
The power of your solution is incorrect.
incorpow
It seems that the sign is wrong.
wsign
V, #>
current
right
0Mfntsize
fsize
omatratio
deltay
colheight
buttonup
clearmatrix
current
matrix1
mat11
matorig
deltay
biggest
colwidth
deltax
colheight
buttonup
resetsize
right
clearmatrix
tfntwidth
colwidth
right
matorig
omatratio
0Mfntsize
deltax
ratio
resetsize
.&+ +E
.&+ +E
.animate
9clearup
buttonup
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
sbmflashfff
a1c3r
a1c2r
movef3
a1c1r
a2brackets
animate
,%H.%
,%H.%
flashf
movef
a2brackets
oldanimate
9clearup
.animate
buttonup
,%H.%
,%H.%
flashf
s1text
s2brackets
movef
animateold
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
s1c3r
sbmflashfff
s1c2r
movef3
flashf
s1c1r
s2brackets
s1text
animate
.&, "
.&, 8
.&, "
.&, 8
.&, "
.&, 8
textouter
multcondition
order
pageno
inner
Again?
page3
outer
buttonup
prevbutton
suffix
square
starttext
element
order
%hideobj
scalar
leaddiag
showex
prevbutton
starttext
%hideobj
leavepage
suffix
square
element
order
scalar
leaddiag
hideobj
.&, "
.&, "
.&, "
.&, "
isinterrupt
matmultflag
animate
interrupt
Again ?
oldmatmultflag
matmultflag
Continue ?
animate
interrupt
isinterrupt
Next Question
false
enter
numberRight
score
Incorrect, answer should be
tabtext
showinputmatrix
QuitEx
FirstTry
tbkscore
[&tidyup
correct
genquestion
question
Quit Exercise
corder
logorder
.&, "
isinterrupt
animateflag
arraypos
addanimate
sumelement
interrupt
Again ?
Continue ?
animateflag
oldanimateflag
addanimate
interrupt
isinterrupt
order2
firstTry
startmatrix
aplusrow
matrix
question
Kpluscol
corder
showinputmatrix
exback
quitex
leavepage
.&, 8
.&, 8
.&, 8
-", 8
-", 8
w, #>
exback
numberRight
score
QuitEx
tbkscore
expage
tabexplan
matex2
question
genquestion
kKexinuse
jKexinuse
buttonup
order2
enter
firsttry
mcount
genmatrix
acount
question
corder
genquestion
,!J:"
You shouldn't need elements of this width
right
biggest
matrix
RresizeElement
keychar
.&, "
.&, "
.&, "
.&, "
.&, "
.&, "
.&, "
.&, "
.&, "
.&, "
equalbiggest
false
enter
biggest
matrix
RresizeElement
keydown
,!J:"
You shouldn't need elements of this width
right
biggest
matrix
RresizeElement
keychar
.&, "
.&, "
.&, "
.&, "
.&, "
.&, "
.&, "
.&, "
.&, "
.&, "
equalbiggest
false
enter
biggest
matrix
RresizeElement
keydown
but2A
but3A
score
but1A
Quit exercise
frown2
smile3
numberRight
Incorrect: the red sad faces indicate the incorrect choices
Incorrect: the red sad face indicates the incorrect choice
tbkscore
numberWrong
[&tidyup
frown1
frown4
Correct
QuitEx
Next question
genquestion
smile2
question
smile4
but4A
attempted
frown3
smile1
buttonup
,!J:"
You shouldn't need elements of this width
right
biggest
matrix
RresizeElement
keychar
.&, "
.&, "
.&, "
.&, "
.&, "
.&, "
.&, "
.&, "
.&, "
.&, "
equalbiggest
false
enter
biggest
matrix
RresizeElement
keydown
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
firstTry
numberRight
[&tidyup
Quit exercise
Next question
QuitEx
ansback
tbkscore
score
genmatrix
Correct
Show Answer
wtext
studans
matrix
genquestion
Incorrect: the highlighted value indicates the incorrect element
Incorrect: the highlighted values indicate the incorrect elements
checkfieldsyntax
Try Again
buttonup
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.&s>t
.&s>t
2, #>
.&s>t
.&s>t
firstTry
numberRight
[&tidyup
Quit exercise
Next question
tmpchar
QuitEx
ansback
tbkscore
score
genmatrix
Correct
Show Answer
studans
matrix
question
genquestion
Incorrect: the highlighted value indicates the incorrect element
Incorrect: the highlighted values indicate the incorrect elements
checkfieldsyntax
Try Again
buttonup
.&, 8
.&, 8
.&, 8
-", 8
-", 8
w, #>
exback
numberRight
score
QuitEx
tbkscore
expage
tabexplan
question
genquestion
kKexinuse
matex1
jKexinuse
buttonup
.&, 7
.&, 7
3x3 symm
enter
order2
2x2 symm
mcount
FirstTry
genmatrix
acount
sbmrandom2
2x2 nonsymm
~changeval
question
corder
3x3 nonsymm
genquestion
-", 7
-", #>
1, "Q
-", #>
-", 7
newword
oldword
char
ochangeval
question
Next Question
enter
numberright
score
Incorrect, answer should be
tabtext
showinputmatrix
QuitEx
tbkscore
[&tidyup
correct
genquestion
Quit Exercise
corder
logorder
enter
order2
FirstTry
startmatrix
aplusrow
matrix
question
Kpluscol
corder
showinputmatrix
-", #>
-", #>
.%, >
explan
showexplan
exback
quitex
leavepage
Next Question
enter
numberRight
score
nonsymm
tabtext
showinputmatrix
QuitEx
tbkscore
[&tidyup
Correct
Quit Exercise
genquestion
Incorrect, answer should be Yes
corder
Incorrect, answer should be No
logorder
flashrr
flashr
,%H.%
,%H.%
,%H.%
,%H.%
,%H.%
,%H.%
,%H.%
,%H.%
s2text
s2brackets
s1text
s4brackets
a2brackets
a4brackets
clearup
order2
firstTry
startmatrix
aplusrow
matrix
question
Kpluscol
corder
showinputmatrix
exback
quitex
leavepage
exback
performance
numberRight
order2
firstTry
tbkscore
[&tidyup
total
sbmnavigate
storemarks
matrix
question
ansback
kKexinuse
jKexinuse
buttonup
clearmatrix
mcount
acount
tidyup
exback
performance
numberRight
order2
firstTry
tbkscore
[&tidyup
total
sbmnavigate
storemarks
matrix
question
kKexinuse
jKexinuse
buttonup
clearmatrix
mcount
acount
tidyup
exback
performance
blayer
numberRight
tbkscore
Click red text, green board and exercise
[&tidyup
total
sbmnavigate
storemarks
question
kKexinuse
attempted
jKexinuse
status
buttonup
$+4!7
acount
frown2
smile3
frown4
mcount
frown1
smile2
smile4
frown3
smile1
tidyup
.&, 8
.&, 8
.&, 8
-", 8
w, #>
exback
blayer
numberRight
score
matex3
QuitEx
tbkscore
expage
question
genquestion
kKexinuse
jKexinuse
status
buttonup
.&+ +E
mouseenter
.&+ +E
mouseleave
.&, "
.&, "
.&, "
.&, "
.&, "
but2A
blayer
choice
but3A
mcount
false
but1A
genmatrix
acount
but4A
attempted
genquestion
.&, 8
.&, 8
.&, 8
-", 8
w, #>
exback
numberright
score
QuitEx
tbkscore
expage
tabexplan
question
genquestion
kKexinuse
matex4
jKexinuse
status
buttonup
.&+ +E
mouseenter
.&+ +E
mouseleave
order2
enter
mcount
FirstTry
genmatrix
acount
corder
genquestion
exback
performance
numberright
order2
Click on blue text and exercise book
firstTry
tbkscore
[&tidyup
total
sbmnavigate
storemarks
matrix
question
kKexinuse
jKexinuse
status
buttonup
clearmatrix
mcount
acount
tidyup
oldanimateflag
animateflag
Continue ?
questionmark
interrupt
Again ?
viewer.tbk
animation
buttonup
sbmflashfff
temp2
temp1
movef3
movef
temp3
sumelement
oldmatmultflag
matmultflag
Continue ?
interrupt
Again ?
viewer.tbk
animation
buttonup
times
sbmflashfff
temp2
temp1
movef3
movef
&*flashff
temp3
sumelement
pauseanime
false
ncolour
mytime
adjustspeed
ysycpause
flashwe
reset
pauseanime
false
mytime
adjustspeed
0,0,0
flasharc
pauseanime
false
mytime
adjustspeed
0,0,0
flashline
colour
60,50,100
oflashfield
pauseanime
false
mytime
adjustspeed
ysycpause
flashfield
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
.%, #>
-", 8
-", 8
.%, #>
.%, #>
.%, #>
.%, #>
numberright
score
drawbracket
element
Quit exercise
QuitEx
firstTry
exback
[&tidyup
Show Answer
studans
question
explan
Incorrect: the highlighted values indicate the incorrect elements
tbkscore
tbkscore
false
mtext
index
element
firstTry
numberright
studans
question
numberWrong
index
Next question
false
enter
right
numberWrong
Correct
matrix
genquestion
ansback
Incorrect: the highlighted value indicates the incorrect element
checkfieldsyntax
Try Again
buttonup
matex2
hTiX|
Addition of Matrices
Click on the buttons below to find out about matrix addition.
Matrix Algebra
Click on numbered buttons
2 of 5
Page 8 of 12
answer(2)
answer(1)
MATRIX ADDITION
Exercise 2cise 3e 2
table
sbmselection
w, #>
explancaption
table
order
sbmselection
orderequal
backdrop
orderunequal
sbmselection
status
buttonup
sbmselection
"table"
B("rem"&(
"backdrop"
"order"
B"orderequal"
B"orderunequal"
"explancaption" =
status=""
When can matrices be added together?
buttonup
1g&
w, #>
explancaption
addition
table
sbmselection
backdrop
sbmselection
status
buttonup
sbmselection
"table"
B("rem"&(
"backdrop"
"addition"
"explancaption" =
status=""
How are matrices added together?
buttonup
23*
w, #>
explancaption
table
sbmselection
backdrop
sbmselection
status
example
buttonup
sbmselection
"table"
B("rem"&(
"backdrop"
"example"
"explancaption" =
status=""
Show me an example of matrix addition
buttonup
w, #>
explancaption
subtraction
table
sbmselection
backdrop
sbmselection
status
buttonup
sbmselection
"table"
B("rem"&(
"backdrop"
"subtraction"
"explancaption" =
status=""
What about matrix subtraction ?
buttonup
w, #>
explancaption
table
rules
sbmselection
backdrop
sbmselection
status
buttonup
sbmselection
"table"
B("rem"&(
"backdrop"
"rules"
"explancaption" =
status=""
Some important rules
buttonup
backdrop
explancaption
Some important rules traction ?dition
example
then
A + B = + =
and B =
then
A + B = + =
ilar result holds for matrices of other orders.
s for matrices of other orders.
remexample
Click on numbered buttons
table
animation
animateflag
addanimate
questionmark
sbmselection
backdrop
interrupt
viewer.tbk
status
Animation
example
buttonup
4animateflag
"example"
questionmark
(sbmselection
"table")
B"addanimate"
"Animation"
B"interrupt"
enabled
"backdrop"
status="Click on numbered buttons"
isopen
"animation"
.tbk"
close
Remove
>?V>;?
2 7 8 1
-1 1 -1 3
2 7 8 1
-1 1 -1 3
5 7
4 1
-2 333
2 7 8 1
-1 1 -1 3
3 6
5 0
6 233
2 7 8 1
-1 1 -1 3
2 7 8 1
-1 1 -1 3
5+3 7+6
4+1 1+0
-2+6 3+233
2 7 8 1
-1 1 -1 3
addanimate
Animation
questionmark
.&+ +E
mouseenter
.&+ +E
mouseleave
addanimate
buttonup
B"addanimate"
??
interrupt
Hold down to interrupt
Consider the matrices
A = and B =
A + B = + =
ilar result holds for matrices of other orders.
s for matrices of other orders.
0MHL-M
2 7 8 1
-1 1 -1 3
5 7
4 1
-2 333
2 7 8 1
-1 1 -1 3
3 6
5 0
6 233
2 7 8 1
-1 1 -1 3
XQpPUQ
2 7 8 1
-1 1 -1 3
addition
For example, the sum of two general 2x2 matrices, A and B, is
A + B = +
= .
.
es of other orders.
remaddition
addition
table
sbmselection
backdrop
Click on numbered buttons
status
buttonup
"addition"
"backdrop"
(sbmselection
"table")
status="Click on numbered buttons"
Remove
a a
a a
4 0
4 0
10 5 4 0
b b
b b
4 0
4 0
10 5 4 0
`cxb]c
a + b a + b
a + b a + b
4 0
10 5 4 0
Two matrices are added together by summing the corresponding elements of the matrices.
+ = .
es of other orders.
order
Thus, if
same ORDER may be added. Thus, if
*lBk'l
4 3
2 -1
4 0
4 0
10 5 4 0
8 -2
0 6
4 0
4 0
10 5 4 0
, B ====
then A + B =
12 1
2 5
4 0
4 0
10 5 4 0
same ORDER may be added. Thus, if
4 3
2 -1
4 0
4 0
10 5 4 0
, B ====
2vJu/v
8 -2 4
0 6 1
4 0
4 0
10 5 4 0
then A + B does not exist. Yw
remorder
table
order
sbmselection
orderequal
backdrop
Click on numbered buttons
orderunequal
status
buttonup
"order"
"orderequal"
"orderunequal"
"backdrop"
sbmselection
"table"
status="Click on numbered buttons"
Remove
but iff
Only matrices of the same ORDER may be added.
orderequal
orderequal
buttonup
"orderequal"
orderunequal
orderunequal
buttonup
"orderunequal"
Why not?
orderunequal
A order 2x2
B order 2x3 e}
subtraction
Matrix SUBTRACTION is performed in a similar way to matrix addition.
A - B = - = = . . = = . =========================
For example, if A = , B =
then
A - B = - =
= . - = = . =========================
0 3
7 5
3 -2
0 1
4 0
4 0
10 5 4 0
remsubtraction
subtraction
table
sbmselection
backdrop
Click on numbered buttons
status
buttonup
"subtraction"
"backdrop"
sbmselection
"table"
status="Click on numbered buttons"
Remove
3 -2
0 1
4 0
4 0
10 5 4 0
0 3
7 5
4 0
4 0
10 5 4 0
0-3 3- -2
7-0 5-1
4 0
4 0
10 5 4 0
-3 5
7 4
4 0
4 0
10 5 4 0
rules
Since matrix addition is just a case of adding corresponding elements in the matrices, some important rules follow:
click on the equations for more information = =
A - B = - = ===========
remrules
table
rules
associative
commutative
sbmselection
backdrop
Click on numbered buttons
status
buttonup
"rules"
"associative"
"commutative"
"backdrop"
sbmselection
"table"
status="Click on numbered buttons"
Remove
.&+ +E
mouseenter
.&+ +E
mouseleave
commutative
buttonup
"commutative"
A + B = B + A
.&+ +E
mouseenter
.&+ +E
mouseleave
associative
buttonup
"associative"
A + (B+C) = (A+B) + C AAAAAA
.&+ +E
mouseenter
.&+ +E
mouseleave
addidentity
buttonup
"addidentity"
A + 0 = 0 + A = A
Click on the blue equations opposite for information about each rule.
exback
exback
A = , B =
C = A + B
enter
Enter
QuitEx
Remove
smile1
buttonup
smile4
buttonup
smile3
buttonup
smile2
buttonup
frown1
frown4
frown3
frown2
Exercise 222222
Matrix Additioncation condition
question
Question 18
order2
klogorder
buttonup
logorder
klogorder
buttonup
logorder
klogorder
buttonup
logorder
klogorder
buttonup
logorder
Next Question
false
enter
numberRight
score
Incorrect, answer should be
Quit Exercise
showinputmatrix
QuitEx
firstTry
[&tidyup
Correct
genquestion
corder
buttonup
4corder,numberRight,firstTry
enabled
B"enter" =
"score"
"Correct"
f"Next Question"
"Quit Exercise"
B"QuitEx"
tidyup
genquestion
"ex2"
"Incorrect, answer should be "&(
showinputmatrix
-- code found
# C doesn't exist
Fgenerate another
prompt
A + B
C doesn't exist
What order is C ? Click the appropriate buttonr
tabexplan
buttonup
The Tab key is usually found to the left of the character Q on the keyboard. The key may be indicated by the symbols
click to remove
score
Score: 0 out of 077
control
enter
Enter
ucurrentf
operations
operations
changesign
buttonup
bnegative
helpfield
helpfield
rightbuttonup
(currentf
changesign
operations
(helpfield
"bnegative"
helppad
buttonup
"helppad"
Control Pad
+ row
current
right
0Mfntsize
fsize
omatratio
buttonup
4row,col,current
("mat"&
oenabled =
fsize = fntsize
ratio = (matratio
S" =
realign
- row
V, #>
current
colwidth
right
fsize
0Mfntsize
deltax
buttonup
4row,col,current,colwidth,deltax
fsize = fntsize
enabled
E" =
("mat"&i&(
v-1))
)=symbol
+ col
current
colwidth
right
deltax
buttonup
4row,col,current,colwidth,deltax
("mat"&i&
oenabled =
realign
- col
start
Start
matrix
right
matorig
tabtext
Use the Tab key (or mouse) to move from element to element. Enter the appropriate value for each element. Once all the elements have been entered click the Enter key...
tabexplan
buttonup
"tabexplan"
C = A+B =
ansback
ansback
A+B = + = =
QuitEx
ansback
[&tidyup
matrix
genquestion
buttonup
tidyup
B"QuitEx"
"matrix"
genquestion
"ex2"
"ansback"
Next Question
QuitEx
ansback
buttonup
B"QuitEx"
"ansback"
Quit Exercise
addidentity
If you recall the null (zero) matrix, 0 say, you will see that
A + 0 = 0 + A = A
for any matrix A. Thus 0 is the identity for matrix addition.
This should not be confused with I = , the identity for matrix
multiplication.
addidentity
buttonup
"addidentity"
Remove
associative
Matrices are associative under addition, i.e. the brackets may be ignored when adding matrices together.
However, matrix subtraction is not associative.
associative
buttonup
"associative"
Remove
commutative
Matrices are commutative under addition, i.e. the same result is obtained irrespective of the order in which the sum is written.
However, matrix subtraction is not commutative (as with numbers the order matters).
commutative
buttonup
"commutative"
Remove
orderequal
A and B both
order 2x2
matex4
LTS*T
WXX.Y
AB
(AB)C = A(BC)
AI = IA = A
Click on the exercise book to
start the exercises..
ee that
AI = IA = A
for any matrix A. Thus I is the IDENTITY for matrix MULTIPLICATION.
for any matrix A. Thus I is the IDENTITY for matrix MULTIPLICATION.
. Thus I is the IDENTITY for matrix MULTIPLICATION.
Thus I is the IDENTITY for matrix MULTIPLICATION.
ee matrices A, B and C together, we find that
(AB)C = A(BC)
so that matrix multiplication is, like matrix addition, ASSOCIATIVE.
If you recall the identity matrix I in MATRICES(1), you will see that
AI = IA = A
for any matrix A. Thus I is the IDENTITY for matrix MULTIPLICATION.
ee that
AI = IA = A
for any matrix A. Thus I is the IDENTITY for matrix MULTIPLICATION.
commutative
buttonup
"commutative"
associative
buttonup
"associative"
identity
buttonup
"identity"
Matrix Algebra
Click on blue text and exercise book
5 of 5
Page 11 of 12
Click on the blue equations opposite to learn more about the rules of matrix multiplication.
answer(2)
answer(1)
."%#X
MATRIX MULTIPLICATION
Exercise 4 4e 2
exback
exback
A = , B =
C = A * B
enter
Enter
QuitEx
Remove
smile1
buttonup
smile4
buttonup
smile3
buttonup
smile2
buttonup
frown1
frown4
frown3
frown2
Exercise 444
Matrix Multiplicationnnn condition
question
Question 1411
order2
klogorder
buttonup
logorder
klogorder
buttonup
logorder
klogorder
buttonup
logorder
klogorder
buttonup
logorder
Next Question
false
enter
numberright
score
Quit Exercise
showinputmatrix
QuitEx
firstTry
[&tidyup
correct
Incorrect, answer should be
question
genquestion
corder
buttonup
4corder,numberright,firstTry
"score" = numberRight
"correct"
f"Next Question"
"Quit Exercise"
B"QuitEx"
tidyup
genquestion
"ex4"
"Incorrect, answer should be "&(
enabled
B"enter" =
showinputmatrix
-- code found
# C doesn't exist
Fgenerate another
prompt
A + B
C doesn't exist
What order is C ? Click the appropriate buttonr
klogorder
buttonup
logorder
tabexplan
buttonup
The Tab key is usually found to the left of the character Q on the keyboard. The key may be indicated by the symbols
click to remove
score
Score: 0 out of 044
associative
If 3 matrices A,B and C are multiplied together then the brackets may safely be ignored, i.e. matrix multiplication is, like matrix addition, associative.
ubtraction is not associative. n adding matrices together.
However, matrix subtraction is not associative. ive.
associative
buttonup
"associative"
Remove
commutative
Matrix multiplication is, in general, not commutative, i.e. the same result is not obtained irrespective of the order in which the product is written.
In fact, sometimes only one of the products AB and BA will be defined.
subtraction is not commutative.
commutative
buttonup
"commutative"
Remove
identity
Recall the identity matrix, I.
Multiplication of any matrix A by I leaves A unchanged.
I is the identity matrix under multiplication.
Remind me what the identity looks like !
This should not be confused with I, the identity matrix under multiplication.
buttonup
"mat2"
identity
buttonup
"identity"
Remove
buttonup
"mat2"
I = (of order 3x3))
4FLE1F
2 7 8 1
-1 1 -1 3
1 0 0
0 1 0
0 0 1
2 7 8 1
-1 1 -1 3
matrix
right
matorig
tabtext
Use the Tab key (or mouse) to move from element to element. Enter the appropriate value for each element. Once all the elements have been entered click the Enter key.......
tabexplan
buttonup
"tabexplan"
C = A*B =
ansback
ansback
A*B = * =
[&tidyup
QuitEx
ansback
matrix
question
genquestion
buttonup
4row,col
B("c"&i&j)
tidyup
B"QuitEx"
"matrix"
genquestion
"ex4"
"ansback"
Next Question
QuitEx
ansback
buttonup
4row,col
B("c"&i&j)
B"QuitEx"
"ansback"
Quit Exercise
Click onto elements of the matrix product to find out how they were calculated.
explan
showexplan
buttonup
showexplan (
showexplan
buttonup
showexplan (
showexplan
buttonup
showexplan (
showexplan
buttonup
showexplan (
showexplan
buttonup
showexplan (
showexplan
buttonup
showexplan (
showexplan
buttonup
showexplan (
showexplan
buttonup
showexplan (
&Button
showexplan
buttonup
showexplan (
matrix algebar
matrix algebra
identity looks like !
This should not be confused with I, the identity matrix under multiplication.