6.837 Linear Algebra Review Patrick Nichols Thursday, September 18, 2003.

Slides:



Advertisements
Similar presentations
3D Geometry for Computer Graphics
Advertisements

1 3D Vector & Matrix Chapter 2. 2 Vector Definition: Vector is a line segment that has the direction. The length of the line segment is called the magnitude.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 : “shiv rpi” Linear Algebra A gentle introduction Linear Algebra has become as basic and as applicable.
Chapter 4.1 Mathematical Concepts
Chapter 4.1 Mathematical Concepts. 2 Applied Trigonometry Trigonometric functions Defined using right triangle  x y h.
CSC 123 – Computational Art Points and Vectors
Outline for Today More math… Finish linear algebra: Matrix composition
CSCE 590E Spring 2007 Basic Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
3-D Geometry.
Computer Graphics CSC 630 Lecture 2- Linear Algebra.
Boot Camp in Linear Algebra Joel Barajas Karla L Caballero University of California Silicon Valley Center October 8th, 2008.
Computer Graphics (Fall 2005) COMS 4160, Lecture 2: Review of Basic Math
Linear Algebra Review CSE169: Computer Animation Instructor: Steve Rotenberg UCSD, Winter 2005.
Chapter 7 Matrix Mathematics Matrix Operations Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka Virginia de Sa (UCSD) Cogsci 108F Linear.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
2IV60 Computer Graphics Basic Math for CG
Basics of Linear Algebra A review?. Matrix  Mathematical term essentially corresponding to an array  An arrangement of numbers into rows and columns.
Foundations of Computer Graphics (Fall 2012) CS 184, Lecture 2: Review of Basic Math
Mathematical Fundamentals
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.
Patrick Nichols Thursday, September 18, Linear Algebra Review.
MATRICES Adapted from presentation found on the internet. Thank you to the creator of the original presentation!
Basic Operations MultiplicationDeterminants Cramer’s RuleIdentityInverses Solving Systems of equations APPENDIX.
Modern Navigation Thomas Herring
Mathematical Foundations Sections A-1 to A-5 Some of the material in these slides may have been adapted from university of Virginia, MIT and Åbo Akademi.
Intro to 3D Models Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
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.
Overview Definitions Basic matrix operations (+, -, x) Determinants and inverses.
6.837 Linear Algebra Review Rob Jagnow Monday, September 20, 2004.
16/5/ :47 UML Computer Graphics Conceptual Model Application Model Application Program Graphics System Output Devices Input Devices API Function.
Chapter 3 Vectors. Vectors – physical quantities having both magnitude and direction Vectors are labeled either a or Vector magnitude is labeled either.
3D Transformation A 3D point (x,y,z) – x,y, and z coordinates
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
MATRIX A set of numbers arranged in rows and columns enclosed in round or square brackets is called a matrix. The order of a matrix gives the number of.
Composite 3D Transformations. Example of Composite 3D Transformations Try to transform the line segments P 1 P 2 and P 1 P 3 from their start position.
Linear Algebra Review Tuesday, September 7, 2010.
Unsupervised Learning II Feature Extraction
Boot Camp in Linear Algebra TIM 209 Prof. Ram Akella.
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.
Graphics Graphics Korea University kucg.korea.ac.kr Mathematics for Computer Graphics 고려대학교 컴퓨터 그래픽스 연구실.
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
Math Fundamentals Maths revisit.
Linear Algebra review (optional)
Linear Algebra Lecture 2.
Chapter 7 Matrix Mathematics
Matrix Operations Add and Subtract Matrices Multiply Matrices
Linear Algebra Review.
Section 7.4 Matrix Algebra.
Lecture 03: Linear Algebra
Matrix Algebra.
CSE 541 – Numerical Methods
Chapter 3 Linear Algebra
Matrix Algebra.
Basics of Linear Algebra
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:

6.837 Linear Algebra Review Patrick Nichols Thursday, September 18, 2003

6.837 Linear Algebra Review Overview Basic matrix operations (+, -, *) Cross and dot products Determinants and inverses Homogeneous coordinates Orthonormal basis

6.837 Linear Algebra Review Additional Resources Text Book Text Book Check the course website for a copy of these notes

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

6.837 Linear Algebra Review Basic Operations Addition, Subtraction, Multiplication Just add elements Just subtract elements Multiply each row by each column

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

6.837 Linear Algebra Review 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

6.837 Linear Algebra Review 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’

6.837 Linear Algebra Review 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)

6.837 Linear Algebra Review 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

6.837 Linear Algebra Review 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”

6.837 Linear Algebra Review 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

6.837 Linear Algebra Review 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

6.837 Linear Algebra Review Determinant of a Matrix Sum from left to right Subtract from right to left Note: N! terms

6.837 Linear Algebra Review Inverse of a Matrix 1.Append the identity matrix to A 2.Subtract multiples of the other rows from the first row to reduce the diagonal element to 1 3.Transform the identity matrix as you go 4.When the original matrix is the identity, the identity has become the inverse!

6.837 Linear Algebra Review Homogeneous Matrices Problem: how to include translations in transformations (and do perspective transforms) Solution: add an extra dimension

6.837 Linear Algebra Review 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!)

6.837 Linear Algebra Review 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?

6.837 Linear Algebra Review 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.

Parameterized Line Used to specify a ray: Linear Algebra Review P = P s + t∙v, (0<= t < ∞) PsPs v Slide added by K. Mueller

Plane A plane is defined by three points Linear Algebra Review P1P1 P2P2 P3P3 N = (a, b, c) Construction by a x + b y + c z + d = 0 where (a, b, c) is the normal vector perpendicular to the plane the normal vector is a unit vector how can you get it from P 1, P 2, P 3 ? coordinate system origin d y z x Slide added by K. Mueller

6.837 Linear Algebra Review Questions? ?