Elasticity/Vectors: Difference between revisions

From testwiki
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 03:27, 3 March 2022

Vectors in Mechanics

Vector notation is ubiquitous in the modern literature on solid mechanics, fluid mechanics, biomechanics, nonlinear finite elements and a host of other subjects in mechanics. A student has to be familiar with the notation in order to be able to read the literature. In this section we introduce the notation that is used, common operations in vector algebra, and some ideas from vector calculus.

Vectors

A vector is an object that has certain properties. What are these properties? We usually say that these properties are:

  • a vector has a magnitude (or length)
  • a vector has a direction.

To make the definition of the vector object more precise we may also say that vectors are objects that satisfy the properties of a vector space.

The standard notation for a vector is lower case bold type (for example 𝐚).

In Figure 1(a) you can see a vector 𝐚 in red. This vector can be represented in component form with respect to the basis (𝐞1,𝐞2) as

𝐚=a1𝐞1+a2𝐞2

where 𝐞1 and 𝐞2 are orthonormal unit vectors. Recall that unit vectors are vectors of length 1. These vectors are also called basis vectors.

You could also represent the same vector 𝐚 in terms of another set of basis vectors (𝐠1,𝐠2) as shown in Figure 1(b). In that case, the components of the vector are (b1,b2) and we can write

𝐚=b1𝐠1+b2𝐠2.

Note that the basis vectors 𝐠1 and 𝐠2 do not necessarily have to be unit vectors. All we need is that they be linearly independent, that is, it should not be possible for us to represent one solely in terms of the others.

In three dimensions, using an orthonormal basis, we can write the vector 𝐚 as

𝐚=a1𝐞1+a2𝐞2+a3𝐞3

where 𝐞3 is perpendicular to both 𝐞1 and 𝐞2. This is the usual basis in which we express arbitrary vectors.

File:VectorBasis.png
Figure 1: A vector and its basis.

Vector algebra

Some vector operations are shown in Figure 2.

File:VectorOperations.png
Figure 2: Vector operations.

Addition and subtraction

If 𝐚 and 𝐛 are vectors, then the sum 𝐜=𝐚+𝐛 is also a vector (see Figure 2(a)).

The two vectors can also be subtracted from one another to give another vector 𝐝=𝐚𝐛.

Multiplication by a scalar

Multiplication of a vector 𝐛 by a scalar λ has the effect of stretching or shrinking the vector (see Figure 2(b)).

You can form a unit vector 𝐛^ that is parallel to 𝐛 by dividing by the length of the vector |𝐛|. Thus,

𝐛^=𝐛|𝐛|.

Scalar product of two vectors

The scalar product or inner product or dot product of two vectors is defined as

𝐚𝐛=|𝐚||𝐛|cos(θ)

where θ is the angle between the two vectors (see Figure 2(b)).

If 𝐚 and 𝐛 are perpendicular to each other, θ=π/2 and cos(θ)=0. Therefore, 𝐚𝐛=0.

The dot product therefore has the geometric interpretation as the length of the projection of 𝐚 onto the unit vector 𝐛^ when the two vectors are placed so that they start from the same point.

The scalar product leads to a scalar quantity and can also be written in component form (with respect to a given basis) as

𝐚𝐛=a1b1+a2b2+a3b3=i=1..3aibi.

If the vector is n dimensional, the dot product is written as

𝐚𝐛=i=1..naibi.

Using the Einstein summation convention, we can also write the scalar product as

𝐚𝐛=aibi.

Also notice that the following also hold for the scalar product

  1. 𝐚𝐛=𝐛𝐚 (commutative law).
  2. 𝐚(𝐛+𝐜)=𝐚𝐛+𝐚𝐜 (distributive law).

Vector product of two vectors

The vector product (or cross product) of two vectors 𝐚 and 𝐛 is another vector 𝐜 defined as

𝐜=𝐚×𝐛=|𝐚||𝐛|sin(θ)𝐜^

where θ is the angle between 𝐚 and 𝐛, and 𝐜^ is a unit vector perpendicular to the plane containing 𝐚 and 𝐛 in the right-handed sense (see Figure 3 for a geometric interpretation)

File:VectorCross.png
Figure 3: Vector product of two vectors.

In terms of the orthonormal basis (𝐞1,𝐞2,𝐞3), the cross product can be written in the form of a determinant

𝐚×𝐛=|𝐞1𝐞2𝐞3a1a2a3b1b2b3|.

In index notation, the cross product can be written as

𝐚×𝐛εijk𝐞iajbk.

where εijk is the Levi-Civita symbol (also called the permutation symbol, alternating tensor).

Identities from vector algebra

Some useful vector identities are given below.

  1. 𝐚×𝐛=𝐛×𝐚.
  2. 𝐚×(𝐛+𝐜)=𝐚×𝐛+𝐚×𝐜.
  3. 𝐚×(𝐛×𝐜)=𝐛(𝐚𝐜)𝐜(𝐚𝐛) .
  4. (𝐚×𝐛)×𝐜=𝐛(𝐚𝐜)𝐚(𝐛𝐜) .
  5. 𝐚×𝐚=𝟎.
  6. 𝐚(𝐚×𝐛)=𝐛(𝐚×𝐛)=𝟎.
  7. (𝐚×𝐛)𝐜=𝐚(𝐛×𝐜).

Vector calculus

So far we have dealt with constant vectors. It also helps if the vectors are allowed to vary in space. Then we can define derivatives and integrals and deal with vector fields. Some basic ideas of vector calculus are discussed below.

Derivative of a vector valued function

Let 𝐚(x) be a vector function that can be represented as

𝐚(x)=a1(x)𝐞1+a2(x)𝐞2+a3(x)𝐞3

where x is a scalar.

Then the derivative of 𝐚(x) with respect to x is

d𝐚(x)dx=limΔx0𝐚(x+Δx)𝐚(x)Δx=da1(x)dx𝐞1+da2(x)dx𝐞2+da3(x)dx𝐞3.

If 𝐚(x) and 𝐛(x) are two vector functions, then from the chain rule we get

d(𝐚𝐛)dx=𝐚d𝐛dx+d𝐚dx𝐛d(𝐚×𝐛)dx=𝐚×d𝐛dx+d𝐚dx×𝐛d[𝐚(𝐛×𝐜)]dx=d𝐚dx(𝐛×𝐜)+𝐚(d𝐛dx×𝐜)+𝐚(𝐛×d𝐜dx)

Scalar and vector fields

Let 𝐱 be the position vector of any point in space. Suppose that there is a scalar function (g) that assigns a value to each point in space. Then

g=g(𝐱)

represents a scalar field. An example of a scalar field is the temperature. See Figure4(a).

File:VectorField.png
Figure 4: Scalar and vector fields.

If there is a vector function (𝐚) that assigns a vector to each point in space, then

𝐚=𝐚(𝐱)

represents a vector field. An example is the displacement field. See Figure 4(b).

Gradient of a scalar field

Let φ(𝐱) be a scalar function. Assume that the partial derivatives of the function are continuous in some region of space. If the point 𝐱 has coordinates (x1,x2,x3) with respect to the basis (𝐞1,𝐞2,𝐞3), the gradient of φ is defined as

φ=φx1𝐞1+φx2𝐞2+φx3𝐞3.

In index notation,

φφ,i𝐞i.

The gradient is obviously a vector and has a direction. We can think of the gradient at a point being the vector perpendicular to the level contour at that point.

It is often useful to think of the symbol as an operator of the form

=x1𝐞1+x2𝐞2+x3𝐞3.

Divergence of a vector field

If we form a scalar product of a vector field 𝐮(𝐱) with the operator, we get a scalar quantity called the divergence of the vector field. Thus,

𝐮=u1x1+u2x2+u3x3.

In index notation,

𝐮ui,i.

If 𝐮=0, then 𝐮 is called a divergence-free field.

The physical significance of the divergence of a vector field is the rate at which some density exits a given region of space. In the absence of the creation or destruction of matter, the density within a region of space can change only by having it flow into or out of the region.

Curl of a vector field

The curl of a vector field 𝐮(𝐱) is a vector defined as

×𝐮=[𝐞1𝐞2𝐞3x1x2x3u1u2u3]

The physical significance of the curl of a vector field is the amount of rotation or angular momentum of the contents of a region of space.

Laplacian of a scalar or vector field

The Laplacian of a scalar field φ(𝐱) is a scalar defined as

2φ:=φ=2φx12+2φx22+2φx32.

The Laplacian of a vector field 𝐮(𝐱) is a vector defined as

2𝐮:=(2u1)𝐞1+(2u2)𝐞2+(2u3)𝐞3.

Green-Gauss divergence theorem

Let 𝐮(𝐱) be a continuous and differentiable vector field on a body Ω with boundary Γ. The divergence theorem states that

Ω𝐮dV=Γ𝐧𝐮dA

where 𝐧 is the outward unit normal to the surface (see Figure 5).

In index notation,

Ωui,idV=ΓniuidA
File:Divergence.png
Figure 5: Volume for application of the divergence theorem.

Identities in vector calculus

Some frequently used identities from vector calculus are listed below.

  1. (𝐚+𝐛)=𝐚+𝐛.
  2. ×(𝐚+𝐛)=×𝐚+×𝐛.
  3. (φ𝐚)=(φ)𝐚+φ(𝐚).
  4. ×(φ𝐚)=(φ)×𝐚+φ(×𝐚).
  5. (𝐚×𝐛)=𝐛(×𝐚)𝐚(×𝐛).
  6. (φ𝐚)=𝐚(φ)+φ𝐚

Template:Subpage navbar