SlideShare a Scribd company logo
Calculus of Function of Several Variables(Math 2071)
Lecture Note: Version 1.0
Dejen Ketem 1
dejen.ketema@amu.edu.et
Department of Mathematics
Arba Minch University, Ethiopia
November 9, 2018
1Msc. in Mathematrical and Statistical Modelling
Contents
1 Vectors and vector spaces 2
1.1 Geometry and Distance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Vectors & dot product . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3 Cross Product . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.4 Lines and planes in space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
1.5 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
1.6 Vector Valued Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
1.7 Parametrized surfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
1.8 Parametrized curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
1.9 Arc length and curvature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
1
Chapter 1
Vectors and vector spaces
1.1 Geometry and Distance
The collection of all real numbers is denoted by R. Thus R includes the integers
· · · , −2, −1, 0, 1, 2, · · ·
the rational numbers, p/q, where p and q are integers (q = 0), and the irrational numbers, like√
2, π, e, etc. Members of R may be visualized as points on the real-number line as shown in
We write a ∈ R to mean a is a member of the set R. In other words, a is a real number. Given
two real numbers a and b with a < b, the closed interval [a, b] consists of all x such that a ≤ x ≤ b,
and the open interval (a, b) consists of all x such that a < x < b. Similarly, we may form the
half-open intervals [a, b) and (a, b]. The absolute value of a number a ∈ R is written as |a| and is
defined as
|a| =



a if a ≥ 0
−a if a < 0
Definition 1.1
A point in the plane R2
has two coordinates P = (x, y). A point in space R3
is determined
by three coordinates P = (x, y, z). The signs of the coordinates define 4 quadrants in R2
or 8 octants in R3
. These regions intersect at the origin O = (0, 0) or O = (0, 0, 0) and
are bound by coordinate axes {y = 0} and {x = 0} or coordinate planes {x = 0}, {y =
0}, {z = 0}.
In R2
its custom to orient the x-axis to the ”east” and the y-axis ”north”. In R3
, the most common
coordinate system has the xy-plane as the ”ground” and the z-coordinate axes pointing ”up”.
2
1.1. GEOMETRY AND DISTANCE AMU
Example 1.1.1
1. P = (−2, −3) is in the third quadrant of the plane and P = (1, 2, 3) is in the positive
octant of space. The point (0, 0, −8) is located on the negative z axis. The point
P = (1, 2, −3) is below the xy-plane. Can you spot the point Q on the xy-plane which
is closest to P?
2. Problem. Find the midpoint M of P = (7, 2, 5) and Q = (−15, 4, 7). Answer. The
midpoint is the average of each coordinate M = (P + Q)/2 = (−4, 3, 6).
3. In computer graphics or photography, the xy-plane represents the retina or film plate
and the z-coordinate measures the distance towards the viewer. In this photographic
coordinate system, your eyes and chin define the plane z = 0 and the nose points
in the positive z direction. If the midpoint of your eyes is the origin of the coordinate
system and your eyes have the coordinates (1, 0, 0), (−1, 0, 0), then the tip of your nose
might have the coordinates (0, −1, 1).
Definition 1.2
The Euclidean distance between two points P = (x, y, z) and Q = (a, b, c) in space is defined
as d(P, Q) = (x − a)2 + (y − b)2 + (z − c)2.
Example 1.1.2
Problem: Find the distance d(P, Q) between P = (1, 2, 5) and Q = (−3, 4, 7) and
verify that d(P, M) + d(Q, M) = d(P, Q). Answer: The distance is d(P, Q) =√
42 + 22 + 22 =
√
24. The distance d(P, M) is
√
22 + 12 + 12 =
√
6. The distance d(Q, M)
is
√
22 + 12 + 12 =
√
6. Indeed d(P, M) + d(M, Q) = d(P, Q).
Remarks.
1. A distance can be defined by taking any non-negative function d(P, Q) = d(Q, P) which
satisfies the triangle inequality d(P, Q) + d(Q, R) ≥ d(P, R) and which has the property
that d(P, Q) = 0 if and only if P = Q. A set X equipped with such a distance function d is
called a metric space.
2. Symmetry distinguishes the Euclidean distance from other distances. It is characterized
by the property d((1, 0, 0), (0, 0, 0)) = 1 together with the requirement of rotational and
translational and scaling symmetry d(λP, λQ) = λd(P, Q).
3. We usually work with a right handed coordinate system, where the x, y, z axes can be
matched with the thumb, pointing and middle finger of the right hand. The photographers
coordinate system is an example of a left handed coordinate system, where we use the
thumb and pointing finger and middle finger of the left hand. Nature is not oblivious to
parity. Some fundamental laws in particle physics related to the weak force are different
when observed in a mirror. Coordinate systems with different parity can not be rotated into
each other.
4. When dealing with geometric problems in the plane, we leave the z-coordinate away and
have d(P, Q) = (x − a)2 + (y − b)2, where P = (x, y), Q = (a, b). Its important to work in
R2
without referring to a possible R3
in which it might be embedded.
c Dejen K. 2018 3 http://elearning.amu.edu.et/course
1.1. GEOMETRY AND DISTANCE AMU
Points, curves, surfaces and solids are geometric objects which can be described with func-
tions of several variables. An example of a curve is a line, an example of a surface is a plane,
an example of a solid is the interior of a sphere. We focus next on spheres or circles.
Definition 1.3
A circle of radius r ≥ 0 centered at P = (a, b) is the collection of points in R2
which have
distance r from P.
Definition 1.4
A sphere of radius ρ centered at P = (a, b, c) is the collection of points in R3
which have
distance ρ ≥ 0 from P. The equation of a sphere is (x − a)2
+ (y − b)2
+ (z − c)2
= ρ2
.
Definition 1.5
An ellipse is the collection of points P in R2
for which the sum d(P, A) + d(P, B) of the
distances to two points A, B is a fixed constant l > 0 larger than d(A, B). This allows to
draw the ellipse with a string of length l attached at A, B. When 0 is the midpoint of A, B,
an algebraic description is the set of points which satisfy the equation x2
a2 + y2
b2 = 1.
Example 1.1.3
1. Problem: Is the point (3, 4, 5) outside or inside the sphere (x − 2)2
+ (y − 6)2
+
(z − 2)2
= 16? Answer: The distance of the point to the center of the sphere is√
1 + 4 + 9. Since this is smaller than 4 the radius of the sphere, the point is inside.
2. Problem: Find an algebraic expression for the set of all points for which the sum
of the distances to A = (1, 0) and B = (−1, 0) is equal to 3. Answer: Square the
equation (x − 1)2 + y2 + (x + 1)2 + y2 = 3, separate the remaining single square
root on one side and square again. Simplification gives 20x2
+ 36y2
= 45 which is
equivalent to x2
a2 + y2
b2 = 1, where a, b can be computed as follows: because P = (a, 0)
satisfies this equation, d(P, A) + d(P, B) = (a − 1) + (a + 1) = 3 so that a = 3/2.
Similarly, the point Q = (0, b) satisfying it gives d(Q, A) + d(P, B) = 2
√
b2 + 1 = 3 or
b =
√
5/2.
Definition 1.6
When completing the square of an equation x2
+bx+c = 0, we add (b/2)2
−c on both sides of
the equation in order to get (x+b/2)2
= (b/2)2
−c. Solving for x gives x = −b/2± (b/2)2−c.
Example 1.1.4
1. The equation 2x2
− 10x + 12 = 0 is equivalent to x2
+ 5x = −6. Adding (5/2)2
on
both sides gives (x + 5/2)2
= 1/4 so that x = 2 or x = 3.
2. The equation x2
+5x+y2
−2y+z2
= −1 is after completion of the square (x+5/2)2
−
25/4 + (y − 1)2
− 1 + z2
= −1 or (x − 5/2)2
+ (y − 1)2
+ z2
= (5/2)2
. We see a sphere
center (5/2, 1, 0) and radius 5/2.
c Dejen K. 2018 4 http://elearning.amu.edu.et/course
1.1. GEOMETRY AND DISTANCE AMU
Exercise 1.1
1. (a) a) Find its center and radius of the sphere S given by x2
+y2
+z2
−20x+12y+4z =
29.
(b) Find the distance from the center of S defined in a) to x2
+ y2
+ z2
= 900.
(c) Find the minimal distance between the spheres. This is the minimal distance
between two points where each is in one sphere.
2. (a) Find the distance a from P = (−12, −4, −6) to x = 0.
(b) Find the distance b from P to the x-axes.
(c) Find the distance c from P to the origin O = (0, 0, 0).
(d) Take a general point P = (x, y, z) and repeat the computation for the values
a, b, c as in a − c). What is ar + b2
− c2
?
3. (a) Find an equation of the largest sphere with center (4, 11, 9) that is contained in
the first octant {x ≤ 0, y ≤ 0, z ≥ 0}.
(b) Find the equation for the sphere centered at (6, 10, 8) which passes through the
center (4, 11, 9)of the sphere in a).
4. (a) Describe the surface x2
− (z2
+ 4z) = 12 in R3
.
(b) What is the surface x2
= z2
in three dimensional space R3
.
(c) Draw the surfaces of a) and b) and their intersection.
5. You play billiard in the table {(x, y)|0 ≤ x ≤ 4, 0 ≤ y ≤ 8}.
(a) Hit the ball at (3, 2) to reach the hole (4, 8) bouncing 3 times at the left wall and
three times at the right wall and no other walls. Find the length of the shot.
(b) Hit from (3, 2) to reach the hole (4, 0) after hitting twice the left and twice the
right wall as well as the top wall y = 8 once. What is the length of the trajectory?
6. Verify that the radius of the inscribed circle in a 3 : 4 : 5 triangle is 1. Use the picture
with the triangle ABC given by:
A = (0, 0), B = (4, 0), C = (0, 3), introduce M = (1, 1) then get the coordinates of the
points X, Y, Z, then compute the distances.
c Dejen K. 2018 5 http://elearning.amu.edu.et/course
1.2. VECTORS & DOT PRODUCT AMU
Definition 1.7
A physical quantity is a physical property of a phenomenon, body, or substance, that can
be quantified by measurement.
Definition 1.8
Quantities which can be described by magnitude only are called scalars. Scalars are rep-
resented by a single letter, such as a. Some examples of scalar quantities are mass (five
kilograms), temperature (twenty-two degrees Celsius), and numbers without units (such as
three).
1.2 Vectors & dot product
Geometric view :
Definition 1.9
A vector is defined as having a magnitude and a direction. We represent it by an arrow in
the plane or in space. The length of the arrow is the vector’s magnitude and the direction
of the arrow is the vector’s direction.
In this way, two arrows with the same magnitude and direction represent the same vector.
(same vector)
We will refer to the start of the arrow as the tail and the end as the tip or head.
Q
PQ
P
To distinguish vectors from points, it is custom to write [2, 3, 4]T
or 2, 3, 4 for vectors and (2, 3, 4)
for points.
A
2A
1
2
A
-A (scaling a vector)
Because we use numbers to scale a vector we will often refer to real numbers as scalars. You add
vectors by placing them head to tail. As the figure shows, this can be done in either order
c Dejen K. 2018 6 http://elearning.amu.edu.et/course
1.2. VECTORS & DOT PRODUCT AMU
A
B
A
B
A+B
It is often useful to think of vectors as displacements. In this way, A + B can be thought of as
the displacement A followed by the displacement B.
You subtract vectors either by placing the tail to tail or by adding A + (−B).
A
B
A-B
Thought of as displacements A − B is the displacement from the end of B to the end of A.
Algebraic view:
Definition 1.10
Two points P = (a, b, c) and Q = (x, y, z) in R3
define a vector v =



x − a
y − b
z − c


 which we
simply write also as [x − a, y − b, z − c]T
or x − a, y − b, z − c to save space. It is custom in
linear algebra to call [3, 4, 5] a row vector and its transpose [3, 4, 5]T
= 3, 4, 5 a column
vector. As it goes from P to Q we write v = PQ. The real numbers numbers p, q, r in
v = [p, q, r]T
are called the components of v.
Vectors can be drawn anywhere in space. But two vectors with the same components are considered
equal. Vectors can be translated into each other if their components are the same. If a vector v
starts at the origin O = (0, 0, 0), then v = [p, q, r]T
heads to the point (p, q, r). One can therefore
identify points P = (a, b, c) with vectors v = [a, b, c]T
attached to the origin. For clarity, we often
draw an arrow on top of vectors and if v = PQ then P is the ”tail” and Q is the ”head” of the
vector.
Definition 1.11
The sum of two vectors is A + B = [a1, a2]T
+ [b1, b2]T
= [a1 + b1, a2 + b2]T
. The scalar
multiple is λA = λ[a1, a2]T
= [λa1, λa2]T
. The difference A − B can best be seen as the
addition of A and (−1)B.
c Dejen K. 2018 7 http://elearning.amu.edu.et/course
1.2. VECTORS & DOT PRODUCT AMU
On can check commutativity, associativity, or distributivity rules for vectors as for numbers.
Definition 1.12
The vectors i = [1, 0]T
, j = [0, 1]T
are called the standard basis vectors in the plane. In
space, one has the standard basis vectors i = [1, 0, 0]T
, j = [0, 1, 0]T
, k = [0, 0, 1]T
.
Every vector v = [p, q]T
in the plane can be written as a combination v = pi+qj of standard basis
vectors. Every vector v = [p, q, r]T
in space can be written as v = pi + qj + rk. Vectors appear
everywhere in applications. For example in mechanics: if r(t) = [f(t), g(t)]T
is a point in the plane
which depends on time t, then v = [f (t), g (t)]T
is the velocity vector at r(t). Here f (t), g (t)
are the derivatives. In physics, where we often want to determine forces acting on objects, these
forces are represented as vectors. In particular, electromagnetic or gravitational fields or velocity
fields in fluids are described by vectors. Vectors appear also in computer science: the ”scalable”
vector graphics ”format” is a standard for the web for describing graphics. In quantum computa-
tion, rather than working with bits, one deals with qbits, which are vectors. Finally, color can be
written as a vector v = [r, g, b]T
, where r is red, g is green and b is blue component of the color
vector. An other coordinate system for color is v = [c, m, y]T
= [1 − r, 1 − g, 1 − b]T
, where c is
cyan, m is magenta and y is yellow. Vectors appear also in probability theory and statistics.
On a finite probability space for example, a random variable is nothing else than a vector.
The addition and scalar multiplication of vectors satisfy the laws known from arithmetic.
1. commutativity u + v = v + u,
2. associativity u + (v + w) = (u + v) + w, r ∗ (s ∗ v) = (r ∗ s) ∗ v
3. distributivity (r + s)v = v(r + s)
4. And r(v + w) = rv + rw, where * denotes multiplication with a scalar.
Definition 1.13
The length |v| of a vector v = PQ is defined as the distance d(P, Q) from P to Q. A vector
of length 1 is called a unit vector. If v = 0, then v
|v|
is called a unit vector.
Example 1.2.1
|[3, 4]T
| = 5 and |[3, 4, 12]T
| = 13. Examples of unit vectors are |i| = |j| = |k| = 1 and
[3/5, 4/5]T
and [3/13, 4/13, 12/13]T
. The only vector of length 0 is the zero vector |0| = 0.
c Dejen K. 2018 8 http://elearning.amu.edu.et/course
1.2. VECTORS & DOT PRODUCT AMU
Example 1.2.2
1. Add the following two vectors
(a) u = (−1, 2, 1) and v = (2, −5, 0)
(b) u = i + 4j − 2k and v = 2i − 5j
2. Let u = 3i + 4j − k, then find
(a)
2
3
u
(b) −1u
solution:
1. (a)
u + v = (−1, 2, 1) + (2, −5, 0)
= (−1 + 2, 2 − 5, 1 + 0)
= (1, −3, 1)
(b)
u + v = (i + 4j − k) + (2i − 5j)
= (1 + 2)i + (4 − 5)j + (−1 + 0)k
= 3i − j − k
2. (a)
2
3
u =
2
3
(3i + 4j − k)
= 2i +
8
3
j −
2
3
k
(b)
−1u = −(3i + 4j − k)
= −3i − 4j + k
Dot Product
The dot product is one way of combining (”multiplying”) two vectors. The output is a scalar (a
number). It is called the dot product because the symbol used is a dot. Because the dot product
results in a scalar it, is also called the scalar product.
The geometric definition of the dot product says that the dot product between two vectors a and
b is
a · b = a · b cos θ,
where θ is the angle between vectors a and b. Although this formula is nice for understanding the
properties of the dot product, a formula for the dot product in terms of vector components would
c Dejen K. 2018 9 http://elearning.amu.edu.et/course
1.2. VECTORS & DOT PRODUCT AMU
make it easier to calculate the dot product between two given vectors.
Since the standard unit vectors are orthogonal, we immediately conclude that the dot product
between a pair of distinct standard unit vectors is zero:
i · j = i · k = j · k = 0.
The dot product between a unit vector and itself is also simple to compute. In this case, the angle
is zero and cos θ = 1. Given that the vectors are all of length one, the dot products are
i · i = j · j = k · k = 1.
The second step is to calculate the dot product between two three-dimensional vectors
a = (a1, a2, a3) = a1i + a2j + a3k
b = (b1, b2, b3) = b1i + b2j + b3k.
To do this, we simply assert that for any three vectors a, b, and c, and any scalar λ,
(λa) · b = λ(a · b)
(a + b) · c = a · c + b · c.
Definition 1.14
The dot product of two vectors v = [a, b, c]T
and w = [p, q, r]T
is defined as v·w = ap+bq+cr.
Remarks.
1. Different notations for the dot product are used in different mathematical fields. While
mathematicians write v · w = (v, w), the Dirac notation [v|w]T
is used in quantum me-
chanics or the Einstein notation viwi
or more generally gijviwj in general relativity. The
dot product is also called scalar product or inner product.
2. Any product g(v, w) which is linear in v and w and satisfies the symmetry g(v, w) = g(w, v)
and g(v, v) ≤ 0 and g(v, v) = 0 if and only if v = 0 can be used as a dot product. An
example is g(v, w) = 3v1w1 + 2v2w2 + v3w3.
Theorem 1.1
The dot product determines distances and distances determines the dot product.
Proof: Write v = v. Using the dot product one can express the length of v as |v| =
√
v · v.
On the other hand, from (v + w) · (v + w) = v · v + w · w + 2(v · w) can be solved for v · w:
v · w = (|v + w|2
− |v|2
− |w|2
)/2.
Theorem 1.2
The Cauchy-Schwarz inequality tells |v · w| ≤ |v||w|.
Proof. If |w| = 0, there is nothing to show. Otherwise, assume |w| = 1 by dividing the
equation by |w|. Now plug in a = v · w into the equation 0 ≤ (v − aw) · (v − aw) to get
0 ≤ (v − (v · w)w) · (v − (v · w)w) = |v|2
+ (v · w)2
− 2(v · w)2
= |v|2
− (v · w)2
which means
(v · w)2
≤ |v|2
.
c Dejen K. 2018 10 http://elearning.amu.edu.et/course
1.2. VECTORS & DOT PRODUCT AMU
Having established this, it is possible to give a definition of what an angle is, without referring to
any geometric pictures:
Definition 1.15
The angle between two nonzero vectors v, w is defined as the unique α ∈ [0, π] which satisfies
v · w = |v| · |w| cos(α). Since cos maps [0, π] in a 1 : 1 manner to [−1, 1], this is well defined.
Note:
1. The cosine of the angle between two non-zero vectors a and b is
cos θ =
a · b
a b
=⇒ θ = cos−1


a · b
a b


2. If an angle between two vectors a and b is
π
2
then a·b = 0 and the vectors a and b are known
as orthogonal vectors. In general the dot product of two non-zero vectors is zero only if they
are orthogonal.
Remark:- Suppose a and b are two non-zero vectors and θ is the angle between a and b:
i) if θ is acute, then a · b > 0.
ii) if θ is obtuse, then a · b < 0.
iii) if θ is right angle, then a · b = 0.
Theorem 1.3: Al Kashi’s theorem:
If a, b, c are the side lengths of a triangle ABC and α is the angle at the vertex C, then
a2
+ b2
= c2
− 2ab cos(α).
Proof. Define v = AB, w = AC. Because c2
= |v−w|2
= (v−w)·(v−w) = |v|2
+|w|2
−2vw,
We know vw = |v|·|w| cos(α) so that c2
= |v|2
+|w|2
−2|v|·|w| cos(α) = a2
+b2
−2ab cos(α).
The angle definition works in any space with a dot product. In statistics one works with vectors
of n components. They are called data or random variables and cos(α) is called the correlation
between two random variables v, w of zero expectation E[v] = (v1 +· · ·+vn)/n. The dot product
c Dejen K. 2018 11 http://elearning.amu.edu.et/course
1.2. VECTORS & DOT PRODUCT AMU
(v1w1+· · ·+vnwn)/n is then the covariance, the scaled length |v|/
√
n is the standard deviation
and denoted by σ(v). The formula Corr[v, w] = Cov[v, w]/(σ(v)σ(w)) for the correlation is the
familiar angle formula. Statistics shows that geometry in arbitrary dimensions can be useful.
Theorem 1.4
The triangle inequality tells |u + v| ≤ |u| + |v|.
Proof: |u+v|2
= (u+v)·(u+v) = u2
+v2
+2u·v ≤ u2
+v2
+2|u·v| ≤ u2
+v2
+2|u|·|v| =
(|u| + |v|)2
.
Example 1.2.3
Calculate the dot product of a = (1, 2, 3) and b = (4, −5, 6). Do the vectors form an acute
angle, right angle, or obtuse angle?
Solution: Using the component formula for the dot product of three-dimensional vectors,
a · b = a1b1 + a2b2 + a3b3,
we calculate the dot product to be
a · b = 1(4) + 2(−5) + 3(6) = 4 − 10 + 18 = 12.
Since a.b is positive, we can infer from the geometric definition, that the vectors form an
acute angle.
Example 1.2.4
Calculate the dot product of c = (−4, −9) and d = (−1, 2) . Do the vectors form an acute
angle, right angle, or obtuse angle?
Solution: Using the component formula for the dot product of two-dimensional vectors,
a · b = a1b1 + a2b2,
we calculate the dot product to be
c · d = −4(−1) − 9(2) = 4 − 18 = −14.
Since c.d is negative, we can infer from the geometric definition, that the vectors form an
obtuse angle.
c Dejen K. 2018 12 http://elearning.amu.edu.et/course
1.2. VECTORS & DOT PRODUCT AMU
Example 1.2.5
If a = (6, −1, 3), for what value of c is the vector b = (4, c, −2) perpendicular to a?
Solution: For a and b to be perpendicular, we need their dot product to be zero. Since
a · b = 6(4) − 1(c) + 3(−2) = 24 − c − 6 = 18 − c,
the number c must satisfy 18 − c = 0, or c = 18. You can double-check that the vector
b = (4, 18, −2) is indeed perpendicular to a by verifying that
a · b = (6, −1, 3).(4, 18, −2) = 0.
1. Find the value of k such that the vectors (2, 3, −2) and (5, k, 2) are perpendicular.
2. Find the values of β such that the vectors (β, −3, 1) and (β, β, 2) are perpendicular.
Example 1.2.6
1. Find the component form and the length of vector with initial point and terminal
point p = (3, −7, 1) and Q = (−2, 5, 3)
2. Find the unit vector in the direction of v = (−2, 5, 3)
3. Let u = (2, 5, −1) and v = (−1, 2, 3),the find the scalar product of u and u
Solution
1. v = PQ = (−2 − 3, 5 + 7, 3 − 1) = (−5, 12, 2)
and v = (−5)2 + (12)2 + 22 =
√
173
2. v =
√
−22 + 52 + 32 =
√
38
ˆu = v
v
=
1
√
38
(−2, 5, 3)
= (
−2
√
38
,
5
√
38
,
3
√
38
)
3. u · v = (2, 5, −1) · (−1, 2, 3)
= 2. − 1 + 5.2 + −1.3
= −2 + 10 − 3
= 5
Exercise 1.2
1. Find the cosine of the angle and the angle between the following vectors
(a) u = 2i − 5j + k and v = i + j + 2k
(b) v = (−
√
3, 1) and w = (0, 5)
(c) v = (0, −1, 0) and w = (0, 0, 3)
c Dejen K. 2018 13 http://elearning.amu.edu.et/course
1.2. VECTORS & DOT PRODUCT AMU
Definition 1.16
Two vectors are called orthogonal or perpendicular if v · w = 0. The zero vector 0 is
orthogonal to any vector. For example, v = [2, 3]T
is orthogonal to w = [−3, 2]T
.
Theorem 1.5
Pythagoras theorem: if v and w are orthogonal, then |v − w|2
= |v|2
+ |w|2
.
Proof: (v − w) · (v − w) = v · v + w · w + 2v · w = v · v + w · w.
Projection
Suppose that two non-zero vectors v and w are positioned as in the figure below and that the
light casts a shadow on the line containing the vector v. Informally we think of the shadow as
determining a vector parallel to vector w, we call this vector the projection of vector w on to
vector v which is denoted by projv
w
and defined as projv
w
= ( v·w
v 2 )v.
Definition 1.17
The vector P(v) =
v · w
|w|2
w is called the projection of v onto w. The scalar projection
v · w
|w|
is a signed length of the vector projection. Its absolute value is the length of the
projection of v onto w. The vector b = v − P(v) is a vector orthogonal to the w-direction.
Example 1.2.7
1. For example, with v = [0, −1, 1]T
, w = [1, −1, 0]T
, P(v) = [1/2, −1/2, 0]T
. Its length
is 1/
√
2.
2. Projections are important in physics. If a wind force F affects a car driving in the
direction w and P denotes the projection onto w then Pw(F) is the force which accel-
erates or slows down the car.
The projection allows to visualize the dot product. The absolute value of the dot product is the
length of the projection. The dot product is positive if v points more towards to w, it is negative
if v points away from it. In the next lecture we use the projection to compute distances between
various objects.
c Dejen K. 2018 14 http://elearning.amu.edu.et/course
1.2. VECTORS & DOT PRODUCT AMU
Example 1.2.8
1. Let vector u = 2i − j + 3k, v = i + 2j + k, then find:
(a) projv
u
(b) proju
v
(c) proj1
2
v
3u
(d) The scalar projection of projv
u
and
projv
u
Solution:-
1. (a)
proju
v =
v · u
v 2
v
=
(i + 2j + k) · (2i − j + 3k)
i + 2j + k 2
(i + 2j + k)
= (
2 − 2 + 3
12 + 22 + 12
)(i + 2j + k)
=
3
6
(i + 2j + k)
=
1
2
i + j +
1
2
k
(b)
projv
u =
u · v
u 2
u
= (
(2i − j + 3k) · (i + 2j + k)
2i − j + 3k
2 )(2i − j + 3k)
= (
2 − 2 + 3
12 + (−2)2 + 32
)(2i − j + 3k)
=
3
14
(2i − j + 3k)
=
6
14
i −
3
14
j +
9
14
k
(c)
proj3u
1
2 v =
1
2 v · 3u
1
2 v 2
1
2
v
= (
1
2 (i + 2j + k) · 3(2i − j + 3k)
1
4 i + 2j + k
2 )
1
2
(i + 2j + k)
= (
3
2 (2 − 2 + 3)
1
4 (12 + 22 + 12)
)
1
2
(i + 2j + k)
= 3(i + 2j + k)
= 3i + 6j + 3k
2.
projv
u
= |(
v · u
v
)|
= |(
(i + 2j + k) · (2i − j + 3k)
i + 2j + k
)|
= |(
2 − 2 + 3
√
12 + 22 + 12
)|
=
3
√
6
& proju
v
= |(
u · v
u
)|
= |(
(2i − j + 3k) · (i + 2j + k)
2i − j + 3k
)|
= |
2 − 2 + 3
12 + (−2)2 + 32
|
3
√
14
c Dejen K. 2018 15 http://elearning.amu.edu.et/course
1.3. CROSS PRODUCT AMU
Exercise 1.3
1. Find a unit vector parallel to u + 2v + 4w if u = [−10, 2, 9]T
and v = [1, 1, 3]T
and
w = [3, 1, 1]T
.
2. A Alemitu gets pulled with a force F = 7, 1, 4 . She moves with velocity v =
4, −2, 1 . The dot product of F with v is power.
(a) Find the angle between the F and v.
(b) Find the vector projection of the F onto v.
(c) Find the scalar projection of F on v.
3. Light shines long the vector a = a1, a2, a3 and reflects at the three coordinate planes
where the angle of incidence equals the angle of reflection. Verify that the reflected
ray is −a. Hint. Reflect first at the xy-plane.
4. A rope is wound exactly 5 times around a stick of circumference 1 and length 12. How
long is the rope?
1.3 Cross Product
Definition 1.18
The cross product of two vectors v = [v1, v2]T
and w = [w1, w2]T
in the plane is the scalar
v1w2 − v2w1.
To remember this, write it as a determinant of a matrix A which is a 2 × 2 array of the numbers).
det(A) is the product of the diagonal entries minus the product of the side diagonal entries.
v1 v2
w1 w2
.
Definition 1.19
The cross product of two vectors v = [v1, v2, v3]T
and w = [w1, w2, w3]T
in space is defined
as the vector v × w = [v2w3 − v3w2, v3w1 − v1w3, v1w2 − v2w1]T
.
To remember it we write the product as a ”determinant”:



i j k
v1 v2 v3
w1 w2 w3


 =



i
v2 v3
w2 w3


 −



j
v1 v3
w1 w3


 +



k
v1 v2
w1 w2



which is i(v2w3 − v3w2) − j(v1w3 − v3w1) + k(v1w2 − v2w1).
c Dejen K. 2018 16 http://elearning.amu.edu.et/course
1.3. CROSS PRODUCT AMU
Example 1.3.1
1. The cross product of [1, 2]T
and [4, 5]T
is 5 − 8 = −3.
2. The cross product of [1, 2, 3]T
and [4, 5, 1]T
is [−13, 11, −3]T
.
Theorem 1.6
In space, the cross product v × w is orthogonal to both v and w. The product is anti-
commutative.
Proof. We verify for example that v · (v × w) = 0 and look at the definition.
Theorem 1.7
Length formula for the cross product: |v × w| = |v||w| sin(α).
Proof: verify first the Lagrange’s identity |v × w|2
= |v|2
|w|2
− (v · w)2
which is also
called Cauchy-Binet formula by direct computation . Now, |v · w| = |v||w| cos(α).
Definition 1.20
The absolute value respectively length |v × w| defines the area of the parallelogram
spanned by v and w.
Note that we have given the definition of area, so that nothing needs to be proven. To see that the
definition fits with our common intuition we have about area, note that |w| sin(α) is the height
of the parallelogram with base length |v|. The area formula proves the sin-formula because the
area does not depend on which pair of sides to a triangle we take. The area makes sense because
it is linear in each of the vectors v and w: scale one by a factor λ = 2 for example, doubles the area.
Theorem 1.8
v × w is zero if and only if v and w are parallel, that is if v = λw for some real λ.
Proof. Use the sin formula and the fact that sin(α) = 0 if α = 0 or α = π. The cross
product can therefore be used to check whether two vectors are parallel or not. Note that
v and −v are considered parallel even so sometimes the notion anti-parallel is used.
c Dejen K. 2018 17 http://elearning.amu.edu.et/course
1.3. CROSS PRODUCT AMU
Theorem 1.9
The trigonometric sin-formula: if a, b, c are the side lengths of a triangle and α, β, γ are the
angles opposite to a, b, c then a/ sin(α) = b/ sin(β) = c/ sin(γ).
Proof. Express the area of the triangle in three different ways:
ab sin(γ) = bc sin(α) = ac sin(β).
Divide the first equation by sin(γ) sin(α) to get one identity. Divide the second equation by
sin(α) sin(β) to get the second identity.
Example 1.3.2
If v = [a, 0, 0]T
and w = [b cos(α), b sin(α), 0]T
, then v × w = [0, 0, ab sin(α)]T
which has
length |ab sin(α)|.
Definition 1.21
The scalar [u, v, w] = u · (v × w) is called the triple scalar product of u, v, w.
Definition 1.22
The absolute value of [u, v, w] defines the volume of the parallelepiped spanned by
u, v, w.
Definition 1.23
The orientation of three vectors is defined as the sign of [u, v, w]. It is positive if the three
vectors define a right-handed coordinate system.
Again, there was no need to prove anything because we defined volume and orientation. Why
does this fits with our intuition? The value h = |u · n|/|n| is the height of the parallelepiped if
n = (v ×w) is a normal vector to the ground parallelogram of area A = |n| = |v ×w|. The volume
of the parallelepiped is hA = (u · n/|n|)|v × w| which simplifies to u · n = |(u · (v × w)| which is
the absolute value of the triple scalar product. The vectors v, w and v × w form a right handed
coordinate system. If the first vector v is your thumb, the second vector w is the pointing finger
then v × w is the third middle finger of the right hand. For example, the vectors i, j, i × j = k
form a right handed coordinate system.
Since the triple scalar product is linear with respect to each vector, we also see that volume is
additive. Adding two equal parallelepipeds together for example gives a parallelepiped with twice
the volume.
c Dejen K. 2018 18 http://elearning.amu.edu.et/course
1.3. CROSS PRODUCT AMU
Example 1.3.3
1. Problem: You have two apples of the same shape, but one has a 3 times larger
diameter. What is their weight ratio?
Answer. For a parallelepiped spanned by [a, 0, 0]T
[0, b, 0]T
and [0, 0, c]T
, the volume
is the triple scalar product abc. If a, b, c are all tripled, the volume gets multiplied by
a factor 27. Now cut each apple into the same amount of parallelepipeds, the larger
one with slices 3 times as large too. Since each of the pieces has 27 times the volume,
also the apple is 27 times heavier!
2. Problem: Find the volume of the parallelepiped which has the vertices O =
(1, 1, 0), P = (2, 3, 1), Q = (4, 3, 1), R = (1, 4, 1). Answer: We first see that the
solid is spanned by the vectors u = [1, 2, 1]T
, v = [3, 2, 1]T
, and w = [0, 3, 1]T
. We get
v × w = [−1, −3, 9]T
and u · (v × w) = 2. The volume is 2.
3. Problem. A 3D scanner is used to build a 3D model of a face. It detects a triangle
which has its vertices at P = (0, 1, 1), Q = (1, 1, 0) and R = (1, 2, 3). Find the area of
the triangle.
Solution. We have to find the length of the cross product of PQ and PR which is
[1, −3, 1]T
. The length is
√
11.
4. Problem. The scanner detects an other point A = (1, 1, 1). On which side of the
triangle is it located if the cross product of PQ and PR is considered the direction
”up”.
Solution. The cross product is n = [1, −3, 1]T
. We have to see whether the vector
PA = [1, 0, 0]T
points into the direction of n or not. To see that, we have to form the
dot product. It is 1 so that indeed, A is ”above” the triangle. Note that a triangle in
space a priori does not have an orientation. We have to tell, what direction is ”up”.
That is the reason that file formats for 3D printing like contain the data for three
points in space as well as a vector, telling the direction.
c Dejen K. 2018 19 http://elearning.amu.edu.et/course
1.4. LINES AND PLANES IN SPACE AMU
Exercise 1.4
1. (a) a) Find a unit vector perpendicular to the space diagonal [1, 1, 1]T
and the face
diagonal [1, 1, 0]T
of the cube.
(b) Find the volume of the parallelepiped for which the base parallelogram is given
by the points P = (5, 2, 2), Q = (3, 1, 2), R = (1, 4, 2), S = (−1, 3, 2) and which
has an edge connecting P with T = (5, 6, 8).
(c) Find the area of the base and use (b) to get the height of the parallelepiped.
2. (a) Assume u + v + w = 0. Verify that u × v = v × w = w × u.
(b) Find (u+v)·(v ×w) if u, v, w are unit vectors which are orthogonal to each other
and u × v = w.
3. To find the equation ax+by+cz = d for the plane which contains the point P = (1, 2, 3)
as well as the line which passes through Q = (3, 4, 4) and R = (1, 1, 2), we find a vector
[a, b, c]T
normal to the plane and fix d so that P is in the plane.
1.4 Lines and planes in space
Definition 1.24
A point P = (p, q, r) and a vector v = [a, b, c]T
define the line
L =






p
q
r


 + t



a
b
c


 , t ∈ R



.
The line consists of all points obtained by adding a multiple of the vector v = [a, b, c]T
to the
vector OP = [p, q, r]T
. The line contains the point P as well as a copy of v attached to P. Every
vector contained in the line is necessarily parallel to v. We think about the parameter t as ”time”.
At time t = 0, we are at the point P, whereas at time t = 1 we are at OP + v.
Definition 1.25
If t is restricted to values in a parameter interval [s, u], then L =
[p, q, r]T
+ t[a, b, c]T
, s ≤ t ≤ u is a line segment which connects r(s) with r(u).
Example 1.4.1
To get the line through P = (1, 1, 2) and Q = (2, 4, 6), form the vector v = PQ = [1, 3, 4]T
and get L = [x, y, z]T
= [1, 1, 2]T
+ t[1, 3, 4]T
. This can be written also as r(t) = [1 +
t, 1 + 3t, 2 + 4t]T
. If we write [x, y, z]T
= [1, 1, 2]T
+ t[1, 3, 4]T
as a collection of equations
x = 1 + 2t, y = 1 + 3t, z = 2 + 4t and solve the first equation for t:
L = {(x, y, z)|(x − 1)/2 = (y − 1)/3 = (z − 2)/4} .
c Dejen K. 2018 20 http://elearning.amu.edu.et/course
1.4. LINES AND PLANES IN SPACE AMU
Theorem 1.10
The line r = OP + tv defined by P = (p, q, r) and vector v = [a, b, c]T
with nonzero a, b, c
satisfies the symmetric equations
x − p
a
=
y − q
b
=
z − r
c
.
Proof. Each of these expressions is equal to t. These symmetric equations have to be
modified a bit one or two of the numbers a, b, c are zero. If a = 0, replace the first equation
with x = p, if b = 0 replace the second equation with y = q and if c = 0 replace third
equation with z = r. The interpretation is that the line is written as an intersection of two
planes.
Example 1.4.2
1. Find the symmetric equations for the line through the points P = (0, 1, 1) and Q =
(2, 3, 4), first form the parametric equations [x, y, z]T = [0, 1, 1]6T + t[2, 2, 3]T
or x =
2t, y = 1 + 2t, z = 1 + 3t. Solving each equation for t gives the symmetric equation
x/2 = (y − 1)/2 = (z − 1)/3.
2. Problem: Find the symmetric equation for the z axes. Answer: This is a situation
where a = b = 0 and c = 1. The symmetric equations are simply x = 0, y = 0. If two
of the numbers a, b, c are zero, we have a coordinate plane. If one of the numbers are
zero, then the line is contained in a coordinate plane.
Definition 1.26
A point P and two vectors v, w define a plane Σ =
OP + tv + sw, where t, s are real numbers .
Example 1.4.3
An example is σ = [x, y, z]T
= [1, 1, 2]T
+ t[2, 4, 6]T
+ s[1, 0, −1]T
. This is called the para-
metric description of a plane.
If a plane contains the two vectors v and w, then the vector n = v × w is orthogonal to both v
and w. Because also the vector PQ = OQ − OP is perpendicular to n, we have (Q − P) · n = 0.
With Q = (x0, y0, z0), P = (x, y, z), and n = [a, b, c]T
, this means ax+by+cz = ax0+by0+cz0 = d.
The plane is therefore described by a single equation ax + by + cz = d. We have shown:
Theorem 1.11
The equation for a plane containing v and w and a point P is
ax + by + cz = d,
where [a, b, c]T
= v × w and d is obtained by plugging in P.
c Dejen K. 2018 21 http://elearning.amu.edu.et/course
1.4. LINES AND PLANES IN SPACE AMU
Example 1.4.4
Problem: Find the equation of a plane which contains the three points P =
(−1, −1, 1), Q = (0, 1, 1), R = (1, 1, 3).
Answer: The plane contains the two vectors v = [1, 2, 0]T
and w = [2, 2, 2]T
. We have
n = [4, −2, −2]T
and the equation is 4x − 2y − 2z = d. The constant d is obtained by
plugging in the coordinates of a point to the left. In our case, it is 4x − 2y − 2z = −4.
Definition 1.27
The angle between the two planes ax + by + cz = d and ex + fy + gz = h is defined
as the angle between the two normal vectors n = [a, b, c]T
and m = [e, f, g]T
.
Example 1.4.5
Problem: Find the angle between the planes x + y = −1 and x + y + z = 2. Answer:
find the angle between n = [1, 1, 0]T
and m = [1, 1, 1]T
. It is arccos(2/
√
6).
Finally, lets look at some distance formulas.
1. If P is a point and Σ : n · x = d is a plane containing a point Q, then
d(P, Σ) =
|PQ · n|
|n|
is the distance between P and the plane.
Proof: use the angle formula in the denominator. For example, to find the distance from
P = (7, 1, 4) to σ : 2x + 4y + 5z = 9, we find first a a point Q = (0, 1, 1) on the plane. Then
compute
d(P, Σ) =
|[−7, 0, −3]T
· [2, 4, 5]T
|
|[2, 4, 5]T |
=
29
√
45
.
2. If P is a point in space and L is the line r(t) = Q + tu, then
d(P, L) =
|(PQ) × u|
|u|
is the distance between P and the line L.
Proof: the area divided by base length is height of parallelogram.
For example, to compute the distance from P = (2, 3, 1) to the line r(t) = (1, 1, 2)+t(5, 0, 1),
compute
d(P, L) =
|[−1, −2, 1]T
× [5, 0, 1]T
|
[5, 0, 1]T
=
|[−2, 6, 10]T
|
√
26
=
√
140
√
26
3. If L is the line r(t) = Q + tu and M is the line s(t) = P + tv, then
d(L, M) =
|(PQ) · (u × v)|
|u × v|
is the distance between the two lines L and M.
Proof: the distance is the length of the vector projection of PQ onto u · v which is normal
to both lines.
c Dejen K. 2018 22 http://elearning.amu.edu.et/course
1.4. LINES AND PLANES IN SPACE AMU
For example, to compute the distance between r(t) = (2, 1, 4) + t(−1, 1, 0) and M is the line
s(t) = (−1, 0, 2) + t(5, 1, 2) form the cross product of [−1, 1, 0]T
and [5, 1, 2]T
is [2, 2, −6]T
.
The distance between these two lines is
d(L, M) =
|(3, 1, 2) · (2, 2, −6)|
|[2, 2, −6]T |
=
4
√
44
.
4. To get the distance between two planes n · x = d and n · x = e, then their distance is
d(Σ, Π) =
|e − d|
|n|
Non-parallel planes have distance 0. Proof: use the distance formula between point and
plane. For example, 5x + 4y + 3z = 8 and 10x + 8y + 6z = 2 have the distance
|8 − 1|
|[5, 4, 3]T |
=
7
√
50
.
Exercise 1.5
1. Given the three points P = (7, 4, 5) and Q = (1, 3, 9) and R = (4, 2, 10). find the
parametric and symmetric equation for the line perpendicular to the triangle PQR
passing through its center of mass (P + Q + R)/3.
2. Find a parametric equation for the line through the point P = (3, 1, 2) that is perpen-
dicular to the line L : x = 1 + 4t, y = 1 − 4t, z = 8t and intersects this line in a point
Q.
3. (a) Find the equation of the plane containing the three points P = (1, 1, 1), Q =
(4, 6, 3), R = (5, 5, 0).
(b) Find the area of the triangle PQR.
4. (a) Compute a suitable volume to determine whether A = (2, 2, 3), B = (4, 0, 7), C =
(6, 3, 1) and D = (2, −3, 11) are in the same plane.
(b) Find the distance between the line L through A, B and the line M through C, D.
5. (a) Find an equation of the plane containing the line of intersection of the planes
x − z = 1 and y + z = 3 which is perpendicular to the plane x + y − 2z = 1.
(b) Find the distance of the plane found in (a) to the origin (0, 0, 0).
6. Given three spheres of radius 9 centered at A = (1, 2, 0), B = (4, 5, 0), C = (1, 3, 2).
Find a plane ax + by + cz = d which touches all of three spheres from the same side.
c Dejen K. 2018 23 http://elearning.amu.edu.et/course
1.5. FUNCTIONS AMU
1.5 Functions
Definition 1.28
A function of two variables f(x, y) is a rule which assigns to two numbers x, y a third
number f(x, y). The function f(x, y) = x5
y − 2y2
for example assigns to (2, 3) the number
96 − 18 = 78.
A function is usually defined for all points (x, y) in R2
like in f(x, y) = |x|7
+esin(xy)
. Sometimes
however it is required to restrict the function to a domain D in the plane. For example, if
f(x, y) = log |y| +
√
x, then (x, y) is only defined for x > 0 and if y = 0. The range of a function
f is the set of values which the function f reaches. The function f(x, y) = 3 + x2
/(1 + x2
) for
example takes all values 3 ≤ z < 4. While z = 3 is reached, the value z = 4 is not attained.
Definition 1.29
The graph of f(x, y) is the set {(x, y, f(x, y))|(x, y) ∈ D} in R3
. Graphs are surfaces which
allow to see the function visually.
Example 1.5.1
1. The graph of f(x, y) =
√
9 − x2 − y2 on the domain x2
+ y2
< 9 is a half-sphere of
radius
2.
Example f(x, y) domain D of f range = f(D) of f
− log(1 − x2
− y2
) open unit disc x2
+ y2
< 1 (0, ∞)
f(x, y) = x2
+ y3
− xy + cos(xy) plane R2
the real line√
4 − x2 − 2y2 x2
+ 2y2
≤ 4 [0, 2]
1/(x2
+ y2
− 1) all except unit circle R (1, 0]
1/(x2
+ y2
)2
all except origin positive real axis
Definition 1.30
The set {(x, y)|f(x, y) = c = const} is called a contour curve or level curve of f. For
example, for f(x, y) = 4x2
+3y2
, the level curves f = c are ellipses if c > 0. Drawing several
contour curves {f(x, y) = c} simultaneously produces a contour map of the function f.
Level curves allow to visualize and analyze functions f(x, y) without leaving the plane. The picture
to the right for example shows the level curves of the function sin(xy) − sin(x2
+ y). Contour
curves are everywhere: they appear as isobars=curves of constant pressure, or isoclines=curves
c Dejen K. 2018 24 http://elearning.amu.edu.et/course
1.5. FUNCTIONS AMU
of constant (wind) field direction, isothermes= curves of constant temperature or isoheights
=curves of constant height.
Example 1.5.2
1. For f(x, y) = x2
− y2
, the set x2
− y2
= 0 is the union of the lines x = y and x = −y.
The set x2
− y2
= 1 consists of two hyperbola with with their ”noses” at the point
(−1, 0) and (1, 0). The set x62 − y2
= −1 consists of two hyperbola with their noses
at (0, 1) and (0, −1).
2. The function f(x, y) = 1 − 2x2
− y2
has contour curves f(x, y) = 1 − 2x2
+ y2
= c
which are ellipses 2x2
+ y2
= 1 − c for c < 1.
3. For the function f(x, y) = (x2
− y2
)e−x2−y2
, we can not find explicit expressions for
the contour curves (x2
− y2
)e−x2−y2
= c. We can draw the traces curve (x, 0, f(x, 0))
or (0, y, f(0, y) or then use a computer:
4. The surface z = f(x, y) = sin( x2 + y2)has concentric circles as contour curves.
In applications, discontinuous functions can occur. The temperature of water in relation to pres-
sure and volume for example. One experiences phase transitions, places where the function value
jump. Mathematicians study singularities in a mathematical field called ”catastrophe theory”.
c Dejen K. 2018 25 http://elearning.amu.edu.et/course
1.5. FUNCTIONS AMU
Definition 1.31
A function f(x, y) is called continuous at (a, b) if there is a finite value f(a, b) with
lim
(x,y)→(a,b)
f(x, y) = f(a, b). This means that for any sequence (xn, yn) converging to (a, b),
also f(xn, yn) → f(a, b). A function is continuous in a subset G of the plane if it is continuous
at every point (a, b) of G.
Continuity means that if (x, y) is close to (a, b), then f(x, y) is close to f(a, b). Continuity for
functions of more than two variables is defined in the same way. Continuity is not always easy to
check. In general, we do not have to worry about continuity. Lets look at some examples:
Example 1.5.3
For f(x, y) = (xy)/(x2
+ y2
), we have lim
(x,x)→(0,0)
f(x, x) = lim
x→0
x2
/(2x2
) = 1/2 and
lim
(x,0)→(0,0)
f(0, x) = lim
(x,0)→(0,0)
0 = 0. The function is not continuous at (0, 0).
Definition 1.32
A function of three variables g(x, y, z) assigns to three variables x, y, z a real number
g(x, y, z). The function f(x, y, z) = x2
+ y − z for example satisfies f(3, 2, 1) = 10. We
can visualize a function by contour surfaces g(x, y, z) = c, where c is constant. It is an
implicit description of the surface. The contour surface of g(x, y, z) = x2
+ y2
+ z2
= c is
a sphere if c > 0. To understand a contour surface, it is helpful to look at the traces, the
intersections of the surfaces with the coordinate planes x = 0, y = 0 or z = 0.
c Dejen K. 2018 26 http://elearning.amu.edu.et/course
1.5. FUNCTIONS AMU
Example 1.5.4
1. The function g(x, y, z) = 2+sin(xyz) could define a temperature distribution in space.
We can no more draw the graph of g because that would be an object in 4 dimensions.
We can however draw surfaces like g(x, y, z) = 0.
2. The level surfaces of g(x, y, z) = x2
+ y2
+ z2
are spheres. The level surfaces of
g(x, y, z) = 2x2
+ y2
+ 3z2
are ellipsoids.
3. For g(x, y, z) = z − f(x, y), the level surface g = 0 agrees with the graph z = f(x, y)
of f. For example, for g(x, y, z) = z − x2
− y2
= 0, the graph z = x2
+ y2
of the
function f(x, y) = x2
+ y2
is a paraboloid. Graphs are special surfaces. Most surfaces
of the form g(x, y, z) = c can not be written as graphs. The sphere is an example. We
would need two graphs to cover it.
4. The equation ax + by + cz = d is a plane. With n = [a, b, c]T
and x = [x, y, z]T
, we
can rewrite the equation n · x = d. If a point x0 is on the plane, then n · x0 = d. so
that n · (x − x0) = 0. This means that every vector x − x0 in the plane is orthogonal
to n.
5. For f(x, y, z) = ax2
+ by2
+ cz2
+ dxy + exz + fyz + gx + hy + kz + m the surface
f(x, y, z) = 0 is called a quadric. We will look at a few examples.
6. Higher order polynomial surfaces can be intriguingly beautiful and are sometimes diffi-
cult to describe. If f is a polynomial in several variables and f(x, x, x) is a polynomial
of degree d, then f is called a degree d polynomial surface. Degree 2 surfaces are
quadrics, degree 3 surfaces cubics, degree 4 surfaces quartics, degree 5 surfaces
quintics, degree 10 surfaces decics and so on.
c Dejen K. 2018 27 http://elearning.amu.edu.et/course
1.6. VECTOR VALUED FUNCTIONS AMU
1.6 Vector Valued Functions
Definition 1.33
A vector-valued function consists of two parts: a domain, which is a subset of R, and a
rule, which assigns to each number in the domain one and only one vector.
The rule is usually given as a formula. The formula of the function can be expressed as
r(t) = f1(t)i + f2(t)j + f3(t)k
where t is in the common domain of f1, f2, f3 (single variable functions called the component
functions).
{p|p = r(t), t ∈ domain}
1.7 Parametrized surfaces
We have seen that surfaces can be given as level surfaces g(x, y, z) = c. A different, more
constructive way to describe a surface is to give a parametrization, generalizing what we have
done for planes.
c Dejen K. 2018 28 http://elearning.amu.edu.et/course
1.7. PARAMETRIZED SURFACES AMU
Definition 1.34
A parametrization of a surface is a vector-valued function
r(u, v) = [x(u, v), y(u, v), z(u, v)]T
,
where x(u, v), y(u, v), z(u, v) are three functions of two variables. The parameters u, v define
coordinates on the surface. Plug in u = 3, v = 2 for example in r(u, v) = [u − 2, v2
, u3
− v]T
, we have r(3, 2) = [1, 4, 25]T
.
Because two parameters u and v are involved, the map r is also called uv-map. And like uv-light,
it looks cool.
Definition 1.35
A parametrized surface is the image of the uv-map. The domain of the uv-map is called
the parameter domain. The parametrization is what you are doing, the surface itself is
something you see. There are many different parametrizations of the same surface.
Definition 1.36
If the first parameter u is kept constant, then v → r(u, v) is a curve on the surface. Similarly,
if v is constant, then u → r(u, v) traces a curve the surface. These curves are called grid
curves.
Parametric surfaces can be complex. But it can be explored also with the help of a computer.
The following four examples are important building blocks for more general surfaces.
1. Planes: Parametric: r(s, t) = OP + sv + tw
Implicit: ax + by + cz = d. Parametric to implicit: find the normal vector n = v × w.
Implicit to Parametric: find two vectorsv, w normal to the vector n. For example, find
threepoints P, Q, R on the surface and forming u = PQ, v = PR.
2. Spheres: Parametric: r(u, v) = [a, b, c]T
+ [ρ cos(u) sin(v), ρ sin(u) sin(v), ρ cos(v)]T
Implicit: (x − a)2
+ (y − b)2
+ (z − c)2
= ρ2
.
Parametric to implicit: reading off the radius.
Implicit to parametric: find the center (a, b, c) and the radius r possibly by completing the
square.
c Dejen K. 2018 29 http://elearning.amu.edu.et/course
1.7. PARAMETRIZED SURFACES AMU
3. Graphs: Parametric: r(u, v) = [u, v, f(u, v)]T
Implicit: z − f(x, y) = 0. Parametric to implicit: look up the function f(x, y)z = f(x, y)
Implicit to parametric: use x and y as variables.
4. Surfaces of revolution: Parametric: r(u, v) = [g(v) cos(u), g(v) sin(u), v]T
Implicit:
√
x2 + y2 = r = g(z) can be written as x2
+ y2
= g(z)2
.
Parametric to implicit: read off g(z) the distance to the z-axis.
Implicit to parametric: use the radius function g(z) and think about polar coordinates.
Definition 1.37
A point (x, y) in the plane has the polar coordinates r =
√
x2 + y2, θ = arctan(y/x). We
have (x, y) = (r cos(θ), r sin(θ)).
c Dejen K. 2018 30 http://elearning.amu.edu.et/course
1.7. PARAMETRIZED SURFACES AMU
The formula θ = arctan(y/x) defines the angle θ only up to an addition of an integer multiple of
π. The points (1, 2) and (−1, −2) for example have the same θ value. In order to get the correct
θ value one can take arctan(y/x) in (π/2, π/2], where π/2 is the limit when x → 0+
, then add π
if x < 0 or if x = 0 and y < 0.
Definition 1.38
The coordinate system obtained by representing points in space as
(x, y, z) = (r cos(θ), r sin(θ), z)
is called the cylindrical coordinate system.
Here are some level surfaces in cylindrical coordinates:
1. r = 1 is a cylinder, r = |z| is a double cone, r2
= z elliptic paraboloid, θ = 0 is a half plane,
r = θ is a rolled sheet of paper.
2. r = 2 + sin(z) is an example of a surface of revolution.
Definition 1.39
Spherical coordinates use the distance ρ to the origin as well as two angles θ and φ called
Euler angles. The first angle θ is the angle we have used in polar coordinates. The second
angle, φ, is the angle between the vector OP and the z-axis. A point has the spherical
coordinate
(x, y, z) = (ρ cos(θ) sin(φ), ρ sin(θ) sin(φ), ρcos(φ)).
We always use 0 ≤ θ < 2π, 0 ≤ φ ≤ π, ρ ≥ 0.
The following figures allow you to derive the formulas. The distance to the z axes is r = ρ sin(φ)
and the height z = ρ cos(φ) can be read off by the left picture, the coordinates x = r cos(θ), y =
r sin(θ) can be seen in the right picture.
Here are some level surfaces described in spherical coordinates:
♣ ρ = 1 is a sphere, the surface φ = π/4 is a single cone, ρ = φ is an apple shaped surface
and ρ = 2 + cos(3θ) sin(φ) is an example of a bumpy sphere.
c Dejen K. 2018 31 http://elearning.amu.edu.et/course
1.8. PARAMETRIZED CURVES AMU
1.8 Parametrized curves
Definition 1.40
A parametrization of a planar curve is a map r(t) = [x(t), y(t)]T
from a parameter
interval R = [a, b] to the plane. The functions x(t) and y(t) are called coordinate
functions. The image of the parametrization is called a parametrized curve in the
plane. Similarly, the parametrization of a space curve is r(t) = [x(t), y(t), z(t)]T
. The
image of r is a parametrized curve in space.
We think of the parameter t as time and the parametrization as a drawing process. The curve
is the result what you see. For a fixed time t, we have a vector [x(t), y(t), z(t)]T
in space. As t
varies, the end point of this vector moves along the curve. The parametrization contains more
information about the curve then the curve itself. It tells for example how fast the curve was
traced.
1. The parametrization r(t) = [1+2 cos(t), 3+5 sin(t)]T
is the ellipse (x−1)2
/4+(y−3)2
/25 =
1.
2. The parametrization r(t) = [cos(3t), sin(5t)]T
is an example of a Lissajous curve.
3. If x(t) = t, y(t) = f(t), the curve r(t) = [t, f(t)]T
traces the graph of the function f(x). For
example, for f(x) = x2
+ 1, the graph is a parabola.
4. With x(t) = 2 cos(t), y(t) = 3 sin(t), then r(t) follows an ellipse. We can see this fromx(t)2
/4+
y(t)2
/9 = 1. Adding an other circular motion gives an epicycle r(t) = [2 cos(t)+cos(31t)/4, 3 sin(t)+
sin(31t)/4]T
.
5. With x(t) = t cos(t), y(t) = t sin(t), z(t) = t we get the parametrization of a space curve
r(t) = [t cos(t), t sin(t), t]T
. It traces a helix which has a radius changing linearly.
6. If x(t) = cos(2t), y(t) = sin(2t), z(t) = 2t, then we have the same curve as in the previous
example but the curve is traversed faster. The parameterization of the curve has changed.
7. For x(t) = cos(−t), y(t) = sin(−t), z(t) = −t we get the same curve, but we move in the
opposite direction.
c Dejen K. 2018 32 http://elearning.amu.edu.et/course
1.8. PARAMETRIZED CURVES AMU
8. If P = (a, b, c) and Q = (u, v, w) are points in space, then r(t) = [a + t(u − a), b + t(v −
b), c + t(w − c)]T
defined on t ∈ [0, 1] is a line segment connecting P with Q. For example,
r(t) = [1 + t, 1 − t, 2 + 3t]T
connects the points P = (1, 1, 2) with Q = (2, 0, 1).
Sometimes it is possible to eliminate the time parameter t and write the curve using equations.
An example was the symmetric equations for the line. We need one equation to do so in two
dimensions but two equations in three dimensions.
1. The symmetric equations describing a line (x − x0)/a = (y − y0)/b = (z − z0)/c is the
intersection of two planes.
2. If f and g are polynomials, the set of points satisfying f(x, y, z) = 0, g(x, y, z) = 0 is
an example of an algebraic variety. An example is the set of points in space satisfying
x2
− y2
+ z3
= 0, x5
− y + z5
+ xy = 3. An other example is the set of points satisfying
x2
+ 4y2
= 5, x + y + z = 1 which is an ellipse in space.
3. For x(t) = t cos(t), y(t) = t sin(t), z(t) = t, then x = t cos(z), y = t sin(z) and we can see
that x2
+ y2
= z2
. The curve is located on a cone. We also have y/x = tan(z) so that we
could see the curve as an intersection of two surfaces. Detecting relations between x, y, z
can help to understand the curve.
4. Curves describe the paths of particles, celestial bodies, or quantities which change in time.
Examples are the motion of a star moving in a galaxy, or economical data changing in time.
Here are some more places, where curves appear:
Strings or knots are closed curves in space.
Molecules like RNA or proteins.
Graphics: grid curves produce a mesh of curves.
Typography: fonts represented by B’ezier curves.
Relativity: curve in space-time describes the motion of an object
Topology: space filling curves, boundaries of surfaces or knots.
Definition 1.41
If r(t) = [x(t), y(t), z(t)]T
is a curve, then r (t) = [x (t), y (t), z (t)]T
= [ ˙x, ˙y, ˙z]T
is called the
velocity at time t. Its length |r (t)| is called speed and T(t) = r (t)
|v (t)|
is the unit tangent
vector. The vector r (t) is called the acceleration at r(t). The third derivative r is called
the jerk.
Theorem 1.12
Any vector parallel to the velocity r (t) is called tangent to the curve at r(t).
Here are where velocities, acceleration and jerk are computed:
Position r(t) = [cos(3t), sin(2t), 2 sin(t)]T
Velocity r (t) = [−3 sin(3t), 2 cos(2t), 2 cos(t)]T
Acceleration r (t) = [−9 cos(3t), −4 sin(2t), −2 sin(t)]T
Jerk r (t) = [27 sin(3t), 8 cos(2t), −2 cos(t)]T
You know from single variable the addition rule (f + g) = f + g , the scalar multiplication
rule (cf) = cf and the Leibniz rule (fg) = f g+fg as well as the chain rule (f(g)) = f (g)g .
They generalize to vector-valued functions.
c Dejen K. 2018 33 http://elearning.amu.edu.et/course
1.9. ARC LENGTH AND CURVATURE AMU
Theorem 1.13
(v + w) = v + w , (cv) = cv , (v · w) = v · w + v · w (v × w) = v × w + v × w (v(f(t))) =
v (f(t))f (t).
The process of differentiation of a curve can be reversed using the fundamental theorem of
calculus. If r (t) and r(0) is known, we can figure out r(t) by integration r(t) = r(0) + t
0 r (s) ds.
Theorem 1.14
Assume we know the acceleration a(t) = r (t) at all times as well as initial velocity and
position r (0) and r(0). Then r(t) = r(0) + tr (0) + R(t), where R(t) = t
0 v(s) ds and
v(t) = t
0 a(s) ds.
The free fall is the case when acceleration is constant. The direction of the constant force
defines what is ”down”. If r (t) = [0, 0, −10]T
, r (0) = [0, 1000, 2]T
, r(0) = [0, 0, h]T
, then r(t) =
[0, 1000t, h + 2t − 10t2
/2]T
.
Theorem 1.15
If r (t) = F is constant, then r(t) = r(0) + tr (0) − Ft2
/2.
1.9 Arc length and curvature
Definition 1.42
If t ∈ [a, b] → r(t) is a parametrized curve with velocity r (t) and speed |r (t)|, then the
number L = b
a |r (t)| dt is called the arc length of the curve.
We justify in class why this formula is reasonable if r is differentiable. Written out, the formula
is L = b
a x (t)2 + y (t)2 + z (t)2 dt.
1. The arc length of the circle of radius R given by r(t) = [R cos(t), R sin(t)]T
parameterized
by 0 ≤ t ≤ 2π is 2π because the speed |r (t)| is constant and equal to R. The answer is 2πR.
2. The helix r(t) = [cos(t), sin(t), t]|T
has velocity r (t) = [− sin(t), cos(t), 1]T
and constant
speed |r (t)| = |[− sin(t), cos(t), 1]T
| =
√
2.
3. What is the arc length of the curve
r(t) = [
√
2t, log(t), t2
/2]T
c Dejen K. 2018 34 http://elearning.amu.edu.et/course
1.9. ARC LENGTH AND CURVATURE AMU
for 1 ≤ t ≤ 2? Answer: Because r (t) = [
√
2, 1/t, t]T
, we have r (t) = 2 + 1/t2 + t2 =
|1/t + t| and L = 2
1 1/t + t dt = log(t) + t2
2
|2
1 = log(2) + 2 − 1/2. This curve does not have
a name. But because it is constructed in such a way that the arc length can be computed,
we an call it ”opportunity”.
4. Find the arc length of the curve r(t) = [3t2
, 6t, t3
]T
from t = 1 to t = 3.
5. What is the arc length of the curve r(t) = [cos3
(t), sin3
(t)]T
? Answer: We have |r (t)| =
3 sin2
(t) cos4(t) + cos2(t) sin4
(t) = (3/2 sin(2t)|. Therefore, 2π
0 (3/2) sin(2t) dt = 6.
6. Find the arc length of r(t) = [t2
/2, t3
/3]T
for −1 ≤ t ≤ 1. This cubic curve satisfies
y2
= x3
8/9 and is an example of an elliptic curve. Because x
√
1 + x2 dx = (1 + x2
)3/2
/3,
the integral can be evaluated as 1
−1 |x|
√
1 + x2 dx = 2 1
0
√
1 + x2 dx = 2(1 + x2
)3/2
/3|1
0 =
2(2
√
2 − 1)/3.
7. The arc length of an epicycle r(t) = [t + sin(t), cos(t)]T
parameterized by 0 ≤ t ≤ 2π.
We have |r (t)| = 2 + 2 cos(t). so that L = 2π
0 2 + 2 cos(t) dt. A substitution t = 2u
gives L = π
0 2 + 2 cos(2u)2 du = π
0 2 + 2 cos2(u) − 2 sin2
(u)2 du = π
0 4cos2
(u)2 du =
4 π
0 | cos(u)| du = 8.
8. Find the arc length of the catenary r(t) = [t, cosh(t)]T
, where cosh(t) = (et
+ e−t
)/2 is the
hyperbolic cosine and t ∈ [−1, 1]. We have
cosh2
(t)2
− sinh2
(t) = 1,
where sinh(t) = (et
−e−t
)/2 is the hyperbolic sine. Solution: We have |r (t)| = 1 + sinh2(t) =
cosh(t) and 1
−1 cosh(t) dt = 2 sinh(1).
Because a parameter change t = t(s) corresponds to a substitution in the integration which does
not change the integral, we immediately see ”path independence of arc length”:
Theorem 1.16
The arc length is independent of the parameterization of the curve.
1. The circle parameterized by r(t) = [cos(t2
), sin(t2
)]T
on t = [0,
√
2π] has the velocity r (t) =
2t[− sin(t), cos(t)]T
and speed 2t. The arc length is still 2π
0 2tdt = t2
|
√
2π
0 = 2π.
2. Often, there is no closed formula for the arc length of a curve. For example, the Lissajous
figure r(t) = [cos(3t), sin(5t)]T
leads to the arc length integral 2π
0 9 sin2
(3t) + 25 cos2(5t) dt
which can only be evaluated numerically.
Definition 1.43
Define the unit tangent vector T(t) = r (t)|/|r (t)| unit tangent vector.
The curvature of a curve at the point r(t) is defined as
kappa(t) =
|T (t)|
|r (t)|
.
The curvature is the length of the acceleration vector if r(t) traces the curve with constant speed
1. A large curvature at a point means that the curve is strongly bent. Unlike the acceleration or
c Dejen K. 2018 35 http://elearning.amu.edu.et/course
1.9. ARC LENGTH AND CURVATURE AMU
the velocity, the curvature does not depend on the parameterization of the curve. You ”see” the
curvature, while you ”feel” the acceleration.
Theorem 1.17
The curvature does not depend on the parametrization.
Proof. Let s(t) be an other parametrization, then by the chain rule d/dtT (s(t)) =
T (s(t))s (t) and d/dtr(s(t)) = r (s(t))s (t). We see that the s cancels in T /r .
Especially, if the curve is parametrized by arc length, meaning that the velocity vector r (t)
has length 1, then κ(t) = |T (t)|. It measures the rate of change of the unit tangent vector.
1. The curve r(t) = [t, f(t)]T
, which is the graph of a function f has the velocity r (t) =
(1, f (t)) and the unit tangent vector T(t) = (1, f (t))/ 1 + f (t)2. After some simplification
we get
κ(t) = |T (t)|/|r (t)| = |f (t)|/ 1 + f (t)2
3
For example, for f(t) = sin(t), then κ(t) = | sin(t)|/| 1 + cos2(t)
3
.
Definition 1.44
If r(t) is a curve which has nonzero speed at t, then we can define T(t) =
r (t)
|r t)|
, the
unit tangent vector, N(t) =
T (t)
|T (t)|
, the normal vector and B(t) = T(t) × N(t) the
bi-normal vector. The plane spanned by N and B is called the normal plane. It is
perpendicular to the curve. The plane spanned by T and N is called the osculating plane.
If we differentiate T(t) · T(t) = 1, we get T (t) · T(t) = 0 and see that N(t) is perpendicular to
T(t). Because B is automatically normal to T and N , we have shown:
Theorem 1.18
The three vectors (T(t), N(t)B(t)) are unit vectors orthogonal to each other.
Here is an application of curvature: if a curve r(t) represents a wave front and n(t) is a unit
vector normal to the curve at r(t), then s(t) = r(t) + n(t)/κ(t) defines a new curve called the
caustic of the curve. Geometers call it the evolute of the original curve.
Theorem 1.19
A useful formula for curvature is
κ(t) =
|r (t) × r (t)|
|r|3
c Dejen K. 2018 36 http://elearning.amu.edu.et/course
1.9. ARC LENGTH AND CURVATURE AMU
We prove this in class. Finally, lets mention that curvature is important also in computer vision.
If the gray level value of a picture is modeled as a function f(x, y) of two variables, places where
the level curves of f have maximal curvature corresponds to corners in the picture. This is useful
when tracking or identifying objects.
c Dejen K. 2018 37 http://elearning.amu.edu.et/course

More Related Content

What's hot

Modular arithmetic
Modular arithmeticModular arithmetic
Modular arithmetic
Janani S
 
3.2 implicit equations and implicit differentiation
3.2 implicit equations and implicit differentiation3.2 implicit equations and implicit differentiation
3.2 implicit equations and implicit differentiationmath265
 
Numerical analysis ppt
Numerical analysis pptNumerical analysis ppt
Numerical analysis ppt
MalathiNagarajan20
 
First order linear differential equation
First order linear differential equationFirst order linear differential equation
First order linear differential equationNofal Umair
 
INTEGRATION BY PARTS PPT
INTEGRATION BY PARTS PPT INTEGRATION BY PARTS PPT
INTEGRATION BY PARTS PPT
03062679929
 
Partial Fractions Quadratic Term
Partial Fractions Quadratic TermPartial Fractions Quadratic Term
Partial Fractions Quadratic Term
acoach
 
Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)
Matthew Leingang
 
Chain Rule
Chain RuleChain Rule
Chain Rule
Nishant Patel
 
Bisection & Regual falsi methods
Bisection & Regual falsi methodsBisection & Regual falsi methods
Bisection & Regual falsi methods
Divya Bhatia
 
Metric space
Metric spaceMetric space
Metric space
NaliniSPatil
 
Numerical differentiation
Numerical differentiationNumerical differentiation
Numerical differentiationandrushow
 
Lesson 19: The Mean Value Theorem
Lesson 19: The Mean Value TheoremLesson 19: The Mean Value Theorem
Lesson 19: The Mean Value Theorem
Matthew Leingang
 
INVERSE OF MATRIX
INVERSE OF MATRIXINVERSE OF MATRIX
INVERSE OF MATRIX
Rajneesh Pachwaria
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebramdaglis
 
Application of partial derivatives with two variables
Application of partial derivatives with two variablesApplication of partial derivatives with two variables
Application of partial derivatives with two variables
Sagar Patel
 
Differential geometry three dimensional space
Differential geometry   three dimensional spaceDifferential geometry   three dimensional space
Differential geometry three dimensional space
Solo Hermelin
 
A Review Article on Fixed Point Theory and Its Application
A Review Article on Fixed Point Theory and Its ApplicationA Review Article on Fixed Point Theory and Its Application
A Review Article on Fixed Point Theory and Its Application
ijtsrd
 
Riemann sumsdefiniteintegrals
Riemann sumsdefiniteintegralsRiemann sumsdefiniteintegrals
Riemann sumsdefiniteintegrals
Dr. Jennifer Chang Wathall
 
Initial Value Problems
Initial Value ProblemsInitial Value Problems
Initial Value Problems
Mohammad Tawfik
 

What's hot (20)

Modular arithmetic
Modular arithmeticModular arithmetic
Modular arithmetic
 
3.2 implicit equations and implicit differentiation
3.2 implicit equations and implicit differentiation3.2 implicit equations and implicit differentiation
3.2 implicit equations and implicit differentiation
 
Numerical analysis ppt
Numerical analysis pptNumerical analysis ppt
Numerical analysis ppt
 
First order linear differential equation
First order linear differential equationFirst order linear differential equation
First order linear differential equation
 
INTEGRATION BY PARTS PPT
INTEGRATION BY PARTS PPT INTEGRATION BY PARTS PPT
INTEGRATION BY PARTS PPT
 
Partial Fractions Quadratic Term
Partial Fractions Quadratic TermPartial Fractions Quadratic Term
Partial Fractions Quadratic Term
 
Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)
 
Chain Rule
Chain RuleChain Rule
Chain Rule
 
graph theory
graph theory graph theory
graph theory
 
Bisection & Regual falsi methods
Bisection & Regual falsi methodsBisection & Regual falsi methods
Bisection & Regual falsi methods
 
Metric space
Metric spaceMetric space
Metric space
 
Numerical differentiation
Numerical differentiationNumerical differentiation
Numerical differentiation
 
Lesson 19: The Mean Value Theorem
Lesson 19: The Mean Value TheoremLesson 19: The Mean Value Theorem
Lesson 19: The Mean Value Theorem
 
INVERSE OF MATRIX
INVERSE OF MATRIXINVERSE OF MATRIX
INVERSE OF MATRIX
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Application of partial derivatives with two variables
Application of partial derivatives with two variablesApplication of partial derivatives with two variables
Application of partial derivatives with two variables
 
Differential geometry three dimensional space
Differential geometry   three dimensional spaceDifferential geometry   three dimensional space
Differential geometry three dimensional space
 
A Review Article on Fixed Point Theory and Its Application
A Review Article on Fixed Point Theory and Its ApplicationA Review Article on Fixed Point Theory and Its Application
A Review Article on Fixed Point Theory and Its Application
 
Riemann sumsdefiniteintegrals
Riemann sumsdefiniteintegralsRiemann sumsdefiniteintegrals
Riemann sumsdefiniteintegrals
 
Initial Value Problems
Initial Value ProblemsInitial Value Problems
Initial Value Problems
 

Similar to Calculus a Functions of Several Variables

Appendex g
Appendex gAppendex g
Appendex gswavicky
 
Module 2 plane coordinate geometry
Module  2   plane coordinate geometryModule  2   plane coordinate geometry
Module 2 plane coordinate geometry
dionesioable
 
Module 3 plane coordinate geometry
Module 3 plane coordinate geometryModule 3 plane coordinate geometry
Module 3 plane coordinate geometry
dionesioable
 
Notes on Equation of Plane
Notes on Equation of PlaneNotes on Equation of Plane
Notes on Equation of Plane
Herbert Mujungu
 
Coordinategeometry1 1
Coordinategeometry1 1Coordinategeometry1 1
Coordinategeometry1 1TGTMATH
 
Coordinategeometry1 1
Coordinategeometry1 1Coordinategeometry1 1
Coordinategeometry1 1TGTMATH
 
1513 circles
1513 circles1513 circles
1513 circles
Dr Fereidoun Dejahang
 
CBSE XII MATHS SAMPLE PAPER BY KENDRIYA VIDYALAYA
CBSE XII MATHS SAMPLE PAPER BY KENDRIYA VIDYALAYA CBSE XII MATHS SAMPLE PAPER BY KENDRIYA VIDYALAYA
CBSE XII MATHS SAMPLE PAPER BY KENDRIYA VIDYALAYA
Gautham Rajesh
 
Circunfêrencia 3
Circunfêrencia 3Circunfêrencia 3
Circunfêrencia 3
KalculosOnline
 
Mathematics
MathematicsMathematics
Mathematics
MathematicsMathematics
Mathematics
jiteshtuteja
 
Unidad 3 Realizar transferencia del conocimiento
Unidad 3 Realizar transferencia del conocimientoUnidad 3 Realizar transferencia del conocimiento
Unidad 3 Realizar transferencia del conocimiento
CristianCamilo155
 
Coordinate 1.pdf
Coordinate 1.pdfCoordinate 1.pdf
Coordinate 1.pdf
Jihudumie.Com
 
Circles
CirclesCircles
CLASS X MATHS
CLASS X MATHS CLASS X MATHS
CLASS X MATHS
Rc Os
 
Plano numerico
Plano numericoPlano numerico
Plano numerico
YignethAraujo
 
APPLICATION OF INTEGRALS.pdf
APPLICATION OF INTEGRALS.pdfAPPLICATION OF INTEGRALS.pdf
APPLICATION OF INTEGRALS.pdf
ssuser78d908
 
Cbse Class 12 Maths Sample Paper 2013 Model 3
Cbse Class 12 Maths Sample Paper 2013 Model 3Cbse Class 12 Maths Sample Paper 2013 Model 3
Cbse Class 12 Maths Sample Paper 2013 Model 3
Sunaina Rawat
 

Similar to Calculus a Functions of Several Variables (20)

Appendex g
Appendex gAppendex g
Appendex g
 
Module 2 plane coordinate geometry
Module  2   plane coordinate geometryModule  2   plane coordinate geometry
Module 2 plane coordinate geometry
 
Module 3 plane coordinate geometry
Module 3 plane coordinate geometryModule 3 plane coordinate geometry
Module 3 plane coordinate geometry
 
Notes on Equation of Plane
Notes on Equation of PlaneNotes on Equation of Plane
Notes on Equation of Plane
 
Coordinategeometry1 1
Coordinategeometry1 1Coordinategeometry1 1
Coordinategeometry1 1
 
Coordinategeometry1 1
Coordinategeometry1 1Coordinategeometry1 1
Coordinategeometry1 1
 
1513 circles
1513 circles1513 circles
1513 circles
 
CBSE XII MATHS SAMPLE PAPER BY KENDRIYA VIDYALAYA
CBSE XII MATHS SAMPLE PAPER BY KENDRIYA VIDYALAYA CBSE XII MATHS SAMPLE PAPER BY KENDRIYA VIDYALAYA
CBSE XII MATHS SAMPLE PAPER BY KENDRIYA VIDYALAYA
 
Circunfêrencia 3
Circunfêrencia 3Circunfêrencia 3
Circunfêrencia 3
 
Coordinate geometry
Coordinate geometryCoordinate geometry
Coordinate geometry
 
maths 12th.pdf
maths 12th.pdfmaths 12th.pdf
maths 12th.pdf
 
Mathematics
MathematicsMathematics
Mathematics
 
Mathematics
MathematicsMathematics
Mathematics
 
Unidad 3 Realizar transferencia del conocimiento
Unidad 3 Realizar transferencia del conocimientoUnidad 3 Realizar transferencia del conocimiento
Unidad 3 Realizar transferencia del conocimiento
 
Coordinate 1.pdf
Coordinate 1.pdfCoordinate 1.pdf
Coordinate 1.pdf
 
Circles
CirclesCircles
Circles
 
CLASS X MATHS
CLASS X MATHS CLASS X MATHS
CLASS X MATHS
 
Plano numerico
Plano numericoPlano numerico
Plano numerico
 
APPLICATION OF INTEGRALS.pdf
APPLICATION OF INTEGRALS.pdfAPPLICATION OF INTEGRALS.pdf
APPLICATION OF INTEGRALS.pdf
 
Cbse Class 12 Maths Sample Paper 2013 Model 3
Cbse Class 12 Maths Sample Paper 2013 Model 3Cbse Class 12 Maths Sample Paper 2013 Model 3
Cbse Class 12 Maths Sample Paper 2013 Model 3
 

Recently uploaded

TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 

Recently uploaded (20)

TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 

Calculus a Functions of Several Variables

  • 1. Calculus of Function of Several Variables(Math 2071) Lecture Note: Version 1.0 Dejen Ketem 1 dejen.ketema@amu.edu.et Department of Mathematics Arba Minch University, Ethiopia November 9, 2018 1Msc. in Mathematrical and Statistical Modelling
  • 2. Contents 1 Vectors and vector spaces 2 1.1 Geometry and Distance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2 Vectors & dot product . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.3 Cross Product . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.4 Lines and planes in space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 1.5 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 1.6 Vector Valued Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 1.7 Parametrized surfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 1.8 Parametrized curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 1.9 Arc length and curvature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 1
  • 3. Chapter 1 Vectors and vector spaces 1.1 Geometry and Distance The collection of all real numbers is denoted by R. Thus R includes the integers · · · , −2, −1, 0, 1, 2, · · · the rational numbers, p/q, where p and q are integers (q = 0), and the irrational numbers, like√ 2, π, e, etc. Members of R may be visualized as points on the real-number line as shown in We write a ∈ R to mean a is a member of the set R. In other words, a is a real number. Given two real numbers a and b with a < b, the closed interval [a, b] consists of all x such that a ≤ x ≤ b, and the open interval (a, b) consists of all x such that a < x < b. Similarly, we may form the half-open intervals [a, b) and (a, b]. The absolute value of a number a ∈ R is written as |a| and is defined as |a| =    a if a ≥ 0 −a if a < 0 Definition 1.1 A point in the plane R2 has two coordinates P = (x, y). A point in space R3 is determined by three coordinates P = (x, y, z). The signs of the coordinates define 4 quadrants in R2 or 8 octants in R3 . These regions intersect at the origin O = (0, 0) or O = (0, 0, 0) and are bound by coordinate axes {y = 0} and {x = 0} or coordinate planes {x = 0}, {y = 0}, {z = 0}. In R2 its custom to orient the x-axis to the ”east” and the y-axis ”north”. In R3 , the most common coordinate system has the xy-plane as the ”ground” and the z-coordinate axes pointing ”up”. 2
  • 4. 1.1. GEOMETRY AND DISTANCE AMU Example 1.1.1 1. P = (−2, −3) is in the third quadrant of the plane and P = (1, 2, 3) is in the positive octant of space. The point (0, 0, −8) is located on the negative z axis. The point P = (1, 2, −3) is below the xy-plane. Can you spot the point Q on the xy-plane which is closest to P? 2. Problem. Find the midpoint M of P = (7, 2, 5) and Q = (−15, 4, 7). Answer. The midpoint is the average of each coordinate M = (P + Q)/2 = (−4, 3, 6). 3. In computer graphics or photography, the xy-plane represents the retina or film plate and the z-coordinate measures the distance towards the viewer. In this photographic coordinate system, your eyes and chin define the plane z = 0 and the nose points in the positive z direction. If the midpoint of your eyes is the origin of the coordinate system and your eyes have the coordinates (1, 0, 0), (−1, 0, 0), then the tip of your nose might have the coordinates (0, −1, 1). Definition 1.2 The Euclidean distance between two points P = (x, y, z) and Q = (a, b, c) in space is defined as d(P, Q) = (x − a)2 + (y − b)2 + (z − c)2. Example 1.1.2 Problem: Find the distance d(P, Q) between P = (1, 2, 5) and Q = (−3, 4, 7) and verify that d(P, M) + d(Q, M) = d(P, Q). Answer: The distance is d(P, Q) =√ 42 + 22 + 22 = √ 24. The distance d(P, M) is √ 22 + 12 + 12 = √ 6. The distance d(Q, M) is √ 22 + 12 + 12 = √ 6. Indeed d(P, M) + d(M, Q) = d(P, Q). Remarks. 1. A distance can be defined by taking any non-negative function d(P, Q) = d(Q, P) which satisfies the triangle inequality d(P, Q) + d(Q, R) ≥ d(P, R) and which has the property that d(P, Q) = 0 if and only if P = Q. A set X equipped with such a distance function d is called a metric space. 2. Symmetry distinguishes the Euclidean distance from other distances. It is characterized by the property d((1, 0, 0), (0, 0, 0)) = 1 together with the requirement of rotational and translational and scaling symmetry d(λP, λQ) = λd(P, Q). 3. We usually work with a right handed coordinate system, where the x, y, z axes can be matched with the thumb, pointing and middle finger of the right hand. The photographers coordinate system is an example of a left handed coordinate system, where we use the thumb and pointing finger and middle finger of the left hand. Nature is not oblivious to parity. Some fundamental laws in particle physics related to the weak force are different when observed in a mirror. Coordinate systems with different parity can not be rotated into each other. 4. When dealing with geometric problems in the plane, we leave the z-coordinate away and have d(P, Q) = (x − a)2 + (y − b)2, where P = (x, y), Q = (a, b). Its important to work in R2 without referring to a possible R3 in which it might be embedded. c Dejen K. 2018 3 http://elearning.amu.edu.et/course
  • 5. 1.1. GEOMETRY AND DISTANCE AMU Points, curves, surfaces and solids are geometric objects which can be described with func- tions of several variables. An example of a curve is a line, an example of a surface is a plane, an example of a solid is the interior of a sphere. We focus next on spheres or circles. Definition 1.3 A circle of radius r ≥ 0 centered at P = (a, b) is the collection of points in R2 which have distance r from P. Definition 1.4 A sphere of radius ρ centered at P = (a, b, c) is the collection of points in R3 which have distance ρ ≥ 0 from P. The equation of a sphere is (x − a)2 + (y − b)2 + (z − c)2 = ρ2 . Definition 1.5 An ellipse is the collection of points P in R2 for which the sum d(P, A) + d(P, B) of the distances to two points A, B is a fixed constant l > 0 larger than d(A, B). This allows to draw the ellipse with a string of length l attached at A, B. When 0 is the midpoint of A, B, an algebraic description is the set of points which satisfy the equation x2 a2 + y2 b2 = 1. Example 1.1.3 1. Problem: Is the point (3, 4, 5) outside or inside the sphere (x − 2)2 + (y − 6)2 + (z − 2)2 = 16? Answer: The distance of the point to the center of the sphere is√ 1 + 4 + 9. Since this is smaller than 4 the radius of the sphere, the point is inside. 2. Problem: Find an algebraic expression for the set of all points for which the sum of the distances to A = (1, 0) and B = (−1, 0) is equal to 3. Answer: Square the equation (x − 1)2 + y2 + (x + 1)2 + y2 = 3, separate the remaining single square root on one side and square again. Simplification gives 20x2 + 36y2 = 45 which is equivalent to x2 a2 + y2 b2 = 1, where a, b can be computed as follows: because P = (a, 0) satisfies this equation, d(P, A) + d(P, B) = (a − 1) + (a + 1) = 3 so that a = 3/2. Similarly, the point Q = (0, b) satisfying it gives d(Q, A) + d(P, B) = 2 √ b2 + 1 = 3 or b = √ 5/2. Definition 1.6 When completing the square of an equation x2 +bx+c = 0, we add (b/2)2 −c on both sides of the equation in order to get (x+b/2)2 = (b/2)2 −c. Solving for x gives x = −b/2± (b/2)2−c. Example 1.1.4 1. The equation 2x2 − 10x + 12 = 0 is equivalent to x2 + 5x = −6. Adding (5/2)2 on both sides gives (x + 5/2)2 = 1/4 so that x = 2 or x = 3. 2. The equation x2 +5x+y2 −2y+z2 = −1 is after completion of the square (x+5/2)2 − 25/4 + (y − 1)2 − 1 + z2 = −1 or (x − 5/2)2 + (y − 1)2 + z2 = (5/2)2 . We see a sphere center (5/2, 1, 0) and radius 5/2. c Dejen K. 2018 4 http://elearning.amu.edu.et/course
  • 6. 1.1. GEOMETRY AND DISTANCE AMU Exercise 1.1 1. (a) a) Find its center and radius of the sphere S given by x2 +y2 +z2 −20x+12y+4z = 29. (b) Find the distance from the center of S defined in a) to x2 + y2 + z2 = 900. (c) Find the minimal distance between the spheres. This is the minimal distance between two points where each is in one sphere. 2. (a) Find the distance a from P = (−12, −4, −6) to x = 0. (b) Find the distance b from P to the x-axes. (c) Find the distance c from P to the origin O = (0, 0, 0). (d) Take a general point P = (x, y, z) and repeat the computation for the values a, b, c as in a − c). What is ar + b2 − c2 ? 3. (a) Find an equation of the largest sphere with center (4, 11, 9) that is contained in the first octant {x ≤ 0, y ≤ 0, z ≥ 0}. (b) Find the equation for the sphere centered at (6, 10, 8) which passes through the center (4, 11, 9)of the sphere in a). 4. (a) Describe the surface x2 − (z2 + 4z) = 12 in R3 . (b) What is the surface x2 = z2 in three dimensional space R3 . (c) Draw the surfaces of a) and b) and their intersection. 5. You play billiard in the table {(x, y)|0 ≤ x ≤ 4, 0 ≤ y ≤ 8}. (a) Hit the ball at (3, 2) to reach the hole (4, 8) bouncing 3 times at the left wall and three times at the right wall and no other walls. Find the length of the shot. (b) Hit from (3, 2) to reach the hole (4, 0) after hitting twice the left and twice the right wall as well as the top wall y = 8 once. What is the length of the trajectory? 6. Verify that the radius of the inscribed circle in a 3 : 4 : 5 triangle is 1. Use the picture with the triangle ABC given by: A = (0, 0), B = (4, 0), C = (0, 3), introduce M = (1, 1) then get the coordinates of the points X, Y, Z, then compute the distances. c Dejen K. 2018 5 http://elearning.amu.edu.et/course
  • 7. 1.2. VECTORS & DOT PRODUCT AMU Definition 1.7 A physical quantity is a physical property of a phenomenon, body, or substance, that can be quantified by measurement. Definition 1.8 Quantities which can be described by magnitude only are called scalars. Scalars are rep- resented by a single letter, such as a. Some examples of scalar quantities are mass (five kilograms), temperature (twenty-two degrees Celsius), and numbers without units (such as three). 1.2 Vectors & dot product Geometric view : Definition 1.9 A vector is defined as having a magnitude and a direction. We represent it by an arrow in the plane or in space. The length of the arrow is the vector’s magnitude and the direction of the arrow is the vector’s direction. In this way, two arrows with the same magnitude and direction represent the same vector. (same vector) We will refer to the start of the arrow as the tail and the end as the tip or head. Q PQ P To distinguish vectors from points, it is custom to write [2, 3, 4]T or 2, 3, 4 for vectors and (2, 3, 4) for points. A 2A 1 2 A -A (scaling a vector) Because we use numbers to scale a vector we will often refer to real numbers as scalars. You add vectors by placing them head to tail. As the figure shows, this can be done in either order c Dejen K. 2018 6 http://elearning.amu.edu.et/course
  • 8. 1.2. VECTORS & DOT PRODUCT AMU A B A B A+B It is often useful to think of vectors as displacements. In this way, A + B can be thought of as the displacement A followed by the displacement B. You subtract vectors either by placing the tail to tail or by adding A + (−B). A B A-B Thought of as displacements A − B is the displacement from the end of B to the end of A. Algebraic view: Definition 1.10 Two points P = (a, b, c) and Q = (x, y, z) in R3 define a vector v =    x − a y − b z − c    which we simply write also as [x − a, y − b, z − c]T or x − a, y − b, z − c to save space. It is custom in linear algebra to call [3, 4, 5] a row vector and its transpose [3, 4, 5]T = 3, 4, 5 a column vector. As it goes from P to Q we write v = PQ. The real numbers numbers p, q, r in v = [p, q, r]T are called the components of v. Vectors can be drawn anywhere in space. But two vectors with the same components are considered equal. Vectors can be translated into each other if their components are the same. If a vector v starts at the origin O = (0, 0, 0), then v = [p, q, r]T heads to the point (p, q, r). One can therefore identify points P = (a, b, c) with vectors v = [a, b, c]T attached to the origin. For clarity, we often draw an arrow on top of vectors and if v = PQ then P is the ”tail” and Q is the ”head” of the vector. Definition 1.11 The sum of two vectors is A + B = [a1, a2]T + [b1, b2]T = [a1 + b1, a2 + b2]T . The scalar multiple is λA = λ[a1, a2]T = [λa1, λa2]T . The difference A − B can best be seen as the addition of A and (−1)B. c Dejen K. 2018 7 http://elearning.amu.edu.et/course
  • 9. 1.2. VECTORS & DOT PRODUCT AMU On can check commutativity, associativity, or distributivity rules for vectors as for numbers. Definition 1.12 The vectors i = [1, 0]T , j = [0, 1]T are called the standard basis vectors in the plane. In space, one has the standard basis vectors i = [1, 0, 0]T , j = [0, 1, 0]T , k = [0, 0, 1]T . Every vector v = [p, q]T in the plane can be written as a combination v = pi+qj of standard basis vectors. Every vector v = [p, q, r]T in space can be written as v = pi + qj + rk. Vectors appear everywhere in applications. For example in mechanics: if r(t) = [f(t), g(t)]T is a point in the plane which depends on time t, then v = [f (t), g (t)]T is the velocity vector at r(t). Here f (t), g (t) are the derivatives. In physics, where we often want to determine forces acting on objects, these forces are represented as vectors. In particular, electromagnetic or gravitational fields or velocity fields in fluids are described by vectors. Vectors appear also in computer science: the ”scalable” vector graphics ”format” is a standard for the web for describing graphics. In quantum computa- tion, rather than working with bits, one deals with qbits, which are vectors. Finally, color can be written as a vector v = [r, g, b]T , where r is red, g is green and b is blue component of the color vector. An other coordinate system for color is v = [c, m, y]T = [1 − r, 1 − g, 1 − b]T , where c is cyan, m is magenta and y is yellow. Vectors appear also in probability theory and statistics. On a finite probability space for example, a random variable is nothing else than a vector. The addition and scalar multiplication of vectors satisfy the laws known from arithmetic. 1. commutativity u + v = v + u, 2. associativity u + (v + w) = (u + v) + w, r ∗ (s ∗ v) = (r ∗ s) ∗ v 3. distributivity (r + s)v = v(r + s) 4. And r(v + w) = rv + rw, where * denotes multiplication with a scalar. Definition 1.13 The length |v| of a vector v = PQ is defined as the distance d(P, Q) from P to Q. A vector of length 1 is called a unit vector. If v = 0, then v |v| is called a unit vector. Example 1.2.1 |[3, 4]T | = 5 and |[3, 4, 12]T | = 13. Examples of unit vectors are |i| = |j| = |k| = 1 and [3/5, 4/5]T and [3/13, 4/13, 12/13]T . The only vector of length 0 is the zero vector |0| = 0. c Dejen K. 2018 8 http://elearning.amu.edu.et/course
  • 10. 1.2. VECTORS & DOT PRODUCT AMU Example 1.2.2 1. Add the following two vectors (a) u = (−1, 2, 1) and v = (2, −5, 0) (b) u = i + 4j − 2k and v = 2i − 5j 2. Let u = 3i + 4j − k, then find (a) 2 3 u (b) −1u solution: 1. (a) u + v = (−1, 2, 1) + (2, −5, 0) = (−1 + 2, 2 − 5, 1 + 0) = (1, −3, 1) (b) u + v = (i + 4j − k) + (2i − 5j) = (1 + 2)i + (4 − 5)j + (−1 + 0)k = 3i − j − k 2. (a) 2 3 u = 2 3 (3i + 4j − k) = 2i + 8 3 j − 2 3 k (b) −1u = −(3i + 4j − k) = −3i − 4j + k Dot Product The dot product is one way of combining (”multiplying”) two vectors. The output is a scalar (a number). It is called the dot product because the symbol used is a dot. Because the dot product results in a scalar it, is also called the scalar product. The geometric definition of the dot product says that the dot product between two vectors a and b is a · b = a · b cos θ, where θ is the angle between vectors a and b. Although this formula is nice for understanding the properties of the dot product, a formula for the dot product in terms of vector components would c Dejen K. 2018 9 http://elearning.amu.edu.et/course
  • 11. 1.2. VECTORS & DOT PRODUCT AMU make it easier to calculate the dot product between two given vectors. Since the standard unit vectors are orthogonal, we immediately conclude that the dot product between a pair of distinct standard unit vectors is zero: i · j = i · k = j · k = 0. The dot product between a unit vector and itself is also simple to compute. In this case, the angle is zero and cos θ = 1. Given that the vectors are all of length one, the dot products are i · i = j · j = k · k = 1. The second step is to calculate the dot product between two three-dimensional vectors a = (a1, a2, a3) = a1i + a2j + a3k b = (b1, b2, b3) = b1i + b2j + b3k. To do this, we simply assert that for any three vectors a, b, and c, and any scalar λ, (λa) · b = λ(a · b) (a + b) · c = a · c + b · c. Definition 1.14 The dot product of two vectors v = [a, b, c]T and w = [p, q, r]T is defined as v·w = ap+bq+cr. Remarks. 1. Different notations for the dot product are used in different mathematical fields. While mathematicians write v · w = (v, w), the Dirac notation [v|w]T is used in quantum me- chanics or the Einstein notation viwi or more generally gijviwj in general relativity. The dot product is also called scalar product or inner product. 2. Any product g(v, w) which is linear in v and w and satisfies the symmetry g(v, w) = g(w, v) and g(v, v) ≤ 0 and g(v, v) = 0 if and only if v = 0 can be used as a dot product. An example is g(v, w) = 3v1w1 + 2v2w2 + v3w3. Theorem 1.1 The dot product determines distances and distances determines the dot product. Proof: Write v = v. Using the dot product one can express the length of v as |v| = √ v · v. On the other hand, from (v + w) · (v + w) = v · v + w · w + 2(v · w) can be solved for v · w: v · w = (|v + w|2 − |v|2 − |w|2 )/2. Theorem 1.2 The Cauchy-Schwarz inequality tells |v · w| ≤ |v||w|. Proof. If |w| = 0, there is nothing to show. Otherwise, assume |w| = 1 by dividing the equation by |w|. Now plug in a = v · w into the equation 0 ≤ (v − aw) · (v − aw) to get 0 ≤ (v − (v · w)w) · (v − (v · w)w) = |v|2 + (v · w)2 − 2(v · w)2 = |v|2 − (v · w)2 which means (v · w)2 ≤ |v|2 . c Dejen K. 2018 10 http://elearning.amu.edu.et/course
  • 12. 1.2. VECTORS & DOT PRODUCT AMU Having established this, it is possible to give a definition of what an angle is, without referring to any geometric pictures: Definition 1.15 The angle between two nonzero vectors v, w is defined as the unique α ∈ [0, π] which satisfies v · w = |v| · |w| cos(α). Since cos maps [0, π] in a 1 : 1 manner to [−1, 1], this is well defined. Note: 1. The cosine of the angle between two non-zero vectors a and b is cos θ = a · b a b =⇒ θ = cos−1   a · b a b   2. If an angle between two vectors a and b is π 2 then a·b = 0 and the vectors a and b are known as orthogonal vectors. In general the dot product of two non-zero vectors is zero only if they are orthogonal. Remark:- Suppose a and b are two non-zero vectors and θ is the angle between a and b: i) if θ is acute, then a · b > 0. ii) if θ is obtuse, then a · b < 0. iii) if θ is right angle, then a · b = 0. Theorem 1.3: Al Kashi’s theorem: If a, b, c are the side lengths of a triangle ABC and α is the angle at the vertex C, then a2 + b2 = c2 − 2ab cos(α). Proof. Define v = AB, w = AC. Because c2 = |v−w|2 = (v−w)·(v−w) = |v|2 +|w|2 −2vw, We know vw = |v|·|w| cos(α) so that c2 = |v|2 +|w|2 −2|v|·|w| cos(α) = a2 +b2 −2ab cos(α). The angle definition works in any space with a dot product. In statistics one works with vectors of n components. They are called data or random variables and cos(α) is called the correlation between two random variables v, w of zero expectation E[v] = (v1 +· · ·+vn)/n. The dot product c Dejen K. 2018 11 http://elearning.amu.edu.et/course
  • 13. 1.2. VECTORS & DOT PRODUCT AMU (v1w1+· · ·+vnwn)/n is then the covariance, the scaled length |v|/ √ n is the standard deviation and denoted by σ(v). The formula Corr[v, w] = Cov[v, w]/(σ(v)σ(w)) for the correlation is the familiar angle formula. Statistics shows that geometry in arbitrary dimensions can be useful. Theorem 1.4 The triangle inequality tells |u + v| ≤ |u| + |v|. Proof: |u+v|2 = (u+v)·(u+v) = u2 +v2 +2u·v ≤ u2 +v2 +2|u·v| ≤ u2 +v2 +2|u|·|v| = (|u| + |v|)2 . Example 1.2.3 Calculate the dot product of a = (1, 2, 3) and b = (4, −5, 6). Do the vectors form an acute angle, right angle, or obtuse angle? Solution: Using the component formula for the dot product of three-dimensional vectors, a · b = a1b1 + a2b2 + a3b3, we calculate the dot product to be a · b = 1(4) + 2(−5) + 3(6) = 4 − 10 + 18 = 12. Since a.b is positive, we can infer from the geometric definition, that the vectors form an acute angle. Example 1.2.4 Calculate the dot product of c = (−4, −9) and d = (−1, 2) . Do the vectors form an acute angle, right angle, or obtuse angle? Solution: Using the component formula for the dot product of two-dimensional vectors, a · b = a1b1 + a2b2, we calculate the dot product to be c · d = −4(−1) − 9(2) = 4 − 18 = −14. Since c.d is negative, we can infer from the geometric definition, that the vectors form an obtuse angle. c Dejen K. 2018 12 http://elearning.amu.edu.et/course
  • 14. 1.2. VECTORS & DOT PRODUCT AMU Example 1.2.5 If a = (6, −1, 3), for what value of c is the vector b = (4, c, −2) perpendicular to a? Solution: For a and b to be perpendicular, we need their dot product to be zero. Since a · b = 6(4) − 1(c) + 3(−2) = 24 − c − 6 = 18 − c, the number c must satisfy 18 − c = 0, or c = 18. You can double-check that the vector b = (4, 18, −2) is indeed perpendicular to a by verifying that a · b = (6, −1, 3).(4, 18, −2) = 0. 1. Find the value of k such that the vectors (2, 3, −2) and (5, k, 2) are perpendicular. 2. Find the values of β such that the vectors (β, −3, 1) and (β, β, 2) are perpendicular. Example 1.2.6 1. Find the component form and the length of vector with initial point and terminal point p = (3, −7, 1) and Q = (−2, 5, 3) 2. Find the unit vector in the direction of v = (−2, 5, 3) 3. Let u = (2, 5, −1) and v = (−1, 2, 3),the find the scalar product of u and u Solution 1. v = PQ = (−2 − 3, 5 + 7, 3 − 1) = (−5, 12, 2) and v = (−5)2 + (12)2 + 22 = √ 173 2. v = √ −22 + 52 + 32 = √ 38 ˆu = v v = 1 √ 38 (−2, 5, 3) = ( −2 √ 38 , 5 √ 38 , 3 √ 38 ) 3. u · v = (2, 5, −1) · (−1, 2, 3) = 2. − 1 + 5.2 + −1.3 = −2 + 10 − 3 = 5 Exercise 1.2 1. Find the cosine of the angle and the angle between the following vectors (a) u = 2i − 5j + k and v = i + j + 2k (b) v = (− √ 3, 1) and w = (0, 5) (c) v = (0, −1, 0) and w = (0, 0, 3) c Dejen K. 2018 13 http://elearning.amu.edu.et/course
  • 15. 1.2. VECTORS & DOT PRODUCT AMU Definition 1.16 Two vectors are called orthogonal or perpendicular if v · w = 0. The zero vector 0 is orthogonal to any vector. For example, v = [2, 3]T is orthogonal to w = [−3, 2]T . Theorem 1.5 Pythagoras theorem: if v and w are orthogonal, then |v − w|2 = |v|2 + |w|2 . Proof: (v − w) · (v − w) = v · v + w · w + 2v · w = v · v + w · w. Projection Suppose that two non-zero vectors v and w are positioned as in the figure below and that the light casts a shadow on the line containing the vector v. Informally we think of the shadow as determining a vector parallel to vector w, we call this vector the projection of vector w on to vector v which is denoted by projv w and defined as projv w = ( v·w v 2 )v. Definition 1.17 The vector P(v) = v · w |w|2 w is called the projection of v onto w. The scalar projection v · w |w| is a signed length of the vector projection. Its absolute value is the length of the projection of v onto w. The vector b = v − P(v) is a vector orthogonal to the w-direction. Example 1.2.7 1. For example, with v = [0, −1, 1]T , w = [1, −1, 0]T , P(v) = [1/2, −1/2, 0]T . Its length is 1/ √ 2. 2. Projections are important in physics. If a wind force F affects a car driving in the direction w and P denotes the projection onto w then Pw(F) is the force which accel- erates or slows down the car. The projection allows to visualize the dot product. The absolute value of the dot product is the length of the projection. The dot product is positive if v points more towards to w, it is negative if v points away from it. In the next lecture we use the projection to compute distances between various objects. c Dejen K. 2018 14 http://elearning.amu.edu.et/course
  • 16. 1.2. VECTORS & DOT PRODUCT AMU Example 1.2.8 1. Let vector u = 2i − j + 3k, v = i + 2j + k, then find: (a) projv u (b) proju v (c) proj1 2 v 3u (d) The scalar projection of projv u and projv u Solution:- 1. (a) proju v = v · u v 2 v = (i + 2j + k) · (2i − j + 3k) i + 2j + k 2 (i + 2j + k) = ( 2 − 2 + 3 12 + 22 + 12 )(i + 2j + k) = 3 6 (i + 2j + k) = 1 2 i + j + 1 2 k (b) projv u = u · v u 2 u = ( (2i − j + 3k) · (i + 2j + k) 2i − j + 3k 2 )(2i − j + 3k) = ( 2 − 2 + 3 12 + (−2)2 + 32 )(2i − j + 3k) = 3 14 (2i − j + 3k) = 6 14 i − 3 14 j + 9 14 k (c) proj3u 1 2 v = 1 2 v · 3u 1 2 v 2 1 2 v = ( 1 2 (i + 2j + k) · 3(2i − j + 3k) 1 4 i + 2j + k 2 ) 1 2 (i + 2j + k) = ( 3 2 (2 − 2 + 3) 1 4 (12 + 22 + 12) ) 1 2 (i + 2j + k) = 3(i + 2j + k) = 3i + 6j + 3k 2. projv u = |( v · u v )| = |( (i + 2j + k) · (2i − j + 3k) i + 2j + k )| = |( 2 − 2 + 3 √ 12 + 22 + 12 )| = 3 √ 6 & proju v = |( u · v u )| = |( (2i − j + 3k) · (i + 2j + k) 2i − j + 3k )| = | 2 − 2 + 3 12 + (−2)2 + 32 | 3 √ 14 c Dejen K. 2018 15 http://elearning.amu.edu.et/course
  • 17. 1.3. CROSS PRODUCT AMU Exercise 1.3 1. Find a unit vector parallel to u + 2v + 4w if u = [−10, 2, 9]T and v = [1, 1, 3]T and w = [3, 1, 1]T . 2. A Alemitu gets pulled with a force F = 7, 1, 4 . She moves with velocity v = 4, −2, 1 . The dot product of F with v is power. (a) Find the angle between the F and v. (b) Find the vector projection of the F onto v. (c) Find the scalar projection of F on v. 3. Light shines long the vector a = a1, a2, a3 and reflects at the three coordinate planes where the angle of incidence equals the angle of reflection. Verify that the reflected ray is −a. Hint. Reflect first at the xy-plane. 4. A rope is wound exactly 5 times around a stick of circumference 1 and length 12. How long is the rope? 1.3 Cross Product Definition 1.18 The cross product of two vectors v = [v1, v2]T and w = [w1, w2]T in the plane is the scalar v1w2 − v2w1. To remember this, write it as a determinant of a matrix A which is a 2 × 2 array of the numbers). det(A) is the product of the diagonal entries minus the product of the side diagonal entries. v1 v2 w1 w2 . Definition 1.19 The cross product of two vectors v = [v1, v2, v3]T and w = [w1, w2, w3]T in space is defined as the vector v × w = [v2w3 − v3w2, v3w1 − v1w3, v1w2 − v2w1]T . To remember it we write the product as a ”determinant”:    i j k v1 v2 v3 w1 w2 w3    =    i v2 v3 w2 w3    −    j v1 v3 w1 w3    +    k v1 v2 w1 w2    which is i(v2w3 − v3w2) − j(v1w3 − v3w1) + k(v1w2 − v2w1). c Dejen K. 2018 16 http://elearning.amu.edu.et/course
  • 18. 1.3. CROSS PRODUCT AMU Example 1.3.1 1. The cross product of [1, 2]T and [4, 5]T is 5 − 8 = −3. 2. The cross product of [1, 2, 3]T and [4, 5, 1]T is [−13, 11, −3]T . Theorem 1.6 In space, the cross product v × w is orthogonal to both v and w. The product is anti- commutative. Proof. We verify for example that v · (v × w) = 0 and look at the definition. Theorem 1.7 Length formula for the cross product: |v × w| = |v||w| sin(α). Proof: verify first the Lagrange’s identity |v × w|2 = |v|2 |w|2 − (v · w)2 which is also called Cauchy-Binet formula by direct computation . Now, |v · w| = |v||w| cos(α). Definition 1.20 The absolute value respectively length |v × w| defines the area of the parallelogram spanned by v and w. Note that we have given the definition of area, so that nothing needs to be proven. To see that the definition fits with our common intuition we have about area, note that |w| sin(α) is the height of the parallelogram with base length |v|. The area formula proves the sin-formula because the area does not depend on which pair of sides to a triangle we take. The area makes sense because it is linear in each of the vectors v and w: scale one by a factor λ = 2 for example, doubles the area. Theorem 1.8 v × w is zero if and only if v and w are parallel, that is if v = λw for some real λ. Proof. Use the sin formula and the fact that sin(α) = 0 if α = 0 or α = π. The cross product can therefore be used to check whether two vectors are parallel or not. Note that v and −v are considered parallel even so sometimes the notion anti-parallel is used. c Dejen K. 2018 17 http://elearning.amu.edu.et/course
  • 19. 1.3. CROSS PRODUCT AMU Theorem 1.9 The trigonometric sin-formula: if a, b, c are the side lengths of a triangle and α, β, γ are the angles opposite to a, b, c then a/ sin(α) = b/ sin(β) = c/ sin(γ). Proof. Express the area of the triangle in three different ways: ab sin(γ) = bc sin(α) = ac sin(β). Divide the first equation by sin(γ) sin(α) to get one identity. Divide the second equation by sin(α) sin(β) to get the second identity. Example 1.3.2 If v = [a, 0, 0]T and w = [b cos(α), b sin(α), 0]T , then v × w = [0, 0, ab sin(α)]T which has length |ab sin(α)|. Definition 1.21 The scalar [u, v, w] = u · (v × w) is called the triple scalar product of u, v, w. Definition 1.22 The absolute value of [u, v, w] defines the volume of the parallelepiped spanned by u, v, w. Definition 1.23 The orientation of three vectors is defined as the sign of [u, v, w]. It is positive if the three vectors define a right-handed coordinate system. Again, there was no need to prove anything because we defined volume and orientation. Why does this fits with our intuition? The value h = |u · n|/|n| is the height of the parallelepiped if n = (v ×w) is a normal vector to the ground parallelogram of area A = |n| = |v ×w|. The volume of the parallelepiped is hA = (u · n/|n|)|v × w| which simplifies to u · n = |(u · (v × w)| which is the absolute value of the triple scalar product. The vectors v, w and v × w form a right handed coordinate system. If the first vector v is your thumb, the second vector w is the pointing finger then v × w is the third middle finger of the right hand. For example, the vectors i, j, i × j = k form a right handed coordinate system. Since the triple scalar product is linear with respect to each vector, we also see that volume is additive. Adding two equal parallelepipeds together for example gives a parallelepiped with twice the volume. c Dejen K. 2018 18 http://elearning.amu.edu.et/course
  • 20. 1.3. CROSS PRODUCT AMU Example 1.3.3 1. Problem: You have two apples of the same shape, but one has a 3 times larger diameter. What is their weight ratio? Answer. For a parallelepiped spanned by [a, 0, 0]T [0, b, 0]T and [0, 0, c]T , the volume is the triple scalar product abc. If a, b, c are all tripled, the volume gets multiplied by a factor 27. Now cut each apple into the same amount of parallelepipeds, the larger one with slices 3 times as large too. Since each of the pieces has 27 times the volume, also the apple is 27 times heavier! 2. Problem: Find the volume of the parallelepiped which has the vertices O = (1, 1, 0), P = (2, 3, 1), Q = (4, 3, 1), R = (1, 4, 1). Answer: We first see that the solid is spanned by the vectors u = [1, 2, 1]T , v = [3, 2, 1]T , and w = [0, 3, 1]T . We get v × w = [−1, −3, 9]T and u · (v × w) = 2. The volume is 2. 3. Problem. A 3D scanner is used to build a 3D model of a face. It detects a triangle which has its vertices at P = (0, 1, 1), Q = (1, 1, 0) and R = (1, 2, 3). Find the area of the triangle. Solution. We have to find the length of the cross product of PQ and PR which is [1, −3, 1]T . The length is √ 11. 4. Problem. The scanner detects an other point A = (1, 1, 1). On which side of the triangle is it located if the cross product of PQ and PR is considered the direction ”up”. Solution. The cross product is n = [1, −3, 1]T . We have to see whether the vector PA = [1, 0, 0]T points into the direction of n or not. To see that, we have to form the dot product. It is 1 so that indeed, A is ”above” the triangle. Note that a triangle in space a priori does not have an orientation. We have to tell, what direction is ”up”. That is the reason that file formats for 3D printing like contain the data for three points in space as well as a vector, telling the direction. c Dejen K. 2018 19 http://elearning.amu.edu.et/course
  • 21. 1.4. LINES AND PLANES IN SPACE AMU Exercise 1.4 1. (a) a) Find a unit vector perpendicular to the space diagonal [1, 1, 1]T and the face diagonal [1, 1, 0]T of the cube. (b) Find the volume of the parallelepiped for which the base parallelogram is given by the points P = (5, 2, 2), Q = (3, 1, 2), R = (1, 4, 2), S = (−1, 3, 2) and which has an edge connecting P with T = (5, 6, 8). (c) Find the area of the base and use (b) to get the height of the parallelepiped. 2. (a) Assume u + v + w = 0. Verify that u × v = v × w = w × u. (b) Find (u+v)·(v ×w) if u, v, w are unit vectors which are orthogonal to each other and u × v = w. 3. To find the equation ax+by+cz = d for the plane which contains the point P = (1, 2, 3) as well as the line which passes through Q = (3, 4, 4) and R = (1, 1, 2), we find a vector [a, b, c]T normal to the plane and fix d so that P is in the plane. 1.4 Lines and planes in space Definition 1.24 A point P = (p, q, r) and a vector v = [a, b, c]T define the line L =       p q r    + t    a b c    , t ∈ R    . The line consists of all points obtained by adding a multiple of the vector v = [a, b, c]T to the vector OP = [p, q, r]T . The line contains the point P as well as a copy of v attached to P. Every vector contained in the line is necessarily parallel to v. We think about the parameter t as ”time”. At time t = 0, we are at the point P, whereas at time t = 1 we are at OP + v. Definition 1.25 If t is restricted to values in a parameter interval [s, u], then L = [p, q, r]T + t[a, b, c]T , s ≤ t ≤ u is a line segment which connects r(s) with r(u). Example 1.4.1 To get the line through P = (1, 1, 2) and Q = (2, 4, 6), form the vector v = PQ = [1, 3, 4]T and get L = [x, y, z]T = [1, 1, 2]T + t[1, 3, 4]T . This can be written also as r(t) = [1 + t, 1 + 3t, 2 + 4t]T . If we write [x, y, z]T = [1, 1, 2]T + t[1, 3, 4]T as a collection of equations x = 1 + 2t, y = 1 + 3t, z = 2 + 4t and solve the first equation for t: L = {(x, y, z)|(x − 1)/2 = (y − 1)/3 = (z − 2)/4} . c Dejen K. 2018 20 http://elearning.amu.edu.et/course
  • 22. 1.4. LINES AND PLANES IN SPACE AMU Theorem 1.10 The line r = OP + tv defined by P = (p, q, r) and vector v = [a, b, c]T with nonzero a, b, c satisfies the symmetric equations x − p a = y − q b = z − r c . Proof. Each of these expressions is equal to t. These symmetric equations have to be modified a bit one or two of the numbers a, b, c are zero. If a = 0, replace the first equation with x = p, if b = 0 replace the second equation with y = q and if c = 0 replace third equation with z = r. The interpretation is that the line is written as an intersection of two planes. Example 1.4.2 1. Find the symmetric equations for the line through the points P = (0, 1, 1) and Q = (2, 3, 4), first form the parametric equations [x, y, z]T = [0, 1, 1]6T + t[2, 2, 3]T or x = 2t, y = 1 + 2t, z = 1 + 3t. Solving each equation for t gives the symmetric equation x/2 = (y − 1)/2 = (z − 1)/3. 2. Problem: Find the symmetric equation for the z axes. Answer: This is a situation where a = b = 0 and c = 1. The symmetric equations are simply x = 0, y = 0. If two of the numbers a, b, c are zero, we have a coordinate plane. If one of the numbers are zero, then the line is contained in a coordinate plane. Definition 1.26 A point P and two vectors v, w define a plane Σ = OP + tv + sw, where t, s are real numbers . Example 1.4.3 An example is σ = [x, y, z]T = [1, 1, 2]T + t[2, 4, 6]T + s[1, 0, −1]T . This is called the para- metric description of a plane. If a plane contains the two vectors v and w, then the vector n = v × w is orthogonal to both v and w. Because also the vector PQ = OQ − OP is perpendicular to n, we have (Q − P) · n = 0. With Q = (x0, y0, z0), P = (x, y, z), and n = [a, b, c]T , this means ax+by+cz = ax0+by0+cz0 = d. The plane is therefore described by a single equation ax + by + cz = d. We have shown: Theorem 1.11 The equation for a plane containing v and w and a point P is ax + by + cz = d, where [a, b, c]T = v × w and d is obtained by plugging in P. c Dejen K. 2018 21 http://elearning.amu.edu.et/course
  • 23. 1.4. LINES AND PLANES IN SPACE AMU Example 1.4.4 Problem: Find the equation of a plane which contains the three points P = (−1, −1, 1), Q = (0, 1, 1), R = (1, 1, 3). Answer: The plane contains the two vectors v = [1, 2, 0]T and w = [2, 2, 2]T . We have n = [4, −2, −2]T and the equation is 4x − 2y − 2z = d. The constant d is obtained by plugging in the coordinates of a point to the left. In our case, it is 4x − 2y − 2z = −4. Definition 1.27 The angle between the two planes ax + by + cz = d and ex + fy + gz = h is defined as the angle between the two normal vectors n = [a, b, c]T and m = [e, f, g]T . Example 1.4.5 Problem: Find the angle between the planes x + y = −1 and x + y + z = 2. Answer: find the angle between n = [1, 1, 0]T and m = [1, 1, 1]T . It is arccos(2/ √ 6). Finally, lets look at some distance formulas. 1. If P is a point and Σ : n · x = d is a plane containing a point Q, then d(P, Σ) = |PQ · n| |n| is the distance between P and the plane. Proof: use the angle formula in the denominator. For example, to find the distance from P = (7, 1, 4) to σ : 2x + 4y + 5z = 9, we find first a a point Q = (0, 1, 1) on the plane. Then compute d(P, Σ) = |[−7, 0, −3]T · [2, 4, 5]T | |[2, 4, 5]T | = 29 √ 45 . 2. If P is a point in space and L is the line r(t) = Q + tu, then d(P, L) = |(PQ) × u| |u| is the distance between P and the line L. Proof: the area divided by base length is height of parallelogram. For example, to compute the distance from P = (2, 3, 1) to the line r(t) = (1, 1, 2)+t(5, 0, 1), compute d(P, L) = |[−1, −2, 1]T × [5, 0, 1]T | [5, 0, 1]T = |[−2, 6, 10]T | √ 26 = √ 140 √ 26 3. If L is the line r(t) = Q + tu and M is the line s(t) = P + tv, then d(L, M) = |(PQ) · (u × v)| |u × v| is the distance between the two lines L and M. Proof: the distance is the length of the vector projection of PQ onto u · v which is normal to both lines. c Dejen K. 2018 22 http://elearning.amu.edu.et/course
  • 24. 1.4. LINES AND PLANES IN SPACE AMU For example, to compute the distance between r(t) = (2, 1, 4) + t(−1, 1, 0) and M is the line s(t) = (−1, 0, 2) + t(5, 1, 2) form the cross product of [−1, 1, 0]T and [5, 1, 2]T is [2, 2, −6]T . The distance between these two lines is d(L, M) = |(3, 1, 2) · (2, 2, −6)| |[2, 2, −6]T | = 4 √ 44 . 4. To get the distance between two planes n · x = d and n · x = e, then their distance is d(Σ, Π) = |e − d| |n| Non-parallel planes have distance 0. Proof: use the distance formula between point and plane. For example, 5x + 4y + 3z = 8 and 10x + 8y + 6z = 2 have the distance |8 − 1| |[5, 4, 3]T | = 7 √ 50 . Exercise 1.5 1. Given the three points P = (7, 4, 5) and Q = (1, 3, 9) and R = (4, 2, 10). find the parametric and symmetric equation for the line perpendicular to the triangle PQR passing through its center of mass (P + Q + R)/3. 2. Find a parametric equation for the line through the point P = (3, 1, 2) that is perpen- dicular to the line L : x = 1 + 4t, y = 1 − 4t, z = 8t and intersects this line in a point Q. 3. (a) Find the equation of the plane containing the three points P = (1, 1, 1), Q = (4, 6, 3), R = (5, 5, 0). (b) Find the area of the triangle PQR. 4. (a) Compute a suitable volume to determine whether A = (2, 2, 3), B = (4, 0, 7), C = (6, 3, 1) and D = (2, −3, 11) are in the same plane. (b) Find the distance between the line L through A, B and the line M through C, D. 5. (a) Find an equation of the plane containing the line of intersection of the planes x − z = 1 and y + z = 3 which is perpendicular to the plane x + y − 2z = 1. (b) Find the distance of the plane found in (a) to the origin (0, 0, 0). 6. Given three spheres of radius 9 centered at A = (1, 2, 0), B = (4, 5, 0), C = (1, 3, 2). Find a plane ax + by + cz = d which touches all of three spheres from the same side. c Dejen K. 2018 23 http://elearning.amu.edu.et/course
  • 25. 1.5. FUNCTIONS AMU 1.5 Functions Definition 1.28 A function of two variables f(x, y) is a rule which assigns to two numbers x, y a third number f(x, y). The function f(x, y) = x5 y − 2y2 for example assigns to (2, 3) the number 96 − 18 = 78. A function is usually defined for all points (x, y) in R2 like in f(x, y) = |x|7 +esin(xy) . Sometimes however it is required to restrict the function to a domain D in the plane. For example, if f(x, y) = log |y| + √ x, then (x, y) is only defined for x > 0 and if y = 0. The range of a function f is the set of values which the function f reaches. The function f(x, y) = 3 + x2 /(1 + x2 ) for example takes all values 3 ≤ z < 4. While z = 3 is reached, the value z = 4 is not attained. Definition 1.29 The graph of f(x, y) is the set {(x, y, f(x, y))|(x, y) ∈ D} in R3 . Graphs are surfaces which allow to see the function visually. Example 1.5.1 1. The graph of f(x, y) = √ 9 − x2 − y2 on the domain x2 + y2 < 9 is a half-sphere of radius 2. Example f(x, y) domain D of f range = f(D) of f − log(1 − x2 − y2 ) open unit disc x2 + y2 < 1 (0, ∞) f(x, y) = x2 + y3 − xy + cos(xy) plane R2 the real line√ 4 − x2 − 2y2 x2 + 2y2 ≤ 4 [0, 2] 1/(x2 + y2 − 1) all except unit circle R (1, 0] 1/(x2 + y2 )2 all except origin positive real axis Definition 1.30 The set {(x, y)|f(x, y) = c = const} is called a contour curve or level curve of f. For example, for f(x, y) = 4x2 +3y2 , the level curves f = c are ellipses if c > 0. Drawing several contour curves {f(x, y) = c} simultaneously produces a contour map of the function f. Level curves allow to visualize and analyze functions f(x, y) without leaving the plane. The picture to the right for example shows the level curves of the function sin(xy) − sin(x2 + y). Contour curves are everywhere: they appear as isobars=curves of constant pressure, or isoclines=curves c Dejen K. 2018 24 http://elearning.amu.edu.et/course
  • 26. 1.5. FUNCTIONS AMU of constant (wind) field direction, isothermes= curves of constant temperature or isoheights =curves of constant height. Example 1.5.2 1. For f(x, y) = x2 − y2 , the set x2 − y2 = 0 is the union of the lines x = y and x = −y. The set x2 − y2 = 1 consists of two hyperbola with with their ”noses” at the point (−1, 0) and (1, 0). The set x62 − y2 = −1 consists of two hyperbola with their noses at (0, 1) and (0, −1). 2. The function f(x, y) = 1 − 2x2 − y2 has contour curves f(x, y) = 1 − 2x2 + y2 = c which are ellipses 2x2 + y2 = 1 − c for c < 1. 3. For the function f(x, y) = (x2 − y2 )e−x2−y2 , we can not find explicit expressions for the contour curves (x2 − y2 )e−x2−y2 = c. We can draw the traces curve (x, 0, f(x, 0)) or (0, y, f(0, y) or then use a computer: 4. The surface z = f(x, y) = sin( x2 + y2)has concentric circles as contour curves. In applications, discontinuous functions can occur. The temperature of water in relation to pres- sure and volume for example. One experiences phase transitions, places where the function value jump. Mathematicians study singularities in a mathematical field called ”catastrophe theory”. c Dejen K. 2018 25 http://elearning.amu.edu.et/course
  • 27. 1.5. FUNCTIONS AMU Definition 1.31 A function f(x, y) is called continuous at (a, b) if there is a finite value f(a, b) with lim (x,y)→(a,b) f(x, y) = f(a, b). This means that for any sequence (xn, yn) converging to (a, b), also f(xn, yn) → f(a, b). A function is continuous in a subset G of the plane if it is continuous at every point (a, b) of G. Continuity means that if (x, y) is close to (a, b), then f(x, y) is close to f(a, b). Continuity for functions of more than two variables is defined in the same way. Continuity is not always easy to check. In general, we do not have to worry about continuity. Lets look at some examples: Example 1.5.3 For f(x, y) = (xy)/(x2 + y2 ), we have lim (x,x)→(0,0) f(x, x) = lim x→0 x2 /(2x2 ) = 1/2 and lim (x,0)→(0,0) f(0, x) = lim (x,0)→(0,0) 0 = 0. The function is not continuous at (0, 0). Definition 1.32 A function of three variables g(x, y, z) assigns to three variables x, y, z a real number g(x, y, z). The function f(x, y, z) = x2 + y − z for example satisfies f(3, 2, 1) = 10. We can visualize a function by contour surfaces g(x, y, z) = c, where c is constant. It is an implicit description of the surface. The contour surface of g(x, y, z) = x2 + y2 + z2 = c is a sphere if c > 0. To understand a contour surface, it is helpful to look at the traces, the intersections of the surfaces with the coordinate planes x = 0, y = 0 or z = 0. c Dejen K. 2018 26 http://elearning.amu.edu.et/course
  • 28. 1.5. FUNCTIONS AMU Example 1.5.4 1. The function g(x, y, z) = 2+sin(xyz) could define a temperature distribution in space. We can no more draw the graph of g because that would be an object in 4 dimensions. We can however draw surfaces like g(x, y, z) = 0. 2. The level surfaces of g(x, y, z) = x2 + y2 + z2 are spheres. The level surfaces of g(x, y, z) = 2x2 + y2 + 3z2 are ellipsoids. 3. For g(x, y, z) = z − f(x, y), the level surface g = 0 agrees with the graph z = f(x, y) of f. For example, for g(x, y, z) = z − x2 − y2 = 0, the graph z = x2 + y2 of the function f(x, y) = x2 + y2 is a paraboloid. Graphs are special surfaces. Most surfaces of the form g(x, y, z) = c can not be written as graphs. The sphere is an example. We would need two graphs to cover it. 4. The equation ax + by + cz = d is a plane. With n = [a, b, c]T and x = [x, y, z]T , we can rewrite the equation n · x = d. If a point x0 is on the plane, then n · x0 = d. so that n · (x − x0) = 0. This means that every vector x − x0 in the plane is orthogonal to n. 5. For f(x, y, z) = ax2 + by2 + cz2 + dxy + exz + fyz + gx + hy + kz + m the surface f(x, y, z) = 0 is called a quadric. We will look at a few examples. 6. Higher order polynomial surfaces can be intriguingly beautiful and are sometimes diffi- cult to describe. If f is a polynomial in several variables and f(x, x, x) is a polynomial of degree d, then f is called a degree d polynomial surface. Degree 2 surfaces are quadrics, degree 3 surfaces cubics, degree 4 surfaces quartics, degree 5 surfaces quintics, degree 10 surfaces decics and so on. c Dejen K. 2018 27 http://elearning.amu.edu.et/course
  • 29. 1.6. VECTOR VALUED FUNCTIONS AMU 1.6 Vector Valued Functions Definition 1.33 A vector-valued function consists of two parts: a domain, which is a subset of R, and a rule, which assigns to each number in the domain one and only one vector. The rule is usually given as a formula. The formula of the function can be expressed as r(t) = f1(t)i + f2(t)j + f3(t)k where t is in the common domain of f1, f2, f3 (single variable functions called the component functions). {p|p = r(t), t ∈ domain} 1.7 Parametrized surfaces We have seen that surfaces can be given as level surfaces g(x, y, z) = c. A different, more constructive way to describe a surface is to give a parametrization, generalizing what we have done for planes. c Dejen K. 2018 28 http://elearning.amu.edu.et/course
  • 30. 1.7. PARAMETRIZED SURFACES AMU Definition 1.34 A parametrization of a surface is a vector-valued function r(u, v) = [x(u, v), y(u, v), z(u, v)]T , where x(u, v), y(u, v), z(u, v) are three functions of two variables. The parameters u, v define coordinates on the surface. Plug in u = 3, v = 2 for example in r(u, v) = [u − 2, v2 , u3 − v]T , we have r(3, 2) = [1, 4, 25]T . Because two parameters u and v are involved, the map r is also called uv-map. And like uv-light, it looks cool. Definition 1.35 A parametrized surface is the image of the uv-map. The domain of the uv-map is called the parameter domain. The parametrization is what you are doing, the surface itself is something you see. There are many different parametrizations of the same surface. Definition 1.36 If the first parameter u is kept constant, then v → r(u, v) is a curve on the surface. Similarly, if v is constant, then u → r(u, v) traces a curve the surface. These curves are called grid curves. Parametric surfaces can be complex. But it can be explored also with the help of a computer. The following four examples are important building blocks for more general surfaces. 1. Planes: Parametric: r(s, t) = OP + sv + tw Implicit: ax + by + cz = d. Parametric to implicit: find the normal vector n = v × w. Implicit to Parametric: find two vectorsv, w normal to the vector n. For example, find threepoints P, Q, R on the surface and forming u = PQ, v = PR. 2. Spheres: Parametric: r(u, v) = [a, b, c]T + [ρ cos(u) sin(v), ρ sin(u) sin(v), ρ cos(v)]T Implicit: (x − a)2 + (y − b)2 + (z − c)2 = ρ2 . Parametric to implicit: reading off the radius. Implicit to parametric: find the center (a, b, c) and the radius r possibly by completing the square. c Dejen K. 2018 29 http://elearning.amu.edu.et/course
  • 31. 1.7. PARAMETRIZED SURFACES AMU 3. Graphs: Parametric: r(u, v) = [u, v, f(u, v)]T Implicit: z − f(x, y) = 0. Parametric to implicit: look up the function f(x, y)z = f(x, y) Implicit to parametric: use x and y as variables. 4. Surfaces of revolution: Parametric: r(u, v) = [g(v) cos(u), g(v) sin(u), v]T Implicit: √ x2 + y2 = r = g(z) can be written as x2 + y2 = g(z)2 . Parametric to implicit: read off g(z) the distance to the z-axis. Implicit to parametric: use the radius function g(z) and think about polar coordinates. Definition 1.37 A point (x, y) in the plane has the polar coordinates r = √ x2 + y2, θ = arctan(y/x). We have (x, y) = (r cos(θ), r sin(θ)). c Dejen K. 2018 30 http://elearning.amu.edu.et/course
  • 32. 1.7. PARAMETRIZED SURFACES AMU The formula θ = arctan(y/x) defines the angle θ only up to an addition of an integer multiple of π. The points (1, 2) and (−1, −2) for example have the same θ value. In order to get the correct θ value one can take arctan(y/x) in (π/2, π/2], where π/2 is the limit when x → 0+ , then add π if x < 0 or if x = 0 and y < 0. Definition 1.38 The coordinate system obtained by representing points in space as (x, y, z) = (r cos(θ), r sin(θ), z) is called the cylindrical coordinate system. Here are some level surfaces in cylindrical coordinates: 1. r = 1 is a cylinder, r = |z| is a double cone, r2 = z elliptic paraboloid, θ = 0 is a half plane, r = θ is a rolled sheet of paper. 2. r = 2 + sin(z) is an example of a surface of revolution. Definition 1.39 Spherical coordinates use the distance ρ to the origin as well as two angles θ and φ called Euler angles. The first angle θ is the angle we have used in polar coordinates. The second angle, φ, is the angle between the vector OP and the z-axis. A point has the spherical coordinate (x, y, z) = (ρ cos(θ) sin(φ), ρ sin(θ) sin(φ), ρcos(φ)). We always use 0 ≤ θ < 2π, 0 ≤ φ ≤ π, ρ ≥ 0. The following figures allow you to derive the formulas. The distance to the z axes is r = ρ sin(φ) and the height z = ρ cos(φ) can be read off by the left picture, the coordinates x = r cos(θ), y = r sin(θ) can be seen in the right picture. Here are some level surfaces described in spherical coordinates: ♣ ρ = 1 is a sphere, the surface φ = π/4 is a single cone, ρ = φ is an apple shaped surface and ρ = 2 + cos(3θ) sin(φ) is an example of a bumpy sphere. c Dejen K. 2018 31 http://elearning.amu.edu.et/course
  • 33. 1.8. PARAMETRIZED CURVES AMU 1.8 Parametrized curves Definition 1.40 A parametrization of a planar curve is a map r(t) = [x(t), y(t)]T from a parameter interval R = [a, b] to the plane. The functions x(t) and y(t) are called coordinate functions. The image of the parametrization is called a parametrized curve in the plane. Similarly, the parametrization of a space curve is r(t) = [x(t), y(t), z(t)]T . The image of r is a parametrized curve in space. We think of the parameter t as time and the parametrization as a drawing process. The curve is the result what you see. For a fixed time t, we have a vector [x(t), y(t), z(t)]T in space. As t varies, the end point of this vector moves along the curve. The parametrization contains more information about the curve then the curve itself. It tells for example how fast the curve was traced. 1. The parametrization r(t) = [1+2 cos(t), 3+5 sin(t)]T is the ellipse (x−1)2 /4+(y−3)2 /25 = 1. 2. The parametrization r(t) = [cos(3t), sin(5t)]T is an example of a Lissajous curve. 3. If x(t) = t, y(t) = f(t), the curve r(t) = [t, f(t)]T traces the graph of the function f(x). For example, for f(x) = x2 + 1, the graph is a parabola. 4. With x(t) = 2 cos(t), y(t) = 3 sin(t), then r(t) follows an ellipse. We can see this fromx(t)2 /4+ y(t)2 /9 = 1. Adding an other circular motion gives an epicycle r(t) = [2 cos(t)+cos(31t)/4, 3 sin(t)+ sin(31t)/4]T . 5. With x(t) = t cos(t), y(t) = t sin(t), z(t) = t we get the parametrization of a space curve r(t) = [t cos(t), t sin(t), t]T . It traces a helix which has a radius changing linearly. 6. If x(t) = cos(2t), y(t) = sin(2t), z(t) = 2t, then we have the same curve as in the previous example but the curve is traversed faster. The parameterization of the curve has changed. 7. For x(t) = cos(−t), y(t) = sin(−t), z(t) = −t we get the same curve, but we move in the opposite direction. c Dejen K. 2018 32 http://elearning.amu.edu.et/course
  • 34. 1.8. PARAMETRIZED CURVES AMU 8. If P = (a, b, c) and Q = (u, v, w) are points in space, then r(t) = [a + t(u − a), b + t(v − b), c + t(w − c)]T defined on t ∈ [0, 1] is a line segment connecting P with Q. For example, r(t) = [1 + t, 1 − t, 2 + 3t]T connects the points P = (1, 1, 2) with Q = (2, 0, 1). Sometimes it is possible to eliminate the time parameter t and write the curve using equations. An example was the symmetric equations for the line. We need one equation to do so in two dimensions but two equations in three dimensions. 1. The symmetric equations describing a line (x − x0)/a = (y − y0)/b = (z − z0)/c is the intersection of two planes. 2. If f and g are polynomials, the set of points satisfying f(x, y, z) = 0, g(x, y, z) = 0 is an example of an algebraic variety. An example is the set of points in space satisfying x2 − y2 + z3 = 0, x5 − y + z5 + xy = 3. An other example is the set of points satisfying x2 + 4y2 = 5, x + y + z = 1 which is an ellipse in space. 3. For x(t) = t cos(t), y(t) = t sin(t), z(t) = t, then x = t cos(z), y = t sin(z) and we can see that x2 + y2 = z2 . The curve is located on a cone. We also have y/x = tan(z) so that we could see the curve as an intersection of two surfaces. Detecting relations between x, y, z can help to understand the curve. 4. Curves describe the paths of particles, celestial bodies, or quantities which change in time. Examples are the motion of a star moving in a galaxy, or economical data changing in time. Here are some more places, where curves appear: Strings or knots are closed curves in space. Molecules like RNA or proteins. Graphics: grid curves produce a mesh of curves. Typography: fonts represented by B’ezier curves. Relativity: curve in space-time describes the motion of an object Topology: space filling curves, boundaries of surfaces or knots. Definition 1.41 If r(t) = [x(t), y(t), z(t)]T is a curve, then r (t) = [x (t), y (t), z (t)]T = [ ˙x, ˙y, ˙z]T is called the velocity at time t. Its length |r (t)| is called speed and T(t) = r (t) |v (t)| is the unit tangent vector. The vector r (t) is called the acceleration at r(t). The third derivative r is called the jerk. Theorem 1.12 Any vector parallel to the velocity r (t) is called tangent to the curve at r(t). Here are where velocities, acceleration and jerk are computed: Position r(t) = [cos(3t), sin(2t), 2 sin(t)]T Velocity r (t) = [−3 sin(3t), 2 cos(2t), 2 cos(t)]T Acceleration r (t) = [−9 cos(3t), −4 sin(2t), −2 sin(t)]T Jerk r (t) = [27 sin(3t), 8 cos(2t), −2 cos(t)]T You know from single variable the addition rule (f + g) = f + g , the scalar multiplication rule (cf) = cf and the Leibniz rule (fg) = f g+fg as well as the chain rule (f(g)) = f (g)g . They generalize to vector-valued functions. c Dejen K. 2018 33 http://elearning.amu.edu.et/course
  • 35. 1.9. ARC LENGTH AND CURVATURE AMU Theorem 1.13 (v + w) = v + w , (cv) = cv , (v · w) = v · w + v · w (v × w) = v × w + v × w (v(f(t))) = v (f(t))f (t). The process of differentiation of a curve can be reversed using the fundamental theorem of calculus. If r (t) and r(0) is known, we can figure out r(t) by integration r(t) = r(0) + t 0 r (s) ds. Theorem 1.14 Assume we know the acceleration a(t) = r (t) at all times as well as initial velocity and position r (0) and r(0). Then r(t) = r(0) + tr (0) + R(t), where R(t) = t 0 v(s) ds and v(t) = t 0 a(s) ds. The free fall is the case when acceleration is constant. The direction of the constant force defines what is ”down”. If r (t) = [0, 0, −10]T , r (0) = [0, 1000, 2]T , r(0) = [0, 0, h]T , then r(t) = [0, 1000t, h + 2t − 10t2 /2]T . Theorem 1.15 If r (t) = F is constant, then r(t) = r(0) + tr (0) − Ft2 /2. 1.9 Arc length and curvature Definition 1.42 If t ∈ [a, b] → r(t) is a parametrized curve with velocity r (t) and speed |r (t)|, then the number L = b a |r (t)| dt is called the arc length of the curve. We justify in class why this formula is reasonable if r is differentiable. Written out, the formula is L = b a x (t)2 + y (t)2 + z (t)2 dt. 1. The arc length of the circle of radius R given by r(t) = [R cos(t), R sin(t)]T parameterized by 0 ≤ t ≤ 2π is 2π because the speed |r (t)| is constant and equal to R. The answer is 2πR. 2. The helix r(t) = [cos(t), sin(t), t]|T has velocity r (t) = [− sin(t), cos(t), 1]T and constant speed |r (t)| = |[− sin(t), cos(t), 1]T | = √ 2. 3. What is the arc length of the curve r(t) = [ √ 2t, log(t), t2 /2]T c Dejen K. 2018 34 http://elearning.amu.edu.et/course
  • 36. 1.9. ARC LENGTH AND CURVATURE AMU for 1 ≤ t ≤ 2? Answer: Because r (t) = [ √ 2, 1/t, t]T , we have r (t) = 2 + 1/t2 + t2 = |1/t + t| and L = 2 1 1/t + t dt = log(t) + t2 2 |2 1 = log(2) + 2 − 1/2. This curve does not have a name. But because it is constructed in such a way that the arc length can be computed, we an call it ”opportunity”. 4. Find the arc length of the curve r(t) = [3t2 , 6t, t3 ]T from t = 1 to t = 3. 5. What is the arc length of the curve r(t) = [cos3 (t), sin3 (t)]T ? Answer: We have |r (t)| = 3 sin2 (t) cos4(t) + cos2(t) sin4 (t) = (3/2 sin(2t)|. Therefore, 2π 0 (3/2) sin(2t) dt = 6. 6. Find the arc length of r(t) = [t2 /2, t3 /3]T for −1 ≤ t ≤ 1. This cubic curve satisfies y2 = x3 8/9 and is an example of an elliptic curve. Because x √ 1 + x2 dx = (1 + x2 )3/2 /3, the integral can be evaluated as 1 −1 |x| √ 1 + x2 dx = 2 1 0 √ 1 + x2 dx = 2(1 + x2 )3/2 /3|1 0 = 2(2 √ 2 − 1)/3. 7. The arc length of an epicycle r(t) = [t + sin(t), cos(t)]T parameterized by 0 ≤ t ≤ 2π. We have |r (t)| = 2 + 2 cos(t). so that L = 2π 0 2 + 2 cos(t) dt. A substitution t = 2u gives L = π 0 2 + 2 cos(2u)2 du = π 0 2 + 2 cos2(u) − 2 sin2 (u)2 du = π 0 4cos2 (u)2 du = 4 π 0 | cos(u)| du = 8. 8. Find the arc length of the catenary r(t) = [t, cosh(t)]T , where cosh(t) = (et + e−t )/2 is the hyperbolic cosine and t ∈ [−1, 1]. We have cosh2 (t)2 − sinh2 (t) = 1, where sinh(t) = (et −e−t )/2 is the hyperbolic sine. Solution: We have |r (t)| = 1 + sinh2(t) = cosh(t) and 1 −1 cosh(t) dt = 2 sinh(1). Because a parameter change t = t(s) corresponds to a substitution in the integration which does not change the integral, we immediately see ”path independence of arc length”: Theorem 1.16 The arc length is independent of the parameterization of the curve. 1. The circle parameterized by r(t) = [cos(t2 ), sin(t2 )]T on t = [0, √ 2π] has the velocity r (t) = 2t[− sin(t), cos(t)]T and speed 2t. The arc length is still 2π 0 2tdt = t2 | √ 2π 0 = 2π. 2. Often, there is no closed formula for the arc length of a curve. For example, the Lissajous figure r(t) = [cos(3t), sin(5t)]T leads to the arc length integral 2π 0 9 sin2 (3t) + 25 cos2(5t) dt which can only be evaluated numerically. Definition 1.43 Define the unit tangent vector T(t) = r (t)|/|r (t)| unit tangent vector. The curvature of a curve at the point r(t) is defined as kappa(t) = |T (t)| |r (t)| . The curvature is the length of the acceleration vector if r(t) traces the curve with constant speed 1. A large curvature at a point means that the curve is strongly bent. Unlike the acceleration or c Dejen K. 2018 35 http://elearning.amu.edu.et/course
  • 37. 1.9. ARC LENGTH AND CURVATURE AMU the velocity, the curvature does not depend on the parameterization of the curve. You ”see” the curvature, while you ”feel” the acceleration. Theorem 1.17 The curvature does not depend on the parametrization. Proof. Let s(t) be an other parametrization, then by the chain rule d/dtT (s(t)) = T (s(t))s (t) and d/dtr(s(t)) = r (s(t))s (t). We see that the s cancels in T /r . Especially, if the curve is parametrized by arc length, meaning that the velocity vector r (t) has length 1, then κ(t) = |T (t)|. It measures the rate of change of the unit tangent vector. 1. The curve r(t) = [t, f(t)]T , which is the graph of a function f has the velocity r (t) = (1, f (t)) and the unit tangent vector T(t) = (1, f (t))/ 1 + f (t)2. After some simplification we get κ(t) = |T (t)|/|r (t)| = |f (t)|/ 1 + f (t)2 3 For example, for f(t) = sin(t), then κ(t) = | sin(t)|/| 1 + cos2(t) 3 . Definition 1.44 If r(t) is a curve which has nonzero speed at t, then we can define T(t) = r (t) |r t)| , the unit tangent vector, N(t) = T (t) |T (t)| , the normal vector and B(t) = T(t) × N(t) the bi-normal vector. The plane spanned by N and B is called the normal plane. It is perpendicular to the curve. The plane spanned by T and N is called the osculating plane. If we differentiate T(t) · T(t) = 1, we get T (t) · T(t) = 0 and see that N(t) is perpendicular to T(t). Because B is automatically normal to T and N , we have shown: Theorem 1.18 The three vectors (T(t), N(t)B(t)) are unit vectors orthogonal to each other. Here is an application of curvature: if a curve r(t) represents a wave front and n(t) is a unit vector normal to the curve at r(t), then s(t) = r(t) + n(t)/κ(t) defines a new curve called the caustic of the curve. Geometers call it the evolute of the original curve. Theorem 1.19 A useful formula for curvature is κ(t) = |r (t) × r (t)| |r|3 c Dejen K. 2018 36 http://elearning.amu.edu.et/course
  • 38. 1.9. ARC LENGTH AND CURVATURE AMU We prove this in class. Finally, lets mention that curvature is important also in computer vision. If the gray level value of a picture is modeled as a function f(x, y) of two variables, places where the level curves of f have maximal curvature corresponds to corners in the picture. This is useful when tracking or identifying objects. c Dejen K. 2018 37 http://elearning.amu.edu.et/course