NOTES ON VECTORS, PLANES, AND LINES

Similar documents
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.

Inner product spaces. Layers of structure:

1 Review of the dot product

Chapter 8. Rigid transformations

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

(arrows denote positive direction)

Solution. The relationship between cartesian coordinates (x, y) and polar coordinates (r, θ) is given by. (x, y) = (r cos θ, r sin θ).

22 Approximations - the method of least squares (1)

MTH 2310, FALL Introduction

Vector Geometry. Chapter 5

4.1 Distance and Length

The Gram Schmidt Process

The Gram Schmidt Process

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

The Cross Product of Two Vectors

Distance in the Plane

Chapter 2: Vector Geometry

Course Notes Math 275 Boise State University. Shari Ultman

Last week we presented the following expression for the angles between two vectors u and v in R n ( ) θ = cos 1 u v

Diagonalization. MATH 1502 Calculus II Notes. November 4, 2008

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

Some Notes on Linear Algebra

Vector equations of lines in the plane and 3-space (uses vector addition & scalar multiplication).

Lecture 1: Systems of linear equations and their solutions

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

MAT 1339-S14 Class 8

Quantities which have only magnitude are called scalars. Quantities which have magnitude and direction are called vectors.

Review of Coordinate Systems

Chapter 6: Orthogonality

The geometry of least squares

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

21 Symmetric and skew-symmetric matrices

Chapter 13: Vectors and the Geometry of Space

Chapter 13: Vectors and the Geometry of Space

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

Distances in R 3. Last time we figured out the (parametric) equation of a line and the (scalar) equation of a plane:

Contents. 1 Vectors, Lines and Planes 1. 2 Gaussian Elimination Matrices Vector Spaces and Subspaces 124

Computer Graphics MTAT Raimond Tunnel

HOW TO THINK ABOUT POINTS AND VECTORS WITHOUT COORDINATES. Math 225

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

Sums of Squares (FNS 195-S) Fall 2014

Eigenvalues and Eigenvectors

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.

There are two things that are particularly nice about the first basis

The Gram-Schmidt Process

LINEAR ALGEBRA KNOWLEDGE SURVEY

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Linear Algebra 1/33

CHAPTER 4 VECTORS. Before we go any further, we must talk about vectors. They are such a useful tool for

Notes on multivariable calculus

Brief Review of Exam Topics

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

Math Vector Calculus II

Designing Information Devices and Systems II

MATH 304 Linear Algebra Lecture 20: The Gram-Schmidt process (continued). Eigenvalues and eigenvectors.

Mathematics 5 Worksheet 14 The Horizon

Linear Algebra. The Manga Guide. Supplemental Appendixes. Shin Takahashi, Iroha Inoue, and Trend-Pro Co., Ltd.

1 Introduction. 2 Solving Linear Equations

Linear Algebra Review. Vectors

DISCRETE DIFFERENTIAL GEOMETRY: AN APPLIED INTRODUCTION Keenan Crane CMU /858B Fall 2017

Abstract & Applied Linear Algebra (Chapters 1-2) James A. Bernhard University of Puget Sound

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

k is a product of elementary matrices.

Exam 1 Review SOLUTIONS

Projections and Least Square Solutions. Recall that given an inner product space V with subspace W and orthogonal basis for

Linear Algebra I. Ronald van Luijk, 2015

Chapter 6. Orthogonality and Least Squares

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

Chapter Two Elements of Linear Algebra

8.5 Taylor Polynomials and Taylor Series

Section 6.1. Inner Product, Length, and Orthogonality

Answers in blue. If you have questions or spot an error, let me know. 1. Find all matrices that commute with A =. 4 3

Chapter 3 Representations of a Linear Relation

Math Circles - Lesson 2 Linear Diophantine Equations cont.

STATE SPACE GEOMETRY OF ASSET PRICING: AN INTRODUCTION

Definition 1. A set V is a vector space over the scalar field F {R, C} iff. there are two operations defined on V, called vector addition

Math (P)Review Part II:

Math (P)Review Part I:

Don t forget to think of a matrix as a map (a.k.a. A Linear Algebra Primer)

1 Last time: determinants

Topic 14 Notes Jeremy Orloff

Chapter 3 Representations of a Linear Relation

Vectors for Beginners

Distance Formula in 3-D Given any two points P 1 (x 1, y 1, z 1 ) and P 2 (x 2, y 2, z 2 ) the distance between them is ( ) ( ) ( )

Linear Algebra. Min Yan

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Linear Algebra /34

A = u + V. u + (0) = u

October 25, 2013 INNER PRODUCT SPACES

Solving Equations by Adding and Subtracting

Section 1.5. Solution Sets of Linear Systems

Dot Products, Transposes, and Orthogonal Projections

Approximations - the method of least squares (1)

Mathematics 308 Geometry. Chapter 2. Elementary coordinate geometry

MATH 20F: LINEAR ALGEBRA LECTURE B00 (T. KEMP)

11.1 Vectors in the plane

,, rectilinear,, spherical,, cylindrical. (6.1)

Introduction to Vectors

1 Euclidean geometry. 1.1 The metric on R n

Lecture 3: Linear Algebra Review, Part II

Math Linear Algebra II. 1. Inner Products and Norms

MATH 23a, FALL 2002 THEORETICAL LINEAR ALGEBRA AND MULTIVARIABLE CALCULUS Solutions to Final Exam (in-class portion) January 22, 2003

Transcription:

NOTES ON VECTORS, PLANES, AND LINES DAVID BEN MCREYNOLDS 1. Vectors I assume that the reader is familiar with the basic notion of a vector. The important feature of the vector is that it has a magnitude and direction. If v is a vector, say v = (v 1, v 2,..., v n ) then its magnitude or norm is given by v = v1 2 + v2 2 + + vn. 2 There is a natural correspondence between vectors and points. If you have a point P in n-dimensional Euclidean space, say P = (P 1, P 2,..., P n ), then we can associate to P, the vector v given by v = (P 1, P 2,..., P n ). We think of the vector v as starting as the origin and ending at the point P. Given two points P and Q, we can naturally form a vector v which starts at P and ends at Q. If then the vector P Q is given by P = (P 1, P 2,..., P n ) Q = (Q 1, Q 2,..., Q n ), P Q = (Q 1 P 1, Q 2 P 2,..., Q n P n ). We add and subtract vectors in the natural way. If v = (v 1, v 2,..., v n ) w = (w 1, w 2,..., w n ), Date: April 10, 2002. 1

2 DAVID BEN MCREYNOLDS then we define v + w = (v 1 + w 1, v 2 + w 2,..., v n + w n ) v w = (v 1 w 1, v 2 w 2,..., v n w n ). Scalar multiplication is also a natural operation. If v is a vector as above, and λ is a real number, then we define scalar multiplication by λv = (λv 1, λv 2,..., λv n ). Here, we are scaling the magnitude of v, but not changing its direction. 1 In some cases, the direction of a vector is the feature of interest. When this is the case, we often scale are vectors as to have magnitude 1. Such a vector is called a unit vector. If v is as above, then we can form a unit vector u that points in the direction of v. We define u by u = v v. We leave it as an exercise to verify that u does have norm 1. In fact, this is a specific case of a more general result. If λ is a real number and v a vector as above, then λv = λ v. As a consequence of this, if v is a vector, we can find a vector ṽ that points in the direction of v and has norm λ as follows: ṽ = λv v. Another important operation is the dot product or inner product of two vectors. With v and w as above, we define the dot product by v w = v 1 w 1 + v 2 w 2 + + v n w n. Observe that v w is a real number and not a vector. If our vectors are 3-dimensional, then we can define a special operation called the cross product. If v = (v 1, v 2, v 3 ) w = (w 1, w 2, w 3 ), then we define the cross product by v w = det i j k v 1 v 2 v 3. w 1 w 2 w 3 1 Really we are not changing the 1-dimensional subspace spanned by v. If λ < 0, we flip v, or reflect v about the origin.

NOTES ON VECTORS, PLANES, AND LINES 3 This idea can be generalized to other spaces of vectors, but we have no need for this here. 2. Geometry of n-dimensional Space Now that we have defined some basic operations, we can delve into some geometric aspects. First, we introduce a basic idea of angle between vectors. From this, one can discuss the notions of parallel and orthogonal. We define the angle between two vectors v and w, denoted by v,w, by cos v,w = v w v w. This generalizes the idea of angle in the plane. A moments thought should reveal that we are actually measuring this angle in the plane. Specifically, we are measuring the angle between v and w in the plane spanned by v and w. You should verify for 2-dimensional vectors that this does indeed give you the angle as we know it. From this, we say that two vectors v and w are parallel if and only if cos v,w = ±1. That is, the angle between v and w is 0 or π. Exercise 1. Show that v and w, both nonzero vectors, are parallel if and only if there exists a real number λ such that λv = w. The above exercise gives an alternative formulation of parallel which is useful. Likewise, we say two vectors v and w are orthogonal if and only if cos v,w = 0. An easy consequence of the definition of v,w is that two vectors v and w which are nonzero are orthogonal if and only if v w = 0. Orthogonality of vectors is useful. Observe that if we have two vectors, v and w, we can write v as a vector parallel to w and a vector orthogonal to w. For this, we introduce the idea of projection of v onto w.

4 DAVID BEN MCREYNOLDS The projection of v onto w is defined by w Proj w v = v cos v,w w. This can be simplified by the following computation: w Proj w v = v cos v,w w ( ) v w w = v v w w = v w w 2 w. Alternatively, we have Proj w v = v w w 2 w. We call the number v w w 2 the component of v on w. Lastly, let u be the vector that satisfies the equation Proj w v + u = v. Exercise 2. Show that u is orthogonal to w. That is w u = 0. Now in 3-dimensional space, if one is given two distinct vectors v and w, i.e., v and w are not parallel, then we can find a vector u that completes 3-dimensional space. That is, every vector x can be written in the form λ 1 v + λ 2 w + λ 3 u = x. Now, if we further require that u be orthogonal to v and w, then we are limited on our choices. 2 Luckily for us, we have defined an operation that will give us such a u. Namely, v w. Another way to form such a u is to take a vector u that only satisfies our first condition that v, w, and u complete 3-dimensional space. Under this condition, and Proj v u u Proj w u u. 2 Think about the geometric picture. There is essentially one direction that u can point if we insist on the second condition.

NOTES ON VECTORS, PLANES, AND LINES 5 Then we can find vectors u 1 and u 2 that are orthogonal to v and w. Then a suitable linear combination of u 1 and u 2 can be taken as to get a new vector ũ which is orthogonal to both v and w. Then, since we can write u = α 1 v + α 2 w + α 3 ũ, v, w, and ũ will complete 3-dimensional space. Exercise 3. Verify that (a) (b) v (v w) = 0. w (v w) = 0. We now give some important properties of the cross product. For those familiar with the determinant, it should be no great shock that we can measure areas and volumes using the cross product, since determinants measure these things. 3 Let v and w be 3-dimensional vectors. Then the area of the parallelogram formed by v and w, denoted by P, is given by A(P) = v w. If we have three vectors v, w, and u, then the volume of the parallelepiped formed by u, v, and w, denotes by P, is given by V (P) = u (v w). 3. Lines As everyone knows, when walking on a line, there are two directions one can move, forwards and back. Viewing these directions as one being the negative of the other, you have one degree of freedom on a line. In 2-space, one equation in the variables x and y of the form ax + by = c, determines a line. Solving for y, we get y = mx + p, where m is the slope and p the y-intercept. Thinking of p as just a special point of the line and m as a direction, we see that a line is determined by a point and a direction. Notice that x is the degree 3 Really, eigenvalues measure these things. But the determinant of a matrix is the product of its eigenvalues. For those familiar with eigenvalues, recall the eigenvalue measures contraction and expansion in the coordinate directions.

6 DAVID BEN MCREYNOLDS of freedom, since y is completely determined once we have selected a particular x. In higher dimensions, we utilize vectors. If P and Q are points in n-space, then we can form the line connecting P and Q by extending the line segment connecting P and Q. As we saw earlier, there is a natural vector associated to P and Q, and to P. Then the equation of a line in n-space is the vector valued equation r(t) = P Qt + P, where P Q is the vector that starts at P and ends at Q, and P is the vector that starts at the origin and ends at P. The variable t is our one degree of freedom. If we expand this in each of the components, we actually get n 1 equations. From this, we see that 1-dimensional objects need n 1 distinct equations. In general j-dimensional objects need n j equations. To summarize, A Line is determined by a point and a vector. In 2-space, the Parallel Postulate asserts that two lines either intersect once or are parallel. In n-space, n > 2, this is not the case. Two lines need not intersect. However, if two lines intersect, we can define the angle of intersection. Let l 1 and l 2 be two lines in n-space which intersect. Now, from above, we know that l 1 : r 1 (t) = d 1 t + p 1 l 2 : r 2 (t) = d 2 t + p 2. Then we define the angle between l 1 and l 2, denotes by l1,l 2, by cos l1,l 2 = d 1 d 2 d 1 d 2. Observe that this is just the angle d1,d 2 between the two direction vectors. Once we defined the notion of angle, we can again define the notions of parallel and orthogonal. Two lines l 1 and l 2 are parallel if and only if the direction vectors for the two lines are parallel. That is l1,l 2 = d1,d 2 = π or 0. Two lines l 1 and l 2 are orthogonal if and only if the direction vectors for the lines are orthogonal. That is l1,l 2 = d1,d 2 = π 2.

NOTES ON VECTORS, PLANES, AND LINES 7 4. Planes We treat planes only in 3-space for simplicity. Observe that from a comment above, in n-space, a plane which is a 2-dimensional object would need n 2 distinct equations to describe. Then, since 3 2 = 1, we see in 3-space, planes should only need 1 equation. Now, assuming that you cannot jump up and down, and since the Earth locally looks like a plane, we know when we walk, we have basically four possible directions. North, South, East, and West. Since North and South are negatives, and East and West are negatives, we see that we have 2 degrees of freedom, or two directions. Given three distinct points, not sitting on the same line (not colinear), then we can form a plane. Now, we know that from three points, we can form two vectors (North and East). Then every direction you can move in the plane can be described by moving in these two directions. That is, a point lines in the plane if and only if the vector you form from this point and any of our first three points should be expressible as a linear combination of our two direction vectors (North and East). This gives us one equation. Now, there is an alternative. Let v and w be our direction vectors forms from the points P, Q, and R. We saw earlier that there is a unique direction which is orthogonal to both v and w, and completes 3-space. This vector is given by v w. Now, we take any point in the plane, say S, and form the form P S, then P S is expressible by So that P S = λ 1 v + λ 2 w. P S v u = 0. This leads us to the following equation: (u v) (x P 1, y P 2, z P 3 ) = 0. We call u v the normal vector to the plane, and write this as just n. Then the above becomes n (x P 1, y P 2, z P 3 ) = 0. Expanding this out, we could solve for x, y, or z, in terms of the other two. Thus, we have two degrees of freedom. To summarize: A Plane is determined by a normal vector and a point,

8 DAVID BEN MCREYNOLDS and The normal vector is determined by two vectors in the plane. Now, for planes, something along the lines of the Parallel Postulate is true. That is, two planes P 1 and P 2 are either parallel or intersect in a line. From this we define the angle between two planes, P 1 and P 2 of the form by Observe that this is just P 1 : n 1 (x P 1, y P 2, z P 3 ) = 0 P 2 : n 2 (x Q 1, y Q 2, z Q 3 ) = 0, P1,P 2 = n 1 n 2 n 1 n 2. P1,P 2 = n1,n 2. From this we can again define the notion of parallel and orthogonal. Two planes P 1 and P 2 are parallel if and only if P1,P 2 = 0 or π. Two planes P 1 and P 2 are orthogonal if and only if P1,P 2 = 0. Now that we have defined the idea of lines and planes in 3-space, we might wonder about the interplay between planes and lines. The first thing we must introduce is the angle between a plane and a line. Observe that if we have a line l and plane P, then they either intersect at a point or are parallel. Let l be a line of the form and P be a plane of the form l : r(t) = dt + p, P : n (x P 1, y P 2, z P 3 ). We define the angle between l and P, denoted by l,p by l,p = π ( ) 2 n d cos 1 n d. This is a rather complicated thing. A moments thought will tell you it must be. From this we are lead to the following table:

NOTES ON VECTORS, PLANES, AND LINES 9 Geometric Objects Direction Vectors l 1 l 2 d 1 d 2 l 1 l 2 d 1 d 2 P 1 P 2 n 1 n 2 P 1 P 2 n 1 n 2 P l n d P l n d Observe the reversal in the condition that a plane be parallel to a line and a plane be orthogonal to a line. This is because of how we define the plane, via the direction that is orthogonal to the plane. One can verify the validity of this with a few simple drawings. 5. Getting Geometric Objects From Geometric Constraints One of the main problems that arise are problems where we are to find a geometric object like a line or plane based on geometric conditions. Some conditions are to require that the line or plane be parallel or orthogonal to a known plane or line. Or that the plane or line contain a certain set of points. The above table can be used to obtain the vector conditions needed to obtain a vector and a point. Given some bit of geometric information, the idea is to translate this into the language of vectors. We do this because the equations for lines and planes require vectors. Always Remember that a line is determined by a direction and a point and a plane is determined by a normal vector and a point. When reading problems, on cannot lose sight of this goal. Always ask the question, how can I get the direction or normal vector from this information. When lost, draw a generic picture of what is going on. Often you are lead to the conditions of the above table. University of Texas at Austin, Department of Mathematics E-mail address: dmcreyn@math.utexas.edu