Part I, Number Systems CS131 Mathematics for Computer Scientists II Note 3 VECTORS

Similar documents
Vectors in Physics. Topics to review:

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

MAT 1339-S14 Class 8

Prepared by: M. S. KumarSwamy, TGT(Maths) Page

Omm Al-Qura University Dr. Abdulsalam Ai LECTURE OUTLINE CHAPTER 3. Vectors in Physics

Lecture 2: Vector-Vector Operations

Review of Coordinate Systems

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

Linear Algebra V = T = ( 4 3 ).

Vectors and Matrices Lecture 2

Vectors and the Geometry of Space

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

Unit 8. ANALYTIC GEOMETRY.

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

3 Vectors. 18 October 2018 PHY101 Physics I Dr.Cem Özdoğan

Chapter 2 One-Dimensional Kinematics

Lecture 3- Vectors Chapter 3

The Cross Product of Two Vectors

Lecture 3- Vectors Chapter 3

Vector Algebra August 2013

Ch. 7.3, 7.4: Vectors and Complex Numbers

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

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

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

Chapter 8 Vectors and Scalars

Mechanics: Scalars and Vectors

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

Vectors in R n. P. Danziger

Notes: Vectors and Scalars

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

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

8.0 Definition and the concept of a vector:

Section 13.4 The Cross Product

Vectors are used to represent quantities such as force and velocity which have both. and. The magnitude of a vector corresponds to its.

Chapter 6 Additional Topics in Trigonometry, Part II

AP Physics C Mechanics Vectors

Chapter 2 - Vector Algebra

Section 10.7 The Cross Product

Brief Review of Vector Algebra

GEOMETRY OF MATRICES x 1

Last week we presented the following expression for the angles between two vectors u and v in R n ( ) θ = cos 1 u v

Overview of vector calculus. Coordinate systems in space. Distance formula. (Sec. 12.1)

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

Vectors. 1 Basic Definitions. Liming Pang

Engineering Mechanics Statics

Quantities that involve BOTH a magnitude and a direction are called vectors. Quantities that involve magnitude, but no direction are called scalars.

Sec. 1.1: Basics of Vectors

A SCALAR is ANY quantity in physics that has MAGNITUDE, but NOT a direction associated with it. Magnitude A numerical value with units.

ENGR-1100 Introduction to Engineering Analysis. Lecture 3

Detailed objectives are given in each of the sections listed below. 1. Cartesian Space Coordinates. 2. Displacements, Forces, Velocities and Vectors

SECTION 6.3: VECTORS IN THE PLANE

The Cross Product. MATH 311, Calculus III. J. Robert Buchanan. Fall Department of Mathematics. J. Robert Buchanan The Cross Product

9.4 Polar Coordinates

Lesson 7. Chapter 3: Two-Dimensional Kinematics COLLEGE PHYSICS VECTORS. Video Narrated by Jason Harlow, Physics Department, University of Toronto

Chapter 7.4: Vectors

LINEAR ALGEBRA - CHAPTER 1: VECTORS

Vectors. Examples of vectors include: displacement, velocity, acceleration, and force. Examples of scalars include: distance, speed, time, and volume.

VECTORS vectors & scalars vector direction magnitude scalar only magnitude

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

Pre-Calculus Vectors

Regent College. Maths Department. Core Mathematics 4. Vectors

REVIEW - Vectors. Vectors. Vector Algebra. Multiplication by a scalar

Linear algebra II Homework #1 due Thursday, Feb A =

Chapter 6. Additional Topics in Trigonometry. 6.6 Vectors. Copyright 2014, 2010, 2007 Pearson Education, Inc.

Culminating Review for Vectors

MATH 19520/51 Class 2

Geometry review, part I

CSC 470 Introduction to Computer Graphics. Mathematical Foundations Part 2

A displacement (or metric) is associated with some property of nature, and may be represented as a vector. Five metric vectors are;

Electromagnetic Field Theory

Vectors Primer. M.C. Simani. July 7, 2007

UNIT I: MECHANICS Chapter 5: Projectile Motion

9.1 VECTORS. A Geometric View of Vectors LEARNING OBJECTIVES. = a, b

Math 241, Exam 1 Information.

Phy 211: General Physics I. Chapter 3: Vectors Lecture Notes

11.4 Dot Product Contemporary Calculus 1

What you will learn today

Introduction. Law of Sines. Introduction. Introduction. Example 2. Example 1 11/18/2014. Precalculus 6.1

I&C 6N. Computational Linear Algebra

Chapter 3 Kinematics in Two Dimensions; Vectors

UNIT-05 VECTORS. 3. Utilize the characteristics of two or more vectors that are concurrent, or collinear, or coplanar.

New concepts: scalars, vectors, unit vectors, vector components, vector equations, scalar product. reading assignment read chap 3

Chapter 2 Mechanical Equilibrium

Section 8.1 Vector and Parametric Equations of a Line in

Math 222, Exam I, September 17, 2002 Answers

VISUAL PHYSICS ONLINE THE LANGUAGE OF PHYSICS SCALAR AND VECTORS

Worksheet 1.1: Introduction to Vectors

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

Linear Algebra: Homework 3

(arrows denote positive direction)

Course Notes Math 275 Boise State University. Shari Ultman

Vector Arithmetic and Geometry

4.3 Equations in 3-space

Vectors and Matrices

Chapter 1E - Complex Numbers

Parametric Equations, Vectors, and Vector Valued Functions. Different parametric equations can yield the same curve:

MA Spring 2013 Lecture Topics

Section 5.8. (i) ( 3 + i)(14 2i) = ( 3)(14 2i) + i(14 2i) = {( 3)14 ( 3)(2i)} + i(14) i(2i) = ( i) + (14i + 2) = i.

OLLSCOIL NA heireann MA NUAD THE NATIONAL UNIVERSITY OF IRELAND MAYNOOTH MATHEMATICAL PHYSICS EE112. Engineering Mathematics II

Transcription:

CS131 Part I, Number Systems CS131 Mathematics for Computer Scientists II Note 3 VECTRS Vectors in two and three dimensional space are defined to be members of the sets R 2 and R 3 defined by: R 2 = {(x, y) x, y R} R 3 = {(x, y, z) x, y, z R} Members of R 2 can be thought of as points in a plane while members of R 3 can be thought of as points in three dimensional space. Addition and scalar multiplication of vectors are defined in the following way: (1) If a = (a 1, a 2 ) R 2, b = (b 1, b 2 ) R 2 and λ R then a + b and λ a are defined by:- a + b = (a 1 + b 1, a 2 + b 2 ) and λ a = (λ a 1, λ a 2 ) (2) If a = (a 1, a 2, a 3 ) R 3, b = (b 1, b 2, b 3 ) R 3 and λ R then a + b = (a 1 + b 1, a 2 + b 2, a 3 + b 3 ) and λ a = (λ a 1, λ a 2, λ a 3 ) We also define a to be ( 1)a and a b to be a + ( b) Vectors in R 2 have the following geometric interpretation. If p = (p 1, p 2 ) R 2, we identify p with the directed line segment P starting at the origin and ending at the point P and write P = p The vector p is called the position vector of the point P. Two directed line segments are regarded as equivalent if they have the same length and point in the same direction. If points A and B have position vectors a and b respectively then AB = b a P(p 1, p 2 ) B(b 1, b 2 ) A(a 1, a 2 ) 3 1 Here we have AB = P if and only if P is the point with coordinates (b 1 a 1, b 2 a 2 ) i.e. AB = P = b a

Geometrically the sum a + b has the following interpretation: if a is the position vector of the point A and b is the position vector of B then c = a+b is the position vector of the point C for which ACB is a parallelogram. A a b B b C a a + b Move one directed line segment to a parallel position where its tail coincides with the head of the other. Join up the other tail and head to form the directed line segment representing the sum. Multiplying by a constant changes the length of a directed line segment. A positive multiplier maintains direction while a negative multiplier reverses it. a 2a a b 3 2 a a a b a b b Length and Distance If a = (a 1, a 2 ) R 2 then we define the length a of a by a = a1 2 + a2 2 Similarly if a = (a 1, a 2, a 3 ) R 3, then we define the length of a a = a1 2 + a2 2 + a2 3 A vector is called a unit vector if its length is 1. The distance between a and b is defined to be b a Problem. (2, 1). Find the unit vector in R 2 which has the same direction as Solution We have (2, 1) = 4 + 1 = 5 so 1 5 (2, 1) = 1 3 2

Hence (2/ 5, 1/ 5) is a unit vector with the same direction as (2, 1). This process is also known as normalisation Scalar product. The scalar product (or dot product) of two vectors a = (a 1, a 2 ) and b = (b 1, b 2 ) in R 2 is the number a.b defined by a.b = a 1 b 1 + a 2 b 2 B b = (b 1, b 2 ) A β a = (a 1, a 2 ) α sin α = a 2 a cos α = a 1 a sin β = b 2 b sin β = b 1 b Suppose that a and b are the position vectors of A and B. Let α and β be the angles made by A and B (respectively) with the x-axis. Then the angle θ between the two directed line segments satisfies cos θ = cos(β α) = cos β cos α + sin β sin α = a 1b 1 + a 2 b 2. a b (Reminder: cos(x + y) = cos(x) cos(y) sin(x) sin(y), sin( x) = sin(x), cos( x) = cos(x).) The scalar (dot) product of vectors a = (a 1, a 2 ), b = (b 1, b 2 ) in R 2 is a.b = a 1 b 1 + a 2 b 2 = a b cos θ where θ is the angle between a and b. Two vectors are orthogonal or perpendicular if their scalar product is 0. Problem. Find the angle between the vectors (4, 2) and (9, 3) in R 2. Solution. Let a = (4, 2) and b = (9, 3) then a.b = 4 9 + ( 2) 3 = 30, a = 4 2 + ( 2) 2 = 20, b = 9 2 + 3 2 = 90 so the angle θ satisfies 30 = 20 90 cos θ or 30 cos θ = = 1 2 900 2 and hence θ = π/4 Problem. Find the set of all vectors in R 2 which are orthogonal to (2, 1). 3 3

Solution. For any vector (x, y) we have (x, y).(2, 1) = 0 2x + y = 0 y = 2x so the set of all vectors orthogonal to (2, 1) is {(x, 2x) x R}. Geometrically these are the position vectors of points which lie on the straight line y = 2x which is perpendicular to the line joining (0, 0) and (2, 1). As well as vectors in two and three dimensional space we can define an n-dimensional space R n where n is any fixed positive integer. A vector in this space is a list of n real numbers. Thus: R n = {(x 1, x 2,..., x n ) x 1, x 2,..., x n R}. If a = (a 1, a 2,..., a n ) R n b = (b 1, b 2,..., b n ) R n and λ R we define a + b = (a 1 + b 1, a 2 + b 2,..., a n + b n ) λ a = (λ a 1, λ a 2,..., λ a n ) a = a 2 1 + a2 2 + + a2 n a.b = a 1 b 1 + a 2 b 2 + + a n b n The distance between a, b R n is defined to be b a. We say that a R n is a unit vector if a = 1 and that a, b R n are orthogonal if a.b = 0 The zero vector in R n is the vector 0 = (0, 0,..., 0) whose components are all 0 This generalisation to n dimensions is useful in problems involving a number of simultaneous equations which can be written as a single vector equation. It also allows us to deal with common properties of two and three dimensional space at the same time. When n = 1 then vectors in R 1 just have a single component and we can identify R 1 with the real line R. In R 3 as well as R 2 we have a.b = a b cos θ where θ is the angle between a and b. Problem. If a = (2, 1, 3, 1) and b = ( 1, 2, 1, 2) find (i) the length of 2a + b, (ii) the distance between a and b. 3 4

Solution. We have 2a + b = (4, 2, 6, 2) + ( 1, 2, 1, 2) = (3, 0, 7, 4) so 2a + b = 3 2 + 0 2 + 7 2 + 4 2 = 9 + 49 + 16 = 74 The distance between a and b is b a = ( 1, 2, 1, 2) (2, 1, 3, 1) = ( 3, 3, 2, 1) = 9 + 9 + 4 + 1 = 23 ABSTRACT Content Vectors, definition, addition and subtraction, length, distance, scalar product, n dimensional vectors. In this Note we study vectors, entities which have the important properties of magnitude and direction expressed as a single mathematical variable. These are useful for dealing with physical quantities such as velocity, acceleration, force and displacement each of which consists of a magnitude and a direction. Mathematics has borrowed the term vector for use in many other abstract senses not necessarily connected with any physical properties. These other senses include representation of points in space and the solution of a system of linear equations. History The founder of vector analysis was liver Heaviside (1850-1925) and he introduced the idea of using functions of a vector in one of his works on electromagnetism in 1885. In 1901 Heaviside predicted the existence of a reflecting ionised region surrounding the earth. The existence of the layer was later confirmed and is now called the ionosphere. 3 5