Section V.3: Dot Product



Similar documents
9.4. The Scalar Product. Introduction. Prerequisites. Learning Style. Learning Outcomes

1.3. DOT PRODUCT If θ is the angle (between 0 and π) between two non-zero vectors u and v,

Vector Math Computer Graphics Scott D. Anderson

Vector Algebra II: Scalar and Vector Products

Figure 1.1 Vector A and Vector F

Unified Lecture # 4 Vectors

6. Vectors Scott Surgent (surgent@asu.edu)

Lecture L3 - Vectors, Matrices and Coordinate Transformations

Adding vectors We can do arithmetic with vectors. We ll start with vector addition and related operations. Suppose you have two vectors

Review A: Vector Analysis

Vectors Math 122 Calculus III D Joyce, Fall 2012

[1] Diagonal factorization

The Dot and Cross Products

Introduction to Matrices

Vector has a magnitude and a direction. Scalar has a magnitude

9 Multiplication of Vectors: The Scalar or Dot Product

AP Physics - Vector Algrebra Tutorial

A vector is a directed line segment used to represent a vector quantity.

Chapter 3 Vectors. m = m1 + m2 = 3 kg + 4 kg = 7 kg (3.1)

Linear Algebra Notes for Marsden and Tromba Vector Calculus

v w is orthogonal to both v and w. the three vectors v, w and v w form a right-handed set of vectors.

Units, Physical Quantities, and Vectors

Section 1.1. Introduction to R n

The Vector or Cross Product

13.4 THE CROSS PRODUCT

Geometry of Vectors. 1 Cartesian Coordinates. Carlo Tomasi

Lecture 2 Matrix Operations

5.3 The Cross Product in R 3

a.) Write the line 2x - 4y = 9 into slope intercept form b.) Find the slope of the line parallel to part a

Mechanics 1: Vectors

v 1 v 3 u v = (( 1)4 (3)2, [1(4) ( 2)2], 1(3) ( 2)( 1)) = ( 10, 8, 1) (d) u (v w) = (u w)v (u v)w (Relationship between dot and cross product)

One advantage of this algebraic approach is that we can write down

PHYSICS 151 Notes for Online Lecture #6

Math 241, Exam 1 Information.

Section 10.4 Vectors

Math 215 HW #6 Solutions

FURTHER VECTORS (MEI)

Algebra. Exponents. Absolute Value. Simplify each of the following as much as possible. 2x y x + y y. xxx 3. x x x xx x. 1. Evaluate 5 and 123

MAT 1341: REVIEW II SANGHOON BAEK

Chapter 17. Orthogonal Matrices and Symmetries of Space

Linear Algebra: Vectors

2 Session Two - Complex Numbers and Vectors

Two vectors are equal if they have the same length and direction. They do not

13 MATH FACTS a = The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

Vectors and Scalars. AP Physics B

In order to describe motion you need to describe the following properties.

Chapter 6. Work and Energy

The Force Table Introduction: Theory:

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

Vectors 2. The METRIC Project, Imperial College. Imperial College of Science Technology and Medicine, 1996.

LINEAR INEQUALITIES. less than, < 2x + 5 x 3 less than or equal to, greater than, > 3x 2 x 6 greater than or equal to,

LINES AND PLANES IN R 3

6. LECTURE 6. Objectives

11.1. Objectives. Component Form of a Vector. Component Form of a Vector. Component Form of a Vector. Vectors and the Geometry of Space

5.1 Radical Notation and Rational Exponents

A Primer on Index Notation

Chapter 7 - Roots, Radicals, and Complex Numbers

Definition: A vector is a directed line segment that has and. Each vector has an initial point and a terminal point.

Section 4.1 Rules of Exponents

LINES AND PLANES CHRIS JOHNSON

Section 9.1 Vectors in Two Dimensions

Torgerson s Classical MDS derivation: 1: Determining Coordinates from Euclidean Distances

Evaluating trigonometric functions

28 CHAPTER 1. VECTORS AND THE GEOMETRY OF SPACE. v x. u y v z u z v y u y u z. v y v z

discuss how to describe points, lines and planes in 3 space.

Equations Involving Lines and Planes Standard equations for lines in space

Physics 235 Chapter 1. Chapter 1 Matrices, Vectors, and Vector Calculus

Trigonometric Functions and Triangles

Section 1: How will you be tested? This section will give you information about the different types of examination papers that are available.

L 2 : x = s + 1, y = s, z = 4s Suppose that C has coordinates (x, y, z). Then from the vector equality AC = BD, one has

Biggar High School Mathematics Department. National 5 Learning Intentions & Success Criteria: Assessing My Progress

The Matrix Stiffness Method for 2D Trusses

2.2 Magic with complex exponentials

Inner Product Spaces

8-3 Dot Products and Vector Projections

Addition and Subtraction of Vectors

Computing Orthonormal Sets in 2D, 3D, and 4D

Introduction to Matrix Algebra

Section 1. Inequalities

Calculate Highest Common Factors(HCFs) & Least Common Multiples(LCMs) NA1

The Matrix Elements of a 3 3 Orthogonal Matrix Revisited

Difference between a vector and a scalar quantity. N or 90 o. S or 270 o

Properties of Real Numbers

TRIGONOMETRY Compound & Double angle formulae

3. KINEMATICS IN TWO DIMENSIONS; VECTORS.

Objective. Materials. TI-73 Calculator

Rotation Matrices and Homogeneous Transformations

Figure 27.6b

LINEAR ALGEBRA W W L CHEN

Vieta s Formulas and the Identity Theorem

MAC Learning Objectives. Module 10. Polar Form of Complex Numbers. There are two major topics in this module:

Definition 8.1 Two inequalities are equivalent if they have the same solution set. Add or Subtract the same value on both sides of the inequality.

Math Placement Test Practice Problems

Section 9.5: Equations of Lines and Planes

CHAPTER 5 Round-off errors

Charlesworth School Year Group Maths Targets

CONTENTS 1. Peter Kahn. Spring 2007

Factoring Polynomials and Solving Quadratic Equations

Solving Simultaneous Equations and Matrices

F B = ilbsin(f), L x B because we take current i to be a positive quantity. The force FB. L and. B as shown in the Figure below.

Transcription:

Section V.3: Dot Product Introduction So far we have looked at operations on a single vector. There are a number of ways to combine two vectors. Vector addition and subtraction will not be covered here, since Physics 191 has a unit on vector addition/subtraction. We will look at the dot product, which is also known as the inner product or scalar product. Definition The dot product of vectors A and B is written as A B. For two-dimensional vectors, the dot product is calculated by multiplying the components of A and B together as follows: A B = A x B x + A y B y and since A x, A y, B x, and B y are all just real numbers, the dot product is also a real number and is consequently a scalar. (This is why it s also called the scalar product.) A has components A x = 12, A y = 5. B has components B x = 2, B y = 6. A B = A x B x + A y B y = 12 2 + 5 ( 6) = 24 30 = 6. Calculate the dot product B A of the vectors in the preceding example. B A = B x A x + B y A y = 2 12 + ( 6) 5 = 24 30 = 6.

Page 2 Math 185 Vectors A = 3i 5j B = 2i 7j A B = A x B x + A y B y = 3 ( 2) + ( 5) ( 7) = 6 + 35 = 29. You can see from these examples that the result of the dot product, a scalar, can be positive or negative. You can also see that in the first two examples, A B = B A. Does this work for all vectors A and B? Let s look at the calculation: A x B x + A y B y. Since multiplication of real numbers is commutative (order doesn t matter), then A x B x + A y B y = B x A x + B y A y for any vectors A and B. Therefore, A B = B A for all vectors A and B. Properties of the Dot Product We ve just established that A B = B A. What are some other properties of the dot product? Well, A A = A x A x + A y A y = (A x ) 2 + (A y ) 2 = A 2, so the dot product of a vector with itself can be used to calculate the magnitude of vector A by taking the square root of the result. Also, when you take the dot product of the zero vector 0 and any vector, you get the scalar zero. To summarize: A B = B A A A = A 2 0 A = 0 Calculate the magnitude of vector V = 24i + 7j using the dot product. V 2 =V V = (V x ) 2 + (V y ) 2 = ( 24) 2 + 7 2 = 576 + 49 = 625. Therefore, the magnitude of V is just the square root of 625, which is 25. Vector V is 25 units long. Dot product using magnitudes and directions The definition we ve been using works very well when you have vectors A and B already in component form. However, if you instead have A and B in terms of magnitude and direction, an equivalent way of calculating the dot product is A B = A B cos θ,

Math 185 Vectors Page 3 where θ is the angle between vectors A and B. In science and engineering, we usually drop the absolute value bars and write A B = AB cos θ, where A and B are the magnitudes of vectors A and B, respectively, and θ is once again the angle between the two vectors. You can see once again from the fact that multiplying real numbers is commutative that the order of A and B in the dot product doesn t matter. A = 5 units at 50º B = 8 units at 110º The angle θ between these two vectors is (110º 50º) = 60º. Since cosine is an even function, it doesn t matter which angle comes first: cos 60º = cos 60º. Therefore, A B = AB cos θ = 5 8 cos 60º = 20. You can also tell from this definition that whether the dot product is positive or negative depends on the angle between the vectors. Since A B = AB cos θ, where A and B are the magnitudes of the vectors and are consequently always positive, the sign of A B will depend on the properties of cos θ. If θ is acute, cos θ will be positive. If θ is obtuse, then cos θ will be negative. Also, there are some special cases of angles: if θ = 0, cos θ = 1. If θ = 180º, then cos θ = 1. And lastly if θ = 90º (vectors are perpendicular), then the dot product will be exactly zero. This is an important point that bears repeating: for any vectors A and B, if A and B are perpendicular then the dot product A B is zero. The converse is also true: if A B is zero, then A and B are perpendicular. It is worth noting that vectors A and B do not have to have the same units. For example, when calculating the work done by a force F on an object moving through displacement d, the work may be calculated by W=F D = Fd cos θ. The units of force are newtons (N), the units of displacement are metres (m) and the units of work, a scalar, are joules (J). You may recall from your previous study of physics that if the force vector is perpendicular to the displacement vector, that the force is doing no work on the object. This agrees with our observation above that if θ = 90º, then the dot product will be zero.

Page 4 Math 185 Vectors Are A and B perpendicular? Use the dot product A B to determine your answer. A = 3i 5j B = 10i 6j A B = A x B x + A y B y = 3 ( 10) + ( 5) ( 6) = 30 + 30 = 0. Yes, these vectors are perpendicular since A B = 0. The Angle Between Two Vectors Since A B = AB cos θ, you can solve for cos θ to get the following equation. cos AB AB This allows you to calculate the angle between the vectors from the magnitudes of the vectors and the dot product. Calculate the angle between the two vectors using the dot product. A = 3i 4j B = 2i 2j A B = A x B x + A y B y = 3 ( 2) + ( 4) ( 2) = 6 + 8 = 2. A 2 = A A = (A x ) 2 + (A y ) 2 = (3) 2 + ( 4) 2 = 9 + 16 = 25, so A = 5. B 2 = B B = (B x ) 2 + (B y ) 2 = ( 2) 2 + ( 2) 2 = 4 + 4 = 8, so B = 8. Therefore, AB 2 2 cos. AB 5 8 5 8 cos 5 8 1 2 81.9º. The angle between A and B is 81.9º.

Math 185 Vectors Page 5 Since the inverse of the cosine gives answers in quadrants I and II, you don t have to do any further calculations to get the angle. If the angle you are trying to calculate is obtuse (90º < θ < 180º), then you ll find that the dot product is negative and taking the inverse cosine will automatically give you an answer in QII. The Dot Product in Three Dimensions We can generalize to three dimensions: instead of restricting ourselves to x and y, we can add a third dimension by adding a z-axis which is perpendicular to both of the x- and y- axes. This means that the z-axis would be either pointing into or out of the page that the x- and y-axes are drawn on. Our convention is that we use a right-handed system. This means that, using your right hand, if your thumb is pointing along the x-direction and your fingers are pointing along the y-direction, that your palm points in the direction of the z-axis. For our usual x-y coordinate system drawn on a sheet of paper, this means that the z-axis is pointing out of the paper towards you. Points in this 3-dimensional space must therefore have three coordinates, not two, and are written as ordered triples: (x, y, z). Similarly, vectors will now have three components, such that vector A will have components A x, A y, and A z. Writing in ijk notation, we then have k, the unit vector pointing along the z-direction, associated with A z, so vector A could then be, for example, equal to 3i 4j + 5k. Three-dimensional vectors can also be written with magnitudes and directions. However, the direction angles are more complicated than we have time for, so we will restrict ourselves to calculating the magnitude of 3D vectors. We can now state the definition of the dot product in 3D form: A B = A x B x + A y B y + A z B z A = 3i 5j + 2k B = 2i 7j + k A B = A x B x + A y B y + A z B z = 3 ( 2) 5 ( 7) + 2 1 = 6 + 35 + 2 = 31. As before, the dot product may be used to find the magnitude of a 3D vector, as in the following example.

Page 6 Math 185 Vectors Calculate the magnitude of vector V = 4i + 7j 3k using the dot product. V 2 =V V = (V x ) 2 + (V y ) 2 + (V z ) 2 = ( 4) 2 + 7 2 + ( 3) 2 = 16 + 49 + 9 = 70. Therefore, the magnitude of V is just the square root of this dot product, 70. Vector V is 70 units long. We can also the dot product to find the angle between two 3D vectors in space, as in the following example. Calculate the angle between the two vectors using the dot product. A = 3i 5j + 2k B = 2i 7j + k A B = A x B x + A y B y + A z B z = 3 ( 2) 5 ( 7) + 2 1 = 6 + 35 + 2 = 31. A 2 = A A = (A x ) 2 + (A y ) 2 + (A z ) 2 = (3) 2 + ( 5) 2 + (2) 2 = 9 + 25 + 4 = 38, so A = 38. B 2 = B B = (B x ) 2 + (B y ) 2 + (B z ) 2 = ( 2) 2 + ( 7) 2 + (1) 2 = 4 + 49 + 1 = 54, so B = 54 3 6. 1AB 1 31 Therefore, cos cos 46.8161 AB 383 6 = 46.8º. The angle between A and B is 46.8º.