Week 1 – Vectors and Matrices

Week 1 – Vectors and Matrices

Week 1 – Vectors and Matrices Richard Earl∗ Mathematical Institute, Oxford, OX1 2LB, October 2003 Abstract Algebra and geometry of vectors. The algebra of matrices. 2x2 matrices. Inverses. Determinants. Simultaneous linear equations. Standard transformations of the plane. Notation 1 The symbol R2 denotes the set of ordered pairs (x, y) – that is the xy-plane. Similarly R3 denotes the set of ordered triples (x, y, z) – that is, three-dimensional space described by three co-ordinates x, y and z –andRn denotes a similar n-dimensional space. 1Vectors A vector can be thought of in two different ways. Let’s for the moment concentrate on vectors in the xy-plane. From one point of view a vector is just an ordered pair of numbers (x, y). We can associate this • vector with the point in R2 which has co-ordinates x and y. We call this vector the position vector of the point. From the second point of view a vector is a ‘movement’ or translation. For example, to get from • the point (3, 4) to the point (4, 5) we need to move ‘one to the right and one up’; this is the same movement as is required to move from ( 2, 3) to ( 1, 2) or from (1, 2) to (2, 1) . Thinking about vectors from this second point of− view,− all three− of− these movements− are the− same vector, because the same translation ‘one right, one up’ achieves each of them, even though the ‘start’ and ‘finish’ are different in each case. We would write this vector as (1, 1) . Vectorsfromthissecond point of view are sometimes called translation vectors. 1 1,1 4,5 4 3,4 0.8 H L H L H L 0.6 2 0.4 -2 -1 1 2 3 4 0.2 2,−1 −1,−2 -2 1,−2 0.2 0.4 0.6 0.8 1 −2,−3 H L H L (1, 1) as a position vector (1, 1)H as aL translation ∗These handouts are produced by Richard Earl, who is the SchoolsH LiaisonL and Access Officer for mathematics, statistics and computer science at Oxford University. Any comments, suggestions or requests for other material are welcome at [email protected] 1 Likewise in three (or higher) dimensions the triple (x, y, z) can be thought of as the point in R3, which is x units along the x-axis, y units along the y-axis and z units along the z-axis, or it can represent the translation which would take the origin to that point. Notation 2 For ease of notation vectors are often denoted by a single letter, but to show that this is a vector quantity, rather than just a single number,theletteriseitherunderlinedsuchasv or written in bold as v. 1.1 Algebra of Vectors Again we return to xy-plane. Given two vectors v =(v1,v2) and w =(w1,w2) we can add them, much as you would expect, by adding their co-ordinates. That is: v + w =(v1,v2)+(w1,w2)=(v1 + w1,v2 + w2) . This is easiest to see from a diagram: 1 u= 1,1 0.5 v H L 0.5 1 1.5 2 -0.5 u+v -1 v= 1,−2 -1.5 u -2 H L A geometric interpretation of the vector sum The sum is also easiest to interpret when we consider the vectors as translations. The translation (v1 + w1,v2 + w2) is the composition of doing the translation (v1,w1) first and then doing the trans- lation (v2,w2) or it can be achieved by doing the translations in the other order – that is, vector addition is commutative: v + w = w + v. Note that it makes sense to add two vectors in R2, or two vectors from R3 etc., but that we can make no obvious sense of adding a vector in R2 to one from R3 – they both need to be of the same type. Given a vector v =(v1,v2) and a real number (a scalar) k then the scalar multiple kv is defined as kv =(kv1,kv2) . When k is a positive integer then we can think of kv as the translation achieved when we translate by v k times. Note that the points kv,ask varies, make up the line which passes through the origin and the point v. We write v for ( 1) v =( a, b) and this is the inverse operation of translating by v. And the − − − − difference of two vectors v =(v1,v2) and w =(w1,w2) is defined as v w = v+( w)=(v1 w1,v2 w2) . − − − − Put another way v w is the vector that translates the point with position vector w to the point with position vector v. − Note that there is also a special vector 0 =(0, 0) which may be viewed either as a special point the origin, where the axes cross, or as the null translation, the translation that doesn’t move anything. 2 The vectors (1, 0) and (0, 1) form the standard or canonical basis for R2. They are denoted by the symbols i and j respectively. Note that any vector v =(x, y) can be written uniquely as a linear combination of i and j:thatis (x, y)=xi+yj andthisistheonlywaytowrite(x, y) as a sum of scalar multiples of i and j. Likewise the vectors (1, 0, 0) , (0, 1, 0) , (0, 0, 1) form the canonical basis for R3 and are respectively denoted as i, j and k. Proposition 3 Vector addition and scalar multiplication satisfy the following properties. These proper- ties verify that R2 is a real vector space (cf. Michaelmas Linear Algebra). Let u, v, w R2 and λ, µ R. Then ∈ ∈ u + 0 = uu+ v = v + u 0u = 0 u +( u)=0 (u + v)+w = u +(v + w)1u = u (λ + µ−)u =λu+µu λ(u + v)=λu+λv λ(µu)=(λµ) u Everything above generalises in an obvious way to the case of Rn and from now on we will discuss this general case. 1.2 Geometry of Vectors As vectors represent geometric ideas like points and translations, they have important geometric proper- ties as well as algebraic ones. The length of a vector v =(v1,v2,...,vn),whichiswritten v ,isdefined to be | | n 2 v = (vi) . | | v ui=1 uX This is exactly what you’d expect it to be: fromt Pythagoras’ Theorem we see this is the distance of the point v from the origin, or equivalently how far a point, translated by v, is from where it started. So if p and q are two points in the plane, then the vector that will translate p to q is q p, and the distance between them is q p (or equally p q ). − | − | | − | Note that v 0 and that v =0if and only if v = 0. Also λv = λ v for any λ R. | | ≥ | | | | | || | ∈ n Proposition 4 (Triangle Inequality) Let u =(u1,u2,...,un) , v =(v1,v2,...,vn) R .Then ∈ u + v u + v | | ≤ | | | | with equality when u and v are multiples of one another. 1 u= 1,1 0.5 v= 1,−2 H L 0.5 1 1.5H L 2 -0.5 u+v -1 Geometric interpretation of the triangle inequallity 3 Proof. Note that for t R ∈ n n 2 2 2 2 2 0 u + tv = (ui + tvi) = u +2t uivi + t v . ≤ | | | | | | i=1 i=1 X X The RHS of the above inequality is a quadratic in t which is always non-negative and so has non-positive discriminant (i.e. b2 4ac). Hence ≤ n 2 2 2 4 uivi 4 u v ≤ | | | | Ãi=1 ! X and so n uivi u v . (1) ¯ ¯ ≤ | || | ¯i=1 ¯ ¯X ¯ Hence ¯ ¯ n ¯ ¯ 2 2 2 2 2 2 u + v = u +2 uivi + v u +2 u v + v =(u + v ) | | | | | | ≤ | | | || | | | | | | | i=1 X to give the required result. The inequality 1 is known as the Cauchy-Schwarz Inequality. Note that we 2 2 have equality in b 4ac if and only if the quadratic u + tv =0has a unique real solution, say t = t0. ≤ | | So u + t0v = 0 and we see that u and v are multiples of one another. Hence equality only occurs in the triangle inequality when u and v are multiples of one another. 1.3 The Scalar Product n Given two vectors u =(u1,u2,...,un) , v =(v1,v2,...,vn) R ,thescalar product u v,alsoknownas the dot product or Euclidean inner product,isgivenby ∈ · u v = u1v1 + u2v2 + + unvn. · ··· The following properties of the scalar product are easy to verify and are left as exercises. (Note (v) has already been proven in the previous section). n Proposition 5 Let u, v, w R and λ R. Then (i) u v = v u; ∈ ∈ (ii) (λ· u) v =· λ(u v); (iii) (u +·v) w =·u w + v w; · 2 · · (iv) u u = u 0 and u u =0if and only if u = 0; (v) (Cauchy-Schwarz· | | ≥ Inequality)· u v u v with equality when u and v are multiples of one another. | · | ≤ | || | We see that the length of a vector u can be written in terms of the scalar product, namely u = √u u | | · We can also define angle using the scalar product in terms of their scalar product. n Definition 6 Given two non-zero vectors u, v R the angle between them is given by the expression ∈ 1 u v cos− · . u v µ| || |¶ Note that the formula makes sense as 1 u v/ ( u v ) 1 − ≤ · | || | ≤ 1 from the Cauchy-Schwarz Inequality.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    14 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us