Lecture 3. (2) Last time: 3D space. The dot product. Dan Nichols January 30, 2018

Similar documents
Vectors in Rn un. This definition of norm is an extension of the Pythagorean Theorem. Consider the vector u = (5, 8) in R 2

Lesson 81: The Cross Product of Vectors

The Cross Product of Two Vectors in Space DEFINITION. Cross Product. u * v = s ƒ u ƒƒv ƒ sin ud n

6.4 VECTORS AND DOT PRODUCTS

Math 144 Activity #10 Applications of Vectors

u v u v v 2 v u 5, 12, v 3, 2 3. u v u 3i 4j, v 7i 2j u v u 4i 2j, v i j 6. u v u v u i 2j, v 2i j 9.

3.3 Operations With Vectors, Linear Combinations

1 The space of linear transformations from R n to R m :

Graphs and Networks Lecture 5. PageRank. Lecturer: Daniel A. Spielman September 20, 2007

CONTENTS. INTRODUCTION MEQ curriculum objectives for vectors (8% of year). page 2 What is a vector? What is a scalar? page 3, 4

SECTION 6.7. The Dot Product. Preview Exercises. 754 Chapter 6 Additional Topics in Trigonometry. 7 w u 7 2 =?. 7 v 77w7

CS 450: COMPUTER GRAPHICS VECTORS SPRING 2016 DR. MICHAEL J. REALE

Section 7.4: Integration of Rational Functions by Partial Fractions

Change of Variables. f(x, y) da = (1) If the transformation T hasn t already been given, come up with the transformation to use.

Change of Variables. (f T) JT. f = U

sin u 5 opp } cos u 5 adj } hyp opposite csc u 5 hyp } sec u 5 hyp } opp Using Inverse Trigonometric Functions

EE2 Mathematics : Functions of Multiple Variables

Homework 5 Solutions

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

u P(t) = P(x,y) r v t=0 4/4/2006 Motion ( F.Robilliard) 1

MAT389 Fall 2016, Problem Set 6

ANOVA INTERPRETING. It might be tempting to just look at the data and wing it

The Dot Product

Linear System Theory (Fall 2011): Homework 1. Solutions

The Brauer Manin obstruction

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

(arrows denote positive direction)

Setting The K Value And Polarization Mode Of The Delta Undulator

Which of these statements are true? A) 1, 2 and 3 only C) 2, 4 and 5 only. B) 1, 2 and 5 only D) 1, 3 and 4 only

Lecture Notes: Finite Element Analysis, J.E. Akin, Rice University

Math 116 First Midterm October 14, 2009


Math The Dot Product

Mon Apr dot product, length, orthogonality, projection onto the span of a single vector. Announcements: Warm-up Exercise:

Concept of Stress at a Point

Correction key. Example of an appropriate method. be the wind vector x = 120 and x = y = 160 and y = 10.

Microscopic Properties of Gases

Garret Sobczyk s 2x2 Matrix Derivation

15. LECTURE 15. I can calculate the dot product of two vectors and interpret its meaning. I can find the projection of one vector onto another one.

Introduction to Quantum Information Processing

Vectors. Vectors ( 向量 ) Representation of Vectors. Special Vectors. Equal vectors. Chapter 16

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

Unit 11: Vectors in the Plane

5. The Bernoulli Equation

Control Systems

Spring, 2008 CIS 610. Advanced Geometric Methods in Computer Science Jean Gallier Homework 1, Corrected Version

Decision Making in Complex Environments. Lecture 2 Ratings and Introduction to Analytic Network Process

Electric and Magnetic Fields

LINEAR COMBINATIONS AND SUBSPACES

FEA Solution Procedure

MATH2715: Statistical Methods

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

Lecture 9: 3.4 The Geometry of Linear Systems

UNDERSTAND MOTION IN ONE AND TWO DIMENSIONS

MATH 2203 Exam 1 January 26, 2004 S. F. Ellermeyer Name

1. Solve Problem 1.3-3(c) 2. Solve Problem 2.2-2(b)

Digital Image Processing. Lecture 8 (Enhancement in the Frequency domain) Bu-Ali Sina University Computer Engineering Dep.

Prandl established a universal velocity profile for flow parallel to the bed given by

Review of Coordinate Systems

Elements of Coordinate System Transformations

Notes on multivariable calculus

Logarithmic, Exponential and Other Transcendental Functions

Multiplication and division. Explanation and worked examples. First, we ll look at work you should know at this level.

A Geometric Review of Linear Algebra

Momentum Equation. Necessary because body is not made up of a fixed assembly of particles Its volume is the same however Imaginary

Einstein Classes, Unit No. 102, 103, Vardhman Ring Road Plaza, Vikas Puri Extn., Outer Ring Road New Delhi , Ph. : ,

L = 2 λ 2 = λ (1) In other words, the wavelength of the wave in question equals to the string length,

Midterm 1 Review. Distance = (x 1 x 0 ) 2 + (y 1 y 0 ) 2.

A vector in the plane is directed line segment. The directed line segment AB

Section 13.4 The Cross Product

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

LECTURE 1: INTRODUCTION, VECTORS, AND DOT PRODUCTS

OPTIMUM EXPRESSION FOR COMPUTATION OF THE GRAVITY FIELD OF A POLYHEDRAL BODY WITH LINEARLY INCREASING DENSITY 1

Bayes and Naïve Bayes Classifiers CS434

Higher Maths A1.3 Recurrence Relations - Revision

Roberto s Notes on Linear Algebra Chapter 1: Geometric vectors Section 8. The dot product

m = Average Rate of Change (Secant Slope) Example:

PhysicsAndMathsTutor.com

PROBLEMS

Xihe Li, Ligong Wang and Shangyuan Zhang

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

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

Lecture 5. Equations of Lines and Planes. Dan Nichols MATH 233, Spring 2018 University of Massachusetts.

Intro to path analysis Richard Williams, University of Notre Dame, Last revised April 6, 2015

Math 144 Activity #9 Introduction to Vectors

THE DIFFERENTIAL GEOMETRY OF REGULAR CURVES ON A REGULAR TIME-LIKE SURFACE

10.2 Solving Quadratic Equations by Completing the Square

Physics 218, Spring April 2004

Reduction of over-determined systems of differential equations

The Inner Product (Many slides adapted from Octavia Camps and Amitabh Varshney) Much of material in Appendix A. Goals

GEOMETRICAL DESCRIPTION OF ONE SURFACE IN ECONOMY

Math 241, Exam 1 Information.

Dynamics ( 동역학 ) Ch.2 Motion of Translating Bodies (2.1 & 2.2)

Classify by number of ports and examine the possible structures that result. Using only one-port elements, no more than two elements can be assembled.

III. Demonstration of a seismometer response with amplitude and phase responses at:

Physics 2A Chapter 3 - Motion in Two Dimensions Fall 2017

4 Exact laminar boundary layer solutions

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

Math 112 Section 10 Lecture notes, 1/7/04

Linear Strain Triangle and other types of 2D elements. By S. Ziaei Rad

Transcription:

Lectre 3 The dot prodct Dan Nichols nichols@math.mass.ed MATH 33, Spring 018 Uniersity of Massachsetts Janary 30, 018 () Last time: 3D space Right-hand rle, the three coordinate planes 3D coordinate system: (x, y, z) Eqations of certain planes and of spheres

(3) The dot prodct We e learned how to add/sbtract two ectors and how to mltiply a ector by a scalar There s another crcial operation we can do with ectors: the dot prodct. The dot prodct mltiplies two ectors and gies yo a scalar, NOT another ector. Definition Let = 1,, 3 and = 1,, 3 be ectors. The dot prodct of and is = 1 1 + + 3 3. (4) The dot prodct = 1 1 + + 3 3 In other words: mltiply each corresponding pair of components, then add all these prodcts together. Also called the scalar prodct or inner prodct. Defined exactly the same in D space: Or in any other nmber of dimensions. a 1, a b 1, b = a 1 b 1 + a b a 1, a, a 3, a 4, a 5 b 1, b, b 3, b 4, b 5 = a 1 b 1 + a b + a 3 b 3 + a 4 b 4 + a 5 b 5

(5) The dot prodct: example Example 1: Let s calclate the dot prodct of these two ectors. = 0, 1, 5 = 1, 3, 1 = 0 ( 1) + 1 3 + 5 ( 1) = 0 + 3 5 = (6) The dot prodct Q: Why call it a prodct when it isn t really the same as mltiplication? If we mltiply two things, we expect to get another thing of the same type If we mltiply two nonzero things, we expect the answer will neer be zero The dot prodct breaks both of these rles! A: it follows most of the other rles of mltiplication. ( + w) = + w (Distribtie property) = (Commtatie property) 0 = 0 (c) (d) = cd( ) (Compatible with scalar mltiplication)

(7) The dot prodct The dot prodct makes sense becase 1 It satisfies these nice algebraic properties (distribtiity, etc) It has an important geometric meaning (more on this later) Other possible ways to define mltiplication on ectors don t make as mch sense. For instance, component-wise mltiplication: = 1 1,, 3 3 The operation does not hae these algebraic properties, no geometric meaning. Mostly seless. (8) The dot prodct: proof of distribtie property Sppose we hae three ectors: = 1,, 3, = 1,, 3, and w = w 1, w, w 3. ( + w) = 1,, 3 1 + w 1, + w, 3 + w 3 = 1 ( 1 + w 1 ) + ( + w ) + 3 ( 3 + w 3 ) = 1 1 + 1 w 1 + + w + 3 3 + 3 w 3 = ( 1 1 + + 3 3 ) + ( 1 w 1 + w + 3 w 3 ) = + w

(9) The dot prodct: proof of compatibility with scalar mltiplication Let = 1,, 3 and = 1,, 3 be ectors. (c) (d) = (c 1,, 3 ) (d 1,, 3 ) = c 1, c, c 3 d 1, d, d 3 = (c 1 )(d 1 ) + (c )(d ) + (c 3 )(d 3 ) = (cd)( 1 1 ) + (cd)( 3 ) + (cd)( 3 3 ) = (cd) ( 1 1 + + 3 3 ) = (cd)( ) (10) The dot prodct: more examples Example : Let = 1, 0, 4, let =,, 7, and let w = 0, 0, 3. Compte the following: = 1, 0, 4,, 7 =1( ) + 0( ) + 4 7 = + 0 + 8 =6 (3) =3( ) =3 6 =78 ( w) = ( w) =6 ( 1, 0, 4 0, 0, 3 ) =6 (1) =

(11) The dot prodct: geometric interpretation Vector addition and scalar mltiplication can be nderstood geometrically (withot relying on components) What is the geometric interpretation of the dot prodct? In other words, what does the dot prodct mean in terms of jst arrows withot knowing explicit components? (1) The dot prodct: geometric interpretation Here s something interesting: = 1,, 3 1,, 3 = 1 + + 3 1,, 3 = ( ) 1 + + 3 = 1 + + 3 How does the dot prodct work with the standard basis ectors? Reminder: i = 1, 0, 0, j = 0, 1, 0, k = 0, 0, 1 i i = j j = k k = 1 i j = i k = j k = 0

(13) The dot prodct: geometric interpretation In fact, wheneer two ectors are perpendiclar (or orthogonal), their dot prodct is 0. y = 3,, = 4, 6 = 3 4 + 6 = 1 + 1 = 0 x Rle: = 0 if and only if and are orthogonal. This is the best way to check orthogonality. (14) The dot prodct: parallel and orthogonal ectors Here s how we define the words orthogonal and parallel : and are orthogonal (perpendiclar) if = 0. and are parallel if = c for some scalar c. These definitions make sense in any nmber of dimensions.

(15) The dot prodct: angle form Alternate definition: = cos θ, where θ is the angle between and. y θ x (16) The dot prodct: angle form Let s proe this in the special case where = i and = 1. y = 1, 0, = cos θ, sin θ = 1 cos θ + 0 sin θ = cos θ Remember that (c) (d) = (cd)( ). So een if and are not nit ectors, = cos θ. (We e still only proed it for = ci... ) r = 1 θ x How to proe it for arbitrary,? (withot assming = ci) Easy way: linear algebra rotation matrices Hard way: trigonometric identities. Try it if yo re bored! Easiest way is sing the law of cosines, bt that s cheating

(17) The dot prodct: angle between ectors Writing the dot prodct in angle form makes the geometric meaning clear. = cos θ Bigger for two ectors that point more in the same direction. Smaller for ectors that are closer to orthogonal Bigger for longer ectors. Smaller for shorter ectors. Yo can se the dot prodct to find θ easily! cos θ = ( ) θ = arccos (18) The dot prodct: angle between ectors So the dot prodct measres how mch two ectors agree with each other, weighted by their length. > 0 if θ < 90 = 0 if θ = 90 (orthogonal) < 0 if θ > 90 y y y x x x

(19) The dot prodct: angle example Example 3: Find the angle θ between the ectors = 1, 3, 1 and =,, 3. z = 11 = 17 = 7 ( ) 7 θ = arccos.108 11 17 y x (0) Vector and scalar projections Sometimes we want to compare two ectors asymmetrically. We want to know how mch of lies in the same direction as? Definition Gien ectors and, we can always write as a sm of two ectors = + where one part is parallel to and the other part is orthogonal to. We call the parallel part the ector projection of onto. = proj = proj

(1) Vector and scalar projections There s an easy way to calclate proj sing the dot prodct. First, let s figre ot what the magnitde of proj mst be. Definition The scalar projection of onto, denoted comp, is the signed magnitde of the ector projection. This is sometimes called the component of along. comp = The scalar projection is closely related to the dot prodct measres how mch the ectors agree, weighted by both magnitdes comp measres how mch the ectors agree, ignoring (asymmetrical) () Vector and scalar projections Now we know two things abot proj : 1. Its magnitde is comp =.. Its direction is the nit ector û = ( 1 Therefore, ). proj = (comp ) û ( ) ( ) 1 = ( ) = This is an easy formla for calclating ector projections.

(3) Vector and scalar projections The dot prodct and the scalar projection are similar. Here s how to distingish them: Dot prodct measres how mch and mtally agree with each other. Scalar projection comp measres how mch agrees with. Scalar projection comp measres how mch agrees with. (4) Vector and scalar projections: example Example 4: Let = 1, 1 and let = 4, 5. Find comp and proj. y comp = = 4 1 + 5 1 ( 1) + 1 = 1. proj x proj = (comp ) ( ) comp = = 1/ 1, 1 = 1/, 1/.

(5) Applications: work Sppose yo moe an object from point A to point B by applying a constant force F. F B A The work done in this sitation is the energy spent to moe the object: W = F d d = AB is the object s displacement ector F is the net force ector on the object as it s moing W is the work, a scalar. Often measred in newton-meters (Nm). For now, we assme F is constant. We ll learn how to handle ariable F later. (Line integrals) (6) Applications: work: example Example 5: A 380 kg piano is pshed off the top of a bilding. It lands on the grond 40m below and 10m away from the bilding horizontally. Calclate the work done by graity as the piano falls. d F d = 10, 40 Magnitde of F is 9.8 m/s 380 kg = 374 kg m/s F points directly down: F = 0, 374. So the work done is W = F d = 10, 40 0, 374 = 148960 Nm

(7) Examples Example 6: Which of the following expressions are alid? (legal operations) w ( w) + ( w) No No No ( + ) w Yes (8) Examples Example 7: Which pairs from the following list of ectors are orthogonal? Which are parallel? = 1, 3, = 1, 0, w = 5, 1, 1 p = 0, 3, 0 q = 10,, Notice that q = w, so q and w are parallel. w = 0, so is orthogonal to both w and q. and p are orthogonal, and they are not orthogonal or parallel to any of, w, q.

(9) Examples Example 8: Find the angle θ between these two 5D ectors: = 0, 1, 3, 4, 5 = 1, 1, 1, 3, 6 Remember, yo can se the angle formla for the dot prodct: = cos θ. = 0( 1) + 1( 1) + ( 3)1 + ( 4)3 + 5 6 = 14 = 0 + 1 + ( 3) + ( 4) + 5 = 51 = ( 1) + ( 1) + 1 + 3 + 6 = 48 ( ) ( ) 14 θ = arccos = arccos 1.8 51 48 (30) Examples Example 9: Let a = a 1, a, a 3, and b = b 1, b, b 3 be distinct ectors in R 3. Show that the set of points (x, y, z) satisfying the following eqation is a sphere, and find its center and radis. ( x, y, z a) ( x, y, z b) = 0 0 = ( x, y, z a) ( x, y, z b) = x a 1, y a, z a 3 x b 1, y b, z b 3 = (x a 1 )(x b 1 ) + (y a )(y b ) + (z a 3 )(z b 3 ) = [ x (a 1 + b 1 )x + a 1 b 1 ] + [ y (a + b )y + a b ] + [ z (a 3 + b 3 )z + a 3 b 3 ] Complete the sqares: [ 0 = x a ] 1 + b ( 1 a1 b 1 [ + z a ] 3 + b ( 3 a3 b 3 ) [ + y a + b ) ] ( a b )

(31) Examples Example 9: (cont.) [ x a ] 1 + b [ 1 + y a ] + b [ + z a ] 3 + b 3 ( ) a1 b ( ) 1 a b ( ) a3 b 3 = + +. So the center has position ector a1 + b 1, a + b, a 3 + b 3 = 1 (a + b) and the radis is (a1 ) b ( ) 1 a b ( a3 b 3 r = + + ) = 1 a b. (3) Smmary The dot prodct of = 1,, 3 and = 1,, 3 is Angle formla: = 1 1 + + 3 3. = cos θ, where θ is the angle between the ectors. The dot prodct measres how mch two ectors agree. is zero if and only if and are orthogonal. The ector projection proj is the piece of that lies parallel to The scalar projection comp is the signed magnitde of proj. Work is the dot prodct of net force and distance: W = F d.

(33) Homework Paper homework 3 de Thrsday at the beginning of class WebAssign homework (1.1, 1.) de Satrday night, 11:59 PM Eeryone shold be able to access the corse now; let me know ASAP if anything goes wrong.