Sunday, December 11, 2011

Cramer's Rule

x = Dx/D y = Dy/D z = Dz/D

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 :)

Matrices-adding and subtracting

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

14-1 is adding and subtracting matrices! :)
-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]

14-1!

Adding and Subtracting Matrices.

~A^t (transpose)= 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 the dimensions of Z:
[234]
[125]
2X3

Ex.2:
Find the dimensions of H:
[0 9 -3 2]
[7 -4 8 6]
[11 2 3 0]
3X4

Ex.3:
Find A+B:
A= [2 8] B= [11 -3]
[5 6] [-5 15]
[13 5]
[0 21]

Ex.4:
Find X-Y:
X=[21 6] Y=[0 13]
[15 3] [-7 0]
[21 -7]
[22 3]

Adding and Subtracting Matrices

Matrix Addition and Subtraction
In order to add or subtract matrices, the dimensions of each matrix must be the same.  If the dimensions are not the same, the sum or difference is undefined.  Then, you add or subtract the matching numbers in the two matrices.
1.      [2   -4    6        +    [9    -3     -8       =   [11    -7     -2
4      9    -7]            0     -2      5]             4      7      -2]

2.      [ 4     -12     5        -     [-4      -5     -13               =      [8     -7     18
-2       -34     3]               -3      15     12]                      1     -49     -9]


Matrix Multiplication
To multiply two matrices, the number of columns in the first matrix must be the same as the number of rows in the second in order to multiply.  For example a 2x3 matrix and a 3x4 matrix can be multiplied because the inside numbers are the same.
Once you know you can multiply, you then multiply each number in the first row by each number in the first column and add the products together.  You do this for each row and each column.
1.      [-2     5     -3                      [-2      5
1       -4      -2]        x            5     -2
                                             -3     -1]

This is a 2x3 and 3x2, so you can multiply.

=[(-2)(-2) + (5)(5) + (-3)(-3)                      (-2)(5) + (5)(-2) + (-3)(-1)
    (1)(-2) + (-4)(5) + (-2)(-3)                      (1)(5) + (-4)(-2) + (-2)(-1)]

=[ 4+25+9                 -10-10+3
    -2-20+6                   5+8+2]

=[38       -17
   -16       15]


Love, Jenna