Lect 7 2016 PDF
Lect 7 2016 PDF
Vector Addition
Q: Say we add two vectors 𝐴 and 𝐵 together; what is the result?
A: The addition of two vectors results in another vector,
which we will denote as 𝐶. Therefore, we can say: A B C
Vector Multiplication
• Consider a scalar quantity a and a vector quantity 𝐵. We
aB C
express the multiplication of these two values as:
In other words, the product of a scalar and a vector is a vector!
Multiplication (contd.)
Some important properties of vector multiplication:
Unit Vector
• Lets begin with vector 𝐴. Say we divide this vector by its A
aˆ A
magnitude (a scalar value). We create a new vector, which A
we will denote as 𝑎𝐴:
Q: How is vector 𝑎𝐴 related to vector 𝐴?
• But, the A
A: Since we divided 𝐴 by a scalar value, the magnitude of aˆ A 1
vector 𝑎𝐴 has the same direction as vector 𝐴. A
𝑎𝐴 is:
A.B A B cos AB
θAB 𝐵
𝐴
angle θAB is the angle formed between the
vectors 𝐴 and 𝐵. A.B A B cos AB
A B aˆn A B sin AB 0 AB
𝐴 𝐵
𝐴 ×𝐵
𝑎𝑛1
𝐴
A.B C
A. B C Vector . Vector dot product
Indraprastha Institute of
Information Technology Delhi ECE230
𝑃(𝑟)
I see! The position vector is essentially
a pointer. Look at the end of the
vector, and you will find the point
specified!
Indraprastha Institute of
Information Technology Delhi ECE230
The magnitude of 𝑟
• Note the magnitude of any and all position vectors is:
r r .r x 2 y 2 z 2 r
𝑑 = 𝑅12
𝑅12
𝑅1
𝑅2
Indraprastha Institute of
Information Technology Delhi ECE230
Example – 1
In Cartesian coordinates, Vector 𝐴 points from the origin to point 𝑃1 =
(2, 3, 3), and Vector 𝐵 is directed from 𝑃1 to point 𝑃2 = (1, −2, 2). Find:
Example – 2
• Find the distance vector between 𝑃1 = (1, 2, 3) and 𝑃2 = (−1, −2, 3)
Indraprastha Institute of
Information Technology Delhi ECE230
Example – 3
• Vectors 𝐴 and 𝐵 lie in the y-z plane and both have the same magnitude of
2. Determine (a) 𝐴. 𝐵 and (b) 𝐴 × 𝐵.
𝐴
Indraprastha Institute of
Information Technology Delhi ECE230
Example – 4
• If 𝐴. 𝐵 = 𝐴. 𝐶 then does it mean that 𝐵 = 𝐶 ? ?
Indraprastha Institute of
Information Technology Delhi ECE230
Example – 5
• Given 𝐴 = 𝑎𝑥 − 𝑎𝑦 + 2𝑎𝑧 𝐵 = 𝑎𝑦 + 𝑎𝑧 𝐶 = −2𝑎𝑥 + 3𝑎𝑧
Cartesian Coordinates
• Note the coordinate values in the
Cartesian system effectively
represent the distance from a plane Z-axis
intersecting the origin.
• For example, x =3 means that the
point is 3 units from the y-z plane 2
(i.e., the x = 0 plane). 3
• Likewise, the y coordinate provides P (2, 3, 2.5)
P (0, 0, 0)
the distance from the x-z (y=0) 2.5 Y-axis
plane, and the z coordinate provides
the distance from the x-y (z =0)
plane.
• Once all three distances are
X-axis
specified, the position of a point is
uniquely identified.
Indraprastha Institute of
Information Technology Delhi ECE230
Cylindrical Coordinates
• You’re also familiar with polar coordinates. In two dimensions, we specify
a point with two scalar values, generally called ρ and φ.
We can extend this to 3-dimensions, by adding a third
scalar value z. This method for identifying the position of a
point is referred to as cylindrical coordinates.
Y-axis Z-axis
P (ρ, φ, z)
P (ρ, φ)
ρ Y-axis
φ
X-axis
X-axis
Indraprastha Institute of
Information Technology Delhi ECE230
Cylindrical Coordinates
Note the physical significance of each
parameter of cylindrical coordinates:
1. The value ρ indicates the distance of Z
the point from the z-axis (0 ≤ ρ<∞).
2. The value φ indicates the rotation
3 P (3, 60ο, 2.5)
angle around the z-axis (0≤φ<2π),
precisely the same as the angle φ used 60ο
in spherical coordinates. 2.5
3. The value z indicates the distance of
the point from the x-y (z = 0) plane
(−∞<z<∞), precisely the same as the
coordinate z used in Cartesian P (0, φ, 0)
coordinates.
4. Once all three values are specified, the
position of a point is uniquely
identified.
Indraprastha Institute of
Information Technology Delhi ECE230
Spherical Coordinates
• Geographers specify a location
on the Earth’s surface using three
scalar values: longitude, latitude,
and altitude.
• Both longitude and latitude are
angular measures, while altitude
Z-axis
is a measure of distance.
• Latitude, longitude, and altitude
P (r, θ, φ)
are similar to spherical
coordinates.
• Spherical coordinates consist of
Y-axis
one scalar value (r), with units of
distance, while the other two
scalar values (θ, φ) have angular
units (degrees or radians).
X-axis
Indraprastha Institute of
Information Technology Delhi ECE230
Spherical Coordinates
• For spherical coordinates, r (0≤r<∞)
expresses the distance of the point
from the origin (i.e., similar to
altitude). P (3, 45 ο, 60ο)
• Angle θ (0 ≤θ ≤π) represents the angle θ = 45ο
formed with the z-axis (i.e., similar to
P (0, θ, φ) r=3
latitude).
• Angle φ (0≤φ<2π) represents the
rotation angle around the z-axis,
φ = 60ο
precisely the same as the cylindrical
coordinate φ (i.e., similar to
longitude).
Coordinate Transformations
• Say we know the location of a point, or the description of some scalar
field in terms of Cartesian coordinates (e.g., T (x, y, z)).
• What if we decide to express this point or this scalar field in terms of
cylindrical or spherical coordinates instead?
• We see that the coordinate values z, ρ, r, and θ are all variables of a right
triangle! We can use our knowledge of trigonometry to relate them to
each other.
• In fact, we can completely derive the relationship between all six
independent coordinate values by considering just two very important
right triangles!
• Hint: Memorize these 2 triangles!!!
Indraprastha Institute of
Information Technology Delhi ECE230
ρ r sin z tan r 2 z 2
z
r 2 z 2 cos ec z sec
θ r
z
tan 1 sin 1 cos 1
z r r
Indraprastha Institute of
Information Technology Delhi ECE230
Y
x cos y cot 2 y 2
ρ
y y sin x tan 2 x 2
ϕ
x X
x 2 y 2 x s ec y cos ec
y y x
tan 1 sin 1 cos 1
x
Indraprastha Institute of
Information Technology Delhi ECE230
Coordinate Transformations (contd.)
Combining the results of the two triangles allows us to write
each coordinate set in terms of each other
x y 2 2 r x2 y 2 z 2
y cos 2
1 z
tan
1
x x y z
2 2
zz
y
tan 1
x
x cos
x r sin cos
y sin
y r sin sin
zz
z r cos
Indraprastha Institute of
Information Technology Delhi ECE230
Coordinate Transformations
• Cylindrical and Spherical
r 2 z2
r sin
tan 1
z r cos z
Indraprastha Institute of
Information Technology Delhi ECE230
Example – 1
• Say we have denoted a point in space (using Cartesian Coordinates) as
𝑃 𝑥 = −3, 𝑦 = −3, 𝑧 = 2 .
• Let’s instead define this same point using cylindrical coordinates 𝜌, 𝜙, 𝑧.
3
(3) 2 (3) 2 3 2 tan 1 45 z2
3
Example – 1 (contd.)
A: The problem is in the interpretation of the inverse tangent!
Remember that 0≤ϕ<360ο, so that we must do a four quadrant inverse
tangent. Your calculator likely only does a two quadrant inverse tangent
(i.e., 90ο≤ϕ≤−90ο), so be careful!
1 3
Therefore, if we correctly find the coordinate ϕ: tan 3 225
Example – 2
Coordinate transformation on a Scalar field
x
y
Technically correct, this is one
sin sin tan 1 ugly expression. We can
x
instead turn to one of the very
important right triangles that
we discussed earlier
Indraprastha Institute of
Information Technology Delhi ECE230
Example – 2 (contd.)
Y
g ( x, y , z ) x y z x 2 y 2 yz
2 2 3/2 y
x2 y 2
Indraprastha Institute of
Information Technology Delhi ECE230
Example – 2 (contd.)
Although the scalar fields: g ( , , z) z sin and
3 g ( x, y, z ) x 2 y 2 yz
look very different, they are in fact exactly the same functions—only
expressed using different coordinate variables.
• For example, if you evaluate each of the scalar fields at the point
described earlier, you will get exactly the same result!