vectors iii
play

Vectors III MA1S1 Tristan McLoughlin October 17, 2014 Anton & - PowerPoint PPT Presentation

Vectors III MA1S1 Tristan McLoughlin October 17, 2014 Anton & Rorres: Ch 3.3 Hefferon: Ch One, sec II.1 and II.2 Vector in Space Every vector v can be drawn as an arrow starting from the origin (0 , 0 , 0) and it is then uniquely


  1. Vectors III MA1S1 Tristan McLoughlin October 17, 2014 Anton & Rorres: Ch 3.3 Hefferon: Ch One, sec II.1 and II.2

  2. Vector in Space Every vector v can be drawn as an arrow starting from the origin (0 , 0 , 0) and it is then uniquely determined it by the coordinates of its terminal point. We can thus write three-dimensional vectors are 3-tuples: v = ( v 1 , v 2 , v 3 ). Alternatively we can write them in terms of orthonormal (orthogonal and normalised to have unit length) basis vectors: v = v 1 i + v 2 j + v 3 k . The length of a vector is given by � � v � = v 2 1 + v 2 2 + v 2 3 .

  3. Question Consider vectors in R 3 with norm 3 in the canonical position i.e. with their end points at the origin. What is the geometrical set of end points of such vectors? A. A plane. B. A line. C. A sphere.

  4. Dot product The dot product of two 3-dimensional vectors v and w is given in terms of the components v = v 1 i + v 2 j + v 3 k and w = w 1 i + w 2 j + w 3 k to be v · w = v 1 w 1 + v 2 w 2 + v 3 w 3 i.e. the number you get by multiplying the first component of v by the first component of w , the second by the second, the third by the third and then adding these numbers together. So if (say) v = 11 i − 2 j + 5 k and w = 3 i + 4 j , we get v · w = 11(3) + ( − 2)(4) + 5(0) = 25 The geometric interpretation is the same as in two-dimensions v · w = � v �� w � cos θ

  5. Rules for scalar product This scalar product satisfies all the same properties as the two-dimensional case. For example u · ( v + w ) = u · v + u · w . Check the others! Also the Cauchy-Schwarz inequality holds and so the Triangle inequality. We can also easily see that as in the plane, the scalar product of a vector with itself is the norm of the vector squared: � v � 2 = v · v . As the norm of a vector has a geometric interperation as the length between its start and finish points hence we can derive a formula for the distance between two points in space.

  6. Projection of a vector along another vector Consider vectors v and w . Dropping a perpendicular line from the end of v to the line along w gives the end point of the projection. The “length” of the projection will be � v � × | cos θ | where θ is the angle between the two vectors.

  7. Projection of a vector along another vector To find the projection vector, we need to multiply w by the right factor to make its length � v � cos θ . Start by making a unit vector with the same direction as w by dividing by its length. So w w = ˆ � w � is the unit vector in the direction of w . Then the projection is � w w = v · w � � v � cos θ ˆ � w � � w � This formula is also correct in the case of obtuse angles θ , when cos θ < 0, when the projection will be in the opposite direction to w . Tidying up the above, we get that the projection along w of v is the vector proj w ( v ) = v · w � w � 2 w

  8. An examples of the scalar product in physics We will take an example from physics: As we have described forces and displacement are both described by vectors in space. What is the work done by a constant force F on an object that undergoes a displacement d ? The answer W = F · d = Fd cos θ . So if a particle moves perpendicular to an external force no work is done on it by that force.

  9. An example of the scalar product in computer graphics Colours in computer graphics are commonly based on the RGB colour model whereby arbitrary colours are created by adding together percentages of the primary colours R ed, G reen and B lue. We can identify each of the primary colours with one of the basis vectors and then every colour, c , corresponds to a vector in this colour space c = ( c 1 , c 2 , c 3 ) .

  10. An example of the scalar product in computer graphics By taking the scalar product of our colour vector c with the reference vector g = 1 3(1 , 1 , 1) we find the component of the colour vector lying along the “grey diagonal” and so the grey-scale intensity can be defined I = c · g . In fact the human eye is more sensitive at frequencies corresponding to green light and less to red and blue so the reference vector is sometimes take to be g ′ = (0 . 3 , 0 . 59 , 0 . 11) .

  11. Distance formula in space If P = ( x 1 , y 1 , z 1 ) and Q = ( x 2 , y 2 , z 2 ) are two points in space, we consider their position vectors (represented by the arrows from the origin to P , − − → OP and to Q , − − → OQ ). We saw before that Q − P is the vector represented by the arrow from P to Q , − − → PQ . But we can see then that the length � Q − P � of the vector Q − P must be exactly the distance from P to Q . So we get dist( P, Q ) = � Q − P � = � ( x 2 − x 1 ) i + ( y 2 − y 1 ) j + ( z 2 − z 1 ) k � ( x 2 − x 1 ) 2 + ( y 2 − y 1 ) 2 + ( z 2 − z 1 ) 2 � =

  12. An Example

  13. Cross products We previously described the the scalar product which takes two vectors and forms a number or a scalar: ( v , w ) ∈ V × V �→ v · w ∈ R . In three dimensions there is notion of a product of two vectors which gives back a vector. Definition: The cross product v × w of two vectors v = v 1 i + v 2 j + v 3 k , w = w 1 i + w 2 j + w 3 k , is v × w = ( v 2 w 3 − v 3 w 2 ) i + ( v 3 w 1 − v 1 w 3 ) j + ( v 1 w 2 − v 2 w 1 ) k

  14. There is a sort of ‘easy’ way to remember the formula. Write a table v 1 v 2 v 3 w 1 w 2 w 3 i j k and extend it by repeating the first two columns to the right, like this v 1 v 2 v 3 v 1 v 2 w 1 w 2 w 3 w 1 w 2 i j k i j Then take ‘forward diagonal’ products with plus signs and backwards diagonals with minus in front v 1 v 2 v 3 v 1 v 2 ւ ւ ւ ց ց ց w 1 w 2 w 3 w 1 w 2 ւ ւ ւ ց ց ց i j k i j ւ ւ ւ ց ց ց − v 3 w 2 i − v 1 w 3 j − v 2 w 1 k v 1 w 2 k v 2 w 3 i v 3 w 1 j and add these vectors.

  15. There is actually a pattern here: The first component of v × w � � v 2 v 3 � � ( v 2 w 3 − v 3 w 2 ) = � � w 2 w 3 � � depends on the components of v and w other than the first. Starting with this first component we can get to the next component by adding 1 to the subscripts and interpreting 3 + 1 as 1 i.e. thinking of cycling the subscripts around 1 → 2 → 3 → 1 to get the next component: v 2 w 3 − v 3 w 2 �→ v 3 w 1 − v 1 w 3 Repeating again we get the third component. So you only have to remember the first component and the others are automatic.

  16. Properties of cross products (i) v × w is a vector in space.

  17. Properties of cross products (i) v × w is a vector in space. (ii) w × v = − v × w Proof. Recall that: v × w = ( v 2 w 3 − v 3 w 2 ) i + ( v 3 w 1 − v 1 w 3 ) j + ( v 1 w 2 − v 2 w 2 ) k from this we can see the antisymmetry property.

  18. Properties of cross products (i) v × w is a vector in space. (ii) w × v = − v × w (iii) v × w is perpendicular to both v and w .

  19. Proof. v · ( v × w ) = ( v 1 i + v 2 j + v 3 k ) · (( v 2 w 3 − v 3 w 2 ) i + ( v 3 w 1 − v 1 w 3 ) j + ( v 1 w 2 − v 2 w 1 ) k ) = v 1 ( v 2 w 3 − v 3 w 2 ) + v 2 ( v 3 w 1 − v 1 w 3 ) + v 3 ( v 1 w 2 − v 2 w 1 ) = v 1 v 2 w 3 − v 1 v 3 w 2 + v 2 v 3 w 1 − v 2 v 1 w 3 + v 3 v 1 w 2 − v 3 v 2 w 1 = 0 because if you look carefully everything cancels with something else. So v ⊥ v × w . To show w ⊥ v × w , we can either repeat a similar calculation or we can use v × w = − w × v ⊥ w .

  20. Properties of cross products (i) v × w is a vector in space. (ii) w × v = − v × w (iii) v × w is perpendicular to both v and w . (iv) � v × w � 2 = � v � 2 � w � 2 − ( v · w ) 2 .

  21. Proof. The proof starts with the definition of the norm of cross-product: � v × w � 2 = ( v 2 w 3 − v 3 w 2 ) 2 + ( v 3 w 1 − v 1 w 3 ) 2 + ( v 1 w 2 − v 2 w 1 ) 2 and that of the rhs � v � 2 � w � 2 − ( v · w ) 2 = ( v 2 1 + v 2 2 + v 2 3 )( w 2 1 + w 2 2 + w 2 3 ) − ( v 1 w 1 + v 2 w 2 + v 3 w 3 ) 2 multiply out both sides and compare. It is interesting to note that as ( v · w ) 2 = � v � 2 � w � 2 cos 2 θ where θ is the angle between the v and w by using the identity 1 − cos 2 θ = sin 2 θ we find that � v � 2 � w � 2 − ( v · w ) 2 � v × w � 2 = � v � 2 � w � 2 (1 − cos 2 θ ) = � v � 2 � w � 2 sin 2 θ . = Furthermore as 0 ≤ θ ≤ π we have that sin θ ≥ 0 so that we can take the square-root of both sides � v × w � = � v �� w � sin θ .

  22. Area of a Parallelogram This gives us a geometric interpretation of the magnitude of the cross-product of two vectors. As the area of a parallelogram is given by A = ( base )( altitude ) = � u �� v � sin θ we see that the norm of the cross product gives the area of the parallelogram formed by the two vectors. Also the resultant vector is normal to the surface of the parallelogram (see in a bit).

  23. Properties of cross products (i) v × w is a vector in space. (ii) w × v = − v × w (iii) v × w is perpendicular to both v and w . (iv) � v × w � = � v �� w � sin θ � where θ is the angle between v and w . (v) The vector v × w points in a direction that follows from using the right-hand rule.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend