Sums of Squares (FNS 195-S) Fall 2014

Similar documents
Three-Dimensional Coordinate Systems. Three-Dimensional Coordinate Systems. Three-Dimensional Coordinate Systems. Three-Dimensional Coordinate Systems

Vectors for Beginners

(arrows denote positive direction)

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

In the real world, objects don t just move back and forth in 1-D! Projectile

Introduction to Vectors

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

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

Vectors Part 1: Two Dimensions

Chapter 1 Review of Equations and Inequalities

The geometry of least squares

Mathematics-I Prof. S.K. Ray Department of Mathematics and Statistics Indian Institute of Technology, Kanpur. Lecture 1 Real Numbers

Distance in the Plane

LINEAR ALGEBRA - CHAPTER 1: VECTORS

Getting Started with Communications Engineering

Math (P)Review Part I:

v = ( 2)

8. TRANSFORMING TOOL #1 (the Addition Property of Equality)

Vectors a vector is a quantity that has both a magnitude (size) and a direction

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Lines and Their Equations

30. TRANSFORMING TOOL #1 (the Addition Property of Equality)

Chapter 3 Representations of a Linear Relation

Review of Coordinate Systems

Solution to Proof Questions from September 1st

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

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

Math Precalculus I University of Hawai i at Mānoa Spring

Vectors Year 12 Term 1

Section 20: Arrow Diagrams on the Integers

Chapter 3 Representations of a Linear Relation

Definition of geometric vectors

Vectors and their uses

Vectors. A vector is usually denoted in bold, like vector a, or sometimes it is denoted a, or many other deviations exist in various text books.

Vectors for Zero Robotics students

The following are generally referred to as the laws or rules of exponents. x a x b = x a+b (5.1) 1 x b a (5.2) (x a ) b = x ab (5.

Vector Geometry. Chapter 5

AN ALGEBRA PRIMER WITH A VIEW TOWARD CURVES OVER FINITE FIELDS

4.1 Distance and Length

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.]

Vector Algebra II: Scalar and Vector Products

Math (P)Review Part II:

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

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

1 Review of the dot product

2.1 Definition. Let n be a positive integer. An n-dimensional vector is an ordered list of n real numbers.

Solving with Absolute Value

MITOCW ocw-18_02-f07-lec02_220k

base 2 4 The EXPONENT tells you how many times to write the base as a factor. Evaluate the following expressions in standard notation.

1 Notes for lectures during the week of the strike Part 2 (10/25)

Chapter 7 Quadratic Equations

Econ A Math Survival Guide

2.23 Theorem. Let A and B be sets in a metric space. If A B, then L(A) L(B).

Math101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2:

Chapter 2 - Vector Algebra

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

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

11.1 Vectors in the plane

Welcome to IB Math - Standard Level Year 2

Around the corner. Mathematics B-day 2015, Friday November 13, 9:00h-16:00h

Calculus II. Calculus II tends to be a very difficult course for many students. There are many reasons for this.

Introduction to Algebra: The First Week

Problems from Probability and Statistical Inference (9th ed.) by Hogg, Tanis and Zimmerman.

Lecture 2: Vector Spaces, Metric Spaces

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

Getting Started with Communications Engineering. Rows first, columns second. Remember that. R then C. 1

The Gram-Schmidt Process

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

Section 2.7 Solving Linear Inequalities

Electromagnetic Theory Prof. D. K. Ghosh Department of Physics Indian Institute of Technology, Bombay

Lecture 4: Constructing the Integers, Rationals and Reals

MITOCW MITRES_18-007_Part1_lec3_300k.mp4

{ }. The dots mean they continue in that pattern to both

Error Correcting Codes Prof. Dr. P. Vijay Kumar Department of Electrical Communication Engineering Indian Institute of Science, Bangalore

Solutions Exam 1 Math 221

different formulas, depending on whether or not the vector is in two dimensions or three dimensions.

Math 291-1: Lecture Notes Northwestern University, Fall 2015

Solutions to Selected Questions from Denis Sevee s Vector Geometry. (Updated )

Math 308 Midterm Answers and Comments July 18, Part A. Short answer questions

We know how to identify the location of a point by means of coordinates: (x, y) for a point in R 2, or (x, y,z) for a point in R 3.

MINKOWSKIAN SPACE, GRAPHS, EVENTS, WORLD LINES and MEASURING TIME

2. FUNCTIONS AND ALGEBRA

Vectors. Vector Practice Problems: Odd-numbered problems from

Definition 6.1. A vector is a quantity with both a magnitude (size) and direction. Figure 6.1: Some vectors.

Linear Algebra, Summer 2011, pt. 2

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

9. TRANSFORMING TOOL #2 (the Multiplication Property of Equality)

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

Problem Solving. Kurt Bryan. Here s an amusing little problem I came across one day last summer.

4.1 Prologue. (c) (a) velocity of an object is a vector (b) force is a vector (c) displacement is a vector

MATH 1130 Exam 1 Review Sheet

Projects in Geometry for High School Students

M. Matrices and Linear Algebra

(January 6, 2006) Paul Garrett garrett/

Chapter One Complex Numbers

Vector components and motion

Introduction to Vectors

Linear Algebra, Summer 2011, pt. 3

Linear Algebra I. Ronald van Luijk, 2015

2. Introduction to commutative rings (continued)

EUCLIDEAN SPACES AND VECTORS

Transcription:

Sums of Squares (FNS 195-S) Fall 014 Record of What We Did Drew Armstrong Vectors When we tried to apply Cartesian coordinates in 3 dimensions we ran into some difficulty tryiing to describe lines and planes. To describe lines and planes properly we will need to introduce the concept of vectors. You may be familiar with vectors from physics, but how do we describe vectors mathematically? How are 3-dimensional Cartesian coordinates defined? Legend says that René Descartes was lying in bed one day, watching a fly buzz around in the corner. He realized that he could uniquely specify the position of the fly by recording its distance from the two walls and the ceiling. ceiling For geometric reasons, the fly and the point on a given surface closest to the fly determine a line perpendicular to the surface. So the fly is at one vertex of a rectangular box whose opposite vertex is the corner. If the dimensions of the box are x y z then we say the fly is at position (x, y, z). Does it matter in which order we list these three numbers? Yes and no. The original choice of ordering is completely arbitrary, but after that we have to stick with it. (Just like Ben Franklin and the negative electron.) In more modern terms, we begin with three mutually perpendicular axes meeting at a point (called the origin). Each pair of axes determines a D Cartesian plane. There are three pairs of axes and we will say that they determine three coordinate planes (think of a ceiling and two walls). Given any point P in space we consider the rectangular box whose opposite vertex is at the origin. If the dimensions of the box are x y z then we say that P = (x, y, z). (Unlike Descartes, we allow the dimensions of the box to be negative.)

This picture shows a point in the first octant of R 3, i.e., in which all three coordinates are positive. To display all the different possibilities of zero, positive, and negative coordinates we would need 3 3 = 7 different looking pictures! What is the distance between points (x 1, y 1, z 1 ) and (x, y, z ) in Cartesian space R 3? Why? (This is a bit harder than you might think.) When we computed the distance between points (x 1, y 1 ) and (x, y ) in R we drew a triangle between them and used the Pythagorean Theorem. We ll do the same thing here, except we will need two triangles. The points (x 1, y 1, z 1 ) and (x, y, z ) lie at opposite vertices of a rectangular box with faces parallel to the coordinate planes. We can connect the points with two perpendicular right triangles like so:

The lengths a, b, c are the dimensions of the box, so we have a = x x 1 b = y y 1 c = z z 1. I used absolute values so that the same formulas will work for all possible configurations of two points, not just the one in the picture. The length d is the distance we want to compute and the length e is just some number that we don t care about. Applying the PT to the first triangle gives a + b = e and then applying the PT to the second triangle gives Finally, putting the equations together gives e + c = d. d = e + c = a + b + c. We conclude that the distance d between the points (x 1, y 1, z 1 ) and (x, y, z ) is satisfies d = (x x 1 ) + (y y 1 ) + (z z 1 ). Since we are squaring each quantity the absolute value signs become irrelevant. Once again, algebra is smarter than geometry. Discussion: Do the three coordinate planes in Cartesian space need to be perpendicular? They do if we want this nice formula to be true. We might call the above formula the 3D Pythagorean Theorem. Here s something to think about: What is the distance between the points (x 1, x, x 3, x 4 ) and (y 1, y, y 3, y 4 ) in 4-dimensional Cartesian space R 4? There are at least two possible answers: (1) There is no such thing as 4-dimensional space so we can define it however we want. We choose to say that the distance D satisfies D = (y 1 x 1 ) + (y x ) + (y 3 x 3 ) + (y 4 x 4 ) because this formula has nice properties. () There is such a thing as 4-dimensional space but we can t visualize it so we have to argue indirectly by projecting into lower dimensional space. Our two points are the opposite corners of a rectangular hyperbox. If we squash this hyperbox down onto a D plane it will look something like this: Then we can connect the points with three perpendicular right triangles like so:

The angles don t look right, but that s just because we squashed everything into two dimensions. (Hey, the angles didn t look right in the 3D picture either and you didn t complain then!) Now we can apply the PT separately to the three right triangles to get a + b = e e + c = f Finally, putting these equations together gives This is the same formula as before. f + d = D. D = f + d = e + c + d = a + b + c + d. What is the equation of the sphere with radius r centered at (a, b, c)? This one is easy now that we have the tools. Note that the point (x, y, z) is on the sphere if and only if it has distance r from the point (a, b, c) (this is just the definition of a sphere), and by the above formula this happens if and only if (x a) + (y b) + (z c) = r. What is the equation of a plane in R 3? What is the equation of a line in R 3. (This is quite a bit harder than you might think.) Yes this is quite a bit harder. We don t have the tools necessary to answer this question right now so I ll just tell you that the equation of a general plane in R 3 is ax + by + cz + d = 0, and we ll leave the proof until later. Asking for the equation of a line was a trick question because there is no equation of a line in R 3! What I mean by this is that a line in R 3 can not be determined by a single equation; we need at least two. And there is no best way to choose these two equations. So what is the best way to describe a line in R 3? The best way to describe both lines and planes in R 3 is by using vectors. What is a vector?

In physics they say that a vector is a quantity that has both magnitude and direction. But what to they mean by quantity, magnitude, and direction? In mathematics we need a more precise definition. For us, a vector is an ordered pair of points in R n. (Yes, we have now jumped to n- dimensional space. Why not?) Given points x = (x 1, x,..., x n ) and y = (y 1, y,..., y n ) in R n we will think of the ordered pair [x, y] as an arrow with tail at x and head at y. Yes, this is happening in n-dimensional space but a vector is a 1-dimensional thing so I can still draw it perfectly well. Find an algebraic formula for the length of the vector [x, y]. We will use the notation [x, y] for the length of the vector [x, y]. This is the same thing as the distance between the points x and y in R n so the above discussion suggests that we have the formula [x, y] = (y 1 x 1 ) + (y x ) + + (y n x n ). We can either take this as a definition, or we can generalize the argument that we used to compute distance in R 4. We regard this boxed formula as the n-dimensional version of the Pythagorean Theorem. How does this mathematical definition compare to the physical definition? We will say that two vectors are equal if they have the same magnitude and direction. Find an algebraic formula to determine when the vectors [x, y] and [u, v] are equal. [Hint: Draw a parallelogram.] Suppose that the vectors [x, y] and [u, v] have the same length and suppose that they are parallel. Then by connecting the tails and the heads we obtain D parallelogram. This parallelogram lives in n-dimensional space, but I can still draw it: Here I have also drawn the diagonals of the parallelogram. One can show that the diagonals intersect at their common midpoint (using similar triangles, for example), but what are the coordinates of this midpoint? There are two ways to compute it. On the one hand it is the midpoint of x and v, x + v ( x1 + v 1 = and on the other hand it is the midpoint of u and y, ( u + y u1 + y 1 =, x + v,..., x ) n + v n,, u + y,..., u n + y n ).

[Discussion: Why is the this the correct way to compute midpoints? Look at the cases n = 1,, and 3. Can you convince yourself that the formula is true in general?] Since these two points are equal we conclude that x + v = (x 1 + v 1, x + v,..., x n + v n ) = (u 1 + y 1, u + y,..., u n + y n ) = u + y. We can equivalently write this as y x = (y 1 x 1, y x,..., y n x n ) = (v 1 u 1, v u,..., v n u n ) = v u. In summary, we declare that the vectors [x, y] and [u, v] are equal whenever the points y x and v u are equal: [x, y] = [u, v] y x = v u. Hey, this is starting to suggest some kind of algebra of points. Any vector can be put into standard form by moving its tail to the origin 0 = (0,..., 0) R n without chainging its length or direction. If [x, y] = [0, v], find a formula for v. Well, this is easy based on the previous problem. Since [x, y] = [0, v] we have y x = v 0 y x = v. We conclude that v = y x = (y 1 x 1, y x,..., y n x n ) and hence [x, y] = [0, y x]. [A point of confusion: Many people and books will use the symbol v to refer to the vector [0, v] with tail at the origin 0 and head at the point v. This is certainly an abuse of notation because a vector is a very different thing from a point. An abuse of notation is the same thing as a white lie.] Vectors can be added. Given the three points u, v, w R n we define the sum [u, v] + [v, w] := [u, w]. We say that vectors add head-to-tail. Draw a picture of this. Why do we use the symbol + to refer to this operation? What does it have to do with addition of numbers? The picture looks like this: Addition of vectors is a very natural operation if we think of the vector [u, v] as a function that says move from point u to point v and the vector [v, w] as a function that says move from point v to point w. By performing these two rules in sequence we get move from point u to point v and then move from point v to point w. Obviously this is the same as the rule move from point u to point w. Thus we can think of addition of vectors as composition of functions.

OK, it may be a natural operation, but what does it have to do with addition of numbers? Let s postpone this question for a moment. Come up with a formula for adding two vectors in standard position: [0, x] + [0, y] =? Use your formula to explain why [0, x] + [0, y] = [0, y] + [0, x]. To add vectors they must line up head to tail. Thus to compute [0, x] + [0, y] we must first move [0, y] so that its tail is at the point x. Then where will its head be? If [0, y] = [x, v] then we have y 0 = v x y = v x y + x = v. So if we move the vector [0, y] so its tail is at x then its head will be at the point y + x (which is the same as x + y). Finally, we can add the vectors: [0, x] + [0, y] = [0, x] + [x, x + y] = [0, x + y]. Aha! Now we see why addition is a good name for this operation. Now we also have two reasons why vector addition is commutative. The first reason is that addition of numbers is commutative: [0, x] + [0, y] = [0, x + y] = [0, y + x] = [0, y] + [0, x]. The second reason is geometric. The vectors [0, x] and [0, y] form a parallelogram with corners at the points 0, x, y, and x + y. The sum of the vectors [0, x] and [0, y] is the diagonal of the parallelogram. By decomposing the parallelogram into two triangles it now becomes obvious why [0, x] + [0, y] = [0, y] + [0, x]: The zero vector [0, 0] has a special property. What is this property? Recall that we defined a vector as an ordered pair of points, and we said that two vectors are equal if the have the same length and direction. The zero vector has length 0, but it is a bit strange because it doesn t have any direction. Using the algebraic formula for equality of vectors we find that [u, u] = [0, 0] for any point u R n because u u = 0 = 0 0, so we can think of the zero vector as any point repeated twice. [Warning: We do not think of the zero vector as a point. It is a point of multiplicity two.]

The most important property of the zero vector is how it behaves with respect to vector addition. For any vector [u, v] we have [u, v] + [0, 0] = [0, 0] + [u, v] = [u, v]. We say that [0, 0] is the identity element for vector addition. So zero vector is a good name because it plays an analogous role to the number zero in the arithmetic of numbers. We can also think of the zero vector as the function that tells you to move from point 0 to point 0, i.e., it tells you don t move. Typically the function that tells you don t do anything is called the identity function. What does it mean to subtract vectors? Draw a picture. Consider the vectors [0, x] and [0, y]. On one hand, the vector [0, y] [0, x] is just the vector V that solves the equation [0, x] + V = [0, y]. We see that V = [x, y] will do the trick. On the other hand, we can think of the vectors [0, x], [0, y], and [x, y] as the three sides of a triangle. Note that subtraction of vectors is easy to compute by putting the vectors in standard position: [0, y] [0, x] = [x, y] = [0, y x]. From this point on, we will try to save space by denoting the vector [0, u] simply as u. This does not mean that a vector is a point; it is just a shorthand notation. So when I refer to the vector u R n I am really referring to the vector [0, u]. Luckily the notation has been set up so that if we just apply it mindlessly we will get correct results.