x 1. x n i + x 2 j (x 1, x 2, x 3 ) = x 1 j + x 3

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

1.1 Single Variable Calculus versus Multivariable Calculus Rectangular Coordinate Systems... 4

Course Notes Math 275 Boise State University. Shari Ultman

SOME PROBLEMS YOU SHOULD BE ABLE TO DO

(1) Recap of Differential Calculus and Integral Calculus (2) Preview of Calculus in three dimensional space (3) Tools for Calculus 3

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

Name: ID: Math 233 Exam 1. Page 1

Higher Mathematics Course Notes

Vectors, dot product, and cross product

Exam 1 Review SOLUTIONS

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 π.

Implicit Functions, Curves and Surfaces

Calculus Vector Principia Mathematica. Lynne Ryan Associate Professor Mathematics Blue Ridge Community College

(arrows denote positive direction)

Review for the First Midterm Exam

Vector Geometry. Chapter 5

4.1 Distance and Length

MTAEA Vectors in Euclidean Spaces

Sec. 1.1: Basics of Vectors

COMP 175 COMPUTER GRAPHICS. Lecture 04: Transform 1. COMP 175: Computer Graphics February 9, Erik Anderson 04 Transform 1

Math 20C Homework 2 Partial Solutions

Dr. Allen Back. Sep. 10, 2014

LB 220 Homework 4 Solutions

16.2 Line Integrals. Lukas Geyer. M273, Fall Montana State University. Lukas Geyer (MSU) 16.2 Line Integrals M273, Fall / 21

Calculus I Review Solutions

11.4 Dot Product Contemporary Calculus 1

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

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

1.2 LECTURE 2. Scalar Product

Math 207 Honors Calculus III Final Exam Solutions

Solutions for the Practice Final - Math 23B, 2016

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

Directional Derivative and the Gradient Operator

MATH The Chain Rule Fall 2016 A vector function of a vector variable is a function F: R n R m. In practice, if x 1, x n is the input,

SUPPLEMENT I. Example. Graph the vector 4, 3. Definition. Given two points A(x 1, y 1 ) and B(x 2, y 2 ), the vector represented by # AB is # AB =,

MATH 200 WEEK 5 - WEDNESDAY DIRECTIONAL DERIVATIVE

FINAL EXAM STUDY GUIDE

Derivatives and Integrals

MATH 2730: Multivariable Calculus. Fall 2018 C. Caruvana

Maple Output Maple Plot 2D Math 2D Output

MTH 234 Exam 1 February 20th, Without fully opening the exam, check that you have pages 1 through 11.

What you will learn today

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

Course Outline. 2. Vectors in V 3.

g(t) = f(x 1 (t),..., x n (t)).

MATH 423/ Note that the algebraic operations on the right hand side are vector subtraction and scalar multiplication.

x + ye z2 + ze y2, y + xe z2 + ze x2, z and where T is the

Contents. 2 Partial Derivatives. 2.1 Limits and Continuity. Calculus III (part 2): Partial Derivatives (by Evan Dummit, 2017, v. 2.

REVIEW OF DIFFERENTIAL CALCULUS

Span and Linear Independence

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

Material for review. By Lei. May, 2011

VECTORS AND THE GEOMETRY OF SPACE

12.1. Cartesian Space

Solutions to old Exam 3 problems

Linear Algebra Massoud Malek

Euclidean Spaces. Euclidean Spaces. Chapter 10 -S&B

Section 14.1 Vector Functions and Space Curves

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

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

Functions of Several Variables

NOTES ON LINEAR ALGEBRA CLASS HANDOUT

Green s Theorem. Fundamental Theorem for Conservative Vector Fields

Section 1.8/1.9. Linear Transformations

Multivariable Calculus Notes. Faraad Armwood. Fall: Chapter 1: Vectors, Dot Product, Cross Product, Planes, Cylindrical & Spherical Coordinates

Real Analysis III. (MAT312β) Department of Mathematics University of Ruhuna. A.W.L. Pubudu Thilan

Note: Every graph is a level set (why?). But not every level set is a graph. Graphs must pass the vertical line test. (Level sets may or may not.

MAT 211 Final Exam. Spring Jennings. Show your work!

Math 234 Exam 3 Review Sheet

Week 4: Differentiation for Functions of Several Variables

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

VANDERBILT UNIVERSITY. MATH 2300 MULTIVARIABLE CALCULUS Practice Test 1 Solutions

1 4 (1 cos(4θ))dθ = θ 4 sin(4θ)

a b = a a a and that has been used here. ( )

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

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

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?

APPM 2350, Summer 2018: Exam 1 June 15, 2018

MATH 124. Midterm 2 Topics

DATE: MATH ANALYSIS 2 CHAPTER 12: VECTORS & DETERMINANTS

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

11.1 Three-Dimensional Coordinate System

Partial Fractions. June 27, In this section, we will learn to integrate another class of functions: the rational functions.

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

Exercises for Multivariable Differential Calculus XM521

Vectors Mike Bailey Oregon State University Oregon State University Computer Graphics

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

SOLUTIONS TO SECOND PRACTICE EXAM Math 21a, Spring 2003

Lecture 13 - Wednesday April 29th

Course Summary Math 211

THE NATIONAL UNIVERSITY OF IRELAND, CORK COLÁISTE NA hollscoile, CORCAIGH UNIVERSITY COLLEGE, CORK. Summer Examination 2009.

Introduction to Vectors

Vector Calculus, Maths II

12.5 Equations of Lines and Planes

(x + 3)(x 1) lim(x + 3) = 4. lim. (x 2)( x ) = (x 2)(x + 2) x + 2 x = 4. dt (t2 + 1) = 1 2 (t2 + 1) 1 t. f(x) = lim 3x = 6,

Vectors Part 1: Two Dimensions

MATH 151 Engineering Mathematics I

1 Vectors and 3-Dimensional Geometry

Summary of various integrals

Calculus for the Life Sciences II Assignment 6 solutions. f(x, y) = 3π 3 cos 2x + 2 sin 3y

Transcription:

Version: 4/1/06. Note: These notes are mostly from my 5B course, with the addition of the part on components and projections. Look them over to make sure that we are on the same page as regards inner-products, cross products, directions, components and projections. These come up immediately this term again, in the guise of the component v n of v in the normal direction and the component v T of v in the tangential direction. Even if most of these notes have been around a while, I just found three typos. Let me know other ones that you find, and I will update, clarify and expand. 1. Dot and Cross Product, Lines, Planes and Gradients We will write vectors in the form x = (x 1,..., x n ), as well as other ways. We will not worry about the difference between this horizontal x and its vertical brother col(x 1,..., x n ) = As explained in class, the main difference between these two ways to write a list of n numbers lies in algebra. Eg, if A is an n n matrix, A( horizonal x) is not strictly defined, the two matrices have the wrong sizes to multiply them, but we just understand Ax to be A applied to the vertical version, and then maybe convert back to horizontal mode, depending on the context. Note that x = (x 1,..., x n ) = x 1 (1, 0,..., 0) + + x n (0, 0,..., 1). The x i are the coordinates of x in the standard basis of IR n. If n = 2 or n = 3, we put i = (1, 0), j = (0, 1) if n = 2 and Then The length of x is x 1. x n. i = (1, 0, 0), j = (0, 1, 0), k = (0, 0, 1) if n = 3. (x 1, x 2 ) = x 1 i + x 2 j (x 1, x 2, x 3 ) = x 1 i + x 2 j + x 3 k. x = x 2 1 + + x 2 n. The distance from x = (x 1,..., x n ) to y = (y 1,..., y n ) is x y. Note that, for any scalar c, cx = (cx 1,..., cx n ) = c 2 x 2 1 + + c 2 x 2 n = c x. If n = 3, the law of cosines applied to the triangle with vertices 0 = (0, 0, 0), x, y states (draw a pic) (1.1) y x 2 = x 2 + y 2 2 cos(θ) x y 1

2 where θ is the angle between x and y. Now (1.2) x y 2 = (y 1 x 1 ) 2 + (y 2 x 2 ) 2 + (y 3 x 3 ) 2 Comparing (1.1) and (1.2) we have = x 2 1 + x 2 2 + x 2 3 + y 2 1 + y 2 2 + y 2 3 2(x 1 y 1 + x 2 y 2 + x 3 y 3 ) = x 2 + y 2 2(x 1 y 1 + x 2 y 2 + x 3 y 3 ). (1.3) x 1 y 1 + x 2 y 2 + x 3 y 3 = cos(θ) x y. The left hand side is written x y and called the inner-product or scalar product of x and y. Thus (1.4) x y = x y cos(θ) or, if x y 0, cos(θ) = x y x y. Example: Compute the cosine of the angle between (1,2,3) and ( 6, π, e). Soln: cos(θ) = (1, 2, 3) ( 6, π, e) (1, 2, 3) ( 6, π, e) = 6 + 2π + 3e 1 + 4 + 9 36 + π2 + e. 2 The inner-product makes sense in n dimensions: (1.5) x y = (x 1,..., x n ) (y 1,..., y n ) = x 1 y 1 + + x n y n, as do the relations (1.4), except that we have little intuition about angles in, say, 27 dimensional space. However, we take the point of view now that (1.4) defines the cosine of the angle between x and y. In order to define cos(θ) by (1.4), we need to know that x y / x y can t be bigger than 1. Cauchy-Schwarz inequality: (1.6) x y x y. Why is this true? Note that (1.2) says (a) below, (1.7) (a) x y 2 = x 2 + y 2 2(x y) (b) x + y 2 = x 2 + y 2 + 2(x y), while (b) is the same thing with y replaced by y. For any t 0 x + ty 2 = x 2 + 2t (x y) + t 2 y 2. Minimize with respect to t : setting the t derivative equal to 0 we find t min = x y y 2, (y = 0 is a trivial case of (1.6)), plug in t min, find 0 x + t min y 2 = x 2 2 x y ( ) 2 x y (x y) + y 2 = x 2 y 2 y 2 (x y)2 y 2,

whence (1.6). Note that the inequality is strict, that is unless x + t min y 2 = 0, which amounts to (x y) 2 < x 2 y 2, (1.8) x = x y y 2 y. Properties of x y. x y = y x (ax + by) z = a(x z) + b (y x) (or x x y, y x y are linear). x 2 = x x. We say x and y are orthogonal (equivalently, perpendicular, equivalently x y) if (1.9) x y = 0. Cross product: given two vectors in IR 3, say x = (x 1, x 2, x 3 ), y = (y 1, y 2, y 3 ), we define i j k x y = det x 1 x 2 x 3 = (x 2 y 3 x 3 y 2 ) i + (x 3 y 1 x 1 y 3 ) j + (x 1 y 2 x 2 y 1 ) k (1.10) y 1 y 2 y 3 = (x 2 y 3 x 3 y 2, x 3 y 1 x 1 y 3, x 1 y 2 x 2 y 1 ). Note that if z = (z 1, z 2, z 3 ) = z 1 i + z 2 j + z 3 k, then z (x y) = det in particular, x (x y) = 0, y (x y) = 0. Also, (1.11) x y 2 = x 2 y 2 (x y) 2 z 1 z 2 z 3 x 1 x 2 x 3 y 1 y 2 y 3 ; = x 2 y 2 (1 cos 2 (θ)) = x 2 y 2 sin 2 (θ). So x y x, x y y and x y = x y sin(θ). Other Properties of x y. x y = y x (the cross product is antisymmetric) x (ay + bz) = ax y + bx z (x x y is linear) (ax + by) z = ax z + by z (y x y is linear) x (y z) = (x z)y (x y)z where a, b IR and x, y, z IR 3. 3

4 1.1. Components and Projections. Suppose A, B are given vectors in IR n and B 0. We attempt to write (1.12) A = αb + C where C is perpendicular to B. That is, in a picture, if we put the tails of A and αb at the same point, say the origin, and form the triangle with the three vertices: the origin, the head of A and the head of αb, the result is a right triangle. Draw the picture and understand this. C is the vector joining from the head of αb to the head of A. Can this be done? If (1.12) holds and C B, the taking the inner-product of both sides with B yields A B = αb B + C B = α B 2, or (1.13) α = A B B 2 From the way we found α, it is the only number for which C = A αb is perpendicular to B; let us check: (A A B B 2 B) B = A B A B B 2 B B = A B A B B 2 B 2 = 0. The component of A in the direction of B is the number α B = A B B. For this number we have ( A A B B ) ˆB B. where ˆB = B B is the unit vector parallel to B, aka the direction of B. For us, direction means unit vector and any nonzero vector B has a direction, ˆB, as above. The vector αb is the projection of A along B (or along the direction of B). 1.2. Planes and Lines in 3d. In this section, in contrast with the above, we use x, y, z as the three coordinates in space. That is, x, y, z are numbers, not vectors. Take careful note. Where do we meet the dot product? A plane in IR 3 is the set of solutions (x, y, z) of one linear equation (1.14) Ax + By + Cz = D

where A, B, C, D are given real numbers with at least one of A, B, C not being 0. Let P be the plane (1.14) and (x 0, y 0, z 0 ) P, then and (1.14) can be rewritten Ax 0 + By 0 + Cz 0 = D (1.15) (A, B, C) (x x 0, y y 0, z z 0 ) = A(x x 0 ) + B(y y 0 ) + C(z z 0 ) = 0. This says that (x, y, z) P iff N (x x 0, y y 0, z z 0 ) where N = (A, B, C). The vector N is called a normal to the plane (draw a pic). Another idea of a plane in IR 3 is that it contains a point, call it (x 0, y 0, z 0 ) and two directions, along which one can move and stay in the plane. That is, for two independent vectors v 1, v 2, the points of the plane are of the form (1.16) (x, y, z) = (x 0, y 0, z 0 ) + sv 1 + tv 2 for some s, t IR. This is called a parametric representation of the plane. This is the same thing as asking that (1.15) hold where N = (A, B, C) is a nonzero vector satisfying N v 1, N v 2. Indeed, (1.16) implies N ((x, y, z) (x 0, y 0, z 0 )) = N (sv 1 + tv 2 ) = sn v 1 + tn v 2 = 0. We know that we may take N = v 1 v 2. Parametric equation of a line: through (x 0, y 0, z 0 ) parallel to v = a i + b j + c k : (1.17) (x, y, z) = (x 0, y 0, z 0 ) + tv or x = x 0 + ta, y = y 0 + tb, z = z 0 + tc. Problems: Find the equation of a plane containing three points, a point and two directions, two points and parallel to a line, one point and parallel to a plane. You will need your notes from class here, I don t have time to type up the examples. 1.3. Gradients and Directional Derivatives. Here is another place we meet the dot product. Let f(x, y, z) be a function of (x, y, z). If x = g(t), y = h(t), z = k(t), the chain rule tells us (1.18) d f = f dx x + f dy y + f ( dz f z = x, f y, f ) ( dx z, dy, dz ) ( dx = f, dy, dz ) where ( f f = x, f y, f ) z is called the gradient of f. This is nothing new, it is basically the Jacobian matrix of f, we are just thinking of it as a vector now. If (x(t), y(t), z(t)) is moving on a line at constant speed, that is, for some vector v = (v 1, v 2, v 3 ) and (x 0, y 0, z 0 ), we have (1.19) (x(t), y(t), z(t)) = (x 0, y 0, z 0 ) + tv = (x 0 + tv 1, y 0 + tv 2, z 0 + tv 3 ), 5

6 we have (1.20) d f = f(x 0, y 0, z 0 ) v. t=0 This is the derivative of f along v. If v is a unit vector, that is v = 1, we call this the directional derivative of f in the direction v. In general, for us, the direction of a vector v (in any number of dimensions) is the vector of unit length parallel to v. That is, direction of v = 1 v v = v v. Note that v v = 1 v = 1; v or course, only nonzero vectors have a direction. In what direction is f increasing most rapidly? Answer: the direction of f! Indeed, the directional derivative of f in a direction v is f v = f v cos(θ) = f cos(θ) which is biggest ( f ) if cos(θ) = 1 and smallest ( f ) when cos(θ) = 1. If v is any nonzero vector, the derivative of f along v, f v, can also be written ( ) v (1.21) f v = f v = (derivative of f in the direction of v) length of v. v Example: A space ship is traveling in, of all things, space. At time t = 0 it is at (1, 3, 5). The temperature in this region of space, which is in the vicinity of the sun, is given by T = x 2 y sin(x)+yz. In which direction should the ship head to cause the temperature to increase most rapidly? How about the direction of most rapid decrease? Ans: temperature increases most rapidly in the direction of f = (2x y cos(x), sin(x)+z, y). At (1,-3,5), this is 1 (2 3 cos(1), 5 sin(1), 3). (2 3 cos(1))2 + (5 sin(1)) 2 + 9 The direction of most rapid decrease is 1 (2 3 cos(1), 5 sin(1), 3). (2 3 cos(1))2 + (5 sin(1)) 2 + 9 If c(t) = (x(t), y(t), z(t)) = (g(t), h(t), k(t)) is a curve in space, think of it as giving the position of a particle at time t, then the velocity of the particle at time t is ( dx (1.22) c (t) =, dy, dz ) = (g (t), h (t), k (t)).

7 The speed is (dx ) 2 c (t) = + ( ) 2 dy + The tangent line to the curve at t = t 1 is given by ( ) 2 dz = g (t) 2 + h (t) 2 + k (t) 2. l(t) = c(t 1 ) + (t t 1 )c (t 1 ) = (g(t 1 ), h(t 1 ), k(t 1 )) + (t t 1 )(g (t 1 ), h (t 1 ), k (t 1 )). The tangent line gives the position of a particle which is at the same place as c(t) at t = t 1 and has constant velocity c (t 1 ). The vector c (t 1 ) is said to be tangent to c(t) at t = t 1. The direction of c (t 1 ) is also tangent, and it is the unit tangent vector c (t 1 )/ c (t 1 ). This is the direction of the motion - or particle - at t = t 1. Note that velocity = c (t 1 ) = c (t 1 ) c (t 1 ) c (t 1 ) = speed direction Example: A space ship has the position c(t) = (t 2, 2t, cos(t)). A superbug riding on the space ship releases from the ship at time t = 5. Far from any massive bodies and having no engines, the bug travels in a straight line at constant velocity. Where is it at time t = 7? Ans: c(5) + (7 5)c (5). Example: The temperature field is given by T (x, y, z) = xy 2 + z. A creature is at the location (1,2,-3) moving with speed 7 in the direction of (5, 11, 7). At what rate is its temperature changing? Ans: If c(t) is the position of the creature, with time chosen so that c(0) = (1, 2, 3), the information we are given is that Thus, for the creature, c 1 (0) = speed direction = 7 (5, 11, 7). 25 + 121 + 49 d T t=0 = T (1,2, 3) c (0) = (y 2, 2xy, 1) (1,2, 3) c (0) 1 = 7 (4, 4, 1) (5, 11, 7) 25 + 121 + 49 1 = 7 (20 + 44 + 7) 35.6 25 + 121 + 49 1.3.1. Level Sets and Tangent Planes. Suppose the curve c(t) lies in the level set L = {(x, y, z) : f((x, y, z)) = K} of f. Then f(c(t)) = K is constant and d f(c(t)) = ( f(c(t))) c (t) = 0. Let (x 0, y 0, z 0 ) L and consider all curves in L passing through (x 0, y 0, z 0 ) at time 0. It is natural to define the tangent plane to L at (x 0, y 0, z 0 ) by requiring the set of all velocity

8 vectors c (0) of such curves to be parallel to this plane. We conclude that f(x 0, y 0, z 0 ) is orthogonal to all vectors along this plane, which is then given by (1.23) f(x 0, y 0, z 0 ) (x x 0, y y 0, z z 0 ) = 0. Example: Find the equation of the tangent plane to the surface x 3 yz = 1 at (1, 0, 11). Ans: (1.24) (3x 2, z, y) (1,0,11) (x 1, y 0, z 11) = 0 or 3x 11y = 3. We note that the graph of a function z = f(x, y) is the level set F = 0 of the function (1.25) F (x, y, z) = z f(x, y). Therefore, by the above, the tangent plane to a point (x 0, y 0, z 0 ) on the graph (so z 0 = f(x 0, y 0 )) is given by g(x 0, y 0, z 0 ) (x x 0, y y 0, z f(x 0, y 0 )) = ( f ) x, f y, 1 (x x 0, y y 0, z f(x 0, y 0 )) = 0 (x 0,y 0 ) or z = f(x 0, y 0 ) + f x (x 0, y 0 )(x x 0 ) + f y (x 0, y 0 )(y y 0 ), which amounts to the familiar linear approximation of f.