Lecture 02: 2D Geometry. August 24, 2017

Size: px
Start display at page:

Download "Lecture 02: 2D Geometry. August 24, 2017"

Transcription

1 Lecture 02: 2D Geometry August 24, 207

2 This Came Up Tuesday Know what radiosity computation does. Do not expect to implement nor see underlying equations this semester. 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 2

3 Example Courtesy of Nikolay Radaev Rendered using 3D Studio Max (+VRay Plugin) 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 3

4 Now The Journey to 2D Rotation 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 4

5 Vectors, Points & Matrices The geometry for graphics rests upon Scalars, Vectors, Points, and Matrices And why? The short answer. Objects are collections of points Light rays are vectors Objects & Light interact in Euclidean spaces Placement in space is done using matrices Now for the longer answer 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 5

6 But let s start with Scalars Scalar - a number. Two Operations - Addition, Multiplication. Axioms Associative Commutative Invertible Invertible implies Subtraction Division α + β = β + α α β = β α α + ( β + γ ) = ( α + β) + γ α ( β γ ) = ( α β) γ α ( β + γ ) = α β + α γ 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 6

7 Vectors Vector - direction and magnitude Two Operations - Scalar-vector multiplication Vector-vector addition Often expressed as an n-tuple of scalars. v = v, v 2, v 3,,v n u v 2v v+u v 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 7

8 Test: Do you Get It? Are these two vectors the same? 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 8

9 Vector Spaces Linear combinations of vectors generate new vectors. u = α v + α 2 v 2 + α 3 v 3 for example u = 4 = or u = /24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 9

10 Key Vector Space Concepts Span The space of all vectors that can be created by linear combinations of a set of vectors Basis Vectors A set of vectors that span a space Generally focus on basis vectors that are Orthogonal to each other (independent axes) Unit length Orthonormal Fancy term for a set of vectors that are orthogonal and unit length 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 0

11 Orthogonal? A B C D 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper

12 Vectors beg Where are we? Directly over the center of the Earth? More seriously, vector spaces lack location Location requires an origin: a reference. Vector spaces have no origin. Affine spaces introduce an origin. They do this by introducing Points. New operations Point-point subtraction yields a vector. A point plus a vector yields a point. 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 2

13 Point + Vector = Point Linear combinations of basis vectors and a specified origin - a point. P = O + α v + α 2 v 2 + α 3 v 3 for example P = 4 = Typically, we think of the origin as being at [0,0,0], but that somewhat confuses the real meaning of an origin With an origin, you always know where you are (relatively). 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 3

14 But Wait, Do Points Exist Without Coordinates? The answer is yes! We are adopting the physicists view. Why does this matter In graphics, keeping the intrinsic geometry of objects separate from their coordinate manifestation in a particular frame of reference is essential. 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 4

15 Same Point - By Example Reference Frame A Reference Frame B The Sphere has intrinsic properties. Independent of reference frame A (or B). 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 5

16 Intrinsic Properties What matters is the relation of the data to the reference frame. Moving the sphere toward the reference point is the same as moving the reference point toward the sphere The same sphere can be expressed in different reference frames World Coordinates aren t special As long as all the data is expressed relative to the same reference frame 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 6

17 Where is a Point Revisited To specify a point in a Euclidean space. v 2 y Second Basis P P = O + x v + y v 2 An Origin O First Basis x v p x p y = x o y o + x 0 + y 0 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 7

18 A Point named Fred Fred Which is it? Fred = 6 6 or Fred = 4 3 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 8

19 2D Translation Think about the previous example Can you decide between Fred was moved down and to the left. Reference frame was moved up and to the right. Generally you cannot More important Often in graphics it is equally valid, or even preferable, to think of movement as shifting a reference frame rather than moving an object. 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 9

20 2D Translation - Moving Fred y v Fred u x x y = 6 6 and u v = 4 3 as translation 6 6 = /24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 20

21 Affine to Euclidean Space Euclidean Space adds to affine space a new operation, the dot product. You all know the algebraic definition. u v = u i v i v = v v i Do you know its geometric interpretation? u v = u v cos( θ) If the dot product is zero, the vectors are orthogonal 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 2

22 Dot Product Yields Projection To start, set origin at zero. Now observe. p x p y = x 0 + y 0 x = p x p y 0, y = p x p y 0 The distance of a point from the origin along a dimension, i.e. along a basis vector, is measured by a dot product between the point and the basis vector 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 22

23 Know & Love Dot Products An easy way to define a line L F( x, y) = 0 n L ρ = 0 n n = v 2 P ρ = n P = n x p x + n y p y O r n n x n y x y ρ = 0 v n x x x + n y y ρ = 0 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 23

24 And in 3D Riddle: What do you call all points a distance of 3 from the origin measured in a direction defined by a vector n? 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 24

25 Further Dot Product Motivation Above you see how almost all texts and courses introduction 2D rotation. This is entirely correct, but there is a more intuitive way to understand rotation. 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 25

26 Know & Love Dot Products 2 Consider an alternate basis y P p x p y = x o y o + u v 2 2 v 2 O x v u v = x y + x o y o 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 26

27 Welcome to 2D Rotation x o y o = 0 0 Put origin at zero zero (common) u v = x y These are the same! u v = cos(45o ) sin(45 o ) sin(45 o ) cos(45 o ) x y 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 27

28 Rotate by q M = RP " R = $ $ # cos θ sin θ ( ) sin( θ) ( ) cos( θ) % ' ' &! P = # "# x y $ & %& écos( q) x - sin( q) yù ë ê sin( q) x + cos( q) yû ú = écos( q) - sin( q) ù ë ê sin( q ) cos( q) û ú é ë ê x y ù û ú q Does this make sense, given the geometry of the dot product? 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 28

29 More Standard Approach Derivation of Rotation Matrix x = r cos( θ) y = rsin( θ) x 2 = r cos( θ +φ) y 2 = rsin( θ +φ)! # "# x 2 y 2 $ & %& j q! # "# x y $ & %& 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 29

30 Derivation (cont.) cos a + b Magic Trig Identity: ( ) = cos a ( ) = sin a sin a + b x 2 = r cos θ +φ ( ) ( )cos b ( )cos b ( ) sin a ( ) + sin b ( )sin b ( )cos a ( ) ( ) x 2 = r cos θ ( )cos φ ( ) rsin θ ( )sin φ ( ) x 2 = x cos φ ( ) y sin φ ( ) Note: the process for y 2 is the same 8/24/7 CSU CS40 Fall 207, Ross Beveridge & Bruce Draper 30

31 The End

2D Geometry. Tuesday September 2 rd, 2014.

2D Geometry. Tuesday September 2 rd, 2014. D Geometry Tuesday September rd, 04. Scalars, Vectors & Points! The geometry for graphics rests upon! Scalars, Vectors, Points! And why? One simple answer.! Objects and viewpoints are built of points.!

More information

Vectors Coordinate frames 2D implicit curves 2D parametric curves. Graphics 2008/2009, period 1. Lecture 2: vectors, curves, and surfaces

Vectors Coordinate frames 2D implicit curves 2D parametric curves. Graphics 2008/2009, period 1. Lecture 2: vectors, curves, and surfaces Graphics 2008/2009, period 1 Lecture 2 Vectors, curves, and surfaces Computer graphics example: Pixar (source: http://www.pixar.com) Computer graphics example: Pixar (source: http://www.pixar.com) Computer

More information

3D Coordinate Transformations. Tuesday September 8 th 2015

3D Coordinate Transformations. Tuesday September 8 th 2015 3D Coordinate Transformations Tuesday September 8 th 25 CS 4 Ross Beveridge & Bruce Draper Questions / Practice (from last week I messed up!) Write a matrix to rotate a set of 2D points about the origin

More information

Introduction to Fourier Analysis Part 2. CS 510 Lecture #7 January 31, 2018

Introduction to Fourier Analysis Part 2. CS 510 Lecture #7 January 31, 2018 Introduction to Fourier Analysis Part 2 CS 510 Lecture #7 January 31, 2018 OpenCV on CS Dept. Machines 2/4/18 CSU CS 510, Ross Beveridge & Bruce Draper 2 In the extreme, a square wave Graphic from http://www.mechatronics.colostate.edu/figures/4-4.jpg

More information

Elementary maths for GMT

Elementary maths for GMT Elementary maths for GMT Linear Algebra Part 1: Vectors, Representations Algebra and Linear Algebra Algebra: numbers and operations on numbers 2 + 3 = 5 3 7 = 21 Linear Algebra: tuples, triples... of numbers

More information

Lecture 23: Hermite and Bezier Curves

Lecture 23: Hermite and Bezier Curves Lecture 23: Hermite and Bezier Curves November 16, 2017 11/16/17 CSU CS410 Fall 2017, Ross Beveridge & Bruce Draper 1 Representing Curved Objects So far we ve seen Polygonal objects (triangles) and Spheres

More information

Computer Graphics MTAT Raimond Tunnel

Computer Graphics MTAT Raimond Tunnel Computer Graphics MTAT.03.015 Raimond Tunnel Points and Vectors In computer graphics we distinguish: Point a location in space (location vector, kohavektor) Vector a direction in space (direction vector,

More information

Math (P)Review Part I:

Math (P)Review Part I: Lecture 1: Math (P)Review Part I: Linear Algebra Computer Graphics CMU 15-462/15-662, Fall 2017 Homework 0.0 (Due Monday!) Exercises will be a bit harder / more rigorous than what you will do for the rest

More information

Geometric Image Manipulation

Geometric Image Manipulation Bruce A. Draper J. Ross Beveridge, January 24, 204 Geometric Image Manipulation Lecture (part a) January 24, 204 Bruce A. Draper J. Ross Beveridge, January 24, 204 Status Update Programming assignment

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

1. Vectors.

1. Vectors. 1. Vectors 1.1 Vectors and Matrices Linear algebra is concerned with two basic kinds of quantities: vectors and matrices. 1.1 Vectors and Matrices Scalars and Vectors - Scalar: a numerical value denoted

More information

Introduction to Fourier Analysis. CS 510 Lecture #5 February 2 nd 2015

Introduction to Fourier Analysis. CS 510 Lecture #5 February 2 nd 2015 Introduction to Fourier Analysis CS 510 Lecture 5 February 2 nd 2015 Why? Get used to changing representa6ons! (and this par6cular transforma6on is ubiquitous and important) 2/9/15 CSU CS 510, Ross Beveridge

More information

Covariance to PCA. CS 510 Lecture #14 February 23, 2018

Covariance to PCA. CS 510 Lecture #14 February 23, 2018 Covariance to PCA CS 510 Lecture 14 February 23, 2018 Overview: Goal Assume you have a gallery (database) of images, and a probe (test) image. The goal is to find the database image that is most similar

More information

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

Intro Vectors 2D implicit curves 2D parametric curves. Graphics 2012/2013, 4th quarter. Lecture 2: vectors, curves, and surfaces Lecture 2, curves, and surfaces Organizational remarks Tutorials: TA sessions for tutorial 1 start today Tutorial 2 will go online after lecture 3 Practicals: Make sure to find a team partner very soon

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

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

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

Data representation and classification

Data representation and classification Representation and classification of data January 25, 2016 Outline Lecture 1: Data Representation 1 Lecture 1: Data Representation Data representation The phrase data representation usually refers to the

More information

Mathematical Foundations: Intro

Mathematical Foundations: Intro Mathematical Foundations: Intro Graphics relies on 3 basic objects: 1. Scalars 2. Vectors 3. Points Mathematically defined in terms of spaces: 1. Vector space 2. Affine space 3. Euclidean space Math required:

More information

Key Intuition: invertibility

Key Intuition: invertibility Introduction to Fourier Analysis CS 510 Lecture #6 January 30, 2017 In the extreme, a square wave Graphic from http://www.mechatronics.colostate.edu/figures/4-4.jpg 2 Fourier Transform Formally, the Fourier

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

Lecture 20: Bezier Curves & Splines

Lecture 20: Bezier Curves & Splines Lecture 20: Bezier Curves & Splines December 6, 2016 12/6/16 CSU CS410 Bruce Draper & J. Ross Beveridge 1 Review: The Pen Metaphore Think of putting a pen to paper Pen position described by time t Seeing

More information

CS 143 Linear Algebra Review

CS 143 Linear Algebra Review CS 143 Linear Algebra Review Stefan Roth September 29, 2003 Introductory Remarks This review does not aim at mathematical rigor very much, but instead at ease of understanding and conciseness. Please see

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

Math 3C Lecture 20. John Douglas Moore

Math 3C Lecture 20. John Douglas Moore Math 3C Lecture 20 John Douglas Moore May 18, 2009 TENTATIVE FORMULA I Midterm I: 20% Midterm II: 20% Homework: 10% Quizzes: 10% Final: 40% TENTATIVE FORMULA II Higher of two midterms: 30% Homework: 10%

More information

1. Foundations of Numerics from Advanced Mathematics. Linear Algebra

1. Foundations of Numerics from Advanced Mathematics. Linear Algebra Foundations of Numerics from Advanced Mathematics Linear Algebra Linear Algebra, October 23, 22 Linear Algebra Mathematical Structures a mathematical structure consists of one or several sets and one or

More information

Dot product. The dot product is an inner product on a coordinate vector space (Definition 1, Theorem

Dot product. The dot product is an inner product on a coordinate vector space (Definition 1, Theorem Dot product The dot product is an inner product on a coordinate vector space (Definition 1, Theorem 1). Definition 1 Given vectors v and u in n-dimensional space, the dot product is defined as, n v u v

More information

Lecture 7. Quaternions

Lecture 7. Quaternions Matthew T. Mason Mechanics of Manipulation Spring 2012 Today s outline Motivation Motivation have nice geometrical interpretation. have advantages in representing rotation. are cool. Even if you don t

More information

LINEAR ALGEBRA: THEORY. Version: August 12,

LINEAR ALGEBRA: THEORY. Version: August 12, LINEAR ALGEBRA: THEORY. Version: August 12, 2000 13 2 Basic concepts We will assume that the following concepts are known: Vector, column vector, row vector, transpose. Recall that x is a column vector,

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

TIEA311 Tietokonegrafiikan perusteet kevät 2018

TIEA311 Tietokonegrafiikan perusteet kevät 2018 TIEA311 Tietokonegrafiikan perusteet kevät 2018 ( Principles of Computer Graphics Spring 2018) Copyright and Fair Use Notice: The lecture videos of this course are made available for registered students

More information

Lecture 16: Projection and Cameras. October 17, 2017

Lecture 16: Projection and Cameras. October 17, 2017 Lecture 6: Projection and Cameras October 7 207 3D Viewing as Virtual Camera To take a picture with a camera or to render an image with computer graphics we need to:. Position the camera/viewpoint in 3D

More information

ECS130 Scientific Computing. Lecture 1: Introduction. Monday, January 7, 10:00 10:50 am

ECS130 Scientific Computing. Lecture 1: Introduction. Monday, January 7, 10:00 10:50 am ECS130 Scientific Computing Lecture 1: Introduction Monday, January 7, 10:00 10:50 am About Course: ECS130 Scientific Computing Professor: Zhaojun Bai Webpage: http://web.cs.ucdavis.edu/~bai/ecs130/ Today

More information

Vectors. September 2, 2015

Vectors. September 2, 2015 Vectors September 2, 2015 Our basic notion of a vector is as a displacement, directed from one point of Euclidean space to another, and therefore having direction and magnitude. We will write vectors in

More information

ORTHOGONALITY AND LEAST-SQUARES [CHAP. 6]

ORTHOGONALITY AND LEAST-SQUARES [CHAP. 6] ORTHOGONALITY AND LEAST-SQUARES [CHAP. 6] Inner products and Norms Inner product or dot product of 2 vectors u and v in R n : u.v = u 1 v 1 + u 2 v 2 + + u n v n Calculate u.v when u = 1 2 2 0 v = 1 0

More information

CG Basics 1 of 10. Mathematical Foundations: Vectors, Matrices, & Parametric Equations

CG Basics 1 of 10. Mathematical Foundations: Vectors, Matrices, & Parametric Equations CG Basics 1 of 10 ematical Foundations: Vectors, Matrices, & Parametric Equations William H. Hsu Department of Computing and Information Sciences, KSU KSOL course page: http://bit.ly/hgvxlh Course web

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

F F. proj cos( ) v. v proj v

F F. proj cos( ) v. v proj v Geometric Definition of Dot Product 1.2 The Dot Product Suppose you are pulling up on a rope attached to a box, as shown above. How would you find the force moving the box towards you? As stated above,

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

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

Vectors. The standard geometric definition of vector is as something which has direction and magnitude but not position.

Vectors. The standard geometric definition of vector is as something which has direction and magnitude but not position. Vectors The standard geometric definition of vector is as something which has direction and magnitude but not position. Since vectors have no position we may place them wherever is convenient. Vectors

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

4 Linear Algebra Review

4 Linear Algebra Review 4 Linear Algebra Review For this topic we quickly review many key aspects of linear algebra that will be necessary for the remainder of the course 41 Vectors and Matrices For the context of data analysis,

More information

Lecture 1: Systems of linear equations and their solutions

Lecture 1: Systems of linear equations and their solutions Lecture 1: Systems of linear equations and their solutions Course overview Topics to be covered this semester: Systems of linear equations and Gaussian elimination: Solving linear equations and applications

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

INNER PRODUCT SPACE. Definition 1

INNER PRODUCT SPACE. Definition 1 INNER PRODUCT SPACE Definition 1 Suppose u, v and w are all vectors in vector space V and c is any scalar. An inner product space on the vectors space V is a function that associates with each pair of

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

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved.

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved. 7.5 Operations with Matrices Copyright Cengage Learning. All rights reserved. What You Should Learn Decide whether two matrices are equal. Add and subtract matrices and multiply matrices by scalars. Multiply

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

Linear Algebra II. 7 Inner product spaces. Notes 7 16th December Inner products and orthonormal bases

Linear Algebra II. 7 Inner product spaces. Notes 7 16th December Inner products and orthonormal bases MTH6140 Linear Algebra II Notes 7 16th December 2010 7 Inner product spaces Ordinary Euclidean space is a 3-dimensional vector space over R, but it is more than that: the extra geometric structure (lengths,

More information

Math 3191 Applied Linear Algebra

Math 3191 Applied Linear Algebra Math 3191 Applied Linear Algebra Lecture 11: Vector Spaces Stephen Billups University of Colorado at Denver Math 3191Applied Linear Algebra p.1/32 Announcements Study Guide 6 posted HWK 6 posted Math 3191Applied

More information

Span and Linear Independence

Span and Linear Independence Span and Linear Independence It is common to confuse span and linear independence, because although they are different concepts, they are related. To see their relationship, let s revisit the previous

More information

Linear Algebra. Min Yan

Linear Algebra. Min Yan Linear Algebra Min Yan January 2, 2018 2 Contents 1 Vector Space 7 1.1 Definition................................. 7 1.1.1 Axioms of Vector Space..................... 7 1.1.2 Consequence of Axiom......................

More information

1 Planar rotations. Math Abstract Linear Algebra Fall 2011, section E1 Orthogonal matrices and rotations

1 Planar rotations. Math Abstract Linear Algebra Fall 2011, section E1 Orthogonal matrices and rotations Math 46 - Abstract Linear Algebra Fall, section E Orthogonal matrices and rotations Planar rotations Definition: A planar rotation in R n is a linear map R: R n R n such that there is a plane P R n (through

More information

CMU CS 462/662 (INTRO TO COMPUTER GRAPHICS) HOMEWORK 0.0 MATH REVIEW/PREVIEW LINEAR ALGEBRA

CMU CS 462/662 (INTRO TO COMPUTER GRAPHICS) HOMEWORK 0.0 MATH REVIEW/PREVIEW LINEAR ALGEBRA CMU CS 462/662 (INTRO TO COMPUTER GRAPHICS) HOMEWORK 0.0 MATH REVIEW/PREVIEW LINEAR ALGEBRA Andrew ID: ljelenak August 25, 2018 This assignment reviews basic mathematical tools you will use throughout

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

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

Lecture # 3 Orthogonal Matrices and Matrix Norms. We repeat the definition an orthogonal set and orthornormal set.

Lecture # 3 Orthogonal Matrices and Matrix Norms. We repeat the definition an orthogonal set and orthornormal set. Lecture # 3 Orthogonal Matrices and Matrix Norms We repeat the definition an orthogonal set and orthornormal set. Definition A set of k vectors {u, u 2,..., u k }, where each u i R n, is said to be an

More information

Rotational motion of a rigid body spinning around a rotational axis ˆn;

Rotational motion of a rigid body spinning around a rotational axis ˆn; Physics 106a, Caltech 15 November, 2018 Lecture 14: Rotations The motion of solid bodies So far, we have been studying the motion of point particles, which are essentially just translational. Bodies with

More information

Dot Products. K. Behrend. April 3, Abstract A short review of some basic facts on the dot product. Projections. The spectral theorem.

Dot Products. K. Behrend. April 3, Abstract A short review of some basic facts on the dot product. Projections. The spectral theorem. Dot Products K. Behrend April 3, 008 Abstract A short review of some basic facts on the dot product. Projections. The spectral theorem. Contents The dot product 3. Length of a vector........................

More information

VECTORS vectors & scalars vector direction magnitude scalar only magnitude

VECTORS vectors & scalars vector direction magnitude scalar only magnitude VECTORS Physical quantities are classified in two big classes: vectors & scalars. A vector is a physical quantity which is completely defined once we know precisely its direction and magnitude (for example:

More information

Vectors and Matrices Lecture 2

Vectors and Matrices Lecture 2 Vectors and Matrices Lecture 2 Dr Mark Kambites School of Mathematics 13/03/2014 Dr Mark Kambites (School of Mathematics) COMP11120 13/03/2014 1 / 20 How do we recover the magnitude of a vector from its

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

Matrix Algebra: Vectors

Matrix Algebra: Vectors A Matrix Algebra: Vectors A Appendix A: MATRIX ALGEBRA: VECTORS A 2 A MOTIVATION Matrix notation was invented primarily to express linear algebra relations in compact form Compactness enhances visualization

More information

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra.

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra. DS-GA 1002 Lecture notes 0 Fall 2016 Linear Algebra These notes provide a review of basic concepts in linear algebra. 1 Vector spaces You are no doubt familiar with vectors in R 2 or R 3, i.e. [ ] 1.1

More information

CSL361 Problem set 4: Basic linear algebra

CSL361 Problem set 4: Basic linear algebra CSL361 Problem set 4: Basic linear algebra February 21, 2017 [Note:] If the numerical matrix computations turn out to be tedious, you may use the function rref in Matlab. 1 Row-reduced echelon matrices

More information

x 1 x 2. x 1, x 2,..., x n R. x n

x 1 x 2. x 1, x 2,..., x n R. x n WEEK In general terms, our aim in this first part of the course is to use vector space theory to study the geometry of Euclidean space A good knowledge of the subject matter of the Matrix Applications

More information

Real Analysis III. (MAT312β) Department of Mathematics University of Ruhuna. A.W.L. Pubudu Thilan

Real Analysis III. (MAT312β) Department of Mathematics University of Ruhuna. A.W.L. Pubudu Thilan Real Analysis III (MAT312β) Department of Mathematics University of Ruhuna A.W.L. Pubudu Thilan Department of Mathematics University of Ruhuna Real Analysis III(MAT312β) 1/87 About course unit Course unit:

More information

Linear Algebra in Computer Vision. Lecture2: Basic Linear Algebra & Probability. Vector. Vector Operations

Linear Algebra in Computer Vision. Lecture2: Basic Linear Algebra & Probability. Vector. Vector Operations Linear Algebra in Computer Vision CSED441:Introduction to Computer Vision (2017F Lecture2: Basic Linear Algebra & Probability Bohyung Han CSE, POSTECH bhhan@postech.ac.kr Mathematics in vector space Linear

More information

Fourier Matching. CS 510 Lecture #7 February 8 th, 2013

Fourier Matching. CS 510 Lecture #7 February 8 th, 2013 Fourier Matching CS 510 Lecture #7 February 8 th, 2013 Details are on the assignments page you have un4l Monday Programming Assignment #1 Source (Target) Images Templates Le4 Eye Right Eye Le4 Ear Nose

More information

PCA Review. CS 510 February 25 th, 2013

PCA Review. CS 510 February 25 th, 2013 PCA Review CS 510 February 25 th, 2013 Recall the goal: image matching Probe image, registered to gallery Registered Gallery of Images 3/7/13 CS 510, Image Computa5on, Ross Beveridge & Bruce Draper 2 Getting

More information

Properties of Linear Transformations from R n to R m

Properties of Linear Transformations from R n to R m Properties of Linear Transformations from R n to R m MATH 322, Linear Algebra I J. Robert Buchanan Department of Mathematics Spring 2015 Topic Overview Relationship between the properties of a matrix transformation

More information

CSC 470 Introduction to Computer Graphics. Mathematical Foundations Part 2

CSC 470 Introduction to Computer Graphics. Mathematical Foundations Part 2 CSC 47 Introduction to Computer Graphics Mathematical Foundations Part 2 Vector Magnitude and Unit Vectors The magnitude (length, size) of n-vector w is written w 2 2 2 w = w + w2 + + w n Example: the

More information

An overview of key ideas

An overview of key ideas An overview of key ideas This is an overview of linear algebra given at the start of a course on the mathematics of engineering. Linear algebra progresses from vectors to matrices to subspaces. Vectors

More information

Lecture 21 Relevant sections in text: 3.1

Lecture 21 Relevant sections in text: 3.1 Lecture 21 Relevant sections in text: 3.1 Angular momentum - introductory remarks The theory of angular momentum in quantum mechanics is important in many ways. The myriad of results of this theory, which

More information

Chapter 3. Vectors and Two-Dimensional Motion

Chapter 3. Vectors and Two-Dimensional Motion Chapter 3 Vectors and Two-Dimensional Motion 1 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)

More information

Worksheet 1.3: Introduction to the Dot and Cross Products

Worksheet 1.3: Introduction to the Dot and Cross Products Boise State Math 275 (Ultman Worksheet 1.3: Introduction to the Dot and Cross Products From the Toolbox (what you need from previous classes Trigonometry: Sine and cosine functions. Vectors: Know what

More information

Review of linear algebra

Review of linear algebra Review of linear algebra 1 Vectors and matrices We will just touch very briefly on certain aspects of linear algebra, most of which should be familiar. Recall that we deal with vectors, i.e. elements of

More information

Section 3.1: Definition and Examples (Vector Spaces)

Section 3.1: Definition and Examples (Vector Spaces) Section 3.1: Definition and Examples (Vector Spaces) 1. Examples Euclidean Vector Spaces: The set of n-length vectors that we denoted by R n is a vector space. For simplicity, let s consider n = 2. A vector

More information

This pre-publication material is for review purposes only. Any typographical or technical errors will be corrected prior to publication.

This pre-publication material is for review purposes only. Any typographical or technical errors will be corrected prior to publication. This pre-publication material is for review purposes only. Any typographical or technical errors will be corrected prior to publication. Copyright Pearson Canada Inc. All rights reserved. Copyright Pearson

More information

Econ Slides from Lecture 7

Econ Slides from Lecture 7 Econ 205 Sobel Econ 205 - Slides from Lecture 7 Joel Sobel August 31, 2010 Linear Algebra: Main Theory A linear combination of a collection of vectors {x 1,..., x k } is a vector of the form k λ ix i for

More information

Basic Linear Algebra. Florida State University. Acknowledgements: Daniele Panozzo. CAP Computer Graphics - Fall 18 Xifeng Gao

Basic Linear Algebra. Florida State University. Acknowledgements: Daniele Panozzo. CAP Computer Graphics - Fall 18 Xifeng Gao Basic Linear Algebra Acknowledgements: Daniele Panozzo Overview We will briefly overview the basic linear algebra concepts that we will need in the class You will not be able to follow the next lectures

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

Overview of vector calculus. Coordinate systems in space. Distance formula. (Sec. 12.1)

Overview of vector calculus. Coordinate systems in space. Distance formula. (Sec. 12.1) Math 20C Multivariable Calculus Lecture 1 1 Coordinates in space Slide 1 Overview of vector calculus. Coordinate systems in space. Distance formula. (Sec. 12.1) Vector calculus studies derivatives and

More information

Inner Product Spaces

Inner Product Spaces Inner Product Spaces Introduction Recall in the lecture on vector spaces that geometric vectors (i.e. vectors in two and three-dimensional Cartesian space have the properties of addition, subtraction,

More information

Physics 6303 Lecture 3 August 27, 2018

Physics 6303 Lecture 3 August 27, 2018 Physics 6303 Lecture 3 August 27, 208 LAST TIME: Vector operators, divergence, curl, examples of line integrals and surface integrals, divergence theorem, Stokes theorem, index notation, Kronecker delta,

More information

Algebra I Fall 2007

Algebra I Fall 2007 MIT OpenCourseWare http://ocw.mit.edu 18.701 Algebra I Fall 007 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. 18.701 007 Geometry of the Special Unitary

More information

MTAEA Vectors in Euclidean Spaces

MTAEA Vectors in Euclidean Spaces School of Economics, Australian National University January 25, 2010 Vectors. Economists usually work in the vector space R n. A point in this space is called a vector, and is typically defined by its

More information

Linear Algebra Massoud Malek

Linear Algebra Massoud Malek CSUEB Linear Algebra Massoud Malek Inner Product and Normed Space In all that follows, the n n identity matrix is denoted by I n, the n n zero matrix by Z n, and the zero vector by θ n An inner product

More information

Cambridge University Press The Mathematics of Signal Processing Steven B. Damelin and Willard Miller Excerpt More information

Cambridge University Press The Mathematics of Signal Processing Steven B. Damelin and Willard Miller Excerpt More information Introduction Consider a linear system y = Φx where Φ can be taken as an m n matrix acting on Euclidean space or more generally, a linear operator on a Hilbert space. We call the vector x a signal or input,

More information

MAT2342 : Introduction to Applied Linear Algebra Mike Newman, fall Projections. introduction

MAT2342 : Introduction to Applied Linear Algebra Mike Newman, fall Projections. introduction MAT4 : Introduction to Applied Linear Algebra Mike Newman fall 7 9. Projections introduction One reason to consider projections is to understand approximate solutions to linear systems. A common example

More information

Lecture 10: Eigenvectors and eigenvalues (Numerical Recipes, Chapter 11)

Lecture 10: Eigenvectors and eigenvalues (Numerical Recipes, Chapter 11) Lecture 1: Eigenvectors and eigenvalues (Numerical Recipes, Chapter 11) The eigenvalue problem, Ax= λ x, occurs in many, many contexts: classical mechanics, quantum mechanics, optics 22 Eigenvectors and

More information

6. Linear Transformations.

6. Linear Transformations. 6. Linear Transformations 6.1. Matrices as Transformations A Review of Functions domain codomain range x y preimage image http://en.wikipedia.org/wiki/codomain 6.1. Matrices as Transformations A Review

More information

Linear Algebra Prof. Dilip P Patil Department of Mathematics Indian Institute of Science, Bangalore

Linear Algebra Prof. Dilip P Patil Department of Mathematics Indian Institute of Science, Bangalore Linear Algebra Prof. Dilip P Patil Department of Mathematics Indian Institute of Science, Bangalore Lecture 01 Introduction to Algebraic Structures - Rings and Fields Welcome to this course on Linear Algebra.

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

Math 3191 Applied Linear Algebra

Math 3191 Applied Linear Algebra Math 191 Applied Linear Algebra Lecture 1: Inner Products, Length, Orthogonality Stephen Billups University of Colorado at Denver Math 191Applied Linear Algebra p.1/ Motivation Not all linear systems have

More information

2. Preliminaries. x 2 + y 2 + z 2 = a 2 ( 1 )

2. Preliminaries. x 2 + y 2 + z 2 = a 2 ( 1 ) x 2 + y 2 + z 2 = a 2 ( 1 ) V. Kumar 2. Preliminaries 2.1 Homogeneous coordinates When writing algebraic equations for such geometric objects as planes and circles, we are used to writing equations that

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

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

v = ( 2)

v = ( 2) Chapter : Introduction to Vectors.. Vectors and linear combinations Let s begin by saying what vectors are: They are lists of numbers. If there are numbers in the list, there is a natural correspondence

More information