Documentos de Académico
Documentos de Profesional
Documentos de Cultura
r&dt
for r$t%, using di((.
The magnitude of the position, velocity, and acceleration vectors can be calculated using
the definition r=.rr , v=. vv , and a=.aa , respectively. =ith Maxima&
8-9 Gilberto E. Urroz, 2009
Any of these functions can be evaluated for different values of t, e.g., using the option
)lge#ra > Ma*e list + , results in the following&
+calar functions, such as the magnitudes of the position, velocity, and acceleration vectors,
mag"r$t%, mag"v$t%, and mag"a$t%, can be plotted using function wxplotd, e.g.,
Integrals of vector functions. /unction integrate, or the option ,alculus>-ntegrate..., can
be used to calculate indefinite or definite integrals for a vector function. /or example,
given a velocity v$t% ' sin(t)i " cos(t)j " tk, the position vector can be calculated as an
indefinite integral, r (t )=
d T
ds
.
The radius of curvature is defined as
j=
1
.
The center of curvature of , at a given point is found by measuring a distance along the
direction of N. A circle of curvature can be traced for every point in a curve. The
curvature of a space curve is illustrated in /igure $.@(a).
/igure $.@. 3urvature and vector triad for a space curve.
8-16 Gilberto E. Urroz, 2009
A unit binormal vector can be calculated using vectors N and T as
B=TN .
The unit vectors T, N, and ! constitute a local system of orthogonal axes 2nown as the
vector triad at any point on the curve ,. The plane defined by vectors T and N is 2nown as
the osculating plane
:
. The plane defined by vectors ! and N is 2nown as the normal plane.
The plane defined by vectors ! and T is 2nown as the rectifying plane. /igure $.@(b)
illustrates the vector triad and the osculating, normal, and rectifying planes associated
with a point 5 in a space curve.
+ince, in most cases, it is difficult to determine the dependency of the position vector r on
the curve length s, we can write the parametric e,uations in terms of another parameter,
say, t, so that r(t) x(t)i " y(t)j " A(t)k. In this case the calculations to perform to find the
curvature parameters as well as the vector triad are as follows. /irst, the unit tangent
vector is calculated as&
T=
d r
ds
=
d r/ dt
ds/ dt
=
d r/ dt
d r/ dt
,
since ds=d r . Also, to calculate dT*ds, curvature, radius of curvature, unit normal
vector, and binomial unit vector use, respectively&
d T
ds
=
d T / dt
ds / dt
=
d T / dt
d r/ dt
,
=
d T
ds
, j=
1
, and
N=
1
d T
ds
.
/inally, B=TN .
.xample of a vector triad calculated using Maxima
3onsider the parametric e,uations that define a curve , in space, namely, x$t% ' 3 sin$t%,
y$t% ' 3 cos$t%, z$t% ' t&, where s is the distance measured along the curve from point
P
0
$0,3,0%, i.e., s' 0. Thus, the position vector corresponding to curve , is given by&
/irst, we calculate dr*dt (drdt)&
1 From the !ti" #or$ osculare %to &iss', i.e., the osc(l!ti") *l!"e is the kissing plane.
8-17 Gilberto E. Urroz, 2009
The magnitude of dr*dt is ds*dt ?dr*dt? (mag"drdt)&
The unit normal tangent vector T is calculated as
T=
d r
ds
=
d r/ dt
ds/ dt
=
d r/ dt
d r/ dt
, i.e.,
Bust as a chec2, we calculate the magnitude of T (mag"/)&
The derivative dT&ds (d/ds) is calculated using
d T
ds
=
d T / dt
ds/ dt
=
d T / dt
d r/ dt
. In the following
Maxima calculation we use variable d/dt to represent dT*dt and we use the ,uantity
mag"drdt, previously calculated, to represent dr&dt, i.e.,
8-18 Gilberto E. Urroz, 2009
The curvature of the curve ,,
=
d T
ds
, is calculated as follows&
To chec2 the sign of the curvature, compare the vectors
d T
ds
and N &
+ince
d T
ds
=N , then the correct sign for is a positive sign, i.e.,
The radius of curvature j=
1
is, therefore,
The normal vector is calculated as
N=
1
d T
ds
, i.e.,
8-19 Gilberto E. Urroz, 2009
Cy inspection we can see that the magnitude of N is :. If you have any doubts, try the
following&
The binormal vector is calculated using the cross product B=TN &
To find the vector triad at point 5
6
(6,#,6), for t ' 0, we use the following commands&
=e can chec2 that the (T,N,!) triad is orthogonal by calculating the dot products& NT, T!,
and !N, which should all be Aero&
8-20 Gilberto E. Urroz, 2009
The /renet-+erret /ormulas
These are formulas that relate the derivatives of the unit vectors with respect to the curve
length s. The first formula was already used to define curvature and the unit normal
vector, i.e.,
d T
ds
= N
4erivatives of the other two unit vectors are calculated below in terms of the curvature
and a ,uantity , 2nown as the torsion of the curve&
d N
ds
=t BT
,
d B
ds
=t N
.
/rom the last formula it follows that the magnitude of the torsion is
t=
d B
ds
.
The radius of torsion is calculated as
c=
1
t
.
The derivatives of the unit vectors, when the curve is described by parametric e,uations of
the form r(t) x(t)i " y(t)j " A(t)k, are calculated as
d T
ds
=
d T / dt
ds/ dt
=
d T / dt
d r/ dt
,
d N
ds
=
d N / dt
ds/ dt
=
d N / dt
d r / dt
,
and
d B
ds
=
d B/ dt
ds/ dt
=
d B/ dt
d r/ dt
.
3alculating derivatives d N *ds, d ! *ds, torsion and radius of torsion
In this section we continue the calculations using the position vector r(t) defined earlier.
=e start by calculating the derivatives dN*ds (d0ds) and d!*ds (dCds) using the derivatives
dN*dt (d0dt) and d!*dt (d1dt) and the magnitude ?dr*dt? (mag'drdt), calculated earlier&
8-21 Gilberto E. Urroz, 2009
To calculate the magnitude of the torsion, we use&
To determine the sign of the the torsion, we compare the vectors
d B
ds
and tN .
8otice that
d B
ds
=(tN)=tN
, thus, the correct sign for is a negative sign since
d B
ds
=t N
, i.e.,
The radius of torsion is calculated&
8-22 Gilberto E. Urroz, 2009
Vector analysis
The term vector analysis is presented here in terms of differential operations of scalar and
vector fields, i.e., functions of the form $x,y,z%, scalar, or "(x,y,z), vector. These two
examples represent steady-state fields, i.e., fields that do not depend on time. In the
most general case, fields are time dependent, and the expressions to use for scalar and
vector fields are $x,y,z,t%, scalar, or "(x,y,z,t), vector, respectively.
4efinitions. The following definitions are used for differential operations in vector analysis&
The del or na#la operator& | =
|
x
i+
|
y
j+
|
z
k
The gradient of a scalar function& apply the del or na#la operator to a scalar
function , for example&
=
x
i +
y
j +
z
k
The directional derivative represents the rate of change of function in the
direction defined by a unit vector
u=u
x
i +u
y
j+u
z
k
, i.e.,
D
u
=u=
(
x
i +
y
j +
z
k
)
(
u
x
i +u
y
j +u
z
k
)
=u
x
x
+u
y
y
+u
z
z
0ormal vector to a sur(ace& Det $x,y,z% ' 0 represent a surface in space, then the
vector
n=
at any point of the surface represents a normal vector to the
surface.
2irection o( maximum rate o( c!ange o( $x,y,z% on t!e sur(ace $x,y,z% ' 0& The
magnitude of the directional derivative is
D
u
=u
. +ince the magnitude of u
is :, then
D
u
=u=ucos(0)=cos(0)
where is the angle between
vectors u and . The maximum value of
D
u
D
u
max
=
when u and are parallel. Therefore, the maximum rate of
change of the function $x,y,z% on the surface $x,y,z% ' 0 occurs in the direction of
the gradient vector , i.e., in a direction normal to the surface.
The divergence of a vector function is defined by the EdotF product of the del or
na#la operator and the vector function&
div ()=F=
(
|
x
i +
|
y
j +
|
z
k
)
(
F
x
i +F
y
j+F
z
k
)
=
F
x
x
+
F
y
y
+
F
z
z
8-23 Gilberto E. Urroz, 2009
The curl, or rotational, of a vector function is defined by the EcrossF product of the
del or na#la operator and the vector function&
curl ()=F=
i j k
x
y
z
F
x
F
y
F
z
The 3aplacian of a scalar function is defined as the divergence of the gradient of the
scalar function, i.e.,
2
=div ( grad ())=()=
x
2
+
y
2
+
z
2
The homogeneous partial differential e,uation
2
=0 is 2nown as the 3aplace
e4uation, and functions $x,y,z% that satisfy this e,uation are 2nown as !armonic
(unctions. The corresponding non-homogeneous e,uation
2
=K ( x , y , z) is
2nown as the Poisson e4uation.
A vector field "(x,y,z) for which F=0 is said to be a solenoidal (ield. +ince
( )=0 , for any scalar function (x,y,z%, if there exists a function $x,y,z% so
that F==grad () for a solenoidal field, then $x,y,z% is 2nown as the vector
potential of ".
(sing the pac2age vect . 4ifferential operations in Maxima are available through the
pac2age vect. The pac2age defines the following operators& . (dot), 1 (cross), grad, div,
curl, laplacian. The pac2age also includes functions& declare, vectorsimp, express,
potential, vectorpotential, and scale(actors. +ome applications of these operators and
functions are presented below.
4ot and cross products & these operations were presented earlier, here we show a few
other examples. /irst, we load pac2age vect, and define a couple of vector
functions&
The dot product produces a scalar function&
8-24 Gilberto E. Urroz, 2009
The cross product, on the other hand, re,uires the use of function express
(expression) to complete the operation&
These two steps can be combined into a single operation&
9ector formulas expansions . =e can use the vect pac2age and declare a few
symbols as scalar functions and a few as non-scalar (for all practical purposes,
vector) functions and use ev and vectorsimp to produce e,uivalent expansions of
differential operations of sums, products, and divisions of functions. /or example,
let-s declare and as scalar functions, and 5 and 6 as nonscalar (vector) functions&
Then, we use Maxima to expand the formula ()=+ as follows&
+ince both and were declared as scalar functions, and attempt to expand the
operation div ()=() fails. Instead, Maxima converts the operation to a
gradient expansion with dot products&
8-25 Gilberto E. Urroz, 2009
A more appropriate combination for the application of the div operator is the
divergence of the product of a scalar and a vector function, i.e.,
(F)=F+F &
(sing Maxima this operation is expanded as&
The following commands show the gradient of the ratio of two scalar functions&
Gne example involving the laplacian of the product of two scalar functions follows&
(sing the pac2age vect"trans(orm . Doad the pac2ages, vect and vect"trans(orm to have
access to the following systems of orthogonal coordinates&
cartesian2d
cartesian3d
polar
polarcylindrical
spherical
oblatespheroidal
prolatespheroidal
oblatespheroidalsqrt
prolatespheroidalsqrt
elliptic
ellipticcylindrical
confocalelliptic
confocalellipsoidal
parabolic
paraboliccylindrical
paraboloidal
bipolar
bipolarcylindrical
toroidal
conical
To obtain the 3artesian coordinate transformations corresponding to each of these
orthogonal systems of coordinates, simply type the appropriate name in Maxima. The
following figure shows some of the most commonly used coordinate systems&
8-26 Gilberto E. Urroz, 2009
The general form of the coordinate definitions is the following&
In two dimensions (!-4)& ; ; (
.
$u
.
,u
%, (
$u
.
,u
% <, u
.
, u
<
In three dimensions (#-4)& ; ; (
.
$u
.
,u
,u
3
%, (
$u
.
,u
,u3
%, (
3
$u
.
,u
,u
3
% <, u
.
, u
, u
3
<
where u
.
,u
,u
3
are the basic coordinates in the system, and x (
.
$u
.
,u
,u
3
%, y ' (
$u
.
,u
,u3
%,
z ' (
3
$u
.
,u
,u
3
% are the transformations re,uired to convert from the (u
.
,u
,u
3
) to the
3artesian coordinate system $x,y, z%.
/or example, for polar coordinates the basic coordinates are u
.
' r, u
r
,
1
r
0
,
z
, or
=
r
e
r
+
1
r
0
e
0
+
z
e
z
.
.xpressions for vector differential operations in spherical coordinates
3hanging the coordinate system to sp!erical we can obtain vector differential
operations in spherical coordinates&
8-29 Gilberto E. Urroz, 2009
3alculating vector differential operations for specific scalar and vector fields
If the expression for scalar or vector fields are given, we can find expressions for vector
differential operations as illustrated below. /irst, we show some examples in 3artesian
coordinates by defining the scalar function
' x
7y
7z
,
and the vector function
" (x7y7z)i " (x7xy7yz)j " ((y7x)(z7y))k,
and calculating the following operations&
, F , F , and
2
.
The Maxima commands used are the following&
8-30 Gilberto E. Urroz, 2009
Doading pac2ages and calculating grad$%&
3alculating div$F%&
3alculating curl$F%&
3alculating
2
8
8-31 Gilberto E. Urroz, 2009
The following calculations show examples using cylindrical polar coordinates&
4efining and calculating grad$%&
4efining F and calculating div$F%&
8-32 Gilberto E. Urroz, 2009
3alculating curl$F%&
3alculating
2
8
#urvilinear #oordinates
In the section above we presented calculations using 3artesian, cylindrical (polar), and
spherical coordinates. 3artesian coordinates have the property of being such that the
coordinate positions (x,y,z) also represent the distances, from the origin, along the
coordinate directions. +uch is not the case for other systems of orthogonal systems. /or
example, in cylindrical (polar) coordinates, the r and z coordinates do correspond to the
distances from the origin along those coordinates, however, a distance along the
coordinate is actually calculated as r. Thus, we say that r is the scale factor for the
coordinate, i.e., the factor that converts the coordinate into a distance.
3oordinate transformations
3onsider a generic orthogonal coordinate system defined by coordinates (u
.
,u
,u
3
) such that
u
.
u
.
(x,y,z), u
u
(x,y,z), and u
3
u
3
(x,y,z) represent the transformation of coordinates
from (x,y,z) to (u
.
,u
,u
3
). /or example, in the cylindrical (polar) coordinate system with
(u
.
,u
,u
3
) (r,,z), the coordinate transformations are
u
1
=r=. x
2
+y
2
+z
2
, u
2
=0=t!"
1
( y/ x) , and
u
3
=z=z
.
8-33 Gilberto E. Urroz, 2009
If the relationships describing the coordinate transformations are uni,uely defined, it is
possible to write the inverse transformation of coordinates bac2 into 3artesian coordinates,
i.e., x ' x(u
.
,u
,u
3
), y ' y(u
.
,u
,u
3
), and z ' z(u
.
,u
,u
3
). /or example, for the conversion of
cylindrical to 3artesian coordinates these relationships are&
x=rcos(0)=u
1
cos (u
2
)
,
x=rsi"(0)=u
1
si" (u
2
)
, and
z=z=u
3
.
3oordinate transformations using Maxima
As we indicated earlier in this chapter, when you load the pac2ages vect and
vect"trans(orm you have access to the following systems of orthogonal coordinates&
cartesian2d
cartesian3d
polar
polarcylindrical
spherical
oblatespheroidal
prolatespheroidal
oblatespheroidalsqrt
prolatespheroidalsqrt
elliptic
ellipticcylindrical
confocalelliptic
confocalellipsoidal
parabolic
paraboliccylindrical
paraboloidal
bipolar
bipolarcylindrical
toroidal
conical
To obtain the 3artesian coordinate transformations corresponding to each of these
coordinate systems simply type the appropriate name in Maxima. .arlier on we obtained
the 3artesian coordinate transformation for the polar (!4), polarcylindrical (#4), and
sp!erical (#4) coordinate systems. Gther coordinate transformations are shown below.
8-34 Gilberto E. Urroz, 2009
8otice that Maxima uses coordinate names , u, and v, instead of u
.
,u
, and u
3
, for many of
the three-dimensional coordinate systems. Also, coordinate systems such as the polar,
elliptic, para#olic, and #ipolar, are two dimensional (using only coordinates u and v), while
their corresponding three-dimensional systems, i.e., polarcylindrical, ellipticcylindrical,
para#oliccylindrical, and #ipolarcylindrical, simply add the coordinate z. The
con(ocalelliptic system is two-dimensional, while the con(ocalellipsoildal is a three-
dimensional system using the coordinates u, v, and w. =herever they appear, e, (, and g,
represent constants.
8-35 Gilberto E. Urroz, 2009
Illustration of orthogonal coordinate systems
To illustrate three-dimensional orthogonal coordinate systems using Maxima we can
produce a plot showing coordinates surfaces u
.
' constant, u