1 / 58

Part 3 - Chapter 8 Linear Algebraic Equations and Matrices

Part 3 - Chapter 8 Linear Algebraic Equations and Matrices. Review of Matrix Algebra Concepts. Let’s take a look at a problem that can be formulated using matrices. Suppose there are three jumpers connected by bungee cords, so that each cord is fully extended, but unstretched.

thane
Download Presentation

Part 3 - Chapter 8 Linear Algebraic Equations and 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. Part 3 - Chapter 8 Linear Algebraic Equations and Matrices

  2. Review of Matrix Algebra Concepts • Let’s take a look at a problem that can be formulated using matrices

  3. Suppose there are three jumpers connected by bungee cords, so that each cord is fully extended, but unstretched. After they are released, gravity takes hold and the jumpers will eventually come to equilibrium Suppose you are asked to compute the displacement of each of the jumpers – that is x1, x2, x3.

  4. Free body diagrams Assume that each cord behaves like a linear spring, and follows Hooke’s Law

  5. Force Balance Since the jumpers are at equilibrium the acceleration is equal to 0

  6. 3 equations and 3 unknowns Rearrange to give…..

  7. Linear system of equations Which can be solved using matrix algebra

  8. Applied Force F = 200 lbf 20 feet θ = 600 Pivot Point Matrix Algebra Chapter 9 in MATLAB for Engineers

  9. In this chapter we’ll learn how to… • perform the basic operations of matrix algebra • solve simultaneous equations using MATLAB matrix operations

  10. The difference between an array and a matrix • Most engineers use the two terms interchangeably • The only time you need to be concerned about the difference is when you perform matrix algebra calculations

  11. Arrays • Technically an array is an orderly grouping of information • Arrays can contain numeric information, but they can also contain character data, symbolic data etc.

  12. Matrix • The technical definition of a matrix is a two-dimensional numeric array used in linear algebra • Not even all numeric arrays can precisely be called matrices - only those upon which you intend to perform linear transformations meet the strict definition of a matrix.

  13. Matrix Algebra • used extensively in engineering applications • Matrix algebra is different from the array calculations we have performed thus far

  14. Array Operators • A.* B multiplies each element in array A times the corresponding element in array B • A./B divides each element in array A by the corresponding element in array B • A.^B raises each element in array A to the power in the corresponding element of array B

  15. Operators used in Matrix Mathematics • Transpose • Multiplication • Division • Exponentiation • Left Division

  16. Some Matrix Algebra functions • Dot products • Cross products • Inverse • Determinants Covered in Applied Numerical Methods

  17. Transpose • In mathematics texts you will often see the transpose indicated with superscript T • AT • The MATLAB syntax for the transpose is • A'

  18. The transpose switches the rows and columns

  19. Using the transpose with complex numbers When used with complex numbers, the transpose operator returns the complex conjugate

  20. Dot Products • The dot product is sometimes called the scalar product • the sum of the results when you multiply two vectors together, element by element.

  21. * * * || || || + + Equivalent statements

  22. Example 9.1 MATLAB for EngineersCalculating the Center of Gravity(Center of Mass) • Finding the center of gravity of a structure is important in a number of engineering applications • The location of the center of gravity can be calculated by dividing the system up into small components.

  23. In a rectangular coordinate system • are the coordinates of the center of gravity • W is the total mass of the system • x1, x2, and x3 etc are the x coordinates of each system component • y1, y2, and y3 etc are the y coordinates of each system component • z1, z2, and z3 etc are the z coordinates of each system component and • W1, W2, and W3 etc are the masses of each system component

  24. In this example… • We’ll find the center of gravity of a small collection of the components used in a complex space vehicle

  25. Vehicle Component Locations and Mass Formulate the problem using a dot product

  26. Input and Output • Input • Location of each component in an x-y-z coordinate system – in meters • Mass of each component, in grams • Output • Location of the center of gravity

  27. Hand ExampleFind the x coordinate of the center of gravity

  28. We know that… • The x coordinate is equal to • So… • =6.535/7.54 = 0.8667 meters This is a dot product

  29. We could use a plot to evaluate our results This plot was created using the interactive plotting tools

  30. Matrix Multiplication • Similar to a dot product

  31. Matrix multiplication results in an array where each element is a dot product. • In general, the results are found by taking the dot product of each row in matrix A with each column in Matrix B

  32. These dimensions must match The resulting matrix will have these dimensions • Because matrix multiplication is a series of dot products • the number of columns in matrix A must equal the number of rows in matrix B • For an mxn matrix multiplied by an nxp matrix m x n n x p

  33. We could use matrix multiplication to solve the problem in Example 9.1, in a single step

  34. Matrix Powers • Raising a matrix to a power is equivalent to multiplying it times itself the requisite number of times • A2 is the same as A*A • A3 is the same as A*A*A • Raising a matrix to a power requires it to have the name number of rows and columns

  35. Matrix Inverse • MATLAB offers two approaches • The matrix inverse function • inv(A) • Raising a matrix to the -1 power • A-1

  36. Equivalent approaches to finding the inverse of a matrix A matrix times its inverse is the identity matrix

  37. Not all matrices have an inverse • Called • Singular • Ill-conditioned matrices • Attempting to take the inverse of a singular matrix results in an error statement

  38. Determinants • Related to the matrix inverse • If the determinant is equal to 0, the matrix does not have an inverse • The MATLAB function to find a determinant is • det(A)

  39. We’ll talk about determinants more in the next chapter of Applied Numerical Methods

  40. Cross Products • sometimes called vector products • the result of a cross product is a vector • always at right angles (normal) to the plane defined by the two input vectors • orthogonality

  41. Consider two vectors The cross product is equal to…

  42. Cross Products are Widely Used • Cross products find wide use in statics, dynamics, fluid mechanics and electrical engineering problems

  43. Solutions to Systems of Linear Equations

  44. Using Matrix Nomenclature and AX=B

  45. Symbolically and AX=B

More Related