MATH 2822 Mathematical Methods For Actuarial Science II: Coordinate Geometry
MATH 2822 Mathematical Methods For Actuarial Science II: Coordinate Geometry
MATH 2822
Mathematical Methods for Actuarial Science II
Chapter 1
Coordinate Geometry
1
MATH 2822: Mathematical Methods for Actuarial Science II Chapter 1: Coordinate Geometry
y = mx + c or Ax + By + C = 0
y = mx + c or Ax + By + C = 0
(0, 3)
r = v + tu
tu u
v+tu
v
O
Hence a straight line can also be Note that this representation also works
represented in the following vector form: in three dimensions.
r = (i − j + 2k) + t(−2i + 2j + k)
r = v + tu
z
Here v represents a specific point on the
straight line and u represents the
t(−2i + 2j + k)
direction, while r represents the position
vector of a general point on the line.
−2i + 2j + k
tu u i − j + 2k
y
v+tu O
v
O x
Find the equation of the straight line passing through the points (5, 4, 3) and
(1, 0, −1)? Can you put the answers in different forms?
L1 : 2x − 3y + 6 = 0
L2 : 4x − 6y + 9 = 0
L3 : 6x − 9y + 18 = 0
We know that they are parallel to each other, whereas and are actually the
same line.
How about in three dimensions? Can you find the parallel lines among the
following? Which of them represent the same line?
In two dimensions, two straight lines which are not parallel must intersect. This is
not true in three dimensions, where it is possible for two non-parallel straight lines
to have no intersection. Such straight lines are said to be skew lines.
Consider the line L7 : r = (1, 5, 0) + (0, −6, 3)t. It is easy to check that the point
(1, 2, 3) does not lie on the line. What is the distance from the point to the line?
We have seen that a line can be described by specifying a point and a direction.
The same is true for a plane in some sense. A plane can be uniquely determined by
a point and the direction of a normal n, which is a vector that is orthogonal to
every vector on the plane.
n
Suppose a plane passes through the point (1, 3, 5) and has normal vector (2, 4, 6).
What is the equation of the plane?
In general, if a plane passes through the point (p, q, r ) and has normal vector
(A, B, C ), its equation is given by
A(x − p) + B(y − q) + C (z − r ) = 0
n · (r − r0 ) = 0.
A plane in three dimensions can also be determined by three points. For instance,
can you find the equation of a plane that passes through the points (1, 0, 0),
(0, 2, 0) and (0, 0, 3)?
x − 2y + 3z = 4 and 2x − 4y + 6z = −3
are parallel. How can you tell if the figure is not given?
z
2x − 4y + 6z = −3
x − 2y + 3z = 4
y
Can you interpret the result in terms of the intersection of two planes?
x +y +z =1 and 2x − 3y − z = 2
Can you find the point of intersection of the plane 3x + 2y + 6z = 6 with the
straight line
3x − 8 y
= = z − 1?
6 −2
It is easy to check that the point (1, 1, 3) does not lie on the plane
3x + 2y + 6z = 6. What is the distance from the point to the plane?
More generally, we can show that the distance from the point (p, q, r ) to the plane
Ax + By + Cz + D = 0 is given by
Let f be a function of one variable x. For each value of x in the domain, there
corresponds a value f (x). This gives us a point (x, f (x)) on the coordinate plane.
By collecting all such points, we get the graph of y = f (x), which is a curve in
general.
Now suppose f is a function of two variables x and y . For each pair of (x, y ) in
the domain, there corresponds a value f (x, y ). This gives us a point (x, y , f (x, y ))
in the three-dimensional coordinate system. By collecting all such points, we get
the graph of z = f (x, y ), which is a surface in general.
3.5
2
2.5
−2 0
−1
0
1
2 −2
10
2
−10
−2 0
−1
0
1
2 −2
−5 2
−2 0
−1
0
1
2 −2
4
2
0
−2
2
−4
−2 0
−1
0
1
2 −2
y
(x − 3)2 + y 2 = 4
x
O
4x 2 + 4y 2 + z 2 = 9
y
10
2
−10
−2 0
−1
0
1
2 −2
Setting x = 1, we get
f (y ) = 3y + 1. 10
2
−10
−2 0
−1
0
1
2 −2
Setting x = 1, we get
f (y ) = 3y + 1. 10
0
Setting y = 0, we get
2
f (x) = 2x − 1. −10
−2 0
−1
0
1
2 −2
4
2
0
−2
2
−4
−2 0
−1
0
1
2 −2
Setting x = 1, we get
f (y ) = 1 − y 2 . 4
2
0
−2
2
−4
−2 0
−1
0
1
2 −2
Setting x = 1, we get
f (y ) = 1 − y 2 . 4
2
0
Setting y = 0, we get
−2
2
2
f (x) = x . −4
−2 0
−1
0
1
2 −2
−5 2
−2 0
−1
0
1
2 −2
Setting z = 1, we get
x 2 + y 2 = 1.
0
−5 2
−2 0
−1
0
1
2 −2
Setting z = 1, we get
x 2 + y 2 = 1.
0
Setting z = 0, we get
−5 2
x 2 + y 2 = 2.
−2 0
−1
0
1
2 −2
If we draw many contour lines and take a top view, we get the following contour
map of the function f (x, y ) = 2 − x 2 − y 2 :
f (x, y ) = 2
f (x, y ) = 1
f (x, y ) = 0
f (x, y ) = −1
f (x, y ) = −2
f (x, y ) = −3
y = 2x + 3
x x x
The parabolas you encountered before usually open upward or downward. They
can also be rotated by 90 degrees (or by other angles, although we shall not go
into the details of that):
y y
y 2 − 2y = −2x
2
y = 2x
x x
Ax 2 + Bxy + Cy 2 + Dx + Ey + F = 0.
A circle is the locus of a point that is at a fixed distance r from a point P. How
about a parabola?
y
x = − 12
y2 = x
( 12 , 0)
x
x2 y2
2
+ 2 = 1.
a b (−3, 0) (3, 0)
−5 5 x
−4
x2 y2 (−5, 0) (5, 0)
− = 1. x
a2 b2
x2 y2
2
− 2 =1
3 4
xy = k.
xy = 1
We can likewise generate two other types of cylindrical surfaces by using curves in
the xz-plane and the yz-plane respectively.
z z
y y
x
x
y2 z2
2 2 − =1
x +z =4 9 16
x 2 + y 2 + z 2 = r 2.
x2 y2 z2
+ + = 1.
a2 b2 c2
Its horizontal cross sections are ellipses.
Its vertical cross sections are .
x2 y2 z2
+ = .
a2 b2 c2
Its horizontal cross sections are .
Its vertical cross sections are .
In addition to rectangular coordinates (in two and three dimensions), you should
also be familiar with the polar coordinate system:
90
120 60
150 30
0 0.5 1 1.5 2
180 0
210 330
240 300
270
Some graphs can be represented by nice and simple equations in polar coordinates.
2π
(a) θ =
3
90
120 60
150 30
0 0.5 1 1.5 2
180 0
210 330
240 300
270
Some graphs can be represented by nice and simple equations in polar coordinates.
2π
(a) θ =
3
90
120 60
150 30
0 0.5 1 1.5 2
180 0
210 330
240 300
270
Some graphs can be represented by nice and simple equations in polar coordinates.
(b) r = 2 sin θ
90
120 60
150 30
0 0.5 1 1.5 2
180 0
210 330
240 300
270
Some graphs can be represented by nice and simple equations in polar coordinates.
(b) r = 2 sin θ
90
120 60
150 30
0 0.5 1 1.5 2
180 0
210 330
240 300
270
Some graphs can be represented by nice and simple equations in polar coordinates.
(c) r 2 = 4 cos θ
90
120 60
150 30
0 0.5 1 1.5 2
180 0
210 330
240 300
270
Some graphs can be represented by nice and simple equations in polar coordinates.
(c) r 2 = 4 cos θ
90
120 60
150 30
0 0.5 1 1.5 2
180 0
210 330
240 300
270
If we assume that the Earth is spherical, then essentially the latitude and longitude
system allows us to denote positions on the surface of a sphere (which are at a
fixed distance from the ‘origin’).
We can then naturally extend this to allow us to denote positions in three
dimensions by introducing an extra coordinate which denotes the distance from the
origin.