Linear Algebra Review Tuesday, September 7, 2010.

Slides:



Advertisements
Similar presentations
Linear Transformations and Matrices Jim Van Verth Lars M. Bishop
Advertisements

Chapter 2 Solutions of Systems of Linear Equations / Matrix Inversion
Simultaneous Linear Equations
Lecture 9: Introduction to Matrix Inversion Gaussian Elimination Sections 2.4, 2.5, 2.6 Sections 2.2.3, 2.3.
Major: All Engineering Majors Author(s): Autar Kaw
1 Simultaneous Linear Equations Gaussian Elimination.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 : “shiv rpi” Linear Algebra A gentle introduction Linear Algebra has become as basic and as applicable.
CSC 123 – Computational Art Points and Vectors
Chapter 2 Matrices Definition of a matrix.
ECIV 520 Structural Analysis II Review of Matrix Algebra.
MOHAMMAD IMRAN DEPARTMENT OF APPLIED SCIENCES JAHANGIRABAD EDUCATIONAL GROUP OF INSTITUTES.
Boot Camp in Linear Algebra Joel Barajas Karla L Caballero University of California Silicon Valley Center October 8th, 2008.
Lesson 4 Review of Vectors and Matrices. Vectors A vector is normally expressed as or in terms of unit vectors likewise.
Chapter 7 Matrix Mathematics Matrix Operations Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Major: All Engineering Majors Author(s): Autar Kaw
Chapter 10 Review: Matrix Algebra
Compiled By Raj G. Tiwari
Graphics CSE 581 – Interactive Computer Graphics Mathematics for Computer Graphics CSE 581 – Roger Crawfis (slides developed from Korea University slides)
6.837 Linear Algebra Review Patrick Nichols Thursday, September 18, 2003.
1 February 24 Matrices 3.2 Matrices; Row reduction Standard form of a set of linear equations: Chapter 3 Linear Algebra Matrix of coefficients: Augmented.
ECON 1150 Matrix Operations Special Matrices
Patrick Nichols Thursday, September 18, Linear Algebra Review.
Recap of linear algebra: vectors, matrices, transformations, … Background knowledge for 3DM Marc van Kreveld.
Basic Operations MultiplicationDeterminants Cramer’s RuleIdentityInverses Solving Systems of equations APPENDIX.
Matrix Algebra. Quick Review Quick Review Solutions.
Modern Navigation Thomas Herring
Engineering Analysis ENG 3420 Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00.
Review of Matrices Or A Fast Introduction.
6.837 Linear Algebra Review Patrick Nichols Thursday, September 18, 2003.
1 Math Review Coordinate systems 2-D, 3-D Vectors Matrices Matrix operations.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 : “shiv rpi” Linear Algebra A gentle introduction Linear Algebra has become as basic and as applicable.
Statistics and Linear Algebra (the real thing). Vector A vector is a rectangular arrangement of number in several rows and one column. A vector is denoted.
Overview Definitions Basic matrix operations (+, -, x) Determinants and inverses.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
Algebra 3: Section 5.5 Objectives of this Section Find the Sum and Difference of Two Matrices Find Scalar Multiples of a Matrix Find the Product of Two.
6.837 Linear Algebra Review Rob Jagnow Monday, September 20, 2004.
Gaussian Elimination Electrical Engineering Majors Author(s): Autar Kaw Transforming Numerical Methods Education for.
Gaussian Elimination Industrial Engineering Majors Author(s): Autar Kaw Transforming Numerical Methods Education for.
Gaussian Elimination Mechanical Engineering Majors Author(s): Autar Kaw Transforming Numerical Methods Education for.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2016 Tamara Munzner Math Basics Week 1, Fri.
PROPERTIES OF REAL NUMBERS. COMMUTATIVE PROPERTY OF ADDITION What it means We can add numbers in any order Numeric Example Algebraic Example
Gaussian Elimination Civil Engineering Majors Author(s): Autar Kaw Transforming Numerical Methods Education for STEM.
Autar Kaw Benjamin Rigsby Transforming Numerical Methods Education for STEM Undergraduates.
Unsupervised Learning II Feature Extraction
If A and B are both m × n matrices then the sum of A and B, denoted A + B, is a matrix obtained by adding corresponding elements of A and B. add these.
Number Properties. Commutative Property of Addition Words: In a sum, you can add terms in any order. Numbers: 5 + (-6) Algebra: a + b b + a.
Lecture 1 Linear algebra Vectors, matrices. Linear algebra Encyclopedia Britannica:“a branch of mathematics that is concerned with mathematical structures.
Ch. 12 Vocabulary 1.) matrix 2.) element 3.) scalar 4.) scalar multiplication.
CSE 167 [Win 17], Lecture 2: Review of Basic Math Ravi Ramamoorthi
Linear Algebra Lecture 2.
Chapter 7 Matrix Mathematics
Gaussian Elimination.
Linear Algebra Review.
Lecture 03: Linear Algebra
Matrix Algebra.
Use Inverse Matrices to Solve Linear Systems
Review of Matrix Algebra
CSE 541 – Numerical Methods
Chapter 3 Linear Algebra
Matrix Algebra.
Simultaneous Linear Equations
Linear Algebra A gentle introduction
Math review - scalars, vectors, and matrices
Game Programming Algorithms and Techniques
3.5 Perform Basic Matrix Operations Algebra II.
Presentation transcript:

Linear Algebra Review Tuesday, September 7, 2010

Overview Basic matrix operations (+, -, *) Cross and dot products Determinants and inverses Orthonormal basis Gauss-elimination

What is a Matrix? A matrix is a set of elements, organized into rows and columns rows columns

Basic Operations Addition, Subtraction, Multiplication Just add elements Just subtract elements Multiply each row by each column

Multiplication Is AB = BA? Maybe, but maybe not! Heads up: multiplication is NOT commutative!

Vector Operations Vector: 1 x N matrix Interpretation: a line in N dimensional space Dot Product, Cross Product, and Magnitude defined on vectors only x y v

Vector Interpretation Think of a vector as a line in 2D or 3D Think of a matrix as a transformation on a line or set of lines V V’

Vectors: Dot Product Interpretation: the dot product measures to what degree two vectors are aligned A B A B C A+B = C (use the head-to-tail method to combine vectors)

Vectors: Dot Product Think of the dot product as a matrix multiplication The magnitude is the dot product of a vector with itself The dot product is also related to the angle between the two vectors – but it doesn’t tell us the angle

Vectors: Cross Product The cross product of vectors A and B is a vector C which is perpendicular to A and B The magnitude of C is proportional to the cosine of the angle between A and B The direction of C follows the right hand rule – this why we call it a “ right-handed coordinate system ”

Inverse of a Matrix Identity matrix: AI = A Some matrices have an inverse, such that: AA -1 = I Inversion is tricky: (ABC) -1 = C -1 B -1 A -1 Derived from non- commutativity property

Determinant of a Matrix Used for inversion If det(A) = 0, then A has no inverse Can be found using factorials, pivots, and cofactors! Lots of interpretations – for more info, take 18.06

Determinant of a Matrix Sum from left to right Subtract from right to left Note: N! terms

Orthonormal Basis Basis: a space is totally defined by a set of vectors – any point is a linear combination of the basis Ortho-Normal: orthogonal + normal Orthogonal: dot product is zero Normal: magnitude is one Example: X, Y, Z (but don ’ t have to be!)

Orthonormal Basis X, Y, Z is an orthonormal basis. We can describe any 3D point as a linear combination of these vectors. How do we express any point as a combination of a new basis U, V, N, given X, Y, Z?

Orthonormal Basis (not an actual formula – just a way of thinking about it) To change a point from one coordinate system to another, compute the dot product of each coordinate row with each of the basis vectors.

Naïve Gaussian Elimination A method to solve simultaneous linear equations of the form [A][X]=[C] Two steps 1. Forward Elimination 2. Back Substitution

Forward Elimination The goal of forward elimination is to transform the coefficient matrix into an upper triangular matrix

Forward Elimination A set of n equations and n unknowns.. (n-1) steps of forward elimination

Forward Elimination Step 1 For Equation 2, divide Equation 1 by and multiply by.

Forward Elimination Subtract the result from Equation 2. − _________________________________________________ or

Forward Elimination Repeat this procedure for the remaining equations to reduce the set of equations as... End of Step 1

Step 2 Repeat the same procedure for the 3 rd term of Equation 3. Forward Elimination.. End of Step 2

Forward Elimination At the end of (n-1) Forward Elimination steps, the system of equations will look like.. End of Step (n-1)

Matrix Form at End of Forward Elimination

Back Substitution Solve each equation starting from the last equation Example of a system of 3 equations

Back Substitution Starting Eqns..

Back Substitution Start with the last equation because it has only one unknown

Back Substitution

Questions? ?