Sunday, December 11, 2011
Cramer's Rule
Where D is the determinant of the coefficient matrix
Used to solve systems of equations using matrices and determinants
Ex. 1 3x - y + 2z = 4
2x + 3y - z = 14
7x - 4y + 3z = -4
x y z x y z
[ 3 -1 2 ] [ 4 -1 2 ]
D = [ 2 3 -1 ] = -30 Dx = [ 14 3 -1 ] = -30
[ 7 -4 3 ] [ -4 4 3 ]
x y z x y z
[ 3 4 2 ] [3 -1 4 ]
Dy = [ 2 14 -1 ] = -150 Dz = [ 2 3 14 ] = -90
[ 7 -4 3 ] [ 7 4 -4 ]
x = -30/-30 = 1 y = -150/-30 = 5 z = -90/-30 = 3
Ex. 2 7x + 4y = 19
3x - 10y = 14
D = [ 7 4 ] = -82 Dx = [ 19 4 ] = -246
[ 3 -10 ] [ 14 -10 ]
Dy = [ 7 19 ] = 41 x = -246/-82 = 3 y = 41/-82 = -1/2
[ 3 14 ]
Sunday, December 4, 2011
Adding/subtracting matrices
Chapter 14 Section 1- Adding and subtracting matrices.
Steps to adding and subtracting matrices:
1)A^t, to transpose : switch rows and columns.
2)In order to add matrices they have to have the same dimensions.(rows x columns)
3)In order to add matrices you must add corresponding entries.
Example 1. What are the dimensions of B?
[2 8]
[8 5]
[7 2]
[5 3]
Answer: 4 x 2
Example 2. Add D and B
D=[2 4] C= [ 2 10]
[16 1] [6 2]
[9 13] [1 3]
Answer: [4 14]
[22 3]
[10 16]
Matrices :)
A^t (transpose) means switching rows and columns.
To add matrices they must have the same dimensions.(rows X columns)
To add matrices you will add corresponding entries.
Ex.1:
Find dimensions by counting how many rows there are and how many columns:
[145]
[783]
2X3
Ex.2:
Find the dimensions of D:
There are three rows and also three columns therefore the dimensions would be three by three.
[0 9 -3]
[7 -4 8]
[11 2 3]
3X3
Ex.3:
To do this you will subtract all the numbers of Matrice A to Matrice B and you will then get a new matrice.
Find A-B
A=[0 9 -3] [7 5 4]
[7 -4 8] - [2 1 8] = [7 4 -7]
[5-5 0]
Ex.4:
To find this you will add the numbers from matrice A to matrice B and you will get a new matrice.
Find A+B:
A=[0 9 -3] [7 5 4] = [7 14 1]
[7 -4 8] + [2 1 8] [9 -3 16]
Matrices
A^t - transpose – switch rows and columns
To add matrices they must be the same dimensions(row x column)
To add matrices you add corresponding entries
To complete scalar multiplication you multiply every entry by the number
Ex 1. A = [ 3 8 1 ] B = [ 2 0 9 ]
[ 4 0 -3 ] [ 4 -6 -5 ]
[ -2 1 5 ] [ 0 7 2 ]
a. What are the dimensions of A and B? A = 3x3 B = 3x3
b. Find A^t and B^t A^t = [ 3 4 -2 ] B^t = [ 2 4 0 ]
[ 8 0 1 ] [ 0 -6 7 ]
[ 1 -3 5 ] [ 9 -5 2 ]
c. Find A + B A + B = [ 5 8 10 ]
[ 8 -6 -8 ]
[ -2 8 7 ]
d. Find 4A – 2B 4A = [ 12 32 4 ] 2B = [ 4 0 18 ] 4A – 2B = [ 8 32 -14 ]
[ 16 24 -12 ] [ 8 -12 -10 ] [ 8 12 -2 ]
[ -8 4 20 ] [ 0 14 4 ] [ -8 -10 16 ]
14-1 :-) KAYLA
-A^t (transpose)= switching rows and columns.
-To add matrices theyhave to have the same dimensions.(rows x columns)
-To add matrices you have to add corresponding entries.
Example 1.) what are the dimensions of K.
[0]
[1]
[11]
[10]
ANSWER: (4 x 1)
Example 2.) add K and C.
K=[1 1] C= [ 6 9]
[11 10] [3 13]
[10 26] [10 2]
ANSWER: [7 10]
[14 23]
[20 28]