Exercise Solutions for Introduction to 3D Game Programming with DirectX 10

Size: px
Start display at page:

Download "Exercise Solutions for Introduction to 3D Game Programming with DirectX 10"

Transcription

1 Exercise Solutions for Introduction to 3D Game Programming with DirectX 10 Frank Luna, September 6, 009 Solutions to Part I Chapter 1 1. Let u = 1, and v = 3, 4. Perform the following computations and draw the vectors relative to a D coordinate system. a) u + v b) u v c) u + 1 v d) u + v a) 1, + 3, 4 = 1 + 3, + 4 = 4, b) 1, 3, 4 = 1, + 3, 4 = 1 3, + 4 =, 6 c) 1, + 1 3, 4 =, 4 + 3, = 7, d) 1, + 3, 4 =, 4 + 3, 4 = 1, 8. Let u = 1, 3, and v = 3, 4, 1. Perform the following computations. a) u + v b) u v c) 3u + v d) u + v a) 1, 3, + 3, 4, 1 = 1 + 3, 3 + 4, + 1 =, 1, 3 b) 1, 3, 3, 4, 1 = 1, 3, + 3, 4, 1 = 4, 7, 1 c) 3 1, 3, + 3, 4, 1 = 3, 9, 6 + 6, 8, = 3, 1, 8 d) 1, 3, + 3, 4, 1 =, 6, 4 + 3, 4,1 = 5, 10, 3

2 3. This exercise shows that vector algebra shares many of the nice properties of real numbers (this is not an exhaustive list). Assume u = u x, u y, u z, v = v x, v y, v z, and w = w x, w y, w z. Also assume that c and k are scalars. Prove the following vector properties. a) b) c) d) a) u + v = v + u (Commutative Property of Addition) b) u + v + w = u + v + w (Associative Property of Addition) c) ck u = c ku (Associative Property of Scalar Multiplication) d) k u + v = ku + kv (Distributive Property 1) e) u k + c = ku + cu (Distributive Property ) u + v = u x, u y, u z + v x, v y, v z = u x + v x, u y + v y, u z + v z = v x + u x, v y + u y, v z + u z = v x, v y, v z + u x, u y, u z = v + u u + v + w = u x, u y, u z + v x, v y, v z + w x, w y, w z = u x, u y, u z + v x + w x, v y + w y, v z + w z = u x + v x + w x, u y + v y + w y, u z + v z + w z = u x + v x + w x, u y + v y + w y, u z + v z + w z = u x + v x, u y + v y, u z + v z + w x, w y, w z = u x, u y, u z + v x, v y, v z + w x, w y, w z = u + v + w ck u = ck u x, u y, u z = ck u x, ck u y, ck u z = c ku x, c ku y, c ku z = c ku x, ku y, ku z = c ku k u + v = k u x, u y, u z + v x, v y, v z = k u x + v x, u y + v y, u z + v z

3 = k u x + v x, k u y + v y, k u z + v z = ku x + kv x, ku y + kv y, ku z + kv z = ku x, ku y, ku z + kv x, kv y, kv z = ku + kv e) u k + c = u x, u y, u z k + c = u x k + c, u y k + c, u z k + c = ku x + cu x, ku y + cu y, ku z + cu z = ku x, ku y, ku z + cu x, cu y, cu z = ku + cu 4. Solve the equation 1,, 3 x, 0, 4 = 1,, 3 for x. Use vector algebra to solve for x: 1,, 3 x, 0, 4 = 1,, 3, 4, 6 x +, 0, 4 =, 4, 6 x +, 0, 4 = 4, 8, 1 x = 6, 8, 8 x = 3, 4, 4 5. Let u = 1, 3, and v = 3, 4, 1. Normalize u and v. u = = = 14 u = u u = 1 14, 3 14, 14 v = = = 6 v = v v = 3 6, 4 6, 1 6. Let k be a scalar and let u = u x, u y, u z. Prove that ku = k u. 6 ku = ku x + ku y + ku z = k u x + u y + u z = k u x + u y + u z = k u 7. Is the angle between u and v orthogonal, acute, or obtuse?

4 a) u = 1, 1, 1, v =, 3, 4 b) u = 1, 1, 0, v =,, 0 c) u = 1, 1, 1, v = 3, 1, 0 a) u v = = 9 > 0 acute b) u v = = 0 orthogonal c) u v = = 4 < 0 obtuse 8. Let u = 1, 3, and v = 3, 4, 1. Find the angle θ between u and v. Using the equation u v = u v cos θ we have: u v 1 θ = cos u v = cos = cos 14 6 = Let u = u x, u y, u z, v = v x, v y, v z, and w = w x, w y, w z. Also let c and k be scalars. Prove the following dot product properties. a) u v = v u b) u v + w = u v + u w c) k u v = ku v = u kv d) v v = v e) 0 v = 0 u v = u x, u y, u z v x, v y, v z = u x v x + u y v y + u z v z = v x, v y, v z u x, u y, u z = v u u v + w = u x, u y, u z v x + w x, v y + w y, v z + w z = u x v x + w x + u y v y + w y + u z v z + w z = u x v x + u x w x + u y v y + u y w y + u z v z + u z w z = u x v x + u y v y + u z + u x w x + u y w y + u z w z = u v + u w k u v = k u x v x + u y v y + u z v z = ku x v x + ku y v y + ku z v z

5 = ku v = u x kv x + u y kv y + u z kv z = u kv v v = v x v x + v y v y + v z v z = v x + v y + v z = v 0 v = 0v x + 0v y + 0v z = Use the law of cosines (c = a + b ab cos θ, where a, b, and c are the lengths of the sides of a triangle and θ is the angle between sides a and b) to show u x v x + u y v y + u z v z = u v cos θ Hint: Consider Figure 1.9 and set c = u v, a = u and b = v, and use the dot product properties from the previous exercise. c = a + b ab cos θ u v = u + v u v cos θ u v u v = u u + v v u v cos θ u u u v + v v = u u + v v u v cos θ u v = u v cos θ 11. Let n =, 1. Decompose the vector g = 0, 9.8 into the sum of two orthogonal vectors, one parallel to n and the other orthogonal to n. Also, draw the vectors relative to a D coordinate system. g = proj n g = g n 9.8 n = n 5,1 = 1.96,1 = 3.9, 1.96 g = g g = 0, , 1.96 = 3.9, Let u =, 1, 4 and v = 3, 4, 1. Find w = u v, and show w u = 0 and w v = 0. w = u v = u y v z u z v y, u z v x u x v z, u x v y u y v x

6 = , 1 +, 8 3 = 17, 14, 5 w u = = = 0 w v = = = Let the following points define a triangle relative to some coordinate system: A = 0, 0, 0, B = 0, 1, 3, and C = 5, 1, 0. Find a vector orthogonal to this triangle. Hint: Find two vectors on two of the triangle s edges and use the cross product. u = B A = 0, 1, 3 v = C A = (5,1,0) n = u v = u y v z u z v y, u z v x u x v z, u x v y u y v x = 0 3, 15 0, 0 5 = ( 3, 15, 5) 14. Prove that u v = u v sin θ. Hint: Start with u v sin θ and use the trigonometric identity cos θ + sin θ = 1 sin θ = 1 cos θ; then apply Equation 1.4. To make the derivation simpler, we compute the following three formulas up front: u v = u x + u y + u z v x + v y + v z = u x v x + v y + v z + u y v x + v y + v z + u z v x + v y + v z = u x v x + u x v y + u x v z + u y v x + u y v y + u y v z + u z v x + u z v y + u z v z (1) u v = u x v x + u y v y + u z v z u x v x + u y v y + u z v z = u x v x u x v x + u y v y + u z v z + u y v y u x v x + u y v y + u z v z + u z v z u x v x + u y v y + u z v z = u x v x u x v x + u x v x u y v y + u x v x u z v z + u y v y u x v x + u y v y u y v y + u y v y u z v z + u z v z u x v x + u z v z u y v y + u z v z u z v z = u x v x + u x v x u y v y + u x v x u z v z + u y v y + u y v y u z v z + u z v z () u v u v = u x v y + u x v z + u y v x + u y v z + u z v x + u z v y u x v x u y v y u x v x u z v z u y v y u z v z (3)

7 = u y v z u y v y u z v z + u z v y + u z v x u x v x u z v z + u x v z + u x v y + u x v x u y v y + u y v x Now, u v sin θ = u v 1 cos θ = u v 1 = u v u v u v u v u v u v = u v u v And u v = u y v z u z v y, u z v x u x v z, u x v y u y v x = u y v z u z v y + u z v x u x v z + u x v y u y v x = u y v z u y v z u z v y + u z v y + u z v x u z v x u x v z + u x v z + u x v y u x v y u y v x + u y v x = u v u v Thus we obtain the desired result: u v = u v sin θ 15. Prove that u v gives the area of the parallelogram spanned by u and v; see Figure below. The area is the base times the height: A = v h

8 Using trigonometry, the height is given by h = u sin (θ). This, along with the application of Exercise 14, we can conclude: A = u v sin (θ) = u v 16. Give an example of 3D vectors u, v, and w such that u v w u v w. This shows the cross product is generally not associative. Hint: Consider combinations of the simple vectors i = 1, 0, 0, j = 0, 1, 0, and k = 0, 0, 1. Choose u = (1,1,0), v = i, and w = j. Then: But, u v w = 1,1,0 k = (1, 1,0) u v w = k j = i 17. Prove that the cross product of two nonzero parallel vectors results in the null vector; that is, u ku = 0. Hint: Just use the cross product definition. u ku = u y ku z u z ku y, u z ku x u x ku z, u x ku y u y ku x = ku y u z ku z u y, ku z u x ku x u z, ku x u y ku y u x = 0

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

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

Math 8 Winter 2010 Midterm 2 Review Problems Solutions - 1. xcos 6xdx = 4. = x2 4

Math 8 Winter 2010 Midterm 2 Review Problems Solutions - 1. xcos 6xdx = 4. = x2 4 Math 8 Winter 21 Midterm 2 Review Problems Solutions - 1 1 Evaluate xcos 2 3x Solution: First rewrite cos 2 3x using the half-angle formula: ( ) 1 + cos 6x xcos 2 3x = x = 1 x + 1 xcos 6x. 2 2 2 Now use

More information

Chapter 6 Additional Topics in Trigonometry, Part II

Chapter 6 Additional Topics in Trigonometry, Part II Chapter 6 Additional Topics in Trigonometry, Part II Section 3 Section 4 Section 5 Vectors in the Plane Vectors and Dot Products Trigonometric Form of a Complex Number Vocabulary Directed line segment

More information

Dot Product August 2013

Dot Product August 2013 Dot Product 12.3 30 August 2013 Dot product. v = v 1, v 2,..., v n, w = w 1, w 2,..., w n The dot product v w is v w = v 1 w 1 + v 2 w 2 + + v n w n n = v i w i. i=1 Example: 1, 4, 5 2, 8, 0 = 1 2 + 4

More information

in Trigonometry Name Section 6.1 Law of Sines Important Vocabulary

in Trigonometry Name Section 6.1 Law of Sines Important Vocabulary Name Chapter 6 Additional Topics in Trigonometry Section 6.1 Law of Sines Objective: In this lesson you learned how to use the Law of Sines to solve oblique triangles and how to find the areas of oblique

More information

Brief Review of Vector Algebra

Brief Review of Vector Algebra APPENDIX Brief Review of Vector Algebra A.0 Introduction Vector algebra is used extensively in computational mechanics. The student must thus understand the concepts associated with this subject. The current

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

MAT 1339-S14 Class 8

MAT 1339-S14 Class 8 MAT 1339-S14 Class 8 July 28, 2014 Contents 7.2 Review Dot Product........................... 2 7.3 Applications of the Dot Product..................... 4 7.4 Vectors in Three-Space.........................

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

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

Study guide for Exam 1. by William H. Meeks III October 26, 2012

Study guide for Exam 1. by William H. Meeks III October 26, 2012 Study guide for Exam 1. by William H. Meeks III October 2, 2012 1 Basics. First we cover the basic definitions and then we go over related problems. Note that the material for the actual midterm may include

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

CHAPTER 5: Analytic Trigonometry

CHAPTER 5: Analytic Trigonometry ) (Answers for Chapter 5: Analytic Trigonometry) A.5. CHAPTER 5: Analytic Trigonometry SECTION 5.: FUNDAMENTAL TRIGONOMETRIC IDENTITIES Left Side Right Side Type of Identity (ID) csc( x) sin x Reciprocal

More information

Worksheet 1.4: Geometry of the Dot and Cross Products

Worksheet 1.4: Geometry of the Dot and Cross Products Boise State Math 275 (Ultman) Worksheet 1.4: Geometry of the Dot and Cross Products From the Toolbox (what you need from previous classes): Basic algebra and trigonometry: be able to solve quadratic equations,

More information

Brief Review of Exam Topics

Brief Review of Exam Topics Math 32A Discussion Session Week 3 Notes October 17 and 19, 2017 We ll use this week s discussion session to prepare for the first midterm. We ll start with a quick rundown of the relevant topics, and

More information

MTH 2310, FALL Introduction

MTH 2310, FALL Introduction MTH 2310, FALL 2011 SECTION 6.2: ORTHOGONAL SETS Homework Problems: 1, 5, 9, 13, 17, 21, 23 1, 27, 29, 35 1. Introduction We have discussed previously the benefits of having a set of vectors that is linearly

More information

7.1 Projections and Components

7.1 Projections and Components 7. Projections and Components As we have seen, the dot product of two vectors tells us the cosine of the angle between them. So far, we have only used this to find the angle between two vectors, but cosines

More information

MIDTERM 4 PART 1 (CHAPTERS 5 AND 6: ANALYTIC & MISC. TRIGONOMETRY) MATH 141 FALL 2018 KUNIYUKI 150 POINTS TOTAL: 47 FOR PART 1, AND 103 FOR PART

MIDTERM 4 PART 1 (CHAPTERS 5 AND 6: ANALYTIC & MISC. TRIGONOMETRY) MATH 141 FALL 2018 KUNIYUKI 150 POINTS TOTAL: 47 FOR PART 1, AND 103 FOR PART Math 141 Name: MIDTERM 4 PART 1 (CHAPTERS 5 AND 6: ANALYTIC & MISC. TRIGONOMETRY) MATH 141 FALL 018 KUNIYUKI 150 POINTS TOTAL: 47 FOR PART 1, AND 103 FOR PART Show all work, simplify as appropriate, and

More information

VECTORS IN 2-SPACE AND 3-SPACE GEOMETRIC VECTORS VECTORS OPERATIONS DOT PRODUCT; PROJECTIONS CROSS PRODUCT

VECTORS IN 2-SPACE AND 3-SPACE GEOMETRIC VECTORS VECTORS OPERATIONS DOT PRODUCT; PROJECTIONS CROSS PRODUCT VECTORS IN -SPACE AND 3-SPACE GEOMETRIC VECTORS VECTORS OPERATIONS DOT PRODUCT; PROJECTIONS CROSS PRODUCT GEOMETRIC VECTORS Vectors can represented geometrically as directed line segments or arrows in

More information

Section 8.2 Vector Angles

Section 8.2 Vector Angles Section 8.2 Vector Angles INTRODUCTION Recall that a vector has these two properties: 1. It has a certain length, called magnitude 2. It has a direction, indicated by an arrow at one end. In this section

More information

v = v 1 2 +v 2 2. Two successive applications of this idea give the length of the vector v R 3 :

v = v 1 2 +v 2 2. Two successive applications of this idea give the length of the vector v R 3 : Length, Angle and the Inner Product The length (or norm) of a vector v R 2 (viewed as connecting the origin to a point (v 1,v 2 )) is easily determined by the Pythagorean Theorem and is denoted v : v =

More information

Math 32A Discussion Session Week 2 Notes October 10 and 12, 2017

Math 32A Discussion Session Week 2 Notes October 10 and 12, 2017 Math 32A Discussion Session Week 2 Notes October 10 and 12, 2017 Since we didn t get a chance to discuss parametrized lines last week, we may spend some time discussing those before moving on to the dot

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

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

Congruence Axioms. Data Required for Solving Oblique Triangles

Congruence Axioms. Data Required for Solving Oblique Triangles Math 335 Trigonometry Sec 7.1: Oblique Triangles and the Law of Sines In section 2.4, we solved right triangles. We now extend the concept to all triangles. Congruence Axioms Side-Angle-Side SAS Angle-Side-Angle

More information

94 CHAPTER 3. VECTORS AND THE GEOMETRY OF SPACE

94 CHAPTER 3. VECTORS AND THE GEOMETRY OF SPACE 94 CHAPTER 3. VECTORS AND THE GEOMETRY OF SPACE 3.3 Dot Product We haven t yet de ned a multiplication between vectors. It turns out there are di erent ways this can be done. In this section, we present

More information

Introduction to 3D Game Programming with DirectX 9.0c: A Shader Approach

Introduction to 3D Game Programming with DirectX 9.0c: A Shader Approach Introduction to 3D Game Programming with DirectX 90c: A Shader Approach Part I Solutions Note : Please email to frank@moon-labscom if ou find an errors Note : Use onl after ou have tried, and struggled

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

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

VECTORS IN THREE DIMENSIONS

VECTORS IN THREE DIMENSIONS 1 CHAPTER 2. BASIC TRIGONOMETRY 1 INSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW VECTORS IN THREE DIMENSIONS 1 Vectors in Two Dimensions A vector is an object which has magnitude

More information

Solutions to Selected Questions from Denis Sevee s Vector Geometry. (Updated )

Solutions to Selected Questions from Denis Sevee s Vector Geometry. (Updated ) Solutions to Selected Questions from Denis Sevee s Vector Geometry. (Updated 24--27) Denis Sevee s Vector Geometry notes appear as Chapter 5 in the current custom textbook used at John Abbott College for

More information

Vector Operations. Lecture 19. Robb T. Koether. Hampden-Sydney College. Wed, Oct 7, 2015

Vector Operations. Lecture 19. Robb T. Koether. Hampden-Sydney College. Wed, Oct 7, 2015 Vector Operations Lecture 19 Robb T. Koether Hampden-Sydney College Wed, Oct 7, 2015 Robb T. Koether (Hampden-Sydney College) Vector Operations Wed, Oct 7, 2015 1 / 23 Outline 1 Magnitude 2 Dot Product

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

Quiz 2 Practice Problems

Quiz 2 Practice Problems Quiz Practice Problems Practice problems are similar, both in difficulty and in scope, to the type of problems you will see on the quiz. Problems marked with a are for your entertainment and are not essential.

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

12.1 Three Dimensional Coordinate Systems (Review) Equation of a sphere

12.1 Three Dimensional Coordinate Systems (Review) Equation of a sphere 12.2 Vectors 12.1 Three Dimensional Coordinate Systems (Reiew) Equation of a sphere x a 2 + y b 2 + (z c) 2 = r 2 Center (a,b,c) radius r 12.2 Vectors Quantities like displacement, elocity, and force inole

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

R n : The Cross Product

R n : The Cross Product A FIRST COURSE IN LINEAR ALGEBRA An Open Text by Ken Kuttler R n : The Cross Product Lecture Notes by Karen Seyffarth Adapted by LYRYX SERVICE COURSE SOLUTION Attribution-NonCommercial-ShareAlike (CC BY-NC-SA)

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

6. Vectors. Given two points, P 0 = (x 0, y 0 ) and P 1 = (x 1, y 1 ), a vector can be drawn with its foot at P 0 and

6. Vectors. Given two points, P 0 = (x 0, y 0 ) and P 1 = (x 1, y 1 ), a vector can be drawn with its foot at P 0 and 6. Vectors For purposes of applications in calculus and physics, a vector has both a direction and a magnitude (length), and is usually represented as an arrow. The start of the arrow is the vector s foot,

More information

MATH 12 CLASS 2 NOTES, SEP Contents. 2. Dot product: determining the angle between two vectors 2

MATH 12 CLASS 2 NOTES, SEP Contents. 2. Dot product: determining the angle between two vectors 2 MATH 12 CLASS 2 NOTES, SEP 23 2011 Contents 1. Dot product: definition, basic properties 1 2. Dot product: determining the angle between two vectors 2 Quick links to definitions/theorems Dot product definition

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

PART 1: USING SCIENTIFIC CALCULATORS (50 PTS.)

PART 1: USING SCIENTIFIC CALCULATORS (50 PTS.) Math 141 Name: MIDTERM 4 PART 1 (CHAPTERS 5 AND 6: ANALYTIC & MISC. TRIGONOMETRY) MATH 141 SPRING 2018 KUNIYUKI 150 POINTS TOTAL: 50 FOR PART 1, AND 100 FOR PART 2 Show all work, simplify as appropriate,

More information

2) If a=<2,-1> and b=<3,2>, what is a b and what is the angle between the vectors?

2) If a=<2,-1> and b=<3,2>, what is a b and what is the angle between the vectors? CMCS427 Dot product review Computing the dot product The dot product can be computed via a) Cosine rule a b = a b cos q b) Coordinate-wise a b = ax * bx + ay * by 1) If a b, a and b all equal 1, what s

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

6.1.1 Angle between Two Lines Intersection of Two lines Shortest Distance from a Point to a Line

6.1.1 Angle between Two Lines Intersection of Two lines Shortest Distance from a Point to a Line CHAPTER 6 : VECTORS 6. Lines in Space 6.. Angle between Two Lines 6.. Intersection of Two lines 6..3 Shortest Distance from a Point to a Line 6. Planes in Space 6.. Intersection of Two Planes 6.. Angle

More information

Worksheet for Lecture 23 (due December 4) Section 6.1 Inner product, length, and orthogonality

Worksheet for Lecture 23 (due December 4) Section 6.1 Inner product, length, and orthogonality Worksheet for Lecture (due December 4) Name: Section 6 Inner product, length, and orthogonality u Definition Let u = u n product or dot product to be and v = v v n be vectors in R n We define their inner

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

Introduction. Law of Sines. Introduction. Introduction. Example 2. Example 1 11/18/2014. Precalculus 6.1

Introduction. Law of Sines. Introduction. Introduction. Example 2. Example 1 11/18/2014. Precalculus 6.1 Introduction Law of Sines Precalculus 6.1 In this section, we will solve oblique triangles triangles that have no right angles. As standard notation, the angles of a triangle are labeled A, B, and C, and

More information

Linear Algebra: Homework 3

Linear Algebra: Homework 3 Linear Algebra: Homework 3 Alvin Lin August 206 - December 206 Section.2 Exercise 48 Find all values of the scalar k for which the two vectors are orthogonal. [ ] [ ] 2 k + u v 3 k u v 0 2(k + ) + 3(k

More information

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note 21

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note 21 EECS 16A Designing Information Devices and Systems I Fall 2018 Lecture Notes Note 21 21.1 Module Goals In this module, we introduce a family of ideas that are connected to optimization and machine learning,

More information

Course Notes Math 275 Boise State University. Shari Ultman

Course Notes Math 275 Boise State University. Shari Ultman Course Notes Math 275 Boise State University Shari Ultman Fall 2017 Contents 1 Vectors 1 1.1 Introduction to 3-Space & Vectors.............. 3 1.2 Working With Vectors.................... 7 1.3 Introduction

More information

Squares on a Triangle

Squares on a Triangle Squares on a Triangle NAME The Pythagorean theorem states that the sum of the areas of the squares on the legs of a right triangle is equal to the area of the square on the hypotenuse of the right triangle.

More information

Math 2 Trigonometry. People often use the acronym SOHCAHTOA to help remember which is which. In the triangle below: = 15

Math 2 Trigonometry. People often use the acronym SOHCAHTOA to help remember which is which. In the triangle below: = 15 Math 2 Trigonometry 1 RATIOS OF SIDES OF A RIGHT TRIANGLE Trigonometry is all about the relationships of sides of right triangles. In order to organize these relationships, each side is named in relation

More information

Solution to Homework 1

Solution to Homework 1 Solution to Homework 1 Olena Bormashenko September, 0 Section 1.1:, 5b)d), 7b)f), 8a)b), ; Section 1.:, 5, 7, 9, 10, b)c), 1, 15b), 3 Section 1.1. In each of the following cases, find a point that is two-thirds

More information

Inner Product Spaces 6.1 Length and Dot Product in R n

Inner Product Spaces 6.1 Length and Dot Product in R n Inner Product Spaces 6.1 Length and Dot Product in R n Summer 2017 Goals We imitate the concept of length and angle between two vectors in R 2, R 3 to define the same in the n space R n. Main topics are:

More information

CK- 12 Algebra II with Trigonometry Concepts 1

CK- 12 Algebra II with Trigonometry Concepts 1 1.1 Pythagorean Theorem and its Converse 1. 194. 6. 5 4. c = 10 5. 4 10 6. 6 5 7. Yes 8. No 9. No 10. Yes 11. No 1. No 1 1 1. ( b+ a)( a+ b) ( a + ab+ b ) 1 1 1 14. ab + c ( ab + c ) 15. Students must

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

Answer Key. 7.1 Tangent Ratio. Chapter 7 Trigonometry. CK-12 Geometry Honors Concepts 1. Answers

Answer Key. 7.1 Tangent Ratio. Chapter 7 Trigonometry. CK-12 Geometry Honors Concepts 1. Answers 7.1 Tangent Ratio 1. Right triangles with 40 angles have two pairs of congruent angles and therefore are similar. This means that the ratio of the opposite leg to adjacent leg is constant for all 40 right

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

which has a check digit of 9. This is consistent with the first nine digits of the ISBN, since

which has a check digit of 9. This is consistent with the first nine digits of the ISBN, since vector Then the check digit c is computed using the following procedure: 1. Form the dot product. 2. Divide by 11, thereby producing a remainder c that is an integer between 0 and 10, inclusive. The check

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

LB 220 Homework 2 (due Tuesday, 01/22/13)

LB 220 Homework 2 (due Tuesday, 01/22/13) LB 220 Homework 2 (due Tuesday, 01/22/13) Directions. Please solve the problems below. Your solutions must begin with a clear statement (or re-statement in your own words) of the problem. You solutions

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

(1) Recap of Differential Calculus and Integral Calculus (2) Preview of Calculus in three dimensional space (3) Tools for Calculus 3

(1) Recap of Differential Calculus and Integral Calculus (2) Preview of Calculus in three dimensional space (3) Tools for Calculus 3 Math 127 Introduction and Review (1) Recap of Differential Calculus and Integral Calculus (2) Preview of Calculus in three dimensional space (3) Tools for Calculus 3 MATH 127 Introduction to Calculus III

More information

Polar Form of a Complex Number (I)

Polar Form of a Complex Number (I) Polar Form of a Complex Number (I) The polar form of a complex number z = x + iy is given by z = r (cos θ + i sin θ) where θ is the angle from the real axes to the vector z and r is the modulus of z, i.e.

More information

Name: ID: Math 233 Exam 1. Page 1

Name: ID: Math 233 Exam 1. Page 1 Page 1 Name: ID: This exam has 20 multiple choice questions, worth 5 points each. You are allowed to use a scientific calculator and a 3 5 inch note card. 1. Which of the following pairs of vectors are

More information

DATE: MATH ANALYSIS 2 CHAPTER 12: VECTORS & DETERMINANTS

DATE: MATH ANALYSIS 2 CHAPTER 12: VECTORS & DETERMINANTS NAME: PERIOD: DATE: MATH ANALYSIS 2 MR. MELLINA CHAPTER 12: VECTORS & DETERMINANTS Sections: v 12.1 Geometric Representation of Vectors v 12.2 Algebraic Representation of Vectors v 12.3 Vector and Parametric

More information

which are not all zero. The proof in the case where some vector other than combination of the other vectors in S is similar.

which are not all zero. The proof in the case where some vector other than combination of the other vectors in S is similar. It follows that S is linearly dependent since the equation is satisfied by which are not all zero. The proof in the case where some vector other than combination of the other vectors in S is similar. is

More information

Inner products. Theorem (basic properties): Given vectors u, v, w in an inner product space V, and a scalar k, the following properties hold:

Inner products. Theorem (basic properties): Given vectors u, v, w in an inner product space V, and a scalar k, the following properties hold: Inner products Definition: An inner product on a real vector space V is an operation (function) that assigns to each pair of vectors ( u, v) in V a scalar u, v satisfying the following axioms: 1. u, v

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

Core Mathematics 2 Trigonometry

Core Mathematics 2 Trigonometry Core Mathematics 2 Trigonometry Edited by: K V Kumaran Email: kvkumaran@gmail.com Core Mathematics 2 Trigonometry 2 1 Trigonometry Sine, cosine and tangent functions. Their graphs, symmetries and periodicity.

More information

12.1. Cartesian Space

12.1. Cartesian Space 12.1. Cartesian Space In most of your previous math classes, we worked with functions on the xy-plane only meaning we were working only in 2D. Now we will be working in space, or rather 3D. Now we will

More information

Lecture 3: Linear Algebra Review, Part II

Lecture 3: Linear Algebra Review, Part II Lecture 3: Linear Algebra Review, Part II Brian Borchers January 4, Linear Independence Definition The vectors v, v,..., v n are linearly independent if the system of equations c v + c v +...+ c n v n

More information

Vector Geometry. Chapter 5

Vector Geometry. Chapter 5 Chapter 5 Vector Geometry In this chapter we will look more closely at certain geometric aspects of vectors in R n. We will first develop an intuitive understanding of some basic concepts by looking at

More information

Practical Linear Algebra: A Geometry Toolbox

Practical Linear Algebra: A Geometry Toolbox Practical Linear Algebra: A Geometry Toolbox Third edition Chapter 2: Here and There: Points and Vectors in 2D Gerald Farin & Dianne Hansford CRC Press, Taylor & Francis Group, An A K Peters Book www.farinhansford.com/books/pla

More information

4.1 Distance and Length

4.1 Distance and Length Chapter Vector Geometry In this chapter we will look more closely at certain geometric aspects of vectors in R n. We will first develop an intuitive understanding of some basic concepts by looking at vectors

More information

Math 3c Solutions: Exam 1 Fall Graph by eliiminating the parameter; be sure to write the equation you get when you eliminate the parameter.

Math 3c Solutions: Exam 1 Fall Graph by eliiminating the parameter; be sure to write the equation you get when you eliminate the parameter. Math c Solutions: Exam 1 Fall 16 1. Graph by eliiminating the parameter; be sure to write the equation you get when you eliminate the parameter. x tan t x tan t y sec t y sec t t π 4 To eliminate the parameter,

More information

Math Vector Calculus II

Math Vector Calculus II Math 255 - Vector Calculus II Review Notes Vectors We assume the reader is familiar with all the basic concepts regarding vectors and vector arithmetic, such as addition/subtraction of vectors in R n,

More information

Exercise 1a: Determine the dot product of each of the following pairs of vectors.

Exercise 1a: Determine the dot product of each of the following pairs of vectors. Bob Bron, CCBC Dundalk Math 53 Calculus 3, Chapter Section 3 Dot Product (Geometric Definition) Def.: The dot product of to vectors v and n in is given by here θ, satisfying 0, is the angle beteen v and.

More information

Prepared by: M. S. KumarSwamy, TGT(Maths) Page

Prepared by: M. S. KumarSwamy, TGT(Maths) Page Prepared by: M S KumarSwamy, TGT(Maths) Page - 119 - CHAPTER 10: VECTOR ALGEBRA QUICK REVISION (Important Concepts & Formulae) MARKS WEIGHTAGE 06 marks Vector The line l to the line segment AB, then a

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 in the Plane

Vectors in the Plane Vectors in the Plane MATH 311, Calculus III J. Robert Buchanan Department of Mathematics Fall 2011 Vectors vs. Scalars scalar quantity having only a magnitude (e.g. temperature, volume, length, area) and

More information

Calculus 1 for AE (WI1421LR) Lecture 1: 12.3 The dot product 12.4 The cross product

Calculus 1 for AE (WI1421LR) Lecture 1: 12.3 The dot product 12.4 The cross product Calculus 1 for AE (WI1421LR) : 12.3 The dot product 12.4 The cross product About this course Textbook James Stewart, Calculus, Early Transcendentals, 7th edition Course Coordinator Dr. Roelof Koekoek,

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

MTH 2032 SemesterII

MTH 2032 SemesterII MTH 202 SemesterII 2010-11 Linear Algebra Worked Examples Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education December 28, 2011 ii Contents Table of Contents

More information

Math The Dot Product

Math The Dot Product Math 213 - The Dot Product Peter A. Perry University of Kentucky August 26, 2018 Homework Webwork A1 is due Wednesday night Re-read section 12.3, pp. 807 812 Begin work on problems 1-37 (odd), 41-51 (odd)

More information

Analytic Trigonometry. Copyright Cengage Learning. All rights reserved.

Analytic Trigonometry. Copyright Cengage Learning. All rights reserved. Analytic Trigonometry Copyright Cengage Learning. All rights reserved. 7.4 Basic Trigonometric Equations Copyright Cengage Learning. All rights reserved. Objectives Basic Trigonometric Equations Solving

More information

y 2 . = x 1y 1 + x 2 y x + + x n y n 2 7 = 1(2) + 3(7) 5(4) = 3. x x = x x x2 n.

y 2 . = x 1y 1 + x 2 y x + + x n y n 2 7 = 1(2) + 3(7) 5(4) = 3. x x = x x x2 n. 6.. Length, Angle, and Orthogonality In this section, we discuss the defintion of length and angle for vectors and define what it means for two vectors to be orthogonal. Then, we see that linear systems

More information

Vectors for Beginners

Vectors for Beginners Vectors for Beginners Leo Dorst September 6, 2007 1 Three ways of looking at linear algebra We will always try to look at what we do in linear algebra at three levels: geometric: drawing a picture. This

More information

LECTURE 2: CROSS PRODUCTS, MULTILINEARITY, AND AREAS OF PARALLELOGRAMS

LECTURE 2: CROSS PRODUCTS, MULTILINEARITY, AND AREAS OF PARALLELOGRAMS LECTURE : CROSS PRODUCTS, MULTILINEARITY, AND AREAS OF PARALLELOGRAMS MA1111: LINEAR ALGEBRA I, MICHAELMAS 016 1. Finishing up dot products Last time we stated the following theorem, for which I owe you

More information

The Dot Product

The Dot Product The Dot Product 1-9-017 If = ( 1,, 3 ) and = ( 1,, 3 ) are ectors, the dot product of and is defined algebraically as = 1 1 + + 3 3. Example. (a) Compute the dot product (,3, 7) ( 3,,0). (b) Compute the

More information

Lecture 1.4: Inner products and orthogonality

Lecture 1.4: Inner products and orthogonality Lecture 1.4: Inner products and orthogonality Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 4340, Advanced Engineering Mathematics M.

More information

Vectors and Plane Geometry

Vectors and Plane Geometry Vectors and Plane Geometry Karl Heinz Dovermann Professor of Mathematics University of Hawaii January 7, 0 Preface During the first week of the semester it is difficult to get started with the course

More information

Chapter 6 Additional Topics in Trigonometry

Chapter 6 Additional Topics in Trigonometry Chapter 6 Additional Topics in Trigonometry Overview: 6.1 Law of Sines 6.2 Law of Cosines 6.3 Vectors in the Plan 6.4 Vectors and Dot Products 6.1 Law of Sines What You ll Learn: #115 - Use the Law of

More information

CHAPTER 3 : VECTORS. Definition 3.1 A vector is a quantity that has both magnitude and direction.

CHAPTER 3 : VECTORS. Definition 3.1 A vector is a quantity that has both magnitude and direction. EQT 101-Engineering Mathematics I Teaching Module CHAPTER 3 : VECTORS 3.1 Introduction Definition 3.1 A ector is a quantity that has both magnitude and direction. A ector is often represented by an arrow

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

VECTORS. Given two vectors! and! we can express the law of vector addition geometrically. + = Fig. 1 Geometrical definition of vector addition

VECTORS. Given two vectors! and! we can express the law of vector addition geometrically. + = Fig. 1 Geometrical definition of vector addition VECTORS Vectors in 2- D and 3- D in Euclidean space or flatland are easy compared to vectors in non- Euclidean space. In Cartesian coordinates we write a component of a vector as where the index i stands

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