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

Similar documents
12.5 Equations of Lines and Planes

MATH 12 CLASS 4 NOTES, SEP

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

How can we find the distance between a point and a plane in R 3? Between two lines in R 3? Between two planes? Between a plane and a line?

Chapter 13: Vectors and the Geometry of Space

Chapter 13: Vectors and the Geometry of Space

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

(arrows denote positive direction)

Unit 2: Lines and Planes in 3 Space. Linear Combinations of Vectors

Math 241, Exam 1 Information.

Chapter 1 Review of Equations and Inequalities

Matrices. A matrix is a method of writing a set of numbers using rows and columns. Cells in a matrix can be referenced in the form.

Kevin James. MTHSC 206 Section 12.5 Equations of Lines and Planes

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

Systems of Linear Equations

VECTORS AND THE GEOMETRY OF SPACE

n=0 ( 1)n /(n + 1) converges, but not

What you will learn today

12.1. Cartesian Space

Review of Coordinate Systems

Section 1.5. Solution Sets of Linear Systems

CALC 3 CONCEPT PACKET Complete

Solutions to Math 51 First Exam October 13, 2015

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

MAC Module 5 Vectors in 2-Space and 3-Space II

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

Projects in Geometry for High School Students

Solutions for the Practice Final - Math 23B, 2016

CALCULUS III. Paul Dawkins

4.3 Equations in 3-space

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 ( ) ( ) ( )

Introduction to Vectors

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

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.

The Geometry of R n. Supplemental Lecture Notes for Linear Algebra Courses at Georgia Tech

MATH240: Linear Algebra Review for exam #1 6/10/2015 Page 1

Give a geometric description of the set of points in space whose coordinates satisfy the given pair of equations.

4.1 Distance and Length

22 Approximations - the method of least squares (1)

MATH 1020 WORKSHEET 12.1 & 12.2 Vectors in the Plane

Sums of Squares (FNS 195-S) Fall 2014

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

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

Dot Products, Transposes, and Orthogonal Projections

Course Notes Math 275 Boise State University. Shari Ultman

Problem 1: (3 points) Recall that the dot product of two vectors in R 3 is

Notes on multivariable calculus

Pre-calculus is the stepping stone for Calculus. It s the final hurdle after all those years of

MATH 1210 Assignment 3 Solutions 17R-T2

Vector calculus background

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

Math 234. What you should know on day one. August 28, You should be able to use general principles like. x = cos t, y = sin t, 0 t π.

CALCULUS 3 February 6, st TEST

Finish section 3.6 on Determinants and connections to matrix inverses. Use last week's notes. Then if we have time on Tuesday, begin:

MAT 1339-S14 Class 10 & 11

Solutions Exam 1 Math 221

Culminating Review for Vectors

Mathematics 5 Worksheet 14 The Horizon

SOLUTIONS TO EXERCISES FOR MATHEMATICS 133 Part 1. I. Topics from linear algebra

A. Incorrect! Replacing is not a method for solving systems of equations.

NOTES ON VECTORS, PLANES, AND LINES

MTH MTH Lecture 6. Yevgeniy Kovchegov Oregon State University

CHAPTER 1 Systems of Linear Equations

Factoring Review Types of Factoring: 1. GCF: a. b.

Chapter 1. Linear Equations

3 = arccos. A a and b are parallel, B a and b are perpendicular, C a and b are normalized, or D this is always true.

Three-Dimensional Coordinate Systems. Three-Dimensional Coordinate Systems. Three-Dimensional Coordinate Systems. Three-Dimensional Coordinate Systems

Main topics for the First Midterm Exam

Chapter 12 Review Vector. MATH 126 (Section 9.5) Vector and Scalar The University of Kansas 1 / 30

Announcements Monday, September 18

Partial Fraction Decomposition Honors Precalculus Mr. Velazquez Rm. 254

Vector Geometry. Chapter 5

18.06 Quiz 2 April 7, 2010 Professor Strang

Exam 1 Review SOLUTIONS

Name: ID: Math 233 Exam 1. Page 1

Chapter 9 Notes SN AA U2C9

LB 220 Homework 4 Solutions

Math 2 Variable Manipulation Part 7 Absolute Value & Inequalities

Chapter 0 of Calculus ++, Differential calculus with several variables

The trick is to multiply the numerator and denominator of the big fraction by the least common denominator of every little fraction.

Algebraic Expressions and Identities

Linear Algebra. 1.1 Introduction to vectors 1.2 Lengths and dot products. January 28th, 2013 Math 301. Monday, January 28, 13

Chapter 6. Orthogonality and Least Squares

mathematical objects can be described via equations, functions, graphs, parameterization in R, R, and R.

Name Date Partners. Lab 2 GAUSS LAW

Solutions to Math 51 Midterm 1 July 6, 2016

11.4 Dot Product Contemporary Calculus 1

Solution to Proof Questions from September 1st

Distance. Warm Ups. Learning Objectives I can find the distance between two points. Football Problem: Bailey. Watson

Gauss Law 1. Name Date Partners GAUSS' LAW. Work together as a group on all questions.

Introduction to Linear Algebra

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

Mathematics Revision Guide. Algebra. Grade C B

Name Date Partners. Lab 4 - GAUSS' LAW. On all questions, work together as a group.

Preface.

Multiple forces or velocities influencing an object, add as vectors.

Section 6.1. Inner Product, Length, and Orthogonality

Lesson 3. Perpendicularity, Planes, and Cross Products

CHAPTER 6 VECTOR CALCULUS. We ve spent a lot of time so far just looking at all the different ways you can graph

Linear Algebra MATH20F Midterm 1

Transcription:

Distances in R 3 Last time we figured out the (parametric) equation of a line and the (scalar) equation of a plane: Definition: The equation of a line through point P(x 0, y 0, z 0 ) with directional vector v < v 1, v 2, v 3 > is: l(t) P + tv < x 0 + t v 1, y 0 + t v 2, z 0 + t v 3 > Definition: The equation of a plane with normal vector n < a. b. c > is: ax + by + cz + d 0 where the number d depends on the point that the plane should include. We discussed how to: Find out if a point is on a line (set them equal, see if you can find a t that works for all 3 equations) Find out if a point is on a plane (plug in the x,y,z values of the point into the equation of the plane) Find the intersection of a line and a plane (plug in components of line into plane, solve for t) Find the intersection of two lines (try to solve three equations with two unknowns if possible) Find the intersection of two planes (we actually did not do this yet :) So, turns out we did not solve the last problem yet, so here we go: If two planes are parallel (i.e. their normal vectors are parallel), then they don t intersect. Otherwise they intersect in a line, so we need to find the point P and the directional vector v of that line. The vector v is part of the first plane, so it is perpendicular to its normal vector. But v is also part of the second plane, so it is also perpendicular to that normal vector. Hence, v is perpendicular to both normal vectors, which means that v is (parallel to) the cross product of both normal vectors: v n 1 n 2. Intersection of Two Planes That leaves us to find any point P(x, y, z) on that line. The line, somewhere, will cross the xy-plane, so we can assume that its z-coordinate is zero. So, we have a point P(x, y, 0) that is part of both planes. That means that it

has to satisfy two equations in two unknowns (since we could assume z 0). We can solve that system and we have our point! Note that we could have set y 0 and worked out the missing x and z coordinates, or x 0 and worked out y and z. We would get different points, of course, but the resulting lines would be the same. Example: Find the intersection of the planes x y + 2z 3 and x + 2y 3z 0 The planes have normal vectors n 1 < 1, 1,2 > and n 2 < 1,2, 3 >. They are not parallel, so the planes are not parallel, either. Thus, there is a line l(t) P + v t of intersection. As discussed above: i j k v n 1 n 2 1 1 2 < 3 4, ( 3 2), 2 + 1 >< 1,5,3 > 1 2 3 To find a point on that line, we may assume that z 0. Thus, we get the system of equation x y 3 x + 2y 0 Multiply the first equation by 2 and add that to the second one gives 3x 6 or x 2. But then y 1 so that the point is P(2, 1,0). Putting this point together with the vector v we worked out before gives the line of intersection l(t) (2, 1,0) + t < 1,5,3 >< 2 t, 1 + 5t, 3t >. We can actually (and pretty easily) check answer. We re saying that the intersection of the planes x y + 2z 3 and x + 2y 3z 0 is the line < 2 t, 1 + 5t, 3t >, and we know how to check if a line is on the plane: plug in x 2 t, y 1 + 5t, z 3t into the first planes gives: x y + 2z (2 t) ( 1 + 5t) + 2(3t) 3 for all t, and plugging the same coordinates into the second plane again gives a true identity for all t: x + 2y 3z (2 t) + 2( 1 + 5t) 3(3t) 0 Now that we have gotten everything possible out of the intersection questions, we will move on to the next (and last) topic in this chapter. Distances between Points, Lines, and Planes Next, we will determine distances. In particular, we want to compute: Distance between two points Distance between a point and a plane Distance between a point and a line Distance between a line and a plane Distance between two lines Distance between two planes The first question is obvious and we have covered it quite some time ago: if P(x 1, y 1, z 1 ) and Q(x 2, y 2, z 2 ) d(p, Q) PQ (x 2 x 1 ) 2 + (y 2 y 1 ) 2 + (z 2 z 1 ) 2 That was easy. Next, let s look at a plane and a point (not on the plane)

To find the distance between point P and the plane we will use the projection formula. In other words: Find an arbitrary point Qon the plane Find the vector PQ Then the distance d is the length of the projection on PQ onto the normal vector n (that s a rather clever way of using the projection formula)! In other words: n PQ d proj n (PQ ) n To see a video that explains this again, check out https://www.youtube.com/watch?vhw3lyllc60i Example: Find the distance between plane x + 2y + 3z 4 and the point P(3,2,1) We need any point Q on the plane. Setting y 0 and z 0 gives the point Q(4, 0, 0) on the plane. Then we find the vector PQ (4,0,0) (3,2,1) < 1, 2, 1 >. Then the distance we want is the length of the projection of PQ < 1, 2, 1 > onto the normal vector of the plane n < 1,2,3 >: d < 1,2,3 > < 1, 2, 1 > < 1,2,3 > 1 4 3 1 + 2 2 + 3 6 2 14 We have to believe that the answer is correct, because it is difficult to verify the answer geometrically by drawing pictures in 3D. But if we take special planes and points, then we can easily see the answer and then use it to verify our formula. For example, find the distance between the xy-plane and the point P(4,3,5). It is easy to see that the distance here is 5, but what does our formula say? The equation of the xy plane is, simply, z 0, which has the normal vector v <0, 0, 1>. An arbitrary point on the xy-plane is Q(2, 3, 0) (or really any point whose z-coordinate is 0. Thus, according to our formula, the distance is: d < 0,0,1 > PQ < 0,0,1 > < 0,0,1 >< 2,0, 5 > 1 as it is supposed to. So, we verified our formula for this special case. Here is another example: Use the above formula to verify that the distance between the point P(3,1,-2) and the plane x +4y + 3z 1 is zero. Then explain this answer geometrically. Hint: what is special about the point P(3,1,-2) in relation to the plane x + 4y + 3z 1? We can actually get an easy-to-use formula from the above equation: take a point P(x 0, y 0, z 0 ) and a plane ax + by + cz + d 0. Pick some point Q(x 1, y 1, z 1 ) on the plane (which of course means ax 1 + by 1 + 5

cz 1 d). Then the vector PQ < x 1 x 0, y 1 y 0, z 1 z 0 > and according to our formula we have the distance as d n PQ a (x 1 x 0 ) + b(y 1 y 0 ) + c(z 1 z 0 ) ax 1 + by 1 + cz 1 (ax 0 + by 0 + cz 0 ) n a 2 + b 2 + c 2 a 2 + b 2 + c 2 But we already determined that ax 1 + by 1 + cz 1 d so that: Theorem: The formula for the distance between plane ax + by + cz + d 0 and the point P(x 0, y 0, z 0 ) is: d ax 0 + by 0 + cz 0 + d a 2 + b 2 + c 2 Example: Use this formula to find the distance between plane x + 2y + 3z 4 and the point P(3,2,1): d 3 + 2 2 + 3 1 4 1 2 + 2 2 + 3 2 6 14 That answer matches the previous answer, as it should - always good! As it turns out, we can use this formula to solve a 2D problem: Theorem: The distance between a line ax + by + c 0 in R 2 and a point P(x 0, y 0 ) in R 2 is: d ax 0 + by 0 + c a 2 + b 2 This is simply the previous formula reduced by one dimension. The above formula also helps to find distances between two planes and between a line and a plane. Find the distance between two planes: first, determine if the planes are parallel. If not, their distance is zero. Why? Otherwise, find any point P(x 0, y 0, z 0 ) on the second plane. Because the planes are parallel, the distance between the two planes is then given by the distance of that point to the first plane, for which the above formula applies. Similarly, you can make up a recipe to find the distance between a line and a plane do it. Examples: Here are a few examples. Remember to first check if the objects are parallel or not. Distance between x y + 2z 1 and 2x + 2y 2z 4 Distance between 2x + 3y z 3 and 4x + 6y 2z 5 Distance between x + y + 2z 0 and < 1 2t, 3 + 4t, 3 t > Distance between 2x + 3y z 0 and < 1 + 3t, 2 + 2t, 3 + t > That leaves us with figuring out the distance between a point and a line in 3D and the distance between two lines. The formulas/procedures are getting rather complicated and are include here for completeness only, and without proof. First things first:

Theorem: The distance between point Q(x 0, y 0, z 0 ) and the line l(t) P + vt is PQ v v Finally, consider two lines in R 3. If they intersect, their distance was clearly zero. If they don t intersect, use the following procedure to find their distance. Theorem: To find the distance between two non-intersecting lines, compute the cross product of the two directional vectors and find a point P one the first line as well as a point Q on the second line. Then the distance between both lines is the length of the projection of the vector PQ onto the cross product of v 1 v 2. Example: Find the distance between the point Q(1,0,3) and the line l(t) < 1 t, 3t, 2 > as well as the distance between that line and the line l 2 (t) < 3 + 4t, 2 + 3t, 1 + t >. The line l(t) < 1 t, 3t, 2 > goes through point P( 1,0,2) with direction v < 1,3,0 > so that according to the above formula we have d PQ v v < 2,0,1 > < 1,3,0 > < 1,3,0 > < 3, 1,6 > < 1,3,0 > 46 10 To find the distance between the two lines, we need v 1 v 2 < 1,3,0 > < 4,3,1 >< 3,1, 15 >. We take P( 1,3,2) on line 1 and Q(3,2,1) on line 2 so that, according to the recipe above: d proj <3,1, 15> (< 4, 1, 1 >) < 3,1, 15 > < 4, 1, 1 > < 3,1, 15 > 12 1 + 15 235 26 235 That s it, we are done with distances, and in fact done with the entire chapter 11. Recall that we covered so far in this Calc 3 class: we started with points, spheres, and sheets in R^3 vectors: add, subtract, multiply by scalar, length dot product: angles, perpendicular vector, projection cross Product: perp. to a and b lines: vector equation, parallel, perpendicular planes: scalar equation with normal vector intersections: point on line, point on plane, line and line, line and plane, plane and plane distances: points, points and lines, points and planes, lines and lines, lines and planes, plane and plane