Professional Documents
Culture Documents
ON
BY
February, 2021
Here are the notes for the first Part of the Engineering Analysis I (CHE 305) course that is taken at
Obafemi Awolowo University, Ile-Ife Nigeria by the all Year III Engineering students. It mainly deals
with topics in Calculus and Solid Analytic Geometry.
These notes do assume that the student has a good working knowledge of Calculus topics including
limits, derivatives and integration techniques, parametric equations, vectors, and knowledge of three
dimensional space.
Here are a couple of warnings to students regarding the use of these notes:
1. The evaluation style in this course follows two parts – Continuous Assessment (CA) and Final
Examination. The contents of CA are: (i) daily attendance (2 marks), (ii) Class works (marks vary
from 5 – 10 marks), take home assignment (15-20 marks) and, Test (50 – 100 marks). The overall
rating of CA will be 20 - 35% of the overall score (it is not fixed) and Examination (100 marks)
which is scaled to 65 – 80% of total obtainable mark (it is not fixed).
2. It is desired to make this a fairly complete set of notes for anyone wanting to learn calculus and
Solid analytic geometry as an integral part of Engineering Analysis I (CHE 305) Course.
Therefore some materials have been included which are not covered in class and the notes are
updated from semester to semester.
3. In general I try to work problems in class that are different from the notes. With that being said I
will, on occasion, work problems off the top of my head when I can to provide more examples
than just those in the notes. Also, often you will find that some sections contain problems that
weren’t worked in class due to time restrictions.
4. As expected with the tradition in this part of the course, you will be required to work out some
examples in the class as class work. So you are expected to prepare ahead.
5. Sometimes a very good question gets asked in class that leads to insights that I’ve not included
here. You should always talk to someone who was in class on the day you missed and compare
these notes to their notes and see what the differences are.
6. This is somewhat related to the previous four items, but is important enough to merit its own item.
THESE NOTES ARE NOT SUBSTITUTE FOR ATTENDING CLASS!!
7. Using these notes as a substitute for class is liable to get you in trouble. As already noted not
everything in these notes is covered in class and often materials or insights not in these notes is
covered in class.
TEXTS
Types
Ellipse: 𝑏𝑦 2 + 𝑎𝑥 2 = 𝑓 2
Hyperbola 𝑎𝑥 2 − 𝑏𝑦 2 = 𝑓 2
Parabola: 𝑦 2 = 𝑎𝑥
Circle: 𝑥 2 + 𝑦2 = 𝑓2
x2 y 2
1. Ellipse: + = 1 . Ellipse is a locus defined by the parametric equations:
a 2 b2
x = a cos t (1.1)
y = b sin t (1.2)
Squaring both sides of (1.1) and (1.2) and add, we have
x2 y 2
+ =1 (1.3)
a 2 b2
Equation (1.3) thus describes an ellipse with centre at origin (0,0).
An ellipse looks like an elongated circle. It extends in the x - direction from -a to a and in the y -
direction from -b to b. It is illustrated in Fig 1.2 below
y
-a 0 a x
-b
k
-a (h,k)
-b
0 h x
x = x−h
(1.5)
y = y−k
( x − h) (y −k)
2 2
+ =1
a2 b2 (1.6)
x2 y 2
Example 1.1: Sketch ellipse + =1
4 9
Solution. Figure 1.4 illustrates the sketch.
y
-2 2 x
-3
Solution:
Completing the square, we obtain
(
x 2 − 4 x + 3 y 2 + 2 y = −1 )
( x − 2 ) + 3 ( y + 1) = 4 + 3 − 1 = 6
2 2
( x − 2 ) + ( y + 1) = 1
2 2
6 2
This is the equation of an ellipse with centre (h, k) = (2, -1) giving the standard from
2 2
x y
+ =1
6 2
Note: There are two interesting situations that may arise with ellipse equation given in Example 1.2
if the constant on the RHS takes another value.
Case 1: if the constant on the RHS of the equation in example 1.2 had been -7, we would obtain
( x − 2) + 3 ( y + 1) = 4 + 3 − 7 = 0
2 2
i.e. x 2 + 3y 2 = 0
Thus, the equation describes a single point ( x , y ) = ( 0,0) , since a = b = 0 in this case.
This single point is regarded as a Degenerate Ellipse.
( x − 2) + 3 ( y + 1) = 4 + 3 − 8 = −1 or x 2 + 3 y 2 = −1
2 2
generate or empty.
x2 y 2 y 2 x2
2. Hyperbola: − = 1 − 2 =1
a 2 b2 2
or b a
Hyperbola is a locus defined by the parametric equations
x = a cosh t (1.7)
y = b sinh t (1.8)
Squaring both sides of (1.7) and (1.8) and add, we have
b
b
-a a x
-a a x
-b
-b
b
The dashed diagonal lines y = + x are the asymptotes of the hyperbola.
a
Hyperbolic functions are usually defined by sinhx and coshx as illustrated in Fig. 1.6.
y 1
coshx coshx
sinhx tanhx
0 x
-1
coshx
Figure 1.6: Hyperbolic functions
Note that the coefficients of x2 and y2 have opposite signs. For the case where the final equation
reduces to
2 2 2 2
x y x y
2
− 2 = 0 or − + 2 = 0
a b a b
b
Asymptot, y = + x , the equation will represent 2 lines that can be considered DEGENERATE
a
HYPERBOLA.
y y
y = ax2, a > 0
x x
x = ay2, a < 0
c1 x2 + c2 x + c3 y = d (1.10)
and
c1 y 2 + c2 x + c3 y = d (1.11)
describe parabolas.
If c3 ≠ 0 in the first equation and c2 ≠ 0 in the second equation, these equations can then be reduced
to the form
x 2 = ay (1.12)
and
y 2 = ax (1.13)
If c3 in the 1st equation is zero and c2 in the 2nd equation is zero, then equation reduced to
c1 x 2 + c2 x = d (1.14)
c1 y 2 + c3 x = d (1.15)
And each describes two parabola lines that can be considered DEGENERATE PARABOLAS.
y y
c1 x 2 + c2 y 2 + c3 x + c4 y = d (1.16)
With at least one of c1 or c2 non-zero describe a (possibly degenerate or empty) Ellipse, Hyperbola or
Parabola.
Here we consider the 3-Dimensional space and the conventions that we’ll be using. We will also
take a brief look at how the different coordinate systems can change the graph of an equation. Let’s
first get some basic notation out of the way. The 3-D coordinate system is often denoted by 3 .
Likewise the 2-D space system is often denoted by and the 1-D space system is denoted by . Also,
as you might have guessed then a general n dimensional Space system is often denoted by n .
Next, let’s take a quick look at the basic coordinate system as shown in Fig. 1.11.
Collectively, the xy, xz and yz-planes are sometimes called the coordinate planes. Also, the point Q is
often referred to as the projection of P in the xy-plane. Likewise, R is the projection of P in the yz-
plane and S is the projection of P in the xz-plane. Many of the formulas that you are used to working
with in 2 have natural extensions in 3 .
For instance the distance between two points P1 (x1, y1) and P2 (x2, y2) in 2 is given by,
d ( P1 , P2 ) = ( x2 − x1 ) 2 + ( y2 − y1 ) 2 (1.17)
While the distance between any two points P1 (x1, y1, z1) and P2 (x2, y2, z2) in 3 is given by,
d ( P1 , P2 ) = ( x2 − x1 ) 2 + ( y2 − y1 ) 2 + ( z2 − z1 ) 2
(1.18)
Likewise, the general equation in 2-D for a circle with center (h, k ) and radius r is given by,
( x − h) 2 + ( y − k ) 2 = r 2 (1.19)
and the general equation for a sphere in 3-D with center (h, k, l ) and radius r is given by,
( x − h) 2 + ( y − k ) 2 + ( z − l ) 2 = r 2 (1.20)
With that said, we do need to be careful about just translating everything we know about 2 into 3
and assuming that it will work the same way. A good example of this is in graphing to some extent.
Consider the following example.
Solution
In , we have a single coordinate system and so x = 3 is a point in a 1-D coordinate system.
In 2 the equation x = 3 tells us to graph all the points that are in the form (3, y). This is a vertical line
in a 2-D coordinate system.
In 3 the equation x = 3 tells us to graph all the points that are in the form (3, y, z). If you go back
and look at the coordinate plane points this is very similar to the coordinates for the yz-plane except
this time we have x = 3 instead of x = 0. So, in a 3-D coordinate system this is a plane that will be
parallel to the yz-plane and pass through the x-axis at x = 3. The graphs are illustrated in Figs 1.12,
1.13 1nd 1.14 respectively.
(ii) Note that at this point we can now write down the equations for each of the coordinate planes
as well using this idea.
z =0 xy – plane
y=0 xz - plane
x=0 yz - plane
Let’s take a look at a slightly more general example.
Solution
Of course we had to throw out for this example since there are two variables which, means that we
can’t be in a 1-D space. In 2 this is a line with slope 2 and a y intercept of -3. However, in 3 this is
not necessarily a line. Because we have not specified a value of z we are forced to let z take any value.
This means that at any particular value of z we will get a copy of this line. So, the graph is then a
vertical plane that lies over the line given by y =2x - 3 in the xy-plane. The graphs are illustrated in
Figs. 1.15 and 1.16.
Notice that if we look to where the plane intersects the xy-plane we will get the graph of the line in
2 as noted in the above graph by the red line through the plane.
Let’s take a look at one more example of the difference between graphs in the different coordinate
systems.
Solution
As with the previous example this won’t have a 1-D graph since there are two variables. In 2 this is
a circle centered at the origin with radius 2. In 3 however, as with the previous example, this may
or may not be a circle. Since we have not specified z in any way we must assume that z can take on
any value. In other words, at any value of z this equation must be satisfied and so at any value z we
have a circle of radius 2 centered on the z-axis. This means that we have a cylinder of radius 2 centered
on the z-axis. Here are the graphs for this example.
be a circle of radius 2 centered on the z-axis at the level of z = 5. So, as long as we specify a z we will
get a circle and not a cylinder. We will see an easier way to specify circles in a later section. We could
do the same thing with the line from the second example.
The point of the examples considered in this section is to make sure that we are being careful with
graphing equations and making sure that we always remember which coordinate system that we are
in. Another quick point to make here is that, as we’ve seen in the above examples, many graphs of
equations in 3 are surfaces. That doesn’t mean that we can’t graph curves in 3 . We can and will
graph curves in 3 as well as we’ll see later in this Section.
(1, 0) (a, b)
0 x
X x
= A
Y y (1.21)
where
a c
A=
b d (1.22)
So consider rotation of the area through 𝜃 so that
P(1, 0) P *(cos , − sin )
and
P(0,1) P *(sin , cos )
Then
(1.23)
a c cos sin
A= =
b d − sin cos
Example 1.8: Given 𝜃 = 𝜋⁄4, sketch the axes rotation and compute matrix, A.
Solution: For rotation through,𝜃 = 𝜋⁄4, the axes are as shown below.
y
Y
X
1 1
cos 4 sin 4 2
2 (1.24)
A= =
− sin 4 cos 4 1 1
−
2 2
Solution: For rotation through, 𝜃 = 𝜋⁄2, the axes are as shown below.
y, X
Y x
Example 1.10: Given 𝜃 = 𝜋, sketch the axes rotation and compute matrix, A.
X x
where A, B, …, J are constants and at least one of A, B, or C is non–zero describes a quadratic surface
in space, which might be degenerate or empty.
There is no way that we can possibly list all of them, but there are some standard equations so here is
a list of some of the more common quadric surfaces.
x2 y 2 z 2
+ + =1 (1.28)
a 2 b2 c2
The intercepts of the ellipsoid are: ( a, 0, 0), (0, b, 0), (0, 0, c) . If a = b = c then we will
have a sphere.
Notice that we only gave the equation for the ellipsoid that has been centered on the origin.
Clearly ellipsoids don’t have to be centered on the origin. However, in order to make the
discussion in this section a little easier we have chosen to concentrate on surfaces that are
“centered” on the origin in one way or another.
(b) Cone: The standard equation is the same as for a hyperboloid, replacing the 1 on the right
side of the equation by a 0. Whether we have one minus sign or two, we get an equation of
the form:
x 2
y 2
z2 (1.29)
2
+ 2
= 2
a b c
The axis of the cone corresponds to the variable on the right side of the equation.
In the case of a cone the variable that sits by itself on one side of the equal sign will
determine the axis that the cone opens up along. For instance, a cone that opens up along
the x-axis will have the equation,
For most of the following surfaces we will not give the other possible formulas. We will
however acknowledge how each formula needs to be changed to get a change of orientation
for the surface.
x2 y 2 z 2 x2 z 2 y 2
Example 1.12: Sketch the cones: (i) + = (ii) + =
4 9 16 4 9 16
(i) (ii)
(i) Elliptic Cylinder: This is a cylinder whose cross section is an ellipse. The standard equation
is:
x2 y 2
+ =1
a 2 b2 (1.31)
Fig. 1.27 shows such a cylinder. Its axis is the z-axis, the axis corresponding to the variable
missing in the equation. Be careful to not confuse this with a circle. In two dimensions it is
a circle, but in three dimensions it is a cylinder. Its intersection with the xy-plane, the plane
containing the two variables present in the equation, is an ellipse.
x2 y 2
Example 1.13: Sketch the elliptic cylinder + =1
4 9 .
Solution: The sketch is shown in Fig. 1.28 below.
Figure 1.29 shows such a cylinder. Its axis is the z-axis, the axis corresponding
to the variable missing in the equation. Its intersection with the xy-plane, the
plane containing the two variables present in the equation, is a hyperbola.
y = ax 2 (1.33)
It appears to be wrapped around the axis corresponding to the missing variable. Its
intersection with the xy - plane, the plane containing the two variables present in the equation,
is a parabola. Fig. 1.31 illustrates this graph.
x2
Example 1.15: Sketch the parabolic cylinder y =
4
Solution. Fig. 1.32 illustrates this.
x2 y 2 z 2
+ − =1 (1.34)
a 2 b2 c2
Fig. 1.33 the sketch of a typical hyperboloid of one sheet. The minus sign could also be in
front of the first or second fraction. However, there can only be one minus sign. In the
Hyperboloid of one sheet equation given, the minus sign is in front of the z variable. The
variable with the negative in front of it will give the axis along which the graph is centered.
The intersections with planes parallel to the axis of the hyperboloid are hyperbolas. If, for
example we put the minus sign in front of the x variable, then the axis of the hyperboloid
will be the x - axis. This time, it is the intersection with planes parallel to the yz-plane which
will be ellipses.
To see that the intersection of the hyperboloid shown in Figure 1.38 with a plane parallel to
the xy - plane is an ellipse, we let z = k in its equation. We get
x2 y 2 k2 (1.35)
+ = 1+ 2
a 2 b2 c
which is an ellipse. To see that the intersection of the hyperboloid shown in … Figure 1.38
with a plane parallel to the yz -plane is an hyperbola, we let x = k in its equation. We get
y2 z2 x2
− = 1− 2 (1.36)
b2 c2 a
which is an hyperbola.
Example 1.16: Sketch the hyperboloid of one sheet,
x2 y2 z 2
(i) + − =1
4 9 16
− x2 y 2 z 2
(ii) + + =1
4 9 16
Solution. Fig. 1.34 illustrates this.
(i) (ii)
(i) (ii)
Figure 1.36: Sketch of hyperboloid of two sheets in Example 1.17
x2 y 2 z
+ = (1.38)
a 2 b2 c
As with cylinders this has a cross section of an ellipse and if a = b it will have a cross section
of a circle. When we deal with these we’ll generally be dealing with the kind that has a circle
for a cross section.
Here is a sketch of a typical elliptic paraboloid.
In this case the variable that isn’t squared determines the axis upon which the paraboloid
opens up. Also, the sign of c will determine the direction that the paraboloid opens. If c is
positive then it opens up and if c is negative then it opens down.
x2 y 2 z x2 y 2 z
Example 1.18: Sketch the elliptic paraboloids, + = (ii) + =−
4 9 4 4 9 4
Solution. Fig. 1.38 illustrates this
(i) (ii)
x2 y 2 z (1.39)
− =
a 2 b2 c
This graph is vaguely saddle shaped and as with the elliptic paraboloid the sign of c will
determine the direction in which the surface “opens up”. The graph above is shown for c
positive.
With the both of the types of paraboloids discussed above the surface can be easily moved
up or down by adding/subtracting a constant from the left side.
For instance,
z = − x2 − y 2 + 6 (1.40)
is an elliptic paraboloid that opens downward (be careful, the “-” is on the x and y instead of
the z) and starts at z = 6 instead of z = 0 .
By means of a rigid motion, any quadric can be transformed into a quadric having one of the following
equations (where a, b, c ≠ 0) as shown in the Table 1.1.
Classifying a quadric surface in this manner amounts to transforming its equation until it has one of
the forms described above. This often involves completing the square.
In all the above equations, it is possible to have (x - h)2 instead of x2, or (y - k)2 instead of y2 or (z -
l)2 instead of z2. You will recall from pre-calculus that this will simply translate the object, but will
not change its shape.
For example,
( x − 1) 2 ( y + 2) 2 z 2
+ + =1 (1.41)
2 3 4
It is translated from it 1 unit in the positive x-direction and 2 units in the negative
y-direction.
Classify 4 x − 9 y + z + 36 = 0
2 2 2
Example 1.20:
We only have terms in x2, y2, and z2. We won’t have to complete the square. We simply group these
terms together, and put everything else to the right of the equal sign. We obtain:
4 x 2 − 9 y 2 + z 2 = −36
x2 y 2 z 2 (1.43)
− + − =1
9 4 36
Equation (1.43) describes a hyperboloid of two sheets. Its graph is shown in the Figure below. Its
inter-section with a plane parallel to the xy - plane, that is a plane of coordinates z = k is
x2 y 2 k 2 (1.44)
− + = +1
9 4 36
2 Imaginary ellipse
x 2 a 2 + y 2 b 2 = −1
7 Elliptic paraboloid
x2 a 2 + y 2 b2 = z / c
8 Hyperbolic paraboloid
x2 a2 − y 2 b2 = z / c
11 Hyperbolic cylinder
x 2 a 2 − y 2 b 2 = 1 (centred along z-axis)
14 Parabolic cylinder
x 2 = ay
x2 − 2x + 4 y 2 + z 2 = 0
x2 − 2x + 1 + 4 y 2 + z 2 = 1
( x − 1) 2 y2 z2 (1.45)
+ + =1
( 12 ) 1
2
12 2
Equation (1.45) describes an ellipsoid centered at (1, 0, 0). Its intercepts are (1, 0, 0), (0, 1/2, 0), (0,
0, 1).
In this section, we make use of application of eigenvalues in classifying quadric surfaces and curves.
To begin with, we will need to review some fundamentals of linear algebra regarding matrix
orthogonality and symmetric.
iff A = AT (1.48)
1 1
−
2 2
A= ,
1 1
2 2
Solution:
1 1
−
2 2
Given that A =
1 1
2 2
1 1
2 2
At =
1 1
− 2 2
1 1 1 1
−
2 2 2 2
AAt =
1 1 1 1
2 2 − 2 2
1 1 −1 1 1 1 2 0
2
=
2 1 1 −1 1 2 0 2
=
1 0
= = I ( proved )
0 1
Solution: The following steps are required for the diagonalization of a matrix:
1. Find the Eigenvalues i.e. solve
det( A − I ) (1.50)
2. Find the Eigenvectors (in general form)
3. Normalize the Eigenvectors (i.e. make it into unit vectors).
(1 − ) [(1 − ) − 4] = (1 − )( − − 1)( 3 − ) = 0
2
= −1, 1, or 3
(2) Eigenvectors (using each eigenvalue one by one :
1 − 1 0 2 0
A − 1 I 0 = 0 1 − 1 0 0
2 0 1 − 1 0
2 0 2 0
= 0 2 0 0
2 0 2 0
The eigenvectors are determined as if using the augmented matrix for solving for element of vector x
in
That is,
2 0 2 x1 0
0 2 0 x = 0
2
2 0 2 x3 0
2 x1 + 2 x3 0
2 x2 = 0 (1.52)
2 x1 + 2 x3 0
So the generic solution to (i) and (ii) for a nonzero scalar t, gives the eigenvector
x1 1
1 = x = x2 = t 0
x −1
3
1 − 2 0 2 0
A − 2 I 0 = 0 1 − 2 0 0
2 0 1 − 2 0
0 0 2 0
= 0 0 0 0
2 0 0 0
The eigenvectors are determined as if using the augmented matrix for solving for element of vector x
in
That is,
0 0 2 x1 0
0 0 0 x = 0
2
2 0 0 x3 0
2 x3 0
0 = 0 (1.54)
2 x1 0
x1 0
1 = x = x2 = t 1
x 0
3
0
for 2 = 1,2 = t 1
0
Similarly for 3 = 3, the eigenvectors are computed as done above
So,
1
3 = t 0
1
0 0
Similarly,
2 = 2 = 1 1
0 0
1
1
2
3 = 3 = 0 0
1 1
2
1 1
0
2 2
(4) Hence P = 0 1 0 is the orthogonal diagonalizing matrix for A.
1 1
0
− 2 2
−1 0 0
(5) To check if P AP = diagonal Matrix = 0 1 0
t
0 0 3
Now consider the equation (1.21) for quadric surface in rectangular coordinates (Section 1.24)
Computation of the Eigen values 1 , 2 , 3 of the symmetric coefficient matrix of Equation (1.55)
may give us useful information as to the types of quadric surface. A rough classification scheme is
given in the Table 1.2 below:
1 1 Coincident planes
A D E (1.56)
e = D B F
E F C
and
Let 3 and 4 be the ranks of matrix e and ∑, and let △ be the determinant of E. The column “k signs”
refers to the nonzero eigenvalues of matrix e, that is, the roots of
a− h g (1.58)
h b− f = 0;
g f c−
Where λ are the eigenvalues. If all nonzero eigenvalues have the same sign, choose “same”, otherwise
“opposite”. Similarly, “K signs” refers to the sign of the nonzero eigenvalues of ∑.
Example 1.23: Find the symmetric coefficient matrix of the Quadric curves
(i) x 2 + 4 xy + y 2
(ii) x 2 − 2 xy + 6 xz + z 2
(iii) x2 + y 2 + z 2 = 1
Solution:
a b
A=
b c (1.59)
1 2 (1.60)
A=
2 1
A is SCM since A = AT
a1 b1 b3 (1.61)
B = b1 a2 b2
b b a3
3 2
1 −1 3
(1.62)
B = −1 0 0
3 0 1
Solution: The symmetric coefficient matrix for the given quadric from is
0 1 1 (1.64)
A = 1 0 0
1 0 0
( ) ( )
− 2 − 0 − 1(− − 0) + 1(0 + ) = − 2 − 2 = 0
− 2
Eigenvector ,1 = 1
1
0
Eigenvector ,2 = −1
1
2
Eigenvector ,3 = 1
1
− 2
− 2 2
1 = 1 = 1 = 1 2
1 12
2 2 2
3 = 3 = 1 = 1 2
1 12
2 2
− 0
2 2
1 1 1
P= −
2 2 2
1 1 1
2 2
2
We can go on to find the diagonal matrix from matrix A by computing Pt AP. But we want to find a
variable substitution for the orthogonal diagonalizing matrix P.
2 2
− 0
X1 t1 x t1 2 2 t
1
X = P t or 1 1 1
2 2 y = P t 2 = 2 −
2
t2
2
X 3 t3 z t3 t
1 1 1 3
2 2
2
2
x= ( −t1 + t3 )
2
y=
1
2
(
t1 − 2t2 + t3 )
1
(
z = t1 + 2t2 + t3
2
)
Substituting these variables into the given curve equation: 2xy+2xz = 1, we obtain upon simplifying,
2t22 − 2t32 = 1
t22 t32 y2 z2
− =1 − = 1(hyperbolic cylinder with axis on x − direction)
1
2
1
2
b2 z 2
Conclusions:
(1) By inspection, it is hyperbolic cylinder
x2 y2
2 − 2 = 1 (1.65)
a b
x2 y2
− =1
a2 z2
(1.66)
y 2 x2
z= 2 − 2
b a
Example 1.25: use rotation and translation of axes to classify the plane curve.
2 xy + 2 2 x = 1
Solution: This is a 2D – curve in x, y. Therefore compare with the standard quadric form
0 1
A=
1 0
1 1
2 − 2
P=
1 1
2 2
1 1 1
2. ( t1 − t2 ) . ( t1 + t2 ) + 2. 2. ( t1 + t2 ) = 1
2 2 2
( t1 − t2 )( t1 + t2 ) + 2 ( t1 − t2 ) = 1
t12 − t22 + 2t1 − 2t2 = 1
( t1 + 1) − ( t2 + 1)
2 2
=1 (1.67)
Rotation angle = −
4
− 𝜋⁄4
t1
− 𝜋⁄4
Cos Sin 0
B = − Sin Cos 0
0 (1.68)
0 1
Solution:
(i) Direct Method: Using completing the square approach
Given curve
36 x 2 + 16 y 2 − 9 z 2 − 72 x + 64 y − 36 z = 80
36 x 2 − 72 x + 16 y 2 + 64 y − 9 z 2 − 36 z = 80
36( x 2 − 2 x) + 16( y 2 + 4 y ) − 9( z 2 + 4 z ) = 80
36( x 2 − 2 x) + 16( y 2 + 4 y ) − 9( z 2 + 4 z ) = 80
Rearranging, we obtain
36 0 0
e = 0 16 0 (1.72)
0 0 −9
and
36 0 0 −36
0 16 0 32
= (1.73)
0 0 −9 −18
−36 32 −18 −80
The ranks of the 3x3 and 4x4 matrix in Equations (1.68) and (1.69) are respectively given as
3 = 3 and 4 = 4
The determinant of matrix ∑ is given as
36 0 0 −36
0 16 0 32
= = 590,976
0 0 −9 −18
−36 32 −18 −80
The eigenvalues of the matrix e is given as
1 = −9, 2 = 16 and 3 = 36
The signs of matrix e, “k-signs” is: “opposite” and the signs of matrix ∑, “K-signs” is: “opposite”
Conclusion: from Table 1.3, the shape of the quadric curve (3 = 3, 4 = 4, >0 and k-signs = opposite)
is likely to be Hyperboloid of One Sheet.
36 − 0 0
0 16 − 0 =0
0 0 −9 −
Using the eigenvalues (two of same signs and one of the other sign) and from Table 1.2, the shape of
the quadric curve could probably be Elliptic Cone, Hyperboloid of 2 Sheets or Hyperboloid of 1 Sheet.
The corresponding eigenvectors are obtained as:
0 0 1
P = 0 1 0
1 0 0
0 0 1 t1 x
X = Pt = 0 1 0 t2 = y (1.74)
1 0 0 t z
3
From (1.70),
(2) By eigenvalues inspection - 2 of same sign and of the other sign, it could be Elliptic Cone,
Hyperboloid of 2 Sheets or Hyperboloid of 1 Sheet.
(3) From variable substitution, the shape is Hyperboloid of 1 Sheet.
0 1 0
A = 1 0 1
0 1 0
( ) ( )
− 2 − 1 − 1(− − 0) + 0(1 + 0) = − 2 − 1 + = 0
1
Eigenvector ,1 = − 2
1
1
Eigenvector ,2 = 0
−1
1
Eigenvector ,3 = 2
1
Normalizing the eigenvectors, we have
12
1
− 2
1 = 1 = − 2 =
1 2
12
1 1 1
2 2 2
2 2
P = − 0
2 2
1 1 1
2 −
2 2
We can go on to find the diagonal matrix from matrix A by computing Pt AP. But we want to find a
variable substitution for the orthogonal diagonalizing matrix P.
1 1 1
2 2 2
X1 t1 x t1 t1
X = P t or y = P t = − 2 2
2 2 2 2 0 t2
2
X 3 t3 z t3 t
1 1 1 3
2 −
2 2
1
x=
2
(
t1 + 2t2 + t3 )
2
y= ( −t1 + t3 )
2
1
(
z = t1 − 2t2 + t3
2
)
Substituting these variables into the given curve equation: 2xy+2yz = y +1, we obtain upon
simplifying and completing the square, the expression
(t1 − 14 ) 2 (t3 − 14 ) 2
− + =1
1 1
2 2
(t1 − 14 ) 2 (t3 − 14 ) 2 x2 z 2
− + =1 − + = 1(hyperbolic cylinder with axis on y − direction)
1
2
1
2
a2 c2
1 1 1 1
With centre , and intercepts 4 , 4
4 4 2 2
(a) Polar Coordinates: The polar co – ordinate in space of the point P in the figure shown are
(𝑟, ∝, 𝛽, 𝛿)
r P
O x
y
Where r is the distance OP and ∝, 𝛽, 𝛿 is the directions of OP. the relation connecting the
polar and rectangular Co – ordinates of the point P are:
x = r cos 𝛼 , 𝑦 = 𝑟 cos 𝛽 𝑎𝑛𝑑 𝑧 = 𝑟 cos 𝛾 , where
r = x2 + y 2 + z 2
(1.78)
x x
cos ∝ = = (1.79)
r x + y2 + z2
2
y y
cos 𝛽 = = (1.80)
r x2 + y 2 + z 2
z z
cos 𝛾 = =
r x2 + y 2 + z 2
(1.81)
Note that,
cos 2 ∝ + cos 2 𝛽 + cos 2 𝛾 = 1 (1.82)
Therefore the three coordinates are not independent.
For example: if ∝ = 600 𝑎𝑛𝑑 𝛽 = 450 𝑡ℎ𝑒𝑛
cos 2 𝛾 = 1 − cos 2 ∝ − cos 2 𝛽
1 1 1
= 1− − =
4 2 4
P (x, y, z)
(r, , z)
z
0 x
r
y
Q
P(x,y, z)
r
O M
x
y
Q
Consider the angle ∅ as positive and 0 ≤ ∅ ≤ 1800 . Denote the angle xOQ by 𝜃. The
symbols r,𝜃, ∅ are called the spherical coordinates of the point P represented by P (𝑟, 𝜃, ∅), r
is called the radius vector, 𝜃 the longitude and ∅ the colatitude of P. The angle 𝜃 may have
any value.
r = x2 + y 2 + z 2 (1.88)
y
= tan −1 (1.89)
x
z
= cos −1 (1.90)
x + y2 + z2
2
These expressions are useful in many problems involving the determination of areas of surfaces or of
volumes under a surface. It provides a simpler approach than methods employed in calculus.
f ( x)dx
a
(2.1)
we integrate along the x – axis from a to b and the integrand f is a function defined at each
point between a and b. In the case of line integral, we integrate along a curve C in space (or
in a plane) and the integrand will be a function defined at each point of C. The curve C is
called the path of Integration.
B
C
we call A: r(a) the initial pt, B: r(b) the terminal pt of C with the direction of A to be the
positive direction along C and indicated by an arrow. A and B may coincide so that C is a
closed curve.
A
B
F (r ).dr = ( F dx + F dy + F dz )
c c 1 2 3 (2.4)
(F x )
b
= 1
1
+ F2 y1 + F3 z1 dt
a
B
C
A
x
1
Solution:
We may represent C by r (t ) = cos t i + sin t j (0 ≤ 𝑡 ≤ 𝜋⁄2)
Thus
x(t ) = cos t
y (t ) = sin t
So that
F [r (t )] = − y (t ) i + x(t ) y (t ) j
= − sin t i + cos t sin t j
Also
( sin )
2
= 2
t + cos 2 t sin t dt
0
2
t sin 2t cos3 t 1
= − − = + = 1.119
2 4 3 0 4 3
2 important questions arise from the last example:
(1) Does the value depend on the particular choice of a representation of the circular arc C? No.
(2) Does the value change if we integrate from the same A to B as before but along another path?
Yes, in general.
We shall see dependence of a line integration path in the next section.
1 B
A
x
1
Solution: we may represent
r (t ) = (1 − t ) i + t j
So that
A : r (0) = i and B : r (1) = j
as we want it. Then
F [r (t )] = − y (t ) i + x(t ) y (t ) j
= −t i + (1 − t )t j
Also
r (t ) = − i + j
So from (2.3)
1
F (r ).dr = 0 −t i + (1 − t )t j .(− i + j )dt
c
2
= t + (1 − t )t dt =
1
0 3
This shows that the value of a line integral (2.3) will in general depend not only on F and the
F (r ) = z i + x j + y k
= 6 + + 0 = 7 = 21.99
2.1.5 Special Form of Line Integral
Consider
(2.5)
f (r )dt = f ( r ( t ) ) dt
b
c a
This is a special case of (2.3). The evaluation is however similar to that in the previous
examples.
Example 2.4: Find the value of
f (r )dt = f ( r ( t ) ) dt
b
c a
where
f = ( x 2 + y 2 + z 2 )2
and C is given by
Solution:
(x )
2
= cos 2 t + sin 2 t + ( 3t )
2 2
2
+ y2 + z2
= (1 + 9t )
2 2
(1 + 9t ) (1 + 18t )
2 2
f (r )dt = dt =
2
2 2
+ 81t 4
0 0
= 2 + 6(2 )3 + 81 (2 )5
5
2.1.6 General Properties of Line Integral
These are similar to the properties of integrals in calculus.
(i) c
fk .dr = k F .dr
c (2.6)
y h(x)
R
g(x)
x
a b
Double integral over a region R may be evaluated by two successive integrations. Suppose
that R can be described by inequalities of the form.
𝑎 ≤ 𝑥 ≤ 𝑏,
𝑔(𝑥) ≤ 𝑦 ≤ ℎ(𝑥)
So that y = g(x), y = h(x) represent the boundary of R.
g ( x)
f ( x, y )dy (2.10)
In this integration, we keep x fixed, i.e. we regard x as constant. The result of this integration
will be a function of x, say F(x). By integrating F(x) over x from a to b, we then obtain the
value of the double integral in (2.9).
Similarly, if R can be described by the inequalities of the form.
𝐶 ≤ 𝑦 ≤ 𝑑, 𝑃(𝑦) ≤ 𝑥 ≤ 𝑞(𝑦) (2.11)
y
p(y)
d
q(y)
R
x
Then we obtain
p( y)
d
f ( x, y )dxdy = f ( x, y )dx dy
c
(2.12)
R q( y)
We integrate first over x (treating y as constant) and then the resulting function of y from c
to d. If R can not be represented by those inequalities, but can be subdivided into finitely
portions or regions, we may integrate f(x,y) over each portion separately and add the results.
A new variable of integration, you can be introduced by setting x = x(𝑢) where the function
x(𝑢) is continuous and has a continuous derivative in some interval ∝≤ 𝑥 ≤ 𝛽 such that
𝑥(𝛼 ) = 𝑎, 𝑥(𝛽 ) = 𝑏
f ( x)dx = f ( x ( u ) )
b dx
a du
.du (2.14)
1 − x dx =
2
cos
2
udu =
4
0 0
f ( x, y)dxdy
R
(2.15)
New variables of integration u, v can be introduced by setting x = x(u,v); y = (u,v) where the
functions x (u,v) and y (u,v) are continuous and have continuous first partial derivatives in
some region R* in the uv – plane and such that the point (x,y) corresponding to (u,v) in R*
lies in R. To evaluate (2.15), we need to define the Jacobian,
x x
( x, y ) u v
J= = (2.16)
(u , v) y y
u v
J is either positive throughout R* or negative throughout R*. Then
( x, y )
f ( x, y ) dxdy = f x ( u, v ) , y ( u , v ) dudv (2.17)
R R*
( u, v )
That is, the integrand is expressed in terms of u and v and dxdy is replaced by dudv times
the absolute value of the Jacobian, J.
( x )
+ y 2 dxdy where R is the square in the figure below
2
u=2
v =2
x
v =0
u=0
( x, y )
1 1
2 2
The Jacobian J = =−1=
( u, v ) 1 − 1 2
2 2
R corresponding to the square
0 ≤𝑢 ≤2
0 ≤𝑣 ≤2
and therefore
( ) ( )
1 2 2 1
x 2 + y 2 dxdy = u + v − dudv
R 0 0
2 2
8
=
3
(2) Volume V beneath surface z = f (x, y) and above a region R in the x – y plane is
V = f ( x, y ) dxdy (2.19)
R
(4) The centre of gravity – the c of g of the mass in R has the co – ordinates ( x , y ) given by
1
x=
M xf ( x, y )dxdy
R
(2.21)
1
y=
M yf ( x, y ) dxdy
R
I x = y 2 f ( x, y ) dxdy
R
(2.22)
I y = x 2 f ( x, y ) dxdy
R
0 y 1 − x 2 ;0 x 1
x
1
M = f ( x, y ) dxdy
R
(use x = sin𝜃)
1 1− x 2 1
= dydx = 1 − x 2 dx
0 0 0
= 2
cos d =
0 4
The coordinates of the c of g are
1
x=
M xf ( x, y ) dxdy
R
4
x=
xdxdy
R
4 1− x2
1
=
0 0 xdy
4 1
= x 1 − x 2 dx
0
4 0 4
=− z 2 dz =
1 3
4
Similarly, y =
3
The moments of inertia:
1 1− x 2
= y 2 dxdy = y 2 dy dx
R
0
0
( )
3
1 1
= 1 − x 2 dx
3 0
1
= 2 cos 4 d =
3 0 16
1. Cylinder
Consider a cylinder 𝑥 2 + 𝑦 2 = 𝑎2 . The components of r (u, v) in the case of a cylinder are:
x = a cos u
y = a sin u (2.24)
z=v
so that the parametric equation becomes
𝑟 (𝑢, 𝑣) = 𝑎 cos 𝑢𝑖⃗ + 𝑎 sin 𝑢𝑗⃗ + 𝑣𝑘⃗⃗ (2.25)
where the parameters u, v vary in the rectangle R on the u,v – plane given by
𝜃 ≤ 𝑢 ≤ 2𝜋, −1 ≤ 𝑣 ≤ 1
Check: if 𝑥 2 + 𝑦 2 = 𝑎2 is obtained as
v=1
v=0
x v = -1
x 2 = a 2 cos 2 u
y 2 = a 2 sin 2 u
x 2 + y 2 = a 2 (cos 2 u + sin 2 u )
x2 + y 2 = a2
2. Sphere:
A sphere 𝑥 2 + 𝑦 2 + 𝑧 2 = 𝑎2 can be represented in the parametric form:
( )
= a 2 cos 2 v + sin 2 v = a 2
3. A cone
Consider a circular cone
𝑧2 = 𝑥2 + 𝑦2 0 ≤ 𝑧 ≤ 𝐻 the components of r (u, v) are necessarily
𝑥 = 𝑢 cos 𝑣, 𝑦 = 𝑢 sin 𝑣 , 𝑧 = 𝑢. so that 𝑟(𝑢, 𝑣) = 𝑢 cos 𝑣 𝑖 + 𝑢 sin 𝑣 𝑗 + 𝑢𝑘
Parabolic cylinder: y = x
2
(i)
r (u, v) = u i + u 2 j + v k
r r
N = ru rv 0 ru = , rv = (2.29)
u v
1 1
n= N= ru rv (2.30)
N ru rv
Thus surface integral is a double integral over the region R in the uv – plane corresponding
to S and exists for continuous F and piecewise smooth S
Note: this integral arises naturally in flow problem where it gives the flux across S (= mass
of fluid crossing S per unit time) when F = V where is the density of the fluid and V is
the velocity vector of the flow. We may thus call the surface integral (2.31) the flux integral.
Example 2.8: Compute the flux of water through the parabolic cylinder
S: 𝑦 = 𝑥 2 , 0 ≤ 𝑥 ≤ 2, 0 ≤ 𝑧 ≤ 3
when the velocity vector is 𝐹 = 𝑦 𝑖̅ + 2𝑗̅ + 𝑥𝑧𝑘̅ speed being measured in metres/sec.
Solution: Flux Integral = F .ndA
S
= F ( r ( u , v ) ) .N ( u , v ) dudv
R
Also
Hence,
( )
F .N = u 2i + 2 j + ujk . ( 2ui − j )
= 2u 3 − 2
3 2 3
2u 4 2 3
S F .ndA = 0 0 (
2u 3
− 2 )
dudv = 0 4 − 2u 0 dv = 0 4dv = 4v
3
0
= 12m3 / s
12000kg/s
Example 2.9: Find the flux (surface) integral of function F = xi + yj through a surface S: z
= 2x + 3y
0 ≤ 𝑥 ≤ 2; −1 ≤ 𝑦 ≤ 1
Solution:
Define the parametric expression for the surface S
Let x = u, y = v, then z = 2u +3v hence
r ( u , v ) = ui + vj + ( 2u + 3v ) k
ru = i + 2k , rv = j + 3k
N = ru rv = ( i + 2k ) ( j + 3k )
= −2i − 3 j + k
Also
F = xi + yj = ui + vj
F .N = ( ui + vj ) . ( −2i − 3 j + k )
= −2u − 3v = −2u − 3v
1 2
equation
r ( u, v ) = x ( u, v ) i + y ( u, v ) j + z ( u , v ) k
A ( S ) = dA = ru rv dudv
S
Example 2.9: Find the area of a sphere whose surface S is represented by the parametric
expression
Hence
( )
1
= a 2 cos 4 v cos 2 u + sin 2 u + cos 2 v sin 2 v
2
( )
1
= a 2 cos 2 v cos 2 + sin 2 v
2
( )
1
= a 2 cos 2 v 2
= a 2 cos v
2 2
A( S ) = a
2
cos vdudv
− 0
2
2 2
2
= ua 2 cos v dv = 2 a 2
0 cos vdv
− −
2 2
= 2 a 2 sin v 2
= 2 a 2 sin − sin −
2 2 ( )
= 2 a 2 2sin ( 2 )
= 4 a 2
Assignment:
(1) Find the area of a cylinder whose surface S is represented by the parametric
expression.
r ( u, v ) = a cos ui + a sin uj + vk
f ( x, y, z ) dxdydz
T
or f ( x, y, z ) dv
T
(2.33)
Triple integrals can be evaluated by three successive integrations similar to the evaluation of
double integrals (by two successive integrations)
Example 2.10: find the total mass of a mass distribution of density in a region T in space,
where
(i) ρ =xyz; T the cube: 0 ≤ 𝑥 ≤ 1, 0 ≤ 𝑦 ≤ 1, 0≤ 𝑧 ≤ 1.
(ii) 𝜌 = 𝑠𝑖𝑛𝑥𝑐𝑜𝑠𝑦, 𝑇 the box: 0 ≤ 𝑥 ≤ 𝜋, 0 ≤ 𝑦 ≤ 𝜋⁄2 , 0 ≤ 𝑧 ≤ 2
Solution:
(i) ρ = xyz
1
1 1 1
x 2 yz 1 1
M T = xyzdxdydz = dydz
0 0
0 0 0
2 x =0
1 1
1
2 0 0
= yzdydz
y =1
1 1 y 2 zdz 1 1
=
4 0
= zdz = 1
2 0 2 8
y =0
2 2
− cos x cos y
2
= x =0
dydz
0 0
2
=
2
2 cos ydydz
0 0
2
= 2sin ydz
2 2
= 2dz = 2 z
2
0 y =0 0
0
=4
O y
So grad is a vector function whose x, y, and z components are the first partial derivatives
of (x, y, z) w.r.t. x, y, and z respectively.
Example 3.1: if (x, y, z) = xyz + 2x
Then
grad = i + j + k
x y z
is known as vector differential operator
The expression in the bracket is known as a vector differential operator. It is very much
important in vector calculus and it is derived by a special symbol (pronounced ‘del’) so
that
i +j +k (3.2)
x y z
= grad = i + j +k (3.3)
x y z
Note: , as it is used above, must always be applied to a scalar function.
Now suppose we can have dr, an infinitesimal vector displacement such that
2 2 2
= 2 + 2 + 2 (3.6)
x y z
Which is just the 3- dimensional laplacian. So that Laplace’s equation in 3 – dimensions may
be written in the abbreviation form as
2 = 0 (3.7)
Where
2 2 2
2 = 2 + 2 + 2 (3.8)
x y z
Also the operation (del dot) may be applied to any vector function F(x, y, z) to give the
divergence of F(x,y,z) (written as div F).
So,
.F = divF = (i +j + k ).(iFx + jFy + kFz )
x y z
Thus it can be seen that the quantity 2 defined in equation (3.5) and (3.6) above can be
written symbolically as
2 = . = div grad (3.7)
Besides, the operator can also be applied to a vector product. The operation is on
F(x,y,z). The vector product, F defines the curl of F (written as curl F) and is such that
F = curl F = (i +j + k ) (iFx + jFy + kFz ) (3.8)
x y z
i j k
=
x y z
(3.9)
Fx Fy Fz
F Fy F F Fy Fx
= i z − z + j x − z + k −
y z x x y
Or
Or
x y z
= =0
x y z
Fx Fy Fz
Likewise since grad is a vector function we may consider the result of taking its curl:
= Curl grad
=i + j + k i +j +k
x y z x y z
i j k
=
x y z
x y z
2 2 2 2 2 2
=i − + j − + k − =0 (3.13)
yz yz xz xz xy xy
Hence for all
= 0 (3.14)
Again conversely we may infer that if G is a vector function whose Curl is identically zero,
then G must be the gradient of some scalar function. Vector Functions whose Curls are
identically zero are said to be Irrotational. We see from (3.13) that if F is an irrotational
F + grad
G G F F
= Fx y + z − Gx y + z + Gy + Gz Fx − Fy + Fz Gx (3.23)
y z y z y z y z
We now add
Gx
Fx
x
to the first group of terms and subtract from the 4th group, likewise we add to the 2nd group
of term and substract it from the 3rd group. Likewise, we add
F
Gx x
x
Similarly, the y and z components of (FG) may be obtained from (3.25) by changing the
suffix x to y and z respectively. Hence multiplying these three component by i, j, k
respectively and adding, we finally obtained the required result.
Example 3.5: Obtain the gradient of the scalar function r n where r = ix + jy + kz
Let F(r) = rn
grad F (r ) = F (r ) = i +j + k .F (r )
x y z
F (r ) F (r ) F (r )
=i +j +k
x y z
dF (r ) r dF (r ) r dF (r ) r
=i . +j . +k .
dr x dr y dr z
dF (r )
= nr n −1
dr
So,
dF (r ) r r r
F ( r ) = i + j + k
dr x y z
r r r
= nr n −1 i + j + k = nr n −1 ( i + j + k )
x y z
= nr n − 2 . r ( i + j + k )
i j k
n−2
= nr rx ry rz = nr n − 2 [( y − z )i + ( z − x) j + ( x − y )k ]
1 1 1
3 xi3 3
x
= dq j . i dqk (3.32)
j =1 q j
i =1 k =1 qk
ds = h1 .dq1 + h2 .dq2 + h3 .dq32
2 2 2 2 2 2
(3.33)
i =1 q1
1
2
x
3
h = i
2
(3.34)
i =1 q2
2
2
x
3
h = i
2
i =1 q3
3
Example 3.6: For instance, in the q-notation, the cylindrical co-ordinate q1= r, q2= θ, q3 = z
x1 = q1cosq2, x2 =q1sinq2, x3 = q3
2 2 2 2
x x x x
3
h = i = 1 + 2 + 3
2
(3.35)
i =1 q1 q1 q1 q1
1
x1 x x
= cos q2 , 2 = sin q2 , 3 = 0 (3.36)
q1 q1 q1
h12 = cos2 q2 + sin 2 q2 + 0 = 1
2 2 2 2
x x x x
3
h = i = 1 + 2 + 3
2
(3.37)
i =1 q2 q2 q2 q2
1
x1 x x
= − q1 sin q2 , 2 = q1 cos q2 , 3 = 0 (3.38)
q2 q2 q2
h22 = q12 sin 2 q2 + q12 cos 2 q2 + 0
(3.39)
(
= q12 sin 2 q2 + cos 2 q2 = q12 )
2 2 2 2
x x x x
3
h = i = 1 + 2 + 3
2
(3.40)
i =1 q3 q3 q3 q3
3
x1 x x
= 0, 2 = 0, 3 = 1
q3 q3 q3
h32 = 1 (3.41)
Consequently,
ds 2 = h12 dq12 + h22 dq22 + h32 dq32 (3.42)
ds = dq + q dq + dq
2 2
1
2
1
2
2
2
3
(3.43)
= dr 2 + r 2 d 2 + dz 2
by:
x1 =q1cosq2sin q3
x2 =q1sinq2sinq3
x3 =q1cosq3
h = cos q2 sin 2 q3 + sin 2 q2 sin 2 q3 + cos 2 q3
1
2 2
In the limit,
V q1 q1 1
limit = = (3.48)
s1 →0 V s1 s1 h1
Also
q2 1
= (3.49)
s2 h2
And
q3 1
= (3.50)
s3 h3
Thus,
f f q1 1 f
= . = (3.51)
s1 q1 s1 h1 q1
1 f 1 f 1 f (3.52)
grad f = f = uˆ + vˆ + wˆ
h1 q1 h2 q2 h3 q3
Example 3.8: Find the gradient of a scalar function f in the (i) cylindrical and
(ii) spherical coordinates.
Solution:
(i) In the cylindrical coordinates r, θ, z given by x1 = rcosθ, x2 = rsinθ, x3 =Z, we have:
h1=hr =1, h2=hθ =q1=r, h3=hz =1 with q1=r, q2=θ, q3=∅, gives the gradient
1 f 1 f 1 f
grad f = f = u+ v+ w
h1 q1 h2 q2 h3 q3
f 1 f f
= u+ v+ w
r r z
f 1 f 1 f
grad f = f = u+ v+ w
r r sin r
1 (rF1 ) ( F2 ) (rF3 )
div f = . f = + +
r r z
1 (rF1 ) 1 ( F2 ) F3
. f = + +
r r r z
For the divergence, we obtain in orthogonal curvilinear coordinate (q1,q2,q3 with h1, h2, h3
Example 3.9: Find the divergence of a vector function F in the (i) cylindrical and (ii)
spherical coordinates.
Solution:.
1 f 1 f f
2 f = r + + r
r r r r z z
1 f 1 2 f 2 f
= r + +
r r r r 2 2 z 2
1 2 f r f r sin f
2 f = r sin + +
r sin r
2
r r sin r
1 r f 1f
= +
r 2 r r sin
1 r 2 f 1 2 f 1 f
= +
2 2 + 2 sin
r 2 r r r sin r sin
2
h1u h2 v h3 w
1
Curl F = F =
h1h2 h3 q1 q2 q3
h1 F1 h2 F2 h3 F3
1
= h1 ( h3 F3 ) − ( h2 F2 ) u (3.55)
h1h2 h3 q2 q3
+ h2 ( h1F1 ) − ( h3 F3 ) v + h3 ( h2 F2 ) − ( h1F1 ) w
q3 q1 q1 q2
1 F3 F F
CurlF = F = − ( rF2 ) u + r 1 − 3 v
r z z r
(3.56)
F
+ ( rF2 ) − 1 w
r
q1 = r , q2 = , q3 = with h1 = 1, h2 = r sin , h3 = r
1
curlF = F = ( rF3 ) − ( r sin F2 ) u
r sin
2
(3.57)
F F
+ r sin 1 − ( rF3 ) v + r ( r sin F2 ) − 1 w
ds
Let us again consider in fluid flow, letting D be a continuous and differentiable function representing
the rate of fluid flow through unit area normal to D. The rate of fluid flow Q through an arbitrary
surface S is the surface integral of D; thus,
Q = D.ds (3.58)
s
The Gauss theorem states that the volume integral of div D throughout a volume τ equals the surface
integral of D over the surface enclosing τ; thus
Proof.
Dx Dy D
( .D ) d = dxdydz + dxdydz + z dxdydz
x y z
= Dx dydz + Dy dxdz + Dz dxdy (3.60)
s s s
= D.ds
As an application of the divergence theorem, let us derive the equation of continuity for fluid flow:
. ( v ) = − (3.61)
i.e. the divergence of ρv equals the time rate of change of mass density, ρ. The fluid density is ρ;
hence the total mass of fluid in τ is
If fluid is flowing out of τ, by the principle of conservation of mass, the negative time rate of change
of fluid mass in τ must equal the rate of flow of fluid mass through the surface, hence
− d = s
D.ds (3.63)
− d = ( .D ) d (3.64)
Since both sides are integrated over the same volume, the integrand must be equal.
.D = −
(3.65)
. ( v ) = − ( proved ) .
Gauss theorem relates surface and volume integrals.
(0, 0, 1)
Plane
y
(0, 1, 0)
(1, 0, 0)
x
Find F .ds
s
where S is the surface of the region in the first octant for which x+y+z ≤ 1.
Solution
Here
div F = 3x2y+2x2y+ x2y = 6x2y
F .ds = dx dy
s 0 0
0
6 x 2 ydz
1 1− x 1− x − y
= 6 x dx ydy
2
dz
0 0 0
1 1− x
= 6 x 2 dx (1 − x ) y − y 2 dy
0 0
1
= x 2 (1 − x ) dx = 1
3
60.
0
y
x = g1(y)
N
d
K A M
c x = g2(y)
L
O x
If P(x,y) and Q(x,y) are continuum functions with continuous partial derivatives then
Q P
( Pdx + Qdy ) = x − y dxdy
C A
(3.66)
Where C is transversed in the positive sense. The result is called Green’s theorem in a plane.
The proof
Consider the first term in the RHS. Then with reference to the figure above
=
LMNKL
Q( x, y )dy = Q( x, y )dy
Similarly,
p
− dxdy = P( x, y)dx (3.68)
y
And hence
Q p
x − y dxdy = P( x, y)dx + Q( x, y)dy
A
(3.69)
around the square with vertices at (0,0), (1,0),(1,1) and (0,1) as illustrated in the figure below.
y
(0, 1) (1, 1)
x
(0, 0) (1, 0)
Solution:
Here P(x,y) = 2x(x+y)
Q(x,y) =x2+xy+y2
So that
p Q
= 2 x, = 2x + y
y x
Q p
− = y.
x y
Thus the line integral transforms into an easy double integral.
i.e.
C A
1 1 1 1
1
= ydxdy = ydy dx =
0 0 0 0
2
Consider the surface S shown in the figure, bounded by the curve C. Then the line integrals F .dr
c
can be interpreted as the total flow of a fluid with velocity field F around the curve C. Partitioning
the surface S into element n be ∆Si (i = 1, ………,n), we can write
n
So that,
This result is known as stoke’s theorem. It provides a condition for a line integral to be independent
of its path of integration
A B
C2
C1
B
e.g If F .dr
A
is independent of the path of integration, then
Where C1 and C2 are two different paths joining A and B as shown above. Since
F .dr = − F .dr
− c2
where C2 is the path C2 traversed in the
c1
opposite direction
F .dr + F .dr = 0 (3.75)
c1 − c2
C is the combined closed curve formed
F .dr = 0
c from C1 and -C2 traversed in the
F .dr = 0
c
Then
(Curl F ) .ds = 0
s
(3.76)
F = (2 x − y)iˆ − yz 2 ˆj − y 2 zkˆ
Where S is the upper half of the sphere x2+y2+z2 = 1 and C is its bounding
(0,0,1) z
(0,1,0)
O y
(1,0,0)
x
The surface and the boundary involved are illustrated above. We are required to show that
F .dr
c
F = ( 2 x − y ) iˆ = ( 2 cos − sin ) iˆ
Thus
2
F .dr =
c
( 2 cos − sin ) iˆ ( − sin iˆ + cos ˆj ) d
0
2
= ( −2sin cos + sin ) d
2
2
1
= − sin 2 + 2 (1 + cos 2 ) d
0
=
Also
iˆ ˆj kˆ
Curl F = = kˆ
x y z
2 x − y − yz 2 − y2 z
The unit outward drawn normal at a point (x, y, z) on the hemisphere is given by