1 Math Review Coordinate systems 2-D, 3-D Vectors Matrices Matrix operations.

Slides:



Advertisements
Similar presentations
Lecture 6 Matrix Operations and Gaussian Elimination for Solving Linear Systems Shang-Hua Teng.
Advertisements

Maths for Computer Graphics
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 12 System of Linear Equations.
Matrix Operations. Matrix Notation Example Equality of Matrices.
CSCE 590E Spring 2007 Basic Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 14 Elimination Methods.
Ch 7.2: Review of Matrices For theoretical and computation reasons, we review results of matrix theory in this section and the next. A matrix A is an m.
Lecture 2: Geometry vs Linear Algebra Points-Vectors and Distance-Norm Shang-Hua Teng.
PHYS 218 sec Review Chap. 1. Caution This presentation is to help you understand the contents of the textbook. Do not rely on this review for.
Vectors and Matrices Class 17.1 E: Ch. 5.
CE 311 K - Introduction to Computer Methods Daene C. McKinney
1 Chapter 2 Matrices Matrices provide an orderly way of arranging values or functions to enhance the analysis of systems in a systematic manner. Their.
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
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.
ECON 1150 Matrix Operations Special Matrices
Patrick Nichols Thursday, September 18, Linear Algebra Review.
6.837 Linear Algebra Review Patrick Nichols Thursday, September 18, 2003.
4.4 & 4.5 Notes Remember: Identity Matrices: If the product of two matrices equal the identity matrix then they are inverses.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 : “shiv rpi” Linear Algebra A gentle introduction Linear Algebra has become as basic and as applicable.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Ch X 2 Matrices, Determinants, and Inverses.
Lecture 28: Mathematical Insight and Engineering.
Matrix Algebra and Regression a matrix is a rectangular array of elements m=#rows, n=#columns  m x n a single value is called a ‘scalar’ a single row.
6.837 Linear Algebra Review Rob Jagnow Monday, September 20, 2004.
Linear Algebra 1.Basic concepts 2.Matrix operations.
What is Kinematics. Kinematics studies the motion of bodies.
Slide Copyright © 2009 Pearson Education, Inc. 7.3 Matrices.
1 Graphics CSCI 343, Fall 2015 Lecture 10 Coordinate Transformations.
Chun-Yuan Lin Mathematics for Computer Graphics 2015/12/15 1 CG.
Chapter 3 Vectors. Vectors – physical quantities having both magnitude and direction Vectors are labeled either a or Vector magnitude is labeled either.
1 Graphics CSCI 343, Fall 2015 Lecture 9 Geometric Objects.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2016 Tamara Munzner Math Basics Week 1, Fri.
Algebra Matrix Operations. Definition Matrix-A rectangular arrangement of numbers in rows and columns Dimensions- number of rows then columns Entries-
LEARNING OUTCOMES At the end of this topic, student should be able to :  D efination of matrix  Identify the different types of matrices such as rectangular,
CS 450: COMPUTER GRAPHICS TRANSFORMATIONS SPRING 2015 DR. MICHAEL J. REALE.
An Introduction to Robot Kinematics Renata Melamud.
Computer Graphics Mathematical Fundamentals Lecture 10 Taqdees A. Siddiqi
Linear Algebra Review Tuesday, September 7, 2010.
Precalculus Section 14.1 Add and subtract matrices Often a set of data is arranged in a table form A matrix is a rectangular.
Matrices. Matrix - a rectangular array of variables or constants in horizontal rows and vertical columns enclosed in brackets. Element - each value in.
Designed by Victor Help you improve MATRICES Let Maths take you Further… Know how to write a Matrix, Know what is Order of Matrices,
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Lecture 1 Linear algebra Vectors, matrices. Linear algebra Encyclopedia Britannica:“a branch of mathematics that is concerned with mathematical structures.
1 Matrix Math ©Anthony Steed Overview n To revise Vectors Matrices.
MTH108 Business Math I Lecture 20.
CSE 167 [Win 17], Lecture 2: Review of Basic Math Ravi Ramamoorthi
Matrices and Vector Concepts
12-1 Organizing Data Using Matrices
Mathematics for Computer Graphics
Matrix Operations.
Matrix Operations SpringSemester 2017.
Linear Algebra Review.
7.3 Matrices.
الوحدة السابعة : المصفوفات . تنظيم البيانات فى مصفوفات . الوحدة السابعة : المصفوفات . تنظيم البيانات فى مصفوفات . 1 جمع المصفوفات وطرحها.
MATRICES MATRIX OPERATIONS.
Lecture 11 Matrices and Linear Algebra with MATLAB
Review of Matrix Algebra
Matrices.
Lecture 2: Geometry vs Linear Algebra Points-Vectors and Distance-Norm
1.8 Matrices.
Matrix Operations SpringSemester 2017.
1.8 Matrices.
3.5 Perform Basic Matrix Operations Algebra II.
Introduction to Matrices
Presentation transcript:

1 Math Review Coordinate systems 2-D, 3-D Vectors Matrices Matrix operations

CS-321 Dr. Mark L. Hornick 2 Math Review Cornerstone of graphics Basis for most algorithms Systematic notation Simplifying communication Organizing ideas Compact representation

CS-321 Dr. Mark L. Hornick 3 2-D Coordinate Systems 0x y P y P 0x Rectangular or Cartesian

CS-321 Dr. Mark L. Hornick 4 Points and Vectors A point at (x,y) can be represented by vector P from the origin (0,0). 0x y P In general, a vector represents the difference (directed distance) between two points. 0x y P1P1 P2P2 V

CS-321 Dr. Mark L. Hornick 5 2-D Vector Representations Cartesian components Magnitude and direction angle VxVx VyVy V  |V|

CS-321 Dr. Mark L. Hornick 6 2-D Vector Operations Addition V1V1 V2V2 V 1 +V 2 Subtraction V1V1 -V 2 V 1 -V 2 V2V2

CS-321 Dr. Mark L. Hornick 7 2-D Vector Operations Scalar multiply VxVx VyVy V aV x aV y aVaV

CS-321 Dr. Mark L. Hornick 8 2-D Unit Vector For any vector V, V can also be written as av VxVx VyVy V

CS-321 Dr. Mark L. Hornick 9 Direction cosines α β VxVx VyVy V

CS-321 Dr. Mark L. Hornick 10 3-D Coordinate Systems z x y P In a Right-handed coordinate system, the z axis defined by the vector cross product of the x and y axes.

CS-321 Dr. Mark L. Hornick 11 3-D Vector Operations Addition Scalar multiply

CS-321 Dr. Mark L. Hornick 12 3-D Vector Representations Cartesian components Magnitude and direction cosines x V z y α β γ

CS-321 Dr. Mark L. Hornick 13 3-D Vector Operations Inner (dot) product θ V1V1 V2V2 Portion of in direction Projections

CS-321 Dr. Mark L. Hornick 14 3-D Vector Cross Product “Right-hand rule” θ V1V1 V2V2 V 1 x V 2

CS-321 Dr. Mark L. Hornick 15 Matrices Rectangular matrix (m x n) (rows x cols) Row vector Column vector

CS-321 Dr. Mark L. Hornick 16 Scalar Matrix Multiplication

CS-321 Dr. Mark L. Hornick 17 Matrix Addition Matrices must have same dimensions

CS-321 Dr. Mark L. Hornick 18 Matrix Transpose

CS-321 Dr. Mark L. Hornick 19 Matrix Multiplication Matrices must be conformable (n=p)

CS-321 Dr. Mark L. Hornick 20 Matrix Multiplication Example = ABC C row = A row, C column = B column

CS-321 Dr. Mark L. Hornick 21 Identity Matrix and Inverse Inverse computed by Gaussian elimination, determinants, or other methods; used directly or indirectly to solve sets of linear equations

CS-321 Dr. Mark L. Hornick 22 Determinants 1 A -1 = adj(A) det(A)

CS-321 Dr. Mark L. Hornick 23 Determinants Gaussian elimination is the best method Swapping two rows changes the sign of Multiplying a row by s, multiplies by s Adding row multiples has no effect Only on square matrices For an upper triangular matrix