CSC 470 Introduction to Computer Graphics. Mathematical Foundations Part 2

Size: px
Start display at page:

Download "CSC 470 Introduction to Computer Graphics. Mathematical Foundations Part 2"

Transcription

1 CSC 47 Introduction to Computer Graphics Mathematical Foundations Part 2

2 Vector Magnitude and Unit Vectors The magnitude (length, size) of n-vector w is written w w = w + w2 + + w n Example: the magnitude of w = (4, -2) is 2 and that of w = (, -3, 2) is 4 A unit vector has magnitude v = The unit vector pointing in the same direction as vector a is a (if a ) a ˆ = a Converting a to â is called normalizing vector a

3 Dot Product of Two Vectors The dot product of n-vectors n v and w is v w = v w + v 2 w v n w n The dot product is commutative: v w = w v The dot product is distributive: (a( ± b) c = a c ± b c The dot product is associative over multiplication by a scalar: (sa) b( = s(a b) The dot product of a vector with itself is its magnitude squared: b b = b 2

4 Standard Unit Vectors The standard unit vectors in 3D are i = (,,), j = (,, ), and k = (,, ) k always points in the positive z direction In 2D, i = (,) and j = (, ) The unit vectors are orthogonal

5 Application of Projection: Reflections A reflection occurs when light hits a shiny surface (below) or when a billiard ball hits the wall edge of a table

6 Reflections cont d When light reflects from a mirror, the angle of reflection must equal the angle of incidence: θ = θ 2 Vectors and projections allow us to compute the new direction r,, in either two-dimensions or three dimensions a) n a r θ θ2 b) n a r -m m L e e

7 Vector Cross Product (3D Vectors Only) a x b = (a( y b z a z b y )i + (a z b x a x b z )j + (a x b y a y b x )k The determinant below also gives the result: a b = i j k a x a y a z b x b y b z

8 Properties of the Cross-Product i x j = k; j x k = i; k x i = j a x b = - b x a; a x (b( ± c) ) = a x b ± a x c; ; (sa)( ) x b = s(a x b) a x (b( x c) (a x b) ) x c for example, a = (a x, a y, ), b = (b( x, b y, ), c = (,, c z ) c = a x b is perpendicular to a and to b The direction of c is given by a right/left hand rule in a right/left-handed handed coordinate system

9 Properties cont d a (a x b) ) = a x b = a b sin θ,, where θ is the smaller angle between a and b a x b is also the area of the parallelogram formed by a and b a x b = if a and b point in the same or opposite directions, or if one or both has length

10 Geometric Interpretation of the Cross Product

11 Application: Finding the Normal to a Plane Given any 3 non-collinear points A, B, and C in a plane, we can find a normal to the plane: a = B A, b = C A, n = a x b The normal on the other side of the plane is n

12 Changing to and from Homogeneous Coordinates To: if the object is a vector, add a as the 4 th coordinate; if it is a point, add a From: simply remove the 4 th coordinate OpenGL uses 4D homogeneous coordinates for all its vertices If you send it a 3-tuple 3 in the form (x,( y, z), it converts it immediately to (x,( y, z,, ) If you send it a 2D point (x,( y), it first appends a for the z-component z and then a, to form (x,( y,,, ) All computations are done within OpenGL in 4D homogeneous coordinates

13 Combinations Linear combinations of vectors and points: The difference of 2 points is a vector: the fourth component is = The sum of a point and a vector is a point: the fourth component is + = The sum of 2 vectors is a vector: + = A vector multiplied by a scalar is still a vector: a x = Linear combinations of vectors are vectors

14 Point + Vector Suppose we add a point A and a vector that has been scaled by a factor t: the result is a point, P = A + tv Now suppose v = B A, the difference of 2 points: P = tb + (-t)a, an affine combination of points

15 Representing Planes: Point-Normal Form Point-normal normal form: n (P B) = ; where B is a given point on the plane, and P = (x, y, z, ) T

16 Finding A Circle through 3 Points We want to find the center and the radius of the circle The 3 points make a triangle, and the center S is where the perpendicular bisectors of two of the sides of the triangle meet The radius is r = A S

17 Clipping lines Clipping algorithm that clips off outlying parts of each line segment presented to it

18 Clipping a Polygon To clip a polygon against a window means to find which part of the polygon is inside the window and thus will be drawn

19 Clipping cont d The method we will use is called Cohen- Sutherland clipping There are 2 trivial cases: a line AB totally inside the window, which we draw all of, and a line CD totally outside the window, which we do not draw at all

20

21

22

23

24 Clipping polygons

25 Clip4 Clip5

26 Vectors and Matrices Matrix is an array of numbers with dimensions M (rows) by N (columns) 3 by 6 matrix element 2,3 is (3) Vector can be considered a x M matrix v = ( x y z )

27 Types of Matrix Identity matrices - I Diagonal 2 4 Symmetric a b b d c e c e f Diagonal matrices are (of course) symmetric Identity matrices are (of course) diagonal

28 Operation on Matrices Operation on Matrices Addition Addition Done elementwise Done elementwise Transpose Transpose Flip (M by N becomes N by M) Flip (M by N becomes N by M) = T

29 Operations on Matrices Multiplication Only possible to multiply of dimensions x by y and x 2 by y 2 iff y = x 2 resulting matrix is x by y 2 eg Matrix A is 2 by 3 and Matrix by 3 by 4 resulting matrix is 2 by 4 Just because A x B is possible doesn t mean B x A is possible!

30 Matrix Multiplication Order Matrix Multiplication Order A is n by k, B is k by m A is n by k, B is k by m C = A x B defined by C = A x B defined by BxA BxA not necessarily equal not necessarily equal to to AxB AxB = = k l lj il ij b a c = = =

31 Example Multiplications Example Multiplications = =

32 Inverse Matrix If A x B = I and B x A = I then A = B - and B = A -

33 Vectors and Matrices Matrix is an array of numbers with dimensions M (rows) by N (columns) 3 by 6 matrix element 2,3 is (3) Vector can be considered a x M matrix v = ( x y z )

34 Types of Matrix Identity matrices - I Diagonal 2 4 Symmetric a b b d c e c e f Diagonal matrices are (of course) symmetric Identity matrices are (of course) diagonal

35 Operation on Matrices Operation on Matrices Addition Addition Done elementwise Done elementwise Transpose Transpose Flip (M by N becomes N by M) Flip (M by N becomes N by M) = T

36 Operations on Matrices Multiplication Only possible to multiply of dimensions x by y and x 2 by y 2 iff y = x 2 resulting matrix is x by y 2 eg Matrix A is 2 by 3 and Matrix by 3 by 4 resulting matrix is 2 by 4 Just because A x B is possible doesn t mean B x A is possible!

37 Matrix Multiplication Order Matrix Multiplication Order A is n by k, B is k by m A is n by k, B is k by m C = A x B defined by C = A x B defined by BxA BxA not necessarily equal not necessarily equal to to AxB AxB = = k l lj il ij b a c = = =

38 Example Multiplications Example Multiplications = =

39 Inverse Matrix If A x B = I and B x A = I then A = B - and B = A -

Introduction. Introduction (2) Easy Problems for Vectors 7/13/2011. Chapter 4. Vector Tools for Graphics

Introduction. Introduction (2) Easy Problems for Vectors 7/13/2011. Chapter 4. Vector Tools for Graphics Introduction Chapter 4. Vector Tools for Graphics In computer graphics, we work with objects defined in a three dimensional world (with 2D objects and worlds being just special cases). All objects to be

More information

Lecture 5 3D polygonal modeling Part 1: Vector graphics Yong-Jin Liu.

Lecture 5 3D polygonal modeling Part 1: Vector graphics Yong-Jin Liu. Fundamentals of Computer Graphics Lecture 5 3D polygonal modeling Part 1: Vector graphics Yong-Jin Liu liuyongjin@tsinghua.edu.cn Material by S.M.Lea (UNC) Introduction In computer graphics, we work with

More information

Lecture 2: Vector-Vector Operations

Lecture 2: Vector-Vector Operations Lecture 2: Vector-Vector Operations Vector-Vector Operations Addition of two vectors Geometric representation of addition and subtraction of vectors Vectors and points Dot product of two vectors Geometric

More information

Review of Coordinate Systems

Review of Coordinate Systems Vector in 2 R and 3 R Review of Coordinate Systems Used to describe the position of a point in space Common coordinate systems are: Cartesian Polar Cartesian Coordinate System Also called rectangular coordinate

More information

Vectors and Matrices

Vectors and Matrices Vectors and Matrices Scalars We often employ a single number to represent quantities that we use in our daily lives such as weight, height etc. The magnitude of this number depends on our age and whether

More information

1.1 Single Variable Calculus versus Multivariable Calculus Rectangular Coordinate Systems... 4

1.1 Single Variable Calculus versus Multivariable Calculus Rectangular Coordinate Systems... 4 MATH2202 Notebook 1 Fall 2015/2016 prepared by Professor Jenny Baglivo Contents 1 MATH2202 Notebook 1 3 1.1 Single Variable Calculus versus Multivariable Calculus................... 3 1.2 Rectangular Coordinate

More information

Matrix Basic Concepts

Matrix Basic Concepts Matrix Basic Concepts Topics: What is a matrix? Matrix terminology Elements or entries Diagonal entries Address/location of entries Rows and columns Size of a matrix A column matrix; vectors Special types

More information

Remark 3.2. The cross product only makes sense in R 3.

Remark 3.2. The cross product only makes sense in R 3. 3. Cross product Definition 3.1. Let v and w be two vectors in R 3. The cross product of v and w, denoted v w, is the vector defined as follows: the length of v w is the area of the parallelogram with

More information

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices Graphics 2009/2010, period 1 Lecture 4 Matrices m n matrices Matrices Definitions Diagonal, Identity, and zero matrices Addition Multiplication Transpose and inverse The system of m linear equations in

More information

Linear Algebra V = T = ( 4 3 ).

Linear Algebra V = T = ( 4 3 ). Linear Algebra Vectors A column vector is a list of numbers stored vertically The dimension of a column vector is the number of values in the vector W is a -dimensional column vector and V is a 5-dimensional

More information

Review: Linear and Vector Algebra

Review: Linear and Vector Algebra Review: Linear and Vector Algebra Points in Euclidean Space Location in space Tuple of n coordinates x, y, z, etc Cannot be added or multiplied together Vectors: Arrows in Space Vectors are point changes

More information

Quiz No. 1: Tuesday Jan. 31. Assignment No. 2, due Thursday Feb 2: Problems 8.4, 8.13, 3.10, 3.28 Conceptual questions: 8.1, 3.6, 3.12, 3.

Quiz No. 1: Tuesday Jan. 31. Assignment No. 2, due Thursday Feb 2: Problems 8.4, 8.13, 3.10, 3.28 Conceptual questions: 8.1, 3.6, 3.12, 3. Quiz No. 1: Tuesday Jan. 31 Assignment No. 2, due Thursday Feb 2: Problems 8.4, 8.13, 3.10, 3.28 Conceptual questions: 8.1, 3.6, 3.12, 3.20 Chapter 3 Vectors and Two-Dimensional Kinematics Properties of

More information

I&C 6N. Computational Linear Algebra

I&C 6N. Computational Linear Algebra I&C 6N Computational Linear Algebra 1 Lecture 1: Scalars and Vectors What is a scalar? Computer representation of a scalar Scalar Equality Scalar Operations Addition and Multiplication What is a vector?

More information

Linear Algebra March 16, 2019

Linear Algebra March 16, 2019 Linear Algebra March 16, 2019 2 Contents 0.1 Notation................................ 4 1 Systems of linear equations, and matrices 5 1.1 Systems of linear equations..................... 5 1.2 Augmented

More information

CS 4204 Computer Graphics

CS 4204 Computer Graphics CS 4204 Computer Graphics Vector and Matrix Yong Cao Virginia Tech Vectors N-tuple: Vectors N-tuple tuple: Magnitude: Unit vectors Normalizing a vector Operations with vectors Addition Multiplication with

More information

MATH 19520/51 Class 2

MATH 19520/51 Class 2 MATH 19520/51 Class 2 Minh-Tam Trinh University of Chicago 2017-09-27 1 Review dot product. 2 Angles between vectors and orthogonality. 3 Projection of one vector onto another. 4 Cross product and its

More information

Three-Dimensional Coordinate Systems. Three-Dimensional Coordinate Systems. Three-Dimensional Coordinate Systems. Three-Dimensional Coordinate Systems

Three-Dimensional Coordinate Systems. Three-Dimensional Coordinate Systems. Three-Dimensional Coordinate Systems. Three-Dimensional Coordinate Systems To locate a point in a plane, two numbers are necessary. We know that any point in the plane can be represented as an ordered pair (a, b) of real numbers, where a is the x-coordinate and b is the y-coordinate.

More information

n n matrices The system of m linear equations in n variables x 1, x 2,..., x n can be written as a matrix equation by Ax = b, or in full

n n matrices The system of m linear equations in n variables x 1, x 2,..., x n can be written as a matrix equation by Ax = b, or in full n n matrices Matrices Definitions Diagonal, Identity, and zero matrices Addition Multiplication Transpose and inverse The system of m linear equations in n variables x 1, x 2,..., x n a 11 x 1 + a 12 x

More information

The Cross Product. Philippe B. Laval. Spring 2012 KSU. Philippe B. Laval (KSU) The Cross Product Spring /

The Cross Product. Philippe B. Laval. Spring 2012 KSU. Philippe B. Laval (KSU) The Cross Product Spring / The Cross Product Philippe B Laval KSU Spring 2012 Philippe B Laval (KSU) The Cross Product Spring 2012 1 / 15 Introduction The cross product is the second multiplication operation between vectors we will

More information

Section 13.4 The Cross Product

Section 13.4 The Cross Product Section 13.4 The Cross Product Multiplying Vectors 2 In this section we consider the more technical multiplication which can be defined on vectors in 3-space (but not vectors in 2-space). 1. Basic Definitions

More information

Review of Linear Algebra

Review of Linear Algebra Review of Linear Algebra Definitions An m n (read "m by n") matrix, is a rectangular array of entries, where m is the number of rows and n the number of columns. 2 Definitions (Con t) A is square if m=

More information

LINEAR ALGEBRA - CHAPTER 1: VECTORS

LINEAR ALGEBRA - CHAPTER 1: VECTORS LINEAR ALGEBRA - CHAPTER 1: VECTORS A game to introduce Linear Algebra In measurement, there are many quantities whose description entirely rely on magnitude, i.e., length, area, volume, mass and temperature.

More information

Friday, 2 November 12. Vectors

Friday, 2 November 12. Vectors Vectors Scalars We often employ a single number to represent quantities that we use in our daily lives such as weight, height etc. The magnitude of this number depends on our age and whether we use metric

More information

MODEL ANSWERS TO HWK #1

MODEL ANSWERS TO HWK #1 MODEL ANSWERS TO HWK # Part B (a The four vertices are (,,, (,,, (,, and (,, The distance between the first two vertices is, since two coordinates differ by There are six edges, corresponding to the choice

More information

03 - Basic Linear Algebra and 2D Transformations

03 - Basic Linear Algebra and 2D Transformations 03 - Basic Linear Algebra and 2D Transformations (invited lecture by Dr. Marcel Campen) Overview In this box, you will find references to Eigen We will briefly overview the basic linear algebra concepts

More information

Distance Between Ellipses in 2D

Distance Between Ellipses in 2D Distance Between Ellipses in 2D David Eberly, Geometric Tools, Redmond WA 98052 https://www.geometrictools.com/ This work is licensed under the Creative Commons Attribution 4.0 International License. To

More information

Last week we presented the following expression for the angles between two vectors u and v in R n ( ) θ = cos 1 u v

Last week we presented the following expression for the angles between two vectors u and v in R n ( ) θ = cos 1 u v Orthogonality (I) Last week we presented the following expression for the angles between two vectors u and v in R n ( ) θ = cos 1 u v u v which brings us to the fact that θ = π/2 u v = 0. Definition (Orthogonality).

More information

Quantities which have only magnitude are called scalars. Quantities which have magnitude and direction are called vectors.

Quantities which have only magnitude are called scalars. Quantities which have magnitude and direction are called vectors. Vectors summary Quantities which have only magnitude are called scalars. Quantities which have magnitude and direction are called vectors. AB is the position vector of B relative to A and is the vector

More information

Lecture 8: Coordinate Frames. CITS3003 Graphics & Animation

Lecture 8: Coordinate Frames. CITS3003 Graphics & Animation Lecture 8: Coordinate Frames CITS3003 Graphics & Animation E. Angel and D. Shreiner: Interactive Computer Graphics 6E Addison-Wesley 2012 Objectives Learn how to define and change coordinate frames Introduce

More information

Vectors and the Geometry of Space

Vectors and the Geometry of Space Vectors and the Geometry of Space Many quantities in geometry and physics, such as area, volume, temperature, mass, and time, can be characterized by a single real number scaled to appropriate units of

More information

What you will learn today

What you will learn today What you will learn today The Dot Product Equations of Vectors and the Geometry of Space 1/29 Direction angles and Direction cosines Projections Definitions: 1. a : a 1, a 2, a 3, b : b 1, b 2, b 3, a

More information

Vectors a vector is a quantity that has both a magnitude (size) and a direction

Vectors a vector is a quantity that has both a magnitude (size) and a direction Vectors In physics, a vector is a quantity that has both a magnitude (size) and a direction. Familiar examples of vectors include velocity, force, and electric field. For any applications beyond one dimension,

More information

is Use at most six elementary row operations. (Partial

is Use at most six elementary row operations. (Partial MATH 235 SPRING 2 EXAM SOLUTIONS () (6 points) a) Show that the reduced row echelon form of the augmented matrix of the system x + + 2x 4 + x 5 = 3 x x 3 + x 4 + x 5 = 2 2x + 2x 3 2x 4 x 5 = 3 is. Use

More information

NOTES FOR LINEAR ALGEBRA 133

NOTES FOR LINEAR ALGEBRA 133 NOTES FOR LINEAR ALGEBRA 33 William J Anderson McGill University These are not official notes for Math 33 identical to the notes projected in class They are intended for Anderson s section 4, and are 2

More information

2- Scalars and Vectors

2- Scalars and Vectors 2- Scalars and Vectors Scalars : have magnitude only : Length, time, mass, speed and volume is example of scalar. v Vectors : have magnitude and direction. v The magnitude of is written v v Position, displacement,

More information

22A-2 SUMMER 2014 LECTURE Agenda

22A-2 SUMMER 2014 LECTURE Agenda 22A-2 SUMMER 204 LECTURE 2 NATHANIEL GALLUP The Dot Product Continued Matrices Group Work Vectors and Linear Equations Agenda 2 Dot Product Continued Angles between vectors Given two 2-dimensional vectors

More information

High School Math Contest

High School Math Contest High School Math Contest University of South Carolina February 4th, 017 Problem 1. If (x y) = 11 and (x + y) = 169, what is xy? (a) 11 (b) 1 (c) 1 (d) 4 (e) 48 Problem. Suppose the function g(x) = f(x)

More information

Chapter 8. Rigid transformations

Chapter 8. Rigid transformations Chapter 8. Rigid transformations We are about to start drawing figures in 3D. There are no built-in routines for this purpose in PostScript, and we shall have to start more or less from scratch in extending

More information

Lecture 3: Matrix and Matrix Operations

Lecture 3: Matrix and Matrix Operations Lecture 3: Matrix and Matrix Operations Representation, row vector, column vector, element of a matrix. Examples of matrix representations Tables and spreadsheets Scalar-Matrix operation: Scaling a matrix

More information

Matrix Operations: Determinant

Matrix Operations: Determinant Matrix Operations: Determinant Determinants Determinants are only applicable for square matrices. Determinant of the square matrix A is denoted as: det(a) or A Recall that the absolute value of the determinant

More information

10.2,3,4. Vectors in 3D, Dot products and Cross Products

10.2,3,4. Vectors in 3D, Dot products and Cross Products Name: Section: 10.2,3,4. Vectors in 3D, Dot products and Cross Products 1. Sketch the plane parallel to the xy-plane through (2, 4, 2) 2. For the given vectors u and v, evaluate the following expressions.

More information

The geometry of least squares

The geometry of least squares The geometry of least squares We can think of a vector as a point in space, where the elements of the vector are the coordinates of the point. Consider for example, the following vector s: t = ( 4, 0),

More information

A matrix over a field F is a rectangular array of elements from F. The symbol

A matrix over a field F is a rectangular array of elements from F. The symbol Chapter MATRICES Matrix arithmetic A matrix over a field F is a rectangular array of elements from F The symbol M m n (F ) denotes the collection of all m n matrices over F Matrices will usually be denoted

More information

chapter 1 vector geometry solutions V Consider the parallelogram shown alongside. Which of the following statements are true?

chapter 1 vector geometry solutions V Consider the parallelogram shown alongside. Which of the following statements are true? chapter vector geometry solutions V. Exercise A. For the shape shown, find a single vector which is equal to a)!!! " AB + BC AC b)! AD!!! " + DB AB c)! AC + CD AD d)! BC + CD!!! " + DA BA e) CD!!! " "

More information

Linear Algebra I. Ronald van Luijk, 2015

Linear Algebra I. Ronald van Luijk, 2015 Linear Algebra I Ronald van Luijk, 2015 With many parts from Linear Algebra I by Michael Stoll, 2007 Contents Dependencies among sections 3 Chapter 1. Euclidean space: lines and hyperplanes 5 1.1. Definition

More information

Extra Problems for Math 2050 Linear Algebra I

Extra Problems for Math 2050 Linear Algebra I Extra Problems for Math 5 Linear Algebra I Find the vector AB and illustrate with a picture if A = (,) and B = (,4) Find B, given A = (,4) and [ AB = A = (,4) and [ AB = 8 If possible, express x = 7 as

More information

This appendix provides a very basic introduction to linear algebra concepts.

This appendix provides a very basic introduction to linear algebra concepts. APPENDIX Basic Linear Algebra Concepts This appendix provides a very basic introduction to linear algebra concepts. Some of these concepts are intentionally presented here in a somewhat simplified (not

More information

Math 241, Exam 1 Information.

Math 241, Exam 1 Information. Math 241, Exam 1 Information. 2/13/13, LC 310, 11:15-12:05. Exam 1 will be based on: Sections 12.1-12.5, 14.2. The corresponding assigned homework problems (see http://www.math.sc.edu/ boylan/sccourses/241sp13/241.html)

More information

Vectors are used to represent quantities such as force and velocity which have both. and. The magnitude of a vector corresponds to its.

Vectors are used to represent quantities such as force and velocity which have both. and. The magnitude of a vector corresponds to its. Fry Texas A&M University Fall 2016 Math 150 Notes Chapter 9 Page 248 Chapter 9 -- Vectors Remember that is the set of real numbers, often represented by the number line, 2 is the notation for the 2-dimensional

More information

Lecture 7. Econ August 18

Lecture 7. Econ August 18 Lecture 7 Econ 2001 2015 August 18 Lecture 7 Outline First, the theorem of the maximum, an amazing result about continuity in optimization problems. Then, we start linear algebra, mostly looking at familiar

More information

Rigid Geometric Transformations

Rigid Geometric Transformations Rigid Geometric Transformations Carlo Tomasi This note is a quick refresher of the geometry of rigid transformations in three-dimensional space, expressed in Cartesian coordinates. 1 Cartesian Coordinates

More information

CHAPTER 10 VECTORS POINTS TO REMEMBER

CHAPTER 10 VECTORS POINTS TO REMEMBER For more important questions visit : www4onocom CHAPTER 10 VECTORS POINTS TO REMEMBER A quantity that has magnitude as well as direction is called a vector It is denoted by a directed line segment Two

More information

Linear Algebra (Review) Volker Tresp 2017

Linear Algebra (Review) Volker Tresp 2017 Linear Algebra (Review) Volker Tresp 2017 1 Vectors k is a scalar (a number) c is a column vector. Thus in two dimensions, c = ( c1 c 2 ) (Advanced: More precisely, a vector is defined in a vector space.

More information

3 Vectors. 18 October 2018 PHY101 Physics I Dr.Cem Özdoğan

3 Vectors. 18 October 2018 PHY101 Physics I Dr.Cem Özdoğan Chapter 3 Vectors 3 Vectors 18 October 2018 PHY101 Physics I Dr.Cem Özdoğan 2 3 3-2 Vectors and Scalars Physics deals with many quantities that have both size and direction. It needs a special mathematical

More information

MAT1035 Analytic Geometry

MAT1035 Analytic Geometry MAT1035 Analytic Geometry Lecture Notes R.A. Sabri Kaan Gürbüzer Dokuz Eylül University 2016 2 Contents 1 Review of Trigonometry 5 2 Polar Coordinates 7 3 Vectors in R n 9 3.1 Located Vectors..............................................

More information

X- MATHS IMPORTANT FORMULAS SELF EVALUVATION 1. SETS AND FUNCTIONS. 1. Commutative property i ii. 2. Associative property i ii

X- MATHS IMPORTANT FORMULAS SELF EVALUVATION 1. SETS AND FUNCTIONS. 1. Commutative property i ii. 2. Associative property i ii X- MATHS IMPORTANT FORMULAS SELF EVALUVATION 1. SETS AND FUNCTIONS 1. Commutative property i ii 2. Associative property i ii 3. Distributive property i ii 4. De Morgan s laws i ii i ii 5. Cardinality of

More information

Phys 201. Matrices and Determinants

Phys 201. Matrices and Determinants Phys 201 Matrices and Determinants 1 1.1 Matrices 1.2 Operations of matrices 1.3 Types of matrices 1.4 Properties of matrices 1.5 Determinants 1.6 Inverse of a 3 3 matrix 2 1.1 Matrices A 2 3 7 =! " 1

More information

GEOMETRY OF MATRICES x 1

GEOMETRY OF MATRICES x 1 GEOMETRY OF MATRICES. SPACES OF VECTORS.. Definition of R n. The space R n consists of all column vectors with n components. The components are real numbers... Representation of Vectors in R n.... R. The

More information

Linear Algebra Homework and Study Guide

Linear Algebra Homework and Study Guide Linear Algebra Homework and Study Guide Phil R. Smith, Ph.D. February 28, 20 Homework Problem Sets Organized by Learning Outcomes Test I: Systems of Linear Equations; Matrices Lesson. Give examples of

More information

Linear Algebra Review. Vectors

Linear Algebra Review. Vectors Linear Algebra Review 9/4/7 Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka http://cs.gmu.edu/~kosecka/cs682.html Virginia de Sa (UCSD) Cogsci 8F Linear Algebra review Vectors

More information

The Cross Product of Two Vectors

The Cross Product of Two Vectors The Cross roduct of Two Vectors In proving some statements involving surface integrals, there will be a need to approximate areas of segments of the surface by areas of parallelograms. Therefore it is

More information

Linear Algebra (Review) Volker Tresp 2018

Linear Algebra (Review) Volker Tresp 2018 Linear Algebra (Review) Volker Tresp 2018 1 Vectors k, M, N are scalars A one-dimensional array c is a column vector. Thus in two dimensions, ( ) c1 c = c 2 c i is the i-th component of c c T = (c 1, c

More information

9.1 VECTORS. A Geometric View of Vectors LEARNING OBJECTIVES. = a, b

9.1 VECTORS. A Geometric View of Vectors LEARNING OBJECTIVES. = a, b vectors and POLAR COORDINATES LEARNING OBJECTIVES In this section, ou will: View vectors geometricall. Find magnitude and direction. Perform vector addition and scalar multiplication. Find the component

More information

Vectors are used to represent quantities such as force and velocity which have both. and. The magnitude of a vector corresponds to its.

Vectors are used to represent quantities such as force and velocity which have both. and. The magnitude of a vector corresponds to its. Fry Texas A&M University Math 150 Chapter 9 Fall 2014 1 Chapter 9 -- Vectors Remember that is the set of real numbers, often represented by the number line, 2 is the notation for the 2-dimensional plane.

More information

Matrices and RRE Form

Matrices and RRE Form Matrices and RRE Form Notation R is the real numbers, C is the complex numbers (we will only consider complex numbers towards the end of the course) is read as an element of For instance, x R means that

More information

NAEP Questions, Pre-Algebra, Unit 13: Angle Relationships and Transformations

NAEP Questions, Pre-Algebra, Unit 13: Angle Relationships and Transformations NAEP Questions, Pre-Algebra, Unit 13: Angle Relationships and Transformations SOURCE: U.S. Department of Education, Institute of Education Sciences, National Center for Education Statistics, National Assessment

More information

Math 416, Spring 2010 More on Algebraic and Geometric Properties January 21, 2010 MORE ON ALGEBRAIC AND GEOMETRIC PROPERTIES

Math 416, Spring 2010 More on Algebraic and Geometric Properties January 21, 2010 MORE ON ALGEBRAIC AND GEOMETRIC PROPERTIES Math 46, Spring 2 More on Algebraic and Geometric Properties January 2, 2 MORE ON ALGEBRAIC AND GEOMETRIC PROPERTIES Algebraic properties Algebraic properties of matrix/vector multiplication Last time

More information

Matrices and Vectors

Matrices and Vectors Matrices and Vectors James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University November 11, 2013 Outline 1 Matrices and Vectors 2 Vector Details 3 Matrix

More information

Mathematics for Graphics and Vision

Mathematics for Graphics and Vision Mathematics for Graphics and Vision Steven Mills March 3, 06 Contents Introduction 5 Scalars 6. Visualising Scalars........................ 6. Operations on Scalars...................... 6.3 A Note on

More information

Matrix Operations. Linear Combination Vector Algebra Angle Between Vectors Projections and Reflections Equality of matrices, Augmented Matrix

Matrix Operations. Linear Combination Vector Algebra Angle Between Vectors Projections and Reflections Equality of matrices, Augmented Matrix Linear Combination Vector Algebra Angle Between Vectors Projections and Reflections Equality of matrices, Augmented Matrix Matrix Operations Matrix Addition and Matrix Scalar Multiply Matrix Multiply Matrix

More information

Matrix & Linear Algebra

Matrix & Linear Algebra Matrix & Linear Algebra Jamie Monogan University of Georgia For more information: http://monogan.myweb.uga.edu/teaching/mm/ Jamie Monogan (UGA) Matrix & Linear Algebra 1 / 84 Vectors Vectors Vector: A

More information

Chapter 3. Vectors and. Two-Dimensional Motion Vector vs. Scalar Review

Chapter 3. Vectors and. Two-Dimensional Motion Vector vs. Scalar Review Chapter 3 Vectors and Two-Dimensional Motion Vector vs. Scalar Review All physical quantities encountered in this text will be either a scalar or a vector A vector quantity has both magnitude (size) and

More information

Part I, Number Systems CS131 Mathematics for Computer Scientists II Note 3 VECTORS

Part I, Number Systems CS131 Mathematics for Computer Scientists II Note 3 VECTORS CS131 Part I, Number Systems CS131 Mathematics for Computer Scientists II Note 3 VECTRS Vectors in two and three dimensional space are defined to be members of the sets R 2 and R 3 defined by: R 2 = {(x,

More information

BLUE PRINT - III MATHEMATICS - XII. (b) Applications of Derivatives (1) 44 (11) (b) 3 - dimensional geometry - 4 (1) 6 (1) 17 (6)

BLUE PRINT - III MATHEMATICS - XII. (b) Applications of Derivatives (1) 44 (11) (b) 3 - dimensional geometry - 4 (1) 6 (1) 17 (6) BLUE PRINT - III MATHEMATICS - XII S.No. Topic VSA SA LA TOTAL 1. (a) Relations and Functions 1 (1) 4 (1) - 10 (4) (b) Inverse trigonometric 1 (1) 4 (1) - Functions. (a) Matrices () - 6 (1) - (b) Determinants

More information

Rigid Geometric Transformations

Rigid Geometric Transformations Rigid Geometric Transformations Carlo Tomasi This note is a quick refresher of the geometry of rigid transformations in three-dimensional space, expressed in Cartesian coordinates. 1 Cartesian Coordinates

More information

Section 8.1 Vector and Parametric Equations of a Line in

Section 8.1 Vector and Parametric Equations of a Line in Section 8.1 Vector and Parametric Equations of a Line in R 2 In this section, we begin with a discussion about how to find the vector and parametric equations of a line in R 2. To find the vector and parametric

More information

LS.1 Review of Linear Algebra

LS.1 Review of Linear Algebra LS. LINEAR SYSTEMS LS.1 Review of Linear Algebra In these notes, we will investigate a way of handling a linear system of ODE s directly, instead of using elimination to reduce it to a single higher-order

More information

Part (1) Second : Trigonometry. Tan

Part (1) Second : Trigonometry. Tan Part (1) Second : Trigonometry (1) Complete the following table : The angle Ratio 42 12 \ Sin 0.3214 Cas 0.5321 Tan 2.0625 (2) Complete the following : 1) 46 36 \ 24 \\ =. In degrees. 2) 44.125 = in degrees,

More information

Linear Algebra. Alvin Lin. August December 2017

Linear Algebra. Alvin Lin. August December 2017 Linear Algebra Alvin Lin August 207 - December 207 Linear Algebra The study of linear algebra is about two basic things. We study vector spaces and structure preserving maps between vector spaces. A vector

More information

The Cross Product. In this section, we will learn about: Cross products of vectors and their applications.

The Cross Product. In this section, we will learn about: Cross products of vectors and their applications. The Cross Product In this section, we will learn about: Cross products of vectors and their applications. THE CROSS PRODUCT The cross product a x b of two vectors a and b, unlike the dot product, is a

More information

Omm Al-Qura University Dr. Abdulsalam Ai LECTURE OUTLINE CHAPTER 3. Vectors in Physics

Omm Al-Qura University Dr. Abdulsalam Ai LECTURE OUTLINE CHAPTER 3. Vectors in Physics LECTURE OUTLINE CHAPTER 3 Vectors in Physics 3-1 Scalars Versus Vectors Scalar a numerical value (number with units). May be positive or negative. Examples: temperature, speed, height, and mass. Vector

More information

High School Math Contest

High School Math Contest High School Math Contest University of South Carolina February th, 017 Problem 1. If (x y) = 11 and (x + y) = 169, what is xy? (a) 11 (b) 1 (c) 1 (d) (e) 8 Solution: Note that xy = (x + y) (x y) = 169

More information

Intro Vectors 2D implicit curves 2D parametric curves. Graphics 2011/2012, 4th quarter. Lecture 2: vectors, curves, and surfaces

Intro Vectors 2D implicit curves 2D parametric curves. Graphics 2011/2012, 4th quarter. Lecture 2: vectors, curves, and surfaces Lecture 2, curves, and surfaces Organizational remarks Tutorials: Tutorial 1 will be online later today TA sessions for questions start next week Practicals: Exams: Make sure to find a team partner very

More information

Essential Mathematics for Computer Graphics

Essential Mathematics for Computer Graphics David Akers Handout #3 CS148 Summer 2006 Essential Mathematics for Computer Graphics Trigonometry Polar Coordinates 3-D Coordinate Systems Parametric Representations Points and Vectors Matrices This handout

More information

9.4 Polar Coordinates

9.4 Polar Coordinates 9.4 Polar Coordinates Polar coordinates uses distance and direction to specify a location in a plane. The origin in a polar system is a fixed point from which a ray, O, is drawn and we call the ray the

More information

MATH 243 Winter 2008 Geometry II: Transformation Geometry Solutions to Problem Set 1 Completion Date: Monday January 21, 2008

MATH 243 Winter 2008 Geometry II: Transformation Geometry Solutions to Problem Set 1 Completion Date: Monday January 21, 2008 MTH 4 Winter 008 Geometry II: Transformation Geometry Solutions to Problem Set 1 ompletion Date: Monday January 1, 008 Department of Mathematical Statistical Sciences University of lberta Question 1. Let

More information

X- MATHS IMPORTANT FORMULAS SELF EVALUVATION

X- MATHS IMPORTANT FORMULAS SELF EVALUVATION X- MATHS IMPORTANT FORMULAS SELF EVALUVATION 1. SETS AND FUNCTIONS 1. Commutative property i ii 2. Associative property i ii 3. Distributive property i ii 4. De Morgan s laws i ii i ii 5. Cardinality of

More information

Integrated Math II. IM2.1.2 Interpret given situations as functions in graphs, formulas, and words.

Integrated Math II. IM2.1.2 Interpret given situations as functions in graphs, formulas, and words. Standard 1: Algebra and Functions Students graph linear inequalities in two variables and quadratics. They model data with linear equations. IM2.1.1 Graph a linear inequality in two variables. IM2.1.2

More information

Linear Algebra & Geometry why is linear algebra useful in computer vision?

Linear Algebra & Geometry why is linear algebra useful in computer vision? Linear Algebra & Geometry why is linear algebra useful in computer vision? References: -Any book on linear algebra! -[HZ] chapters 2, 4 Some of the slides in this lecture are courtesy to Prof. Octavia

More information

CSE4030 Introduction to Computer Graphics

CSE4030 Introduction to Computer Graphics CSE4030 Introduction to Computer Graphics Dongguk University Jeong-Mo Hong Week 5 Living in a 3 dimensional world II Geometric coordinate in 3D How to move your cubes in 3D Objectives Introduce concepts

More information

Mathematical Fundamentals

Mathematical Fundamentals Mathematical Fundamentals Ming-Hwa Wang, Ph.D. COEN 148/290 Computer Graphics COEN 166/366 Artificial Intelligence COEN 396 Interactive Multimedia and Game Programming Department of Computer Engineering

More information

Linear Algebra & Geometry why is linear algebra useful in computer vision?

Linear Algebra & Geometry why is linear algebra useful in computer vision? Linear Algebra & Geometry why is linear algebra useful in computer vision? References: -Any book on linear algebra! -[HZ] chapters 2, 4 Some of the slides in this lecture are courtesy to Prof. Octavia

More information

Unit 8. ANALYTIC GEOMETRY.

Unit 8. ANALYTIC GEOMETRY. Unit 8. ANALYTIC GEOMETRY. 1. VECTORS IN THE PLANE A vector is a line segment running from point A (tail) to point B (head). 1.1 DIRECTION OF A VECTOR The direction of a vector is the direction of the

More information

ELEMENTARY LINEAR ALGEBRA

ELEMENTARY LINEAR ALGEBRA ELEMENTARY LINEAR ALGEBRA K R MATTHEWS DEPARTMENT OF MATHEMATICS UNIVERSITY OF QUEENSLAND First Printing, 99 Chapter LINEAR EQUATIONS Introduction to linear equations A linear equation in n unknowns x,

More information

Elementary maths for GMT

Elementary maths for GMT Elementary maths for GMT Linear Algebra Part 2: Matrices, Elimination and Determinant m n matrices The system of m linear equations in n variables x 1, x 2,, x n a 11 x 1 + a 12 x 2 + + a 1n x n = b 1

More information

Cartesian coordinates in space (Sect. 12.1).

Cartesian coordinates in space (Sect. 12.1). Cartesian coordinates in space (Sect..). Overview of Multivariable Calculus. Cartesian coordinates in space. Right-handed, left-handed Cartesian coordinates. Distance formula between two points in space.

More information

CSE 167: Introduction to Computer Graphics Lecture #2: Linear Algebra Primer

CSE 167: Introduction to Computer Graphics Lecture #2: Linear Algebra Primer CSE 167: Introduction to Computer Graphics Lecture #2: Linear Algebra Primer Jürgen P. Schulze, Ph.D. University of California, San Diego Spring Quarter 2016 Announcements Project 1 due next Friday at

More information

GEOMETRY AND VECTORS

GEOMETRY AND VECTORS GEOMETRY AND VECTORS Distinguishing Between Points in Space One Approach Names: ( Fred, Steve, Alice...) Problem: distance & direction must be defined point-by-point More elegant take advantage of geometry

More information

a b 0 a cos u, 0 u 180 :

a b 0 a  cos u, 0 u 180 : Section 7.3 The Dot Product of Two Geometric Vectors In hapter 6, the concept of multiplying a vector by a scalar was discussed. In this section, we introduce the dot product of two vectors and deal specifically

More information

BSc (Hons) in Computer Games Development. vi Calculate the components a, b and c of a non-zero vector that is orthogonal to

BSc (Hons) in Computer Games Development. vi Calculate the components a, b and c of a non-zero vector that is orthogonal to 1 APPLIED MATHEMATICS INSTRUCTIONS Full marks will be awarded for the correct solutions to ANY FIVE QUESTIONS. This paper will be marked out of a TOTAL MAXIMUM MARK OF 100. Credit will be given for clearly

More information