1 / 54

Matrices

Matrices. Revision: Substitution. Solve for one variable in one of the equations. Substitute this expression into the other equation to get one equation with one unknown. Back substitute the value found in step 2 into the expression from step 1. Check. Solve:.

kapila
Télécharger la présentation

Matrices

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Matrices

  2. Revision: Substitution • Solve for one variable in one of the equations. • Substitute this expression into the other equation to get one equation with one unknown. • Back substitute the value found in step 2 into the expression from step 1. • Check.

  3. Solve: Step 1: Solve equation 1 for y. Step 2: Substitute this expression into eqn 2 for y. Step 3: Solve for x. Step 4: Substitute this value for x into eqn 1 and find the corresponding y value. Step 5: Check in both equations.

  4. Elimination • Adjust the coefficients. • Add the equations to eliminate one of the variable. Then solve for the remaining variable. • Back substitute the value found in step 2 into one of the original equations to solve for the other variable. • Check.

  5. Solve: Step1: The coefficients on the y variables are opposites. No multiplication is needed. Step 2: Add the two equations together. Step 3: Solve for x. Step 4: Substitute this value for x into either eqn and find the corresponding y value. Step 5: Check in both equations.

  6. Definition: • In mathematics, a matrix (plural matrices) is a rectangular array of numbers, symbols, or expressions, arranged in rows and columns. • In simple terms, a table of numbers.

  7. Example: • John and Bill went to the tuck shop. John bought a pie and cake and Bill bought 2 pies, a drink and a cake.

  8. John and Bill went to the tuck shop. John bought a pie and cake and Bill bought 2 pies, a drink and a cake. Matrix

  9. Basics for matrices

  10. Order of a matrix

  11. Equality: • Two matrices are equal only if they have the same order and their corresponding elements are equal.

  12. Addition • Two matrices must be of the same order before they can be added.

  13. Subtraction • The negative matrix is obtained by taking the opposite value of each element in the matrix. Subtraction is the same as adding the negative matrix.

  14. Example

  15. Scalar Multiplication • Multiplying by a number. • Each element is multiplied by the number. • Also

  16. Zero Matrix • Every element in the matrix is zero. • This is the identity for addition. • Example:

  17. Identity or unit matrix • The elements of the leading diagonal are all 1 and all other elements are zero. • Example:

  18. Matrix Multiplication • Two matrices can be multiplied if the number of columns of the first matrix equals the number of rows of the second matrix. • Example:

  19. Matrix Multiplication • This forms a 2 x 1 matrix

  20. Matrix Multiplication • This forms a 2 x 1 matrix

  21. Remember • A linear equation with 2 variables is a line • E.g.

  22. A linear equation with 3 variables is a plane.

  23. Solving problems using matrices • Scenario 1 • Two lines intersect at one point. There is a unique solution. • This means the system is independent and consistent with a uniquesolution.

  24. Solving problems using matrices • Two small jugs and one large jug can hold 8 cups of water.  One large jug minus one small jug constitutes 2 cups of water.  How many cups of  water can each jug hold?

  25. Step 1: write down the equations • Two small jugs and one large jug can hold 8 cups of water.  One large jug minus one small jug constitutes 2 cups of water.  How many cups of  water can each jug hold? • Let x = number of cups of water that the large jug holds • Let y = number of cups of water that the small jug holds

  26. Step 1: write down the equations • Two small jugs and one large jug can hold 8 cups of water.  One large jug minus one small jug constitutes 2 cups of water.  How many cups of  water can each jug hold? • Let x = number of cups of water that the small jug holds • Let y = number of cups of water that the large jug holds

  27. Step 2: Create the matrix • Two small jugs and one large jug can hold 8 cups of water.  One large jug minus one small jug constitutes 2 cups of water.  How many cups of  water can each jug hold? • Let x = number of cups of water that the small jug holds • Let y = number of cups of water that the large jug holds

  28. This is called the augmented matrix of the system • Two small jugs and one large jug can hold 8 cups of water.  One large jug minus one small jug constitutes 2 cups of water.  How many cups of  water can each jug hold? • Let x = number of cups of water that the small jug holds • Let y = number of cups of water that the large jug holds

  29. Step 2: Keep equation (1) and eliminate ‘x’ from (2)

  30. Step 3: Divide (2) by -3

  31. The matrix is now in row echelon form

  32. Using back substitution to solve:

  33. We could have done 1 more step

  34. This is called reduced row echelon form

  35. We have a unique solution (2, 2) • This means the system is independent and consistent with a uniquesolution. • Geometrically: The lines intersect at a unique point because the gradients are not the same.

  36. Example 2: • Solve the following equation:

  37. Write in matrix form: • Solve the following equation:

  38. Solve the following equation:

  39. Solve the following equation:

  40. Solution is (1, 2) • This means the system is independent and consistent with a uniquesolution.

  41. Scenario 2 • The two lines don’t intersect because the lines are parallel. • The system is “independentand inconsistent and has nosolution.”

  42. Example: • Solve the following

  43. Write down the augmented matrix

  44. The system is “independent and inconsistent and has nosolution.”

  45. The lines are parallel and hence there is no solution

  46. Scenario 3 Identical lines which intersect at an infinite number of points. The system is “dependent and consistent and has an infinite number of solutions.”

  47. Example: • Solve the following

More Related