Solution to Homework 1

Similar documents
Solution to Proof Questions from September 1st

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

Linear Algebra. Alvin Lin. August December 2017

MATH 221: SOLUTIONS TO SELECTED HOMEWORK PROBLEMS

EGR2013 Tutorial 8. Linear Algebra. Powers of a Matrix and Matrix Polynomial

Linear Algebra: Homework 3

Exercise Solutions for Introduction to 3D Game Programming with DirectX 10

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

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

Brief Review of Exam Topics

The Cross Product of Two Vectors

Applied Linear Algebra in Geoscience Using MATLAB

F F. proj cos( ) v. v proj v

Quiz 2 Practice Problems

MTH 2310, FALL Introduction

Mathematics 2203, Test 1 - Solutions

2) If a=<2,-1> and b=<3,2>, what is a b and what is the angle between the vectors?

What you will learn today

Projection Theorem 1

Covariance and Dot Product

MTH 2032 SemesterII

which are not all zero. The proof in the case where some vector other than combination of the other vectors in S is similar.

The Transpose of a Vector

3 Scalar Product. 3.0 The Dot Product. ~v ~w := v 1 w 1 + v 2 w v n w n.

Math 241, Exam 1 Information.

Inner Product Spaces 5.2 Inner product spaces

12.5 Equations of Lines and Planes

The Cross Product. In this section, we will learn about: Cross products of vectors and their applications.

45. The Parallelogram Law states that. product of a and b is the vector a b a 2 b 3 a 3 b 2, a 3 b 1 a 1 b 3, a 1 b 2 a 2 b 1. a c. a 1. b 1.

Math 1600B Lecture 4, Section 2, 13 Jan 2014

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note 21

Dot product. The dot product is an inner product on a coordinate vector space (Definition 1, Theorem

4.3 - Linear Combinations and Independence of Vectors

Section 6.2, 6.3 Orthogonal Sets, Orthogonal Projections

Skill: determine an approximate value of a radical expression using a variety of methods.

Extra Problems for Math 2050 Linear Algebra I

58. The Triangle Inequality for vectors is. dot product.] 59. The Parallelogram Law states that

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

which has a check digit of 9. This is consistent with the first nine digits of the ISBN, since

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

Section 13.4 The Cross Product

10.2,3,4. Vectors in 3D, Dot products and Cross Products

HOMEWORK PROBLEMS FROM STRANG S LINEAR ALGEBRA AND ITS APPLICATIONS (4TH EDITION)

94 CHAPTER 3. VECTORS AND THE GEOMETRY OF SPACE

Vectors. 1 Basic Definitions. Liming Pang

Big Ideas: determine an approximate value of a radical expression using a variety of methods. REVIEW Radicals

Definitions and Properties of R N

INNER PRODUCT SPACE. Definition 1

Inner products. Theorem (basic properties): Given vectors u, v, w in an inner product space V, and a scalar k, the following properties hold:

Vectors. The standard geometric definition of vector is as something which has direction and magnitude but not position.

Vector Geometry. Chapter 5

Order of Operations. Real numbers

A summary of factoring methods

Linear Algebra Massoud Malek

Algebra 1 (cp) Midterm Review Name: Date: Period:

Practical Linear Algebra: A Geometry Toolbox

NAME: Mathematics 133, Fall 2013, Examination 3

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

12.1 Three Dimensional Coordinate Systems (Review) Equation of a sphere

Calculus III (MAC )

MATH CSE20 Homework 5 Due Monday November 4

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.

Math 11 Fall 2018 Practice Final Exam

LINEAR ALGEBRA W W L CHEN

10.1 Vectors. c Kun Wang. Math 150, Fall 2017

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

MATH 19520/51 Class 2

Math Linear Algebra

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

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

Review of Coordinate Systems

Math 302 Test 1 Review

right angle an angle whose measure is exactly 90ᴼ

The Dot Product

Name These exercises cover topics from Algebra I and Algebra II. Complete each question the best you can.

Math 276, Spring 2007 Additional Notes on Vectors

Day 2 and 3 Graphing Linear Inequalities in Two Variables.notebook. Formative Quiz. 1) Sketch the graph of the following linear equation.

Chapter 1. Preliminaries

OHSx XM521 Multivariable Differential Calculus: Homework Solutions 13.1

(, ) : R n R n R. 1. It is bilinear, meaning it s linear in each argument: that is

web: HOMEWORK 1

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

Lecture Note on Linear Algebra 17. Standard Inner Product

MAT 419 Lecture Notes Transcribed by Eowyn Cenek 6/1/2012

Linear Equations. Find the domain and the range of the following set. {(4,5), (7,8), (-1,3), (3,3), (2,-3)}

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

4.1 Distance and Length

1 Review of the dot product

Vectors, dot product, and cross product

Solutions to assignment 5. x y = x z + z y x z + z y < = 5. x y x z = x (y z) x y z x y + ( z) x ( y + z ) < 2 (3 + 4) = 14,

Maths A Level Summer Assignment & Transition Work

M17 MAT25-21 HOMEWORK 6

v = ( 2)

Class IX Chapter 5 Introduction to Euclid's Geometry Maths

a. Define a function called an inner product on pairs of points x = (x 1, x 2,..., x n ) and y = (y 1, y 2,..., y n ) in R n by

Notes on multivariable calculus

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

HOMEWORK 1: SOLUTIONS - MATH 215 INSTRUCTOR: George Voutsadakis

Rigid Geometric Transformations

SOLUTIONS TO ADDITIONAL EXERCISES FOR II.1 AND II.2

Transcription:

Solution to Homework 1 Olena Bormashenko September, 0 Section 1.1:, 5b)d), 7b)f), 8a)b), ; Section 1.:, 5, 7, 9, 10, b)c), 1, 15b), 3 Section 1.1. In each of the following cases, find a point that is two-thirds of the distance from the first initial) point to the second terminal) point. a), 7, ), 10, 10, ) Solution: Given two points P and Q, the vector that represents the movement from P to Q is P Q. We are looking for a point A which is two thirds of the distance from P to Q this is equivalent to saying that we start at P, and go two-thirds of the way to Q. Going all the way to Q corresponds to P Q this means that going to A corresponds to going 3 P Q). In this particular case, we see that the vector corresponding to the motion from the first point to the second point is 10, 10, ), 7, ) = [1, 17, 9]. This means that the vector corresponding to going two-thirds of the way is [1, 17, 9] = [8/3, 3/3, 6] 3 Therefore, to get from P to A we need to move according to the above vector. Thus, A P = [8/3, 3/3, 6], and so A = P + [8/3, 3/3, 6] =, 7, ) + [8/3, 3/3, 6] = 16/3, 13/3, 8) b), 1, 0, 7),, 1, 9, ). Solution: Doing the same kind of calculation as in part a), we see that our point is precisely:, 1, 0, 7) +, 1, 9, ), 1, 0, 7)) 3 1

which simplifies to 0/3, 1, 6, 1). 5. In each of the following cases, find a unit vector in the same direction as the given vector. Is the resulting normalized)vector longer or shorter than the original? Why? b) [, 1, 0, ] Solution: In order to find a unit vector in the same direction as a given vector, just divide by the length of the vector. This makes intuitive sense: if you had a vector of length, then to get a unit vector a vector of length 1) in the same direction, you would divide by.) Furhermore, it s clear that our unit vector is longer than the original vector if and only if the vector we started with had length less than 1. Let u be our unit vector. Then, [, 1, 0, ] u = [, 1, 0, ] = [, 1, 0, ] + 1 + 0 + ) [ 1 =,, 0, ] 1 1 1 Since the length of the original vector 1, the resulting unit vector is shorter than the original vector. d) [ 1 5, 5, 1 5, 1 5, ] 5 Solution: In the same way as before, [ 1 5, 5, 1 5, 1 5, 5] u = ) 5 + 1 5) + 1 5) + 1 5) + 5 [ 1 5, 5, 1 5, 1 5, [ 5] 1 5, 5, 1 5, 1 5, 5] = = 5 = [ 1,, 1, 1, Since the length of the original vector is is longer than the original vector. 5 5 ] ), the normalized vector 7. If x = [,, 5], y = [ 1, 0, 3], and z = [, 1, ], find the following b) y Solution: By definition, y = [ 1, 0, 3] = [, 0, 6]

f) x + 3 y z Solution: By definition, x + 3 y z = [,, 5] + 3[ 1, 0, 3] [, 1, ] = [, 8, 10] + [ 3, 0, 9] [16,, 8] = [ 3, 1, ] 8. Given x and y as follows, calculate x + y, x y, and y x and sketch x, y, x + y, x y in the same coordinate system. a) x = [ 1, 5], y = [, ] Solution: x + y = [ 1, 5] + [, ] = [1, 1] x y = [ 1, 5] [, ] = [ 3, 9] y x = [, ] [ 1, 5] = [3, 9] b) x = [10, ], y = [ 7, 3] Solution: x + y = [10, ] + [ 7, 3] = [3, 5] x y = [10, ] [ 7, 3] = [17, 1] y x = [ 7, 3] [10, ] = [ 17, 1]. a) Prove that the length of each vector in R n is nonnegative. Assumptions: x is a vector in R n. Need to show: x 0. Let x = [x 1, x,..., x n ]. Then, x = x 1 + x + + x n. Since squares are nonnegative, x 1 + x + + x n 0 Since the square root of a nonnegative number is defined to be nonnegative, we see that x = x 1 + x + + x n 0, so we re done. b) Prove that the only vector in R n of length 0 is the zero vector. 3

Section 1. Assumptions: x = 0 Need to show: x = 0 Let x = [x 1, x,..., x n ]. Then, we have that 0 = x = x 1 + + x n 0 = x 1 + + x n Since each of the x i is non-negative, and their sum is 0, the only way this is possible is that each is 0. Thus, x i is 0 for each i, and hence x = 0.. Show that the points A 1 9, 19, 16), A, 1, 13), and A 3 1, 3, 10) are the vertices of a right triangle. Hint: Construct vectors between the points and check for an orthogonal pair.) Solution: The vectors that represent the sides of the triangle are A 1 A, A A 3, and A 1 A 3. We had to choose between A 1 A and A A 1, etc., but this is not important.) Accordingly, they are: A 1 A = 9, 19, 16), 1, 13) = [, 7, 3] A A 3 =, 1, 13) 1, 3, 10) = [ 3,, 3] A 3 A 1 = 1, 3, 10) 9, 19, 16) = [5,, 6] Checking, the various pairs, we see that A 1 A ) A A 3 ) = [, 7, 3] [ 3,, 3] = 6 A A 3 ) A 3 A 1 ) = [ 3,, 3] [5,, 6] = 77 A 3 A 1 ) A 1 A ) = [5,, 6] [, 7, 3] = 0 Thus, the last equation shows that A 3 A 1 ) is perpendicular to A 1 A ), and therefore the triangle has a right angle at A 1. 5. Why isn t it true that if x, y, z R n, then x y z) = x y) z? Solution: Since y z is a scalar, the dot product x y z) is simply not defined it s impossible to calculate the dot product of a vector and a scalar. Therefore, neither left-hand side nor right-hand side are defined, so the statement is not true. 7. Does the Cancellation Law of algebra always hold for the dot product:that is, assuming that z 0, does x z = y z always imply that x = y?

Solution: This does not hold. The simplest example one can come up with is an example where z is perpendicular to both y and x in that case, both the dot products are 0. For example, let x = [0, 1, 1], y = [0, 1, 0] and let z = [1, 0, 0]. In that case, but x y. x z = 0 = y z 9. Prove that if x + y) x y) = 0 then x = y. Assumptions: x + y) x y) = 0 Need to show: x = y As usual, we use the assumption to show the desired result. Here, expanding things out, 0 = x + y) x y) = x x y x + x y y y = x x y y = x y using the fact that x y = y x and the identity for length in terms of the dot product. Rearranging, this yields x = y. Since the lengths are both nonnegative, we can take the square roots of both sides to conclude that x = y, as required. 10. Prove that 1 x + y + x y ) = x + y. Assumptions: No real assumptions. Need to show: 1 x + y + x y ) = x + y Here, there are no assumptions, so we just need to check that the lefthand side and the right-hand side are equal in general. Since we have squares of lengths, we rewrite everything in terms of dot products. We start from the left-hand side and manipulate it: 1 x + y + x y ) = 1 x + y) x + y) + x y) x y)) = 1 x x + x y + y y + x x x y + y y) as required. = 1 x x + y y) = x + y 5

. b) Prove that if x, y, z are mutually orthogonal vectors in R n, then x + y + z = x + y + z Assumptions: x, y and z are mutually orhogonal: that is, x y = 0, x z = 0, and y z = 0 Need to show: x + y + z = x + y + z Again, rewriting everything in terms of dot products: x + y + z = x + y + z) x + y + z) = x x + y y + z z + x y + y z + x z = x x + y y + z z = x + y + z using the assumption, and the identity for the length of a vector. c) Prove that x y = 1 x + y x y ). Assumptions: None. Need to show: x y = 1 x + y x y ). Using dot products once again, and starting from the right-hand side: 1 x + y x y ) = 1 x + y) x + y) x y) x y)) as required. = 1 x x + x y + y y x x x y + y y)) = 1 x y) = x y 1. Given x, y, z in R n, with x orthogonal to both y and z, prove that x is orthogonal to c 1 y + c z where c 1, c R. Assumptions: x orthogonal to both y and z: that is, x y = 0 and x z = 0. Need to show: x c 1 y + c z) = 0 The trickiest part here is writing everything down in terms of dot products! As soon as that s done, it s very easy. Using vector identities. and so we re done. x c 1 y + c z) = x c 1 y) + x c z) = c 1 x y + c x z = 0 6

15. Calculate proj a b in each case, and verify that b proj a b is orthogonal to a. b) a = [ 5, 3, 0], b = [3, 7, 1]. Solution: By definition, ) proj a b a b = a a Therefore, here we have proj [ 5, 3, 0] [3, 7, 1] a b = [ 5, 3, 0] 36 = 5) + 3 + 0 = 36 [ 5, 3, 0] = 3 ) [ 5, 3, 0] ) [ 5, 3, 0] [ ] 90 17, 5 17, 0 Now, verifying that b proj a b is orthogonal to a: ) [ ]) a b proj a 90 b = [ 5, 3, 0] [3, 7, 1] 17, 5 17, 0 [ = [ 5, 3, 0] 39 ] 17, 65 17, 1 3. True or False: = 195 17 195 17 = 0 Since the dot product is 0, they are indeed orthogonal. a) For any vectors x and y, and any scalar d, x d y) = d x) y. TRUE: This follows from Identity ) in Theorem 1.5. b) For all x, y in R n with x 0, x y/ x y. TRUE: This follows from Cauchy-Schwarz. c) For all x, y in R n, x y x y. FALSE: In fact, the opposite of this is true, which can be shown using Triangle Inequality: x y x y. Let s provide a counterexample: let x = [1, 0] and y = [0, 1]. In that case, x y = [1, 1] =, x = 1, y = 1 7

and it s not true that 1 1 = 0. d) If θ is the angle between x and y in R n, and θ > π, then x y > 0. FALSE: From Theorem 1.8, x y > 0 if and only if the angle θ is acute. e) The standard unit vectors in R n are mutually orthogonal. TRUE: The standard unit vectors are e 1 = [1, 0,..., 0], e = [0, 1, 0,... ], etc., and it s easy to check that any pair of these has dot product 0. f) If proj a b = b, then a is perpendicular to b. FALSE: It can be checked that a is perpendicular to b if and only if proj a b = 0. Furthermore, proj a b = b if and only if a and b are parallel. We will not prove these statements here, but we will provide a counterexample to the assertion. Take a = b = [1, 0]. In that case, it can be checked that proj a b = b, but a and b are certainly not orthogonal. 8