Docsity

Vector Algebra and The Gradient - Lecture Notes | MET 4305, Study notes of Meteorology

Toggle sidebar
bg1
Vector Algebra and the Gradient
Scalar: A quantity that has magnitude only (i.e. it can be completely specified by a single num-
ber). Examples are: mass, density, temperature. The magnitude of a scalar is unit dependent (see
handout on units).
Vector: A quantity that is specified by both magnitude and direction (I’ll use the following sym-
bols in these lectures to denote a vector including: bold, vector, and caret). Examples are: Force,
velocity, and displacement. Note that direction has to be specified in relation to a given reference
frame which can be just as arbitrary as the system of units in which the magnitude is expressed.
Because of this, the components (i.e. the scalar portion of the vector) of the physical quantity
change, with respect to the ‘description’ of their direction (i.e., their coordinate system). Note
however that the physical quantity does not change (e.g., density remains density regardless of
what units we describe it). Therefore, we distinguish between the vector as an entity and its
components which allow one to reconstruct it in a particular frame of reference. In three-
dimensional space (what we are generally accustomed to working in), a reference frame consists
of 3 different directions which do NOT all lie in the same plane. These directions are referred to
as ‘base’ vectors (e.g., unit vectors i, j, k in the Cartesian system are orthogonal [perpendicular]
base vectors). Also, the base vectors do not necessarily have to be the same (i.e., have the same
orientation) at all points in space. (Although for the Cartesian system they are always oriented the
same directions, this is NOT true for the spherical system - see Fig. 1 below).
In this course we will consider the following coordinate systems:
1) Cartesian
2) Spherical
3) Natural
However - we will most often work with Cartesian and Natural and only consider the spherical
system in the context of the scalar components (i.e. we won’t have to worry about the somewhat
complex forms of various operators [e.g., gradient, Laplacian, etc.]).
i
ˆj
ˆ
k
ˆ
k
ˆ
i
ˆj
ˆ
j
ˆ
k
ˆ
i
ˆ
φ
θ
x
yy
x
r
ˆ
r
ˆ
θ
ˆ
θ
ˆ
φ
ˆ
φ
ˆ
Fig. 1
zz
pf3
pf4

Partial preview of the text

Download Vector Algebra and The Gradient - Lecture Notes | MET 4305 and more Study notes Meteorology in PDF only on Docsity!

Vector Algebra and the Gradient

Scalar : A quantity that has magnitude only (i.e. it can be completely specified by a single num- ber). Examples are: mass, density, temperature. The magnitude of a scalar is unit dependent (see handout on units).

Vector: A quantity that is specified by both magnitude and direction (I’ll use the following sym- bols in these lectures to denote a vector including: bold, vector, and caret). Examples are: Force, velocity, and displacement. Note that direction has to be specified in relation to a given reference frame which can be just as arbitrary as the system of units in which the magnitude is expressed. Because of this, the components (i.e. the scalar portion of the vector) of the physical quantity change, with respect to the ‘description’ of their direction (i.e., their coordinate system). Note however that the physical quantity does not change (e.g., density remains density regardless of what units we describe it). Therefore, we distinguish between the vector as an entity and its components which allow one to reconstruct it in a particular frame of reference. In three- dimensional space (what we are generally accustomed to working in), a reference frame consists of 3 different directions which do NOT all lie in the same plane. These directions are referred to as ‘base’ vectors (e.g., unit vectors i, j, k in the Cartesian system are orthogonal [perpendicular] base vectors). Also, the base vectors do not necessarily have to be the same (i.e., have the same orientation) at all points in space. (Although for the Cartesian system they are always oriented the same directions, this is NOT true for the spherical system - see Fig. 1 below).

In this course we will consider the following coordinate systems:

  1. Cartesian
  2. Spherical
  3. Natural

However - we will most often work with Cartesian and Natural and only consider the spherical system in the context of the scalar components (i.e. we won’t have to worry about the somewhat complex forms of various operators [e.g., gradient, Laplacian, etc.]).

ˆ i j ˆ

k ˆ

k ˆ

ˆ i j ˆ

ˆ j k ˆ ˆ i

φ

θ

x

y (^) y

x

r ˆ

r ˆ θˆ

θˆ

φˆ

φˆ

Fig. 1 z z

Vector Addition, Subtraction (Cartesian system)

Given the following two vectors

We have:

The Gradient.

The three ‘directional derivatives’ along the unit vectors (i, j, k) can be seen as three components of a vector (i.e. the ‘gradient’ is a special case of the directional derivative because it has specific directional derivatives). We call this vector the gradient of the scalar field f, which we denote grad(f). We have,

We introduce a symbol, , called del (pronounced dell like the computer giant). We will use this

symbol a lot - so get used to it! When applied to a scalar field f, the gradient of f, , yields a

vector field. Note that it is important to point out that the del operator has some characteristics of a vector, but it is NOT the same as a vector, this is why it is referred to as a ‘differential operator’,

is a scalar (divergence of A ) while is a scalar differential operator (the del operator

does NOT commute!).

What is the connection between this vector field and the scalar field f?

The direction of.

Let’s define a unit vector, t, as

Students: For what value of t (^) i are t 1 = t 2 = t 3?

Recall that, by definition, the unit vector has length 1, i.e.,. Consider a vector of length ∆s in the direction t defined as the difference between two position vectors ( r 1 , r 2 ) i.e.

A = A (^) x ˆ i^ + A (^) y j ˆ^ + A (^) z k ˆ , and B = B (^) x ˆ i^ + B (^) y j ˆ^ + B (^) z k ˆ ,

A + B i ˆ^ ( A (^) x + B (^) x ) j ˆ^ ( A (^) y + B (^) y ) k ˆ^ ( A (^) z + B (^) z ) A – B = i ˆ^ ( A (^) x – B (^) x ) + j ˆ^ ( A (^) y – B (^) y ) + k ˆ^ ( A (^) z – B (^) z )

grad f ( ) ∇ f ˆ i^1 ∂ f ∂ x 1

-------- (^) i ˆ^2 ∂ f ∂ x 2

-------- (^) i ˆ^3 ∂ f ∂ x 3

∇ f

∇ ⋅ A A ⋅∇

∇ f

t ˆ^ = i ˆ^1 t 1 + ˆ i^2 t 2 +ˆ i^3 t 3 *

t ˆ^ = 1

Students: Why is this? [The derivative of x with respect to s is not a partial derivative because changes in x 1 , x2, and x 3 depend only on s!]

The above equation describes a unit vector (at a given pt in the field) pointing in the direction t.

The vector product of and t form what is known as the ‘directional derivative’, i.e.

Note here the partial differentiation! Here f is dependent on x 1 , x2, and x 3!

If the angle between the gradient and the unit vector is given by α, we have

Although t can point in any direction, when cosα=1 (i.e. α=0o, and t are pointing in the same

direction) we arrive at the largest directional derivative/steepest ascent at a given point,

The vector is thus pointing in the direction of the maximum directional derivative, and this

maximum is. Much has been written concerning the methods associated with finding the

maximum (or minimum) of a field. All I will say here is that one must first know the direction of steepest ascent (or descent) to get there! (see variational calculus texts for more).

∇ f

∇ f ⋅ t ˆ ∂ f ∂ x 1

dx 1 ds

-------- ∂ f ∂ x 2

dx 2 ds

-------- ∂ f ∂ x 3

dx 3 ds

= + +^ -------- SCALAR!

∇ f ⋅ ˆ t = ∇ f cosα

∇ f

∇ f ⋅ t ˆ= ∇ f

∇ f

∇ f