EMA381
EMA381
OMOREGBE (OSAS)
Basic solutions/key
pointsin mathematics for
engineers and scientists
1
O. OMOREGBE (OSAS)
TABLE OF CONTENT
1. Coordinate Geometry
Cartesian Coordinate …………………………………….1 – 18
Polar Coordinate …………………………………………19 - 32
2. Three Dimension as Coordinates ………………………………34 – 36
3. Conic Section
Circle …………………………………………………………….37 – 56
Parabola …………………………………………………………59 – 67
Ellipse ……………………………………………………………67 – 78
Hyperbola ……………………………………………………….79 – 83
Polar Coordinate form of ……………………………………… 83 - 87
4. Quadric Surfaces
Ellipsoid ………………………………………………………….88 – 92
Hyperboids ………………………………………………………92 – 99
Paraboloids ……………………………………………………..99 – 107
Solid Geometry
i. Geometry Cone …………………………………………. 107
ii. Cylinder ………………………………………………….. 108
iii. Sphere …………………………………………………109 - 119
5. Linear programming ………………………………………120 – 136
6. Vector & Algebra ……………………………………………137 – 138
Matrix algebra ………………………………………………138 - 145
7. Classical optimization
Maximum and minimum for ………………………………146
One Variable functions
Maximum, minimum and…..…………………………... 146
Saddle point for
Two variables functions
2
O. OMOREGBE (OSAS)
Y2 B (X2,Y2)
Y1 L
A (X1,Y1)
X1 X2
The distance between two points say A(X1, Y1) and B(X2, Y2) can be gotten by the
Pythagoras theorem
[ AB]2 =[AL]2 + [ LB]2
Where [AL] = (X2 – X1) and [LB] = (Y2 – Y1)
So, AB = 𝑋2 − 𝑋1 2 + 𝑌2 − 𝑌1 2
B(X2,Y2,Z2)
A(X1,Y1,Z1)
The distance between two point say A(X1,Y1,Z1) and B(X2,Y2,Z2) is given by
[ AB] = 𝑋2 − 𝑋1 2 + 𝑌2 − 𝑌1 2 + (𝑍2 − 𝑍1 )2
1.3 Gradient (M): The gradient of points or line joining two point from
𝑌2 −𝑌1
(X1,Y1) and (X2,Y2) is given by M=
𝑋2 −𝑋1
𝑑𝑦
Also M = tan or M = 𝑑𝑥
𝑌 −𝑌 𝑑𝑦
Therefore, M= 2 1 , or M = 𝑑𝑥 or M = tan
𝑋2 −𝑋1
3
O. OMOREGBE (OSAS)
Y2
B
Y2-Y1
Y1
A (X2-X1)
X1 X2
𝑜𝑝𝑝𝑜𝑠𝑖𝑡𝑒 𝑌2 −𝑌1
Recall, Tan = = = Gradient.
𝑦𝑝𝑜𝑡𝑒𝑛𝑢𝑠𝑒 𝑋2 −𝑋1
4
O. OMOREGBE (OSAS)
B C
NB: The sign of the root depend on the sign of c. if the sign for c is negative (-c), the
root will be –vei.e.− 𝑎2 + 𝑏 2 and vice versa, i.e. if positive then the root will be
+ 𝑎2 + 𝑏 2 .
1.9 Distance Between Two Lines
The distance between two lines is given by
d = d1± d2
where d1 and d2 are the respective distance of the lines from origin (0,0).
When one of the lines has positive c and the other line has negative c, d = d1 + d2
e.g. 2x + 4y – 6 = 0and 4x + 3y + 2 = 0
line 1 Line 2
2 0 +4 0 −6 4 0 +3 0 −2
d= d=
− 22 +4 2 − 4 2 +32
6 2 2
= = =
20 25 5
6 2
d= +
20 5
When c for both line are of the same sign (positive or negative), we have
d = d1 - d2
5
O. OMOREGBE (OSAS)
Question 1: Find the distance between the following points; A(-3,1), B(2,-3),
1
(a) 41(b) 40(C) 13(d) 106 2004/2005Q1
2
Solution
= 2 − −3 2 + −3 − 1 2
= 25 + 16
= 41 (a)
Question 2:Find the gradient of the lines joining (ap2,2ap) and (aq2,2aq)
Solution
𝑌2 −𝑌1
Recall gradient=
𝑋2 −𝑋1
2𝑎𝑝 −2𝑎𝑞
=
𝑎𝑝 2 −𝑎𝑞 2
2𝑎(𝑝−𝑞)
=
𝑎(𝑝 2 −𝑞 2 )
2(𝑝−𝑞) 2
== = (a)
(𝑝−𝑞 )(𝑝+𝑞) (𝑝+𝑞)
Question 3: Find the mid-point of the line segment joining A(1,1) and B(4,5)
1 1
(a) (4,3) (b) (2,3) (C) (2 ,3) (d) (-3, 2 ) 2004/2005/Q3
3 2
Solution
𝑋1 +𝑋2 𝑌1 +𝑌2
Mid point = ( , )
2 2
1+4 1+5
=( , )
2 2
1
= (2 ,3) (c)
2
6
O. OMOREGBE (OSAS)
Question 4: The distance between two points (6,1) and (m,-5) is 10 units where m is a
constant. Find the possible values of m.
Solution
= 𝑚−6 2 + −5 − 1 2 = 10
= 𝑚−6 2 + 36 = 10
2
= 𝑚−6 + 36 = 102
= 𝑚 − 6 2 = 102–36
m – 6 =± 64
m = 6± 8
m = 6 – 8 or 6 + 8
= -2 or 14
Question 5: The mid-point of points M(4,-1) and N(x,y) is P(3,-4) find the coordinate
of N.
(A) (2,-3) (b) (2,-7) (C) (-1,-3) (d) (-10, -7)
Solution
𝑋1 +𝑋2 𝑌1 +𝑌2
Recall, mid-point =( , )
2 2
4+𝑥 −1+𝑦
(3,-4)=( , )
2 2
X = 6-4, y = -8+1
X = 2, y = -7
∴ (x,y) = (2,-7) = B
Question 6:Find the distance between the point (-4,-3) and the point of intersection of
the lines x-2y-5=0 and 2x-y-1=0
7
O. OMOREGBE (OSAS)
Solution
The first thing is to find the coordinate of the point of intersection of the two lines
L1
P (-4,-3)
Q
L2
= 9
=3units
Question 7: A line passes through A on the y-axis with y = 4 and B(8,-2), determine the
coordinates of the mid point of AB
(A)(8,2) (b) (8,-1) (C) (4,3) (d) (4, 1)
Solution
8 0+8 4−2
AB = Mid point=( , )
2 2
-2
B(8,-2) = (4,1) = D
8
O. OMOREGBE (OSAS)
Question 8: Find the angle of the line joining points (4,-3) and (6,8).
(A)1100 (b) 830 (C) 1200(d) 79.70
Solution
𝑌2 −𝑌1
Recall, M= slope = tan =
𝑋2 −𝑋1
8−−3
=
6−4
1
= tan-1(1 ) = 79.70 = D
2
1
Question 9:Find 9the angle of the slope of a line if the gradient is
3
3y – 15 = -4x + 24
4x + 3y – 39 = 0
9
O. OMOREGBE (OSAS)
3
(b) For parallelism, M1 = M2 =
4
3
So, the equation will be (Y – 5) = (x – 6)
4
4y – 20 = 3x – 18
3x – 4y + 2 = 0
Question 11: Find the equation of the line through the points (3,6), (5,7) and show that
it is perpendicular to the –line joining the points (-3,4) and (-2,2).
Solution
𝑌2 −𝑌1
Using Y – Y1 = (x – x1)
𝑋2 −𝑋1
7−6 1
(y – 6) = (x – 3) (y – 6) = (x – 3)
5−3 2
2y – 12 = x – 3 x – 2y + 9 = 0
For the line with points (-3,4),(-2,2),
2− 4 2
M2 = =-
−2−−3 1
M2 = -2
But M1xM2 = -1 for perpendicularity
1
𝑥 − 2= -1 Therefore, the two lines are perpendicular
2
Question 12: Rewrite the equation of the line 5x – 4y – 20 = 0 in (a) intercept form (b)
the slope intercept form Ex. 1/3
Solution
(a) 5x – 4y – 20 = 0 5x – 4y = 20, divide 2ru by 20
5𝑥 4𝑦 𝑥 𝑦
- =1 - =1
20 20 4 5
(b) Slope intercept form is y = mx + c
So, 5x – 4y – 20 = 0
4y = 5x – 20
5
Y= x–5
4
10
O. OMOREGBE (OSAS)
Question 13: Findthe equation of a straight line with gradient 1 3 which passesthrough
3y – 6 = x – 1
X – 3y + 5 = 0 (B)
Question 14: Find the equation of the line passing through the points (2,2) and parallel
to the line 3x + 2y + 7 = 0
(A)3x -2y-10 =0 (b) x+3y -7 = 0 (C) 3x+2y+10 =0 (d) x+3y+7 =0
Solution
1 7 3
From 3x + 2y + 7 = 0, y = - x- , M1 = -
3 2 2
3
Since the requirement line is parallel to this line, M2 = -
2
3
The newequation is (y – 2) = - (x – 2)
2
2y – 4 = -3x + 6
3x + 2y – 10 = 0 (A)
NB:
Whenever the origin of a straight line is change to a new point (a,b), the new equation
will be (y - 𝑦1 + b) = m (x - 𝑥1 + a)
where the gradient remain constant.
Question 15: If the origin is changed to the point (1,-2), find the new equation of the
line 3x + 7y – 5 = 0
Solution
Rewrite the equation into the form (y - 𝑦1 ) = m(x - 𝑥1 )
11
O. OMOREGBE (OSAS)
3x + 7y – 5 = 0
7y = -3x + 5
3 5 3 5
Y=- x+ y = - (x - )
7 7 7 3
3 5
Or (y – 0) = - (x - )
7 3
7y – 14 = -3x + 2
3x + 7y – 16 = 0
Question16: If the origin is changed to the point (3,2), find the new equation of the line
2x + 3y – 12 = 0
(A)2x+6y=0 (b) 4x+6y= 0 (C) 2x+3y=0 (d) 2x–3y=02004/2005/Q15
Solution
2x + 3y – 12 = 0 3y = -2x + 12
2
Y=- x+4
3
2
Y = - (x - 6)
3
2
The new equation is (y – 2) = - (x – 6 + 3)
3
2
(y + 2) = - (x – 3)
3
3y + 6 = -2x + 6
2x + 3yy = 0 (c)
LINE DIVISION
Whenever a line A(𝑥1 ,𝑦1 ), B(𝑥2 ,𝑦2 ) is divided at point say P in the ratio m:n, the
coordinateof P is gotten by
𝒎𝒙𝟐 + 𝒏𝒙𝟏 𝒎𝒚𝟐 + 𝒏𝒚𝟏
( , ) A P Bfor internal division
𝒎+𝒏 𝒎+𝒏
mx2−nx 1 my 2−nyi
, P………………A Bfor external division
m−n m −n
12
O. OMOREGBE (OSAS)
Question 17: If P divides the line AB in the ratio 2:1 and the coordinates of A and B are
(7,4) and (5,9) respectively, find the coordinate of P
17 21 17 22 −17 22 −17 22
(a) ( , ) (b) ( , ) (C) ( , ) (d) ( , )
3 3 3 3 3 3 3 3
Solution
𝑚𝑥 2 + 𝑛𝑥 1 𝑚𝑦 2 + 𝑛𝑦 1
P=( , ) where m:n = 2:1
𝑚 +𝑛 𝑚 +𝑛
2 𝑥 5+1 𝑥 7 2 𝑥 9+1 𝑥 4 17 22
=( , ) = ( , ) (B)
2+1 2+1 3 3
Question 18:Given line PQ with coordinate P(8,5) and 0Q(4,3). If the line is divided in
the ratio of 5:4 at point A, find the coordinate of A.
52 35 −52 35 21 15 32 24
(a) ( , ) (b) ( , ) (C) ( , ) (d) ( , )
9 9 9 9 9 9 9 9
Solution
𝑚𝑥 2 + 𝑛𝑥 1 𝑚𝑦 2 + 𝑛𝑦 1
Coordinate of A = ( , ) where m:n = 5:4
𝑚 +𝑛 𝑚 +𝑛
5 𝑥 4 +4 𝑥 8 5 𝑥 3 +4 𝑥 5
=( , )
5+4 5+4
20+32 15+20
=( , )
9 9
52 35
= ( , ) (A)
9 9
Question 19: The line 9x – 3y – 3 = 0 is perpendicular to the line 2x–3y - 3= 0. Find the
value of the constant K.
−27 2
(a) (b) -6 (C) (d)6
2 27
Solution
Find the gradient of the two lines 9x – ky + 7 = 0
Ky = 9x + 7
9 7 9
Y = x + where 𝑚1 =
𝑘 𝑘 𝑘
Also, 2x – 3y – 3 = 0
3y = 2x – 3
2 2
Y = x – 1 where 𝑚1 =
3 3
13
O. OMOREGBE (OSAS)
9 2
So, x + = -1
𝑘 3
K = -6 (B)
Question 20:A straight line passes through the point (-3,5) and makes intercepts of 3k
and 4k on the x and y axes respectively. Find the value of k.
3 3 1 1
(a) (b) (C) (d)
16 4 3 4
Solution
𝑥 𝑦
Recall the double intercept form of a straight is + = 1 where
𝑎 𝑏
a = intercept on x-axis
b = intercept on y-axis
given (x,y) = (-3,5) and (a,b) = 3k,4k)
−3 5
then, + =1
3𝑘 4𝑘
−1 5 −4+5
+ =1 =1
𝑘 4𝑘 4𝑘
1
1 = 4k k= (D)
4
Question 21: Obtain the area of the triangle at the origin and the points (5,4) and (-6,10)
(A)50 (b) 37 (C) 4 (d) 74 2004.2005/Q5
Solution
1
Recall, for a triangle, Area = 𝑥1 (𝑦2 - 𝑦3 ) + 𝑥2 (𝑦3 - 𝑦1 ) + 𝑥3 (𝑦1 - 𝑦2 )
2
Where (𝑥1 ,𝑦1 ) = (0,0), (𝑥2 ,𝑦2 ) = (5,4) and (𝑥3 ,𝑦3 ) = (-6,10)
1
Area = 0(4 - 10) + 5(10 - 0) + −6(0 - 4)
2
1 1
= 0 + 50 + 24 74
2 2
=37sq units
Question 22: Find the area of the triangle with vertices
3 5 −3
A ( , -4), B( ,3), C( ,2)
4 2 2
1
(A)4 (b) 6 (C) 3(d) 9 2004/2005/Q8
2
14
O. OMOREGBE (OSAS)
Solution 3
A ( , −4) 1 3 5 3
4 Area = 3−2 + 2 − −4 + − (−4 − 3)
2 4 2 2
1 3 21
= + 15 +
2 4 2
B C
−3 = 13.125sq unit (None)
5 ( , 2)
( , 3) 2
2
Question 23:Find the area of the triangle formed by the origin and the points
(acos,sin) and (bcos,bsin) where a > 0, b > 0 and0≤, < 3600 and <
1 1 1
(A) absin( − ) (b)absin(-) (C) ( − ) (d) absin( − )
2 4 2
2004/2005/Q8
Solution
The vertices of the triangle are
A(0,0); B(acos,asin); C(bcos,bsin)
1
Area = 𝑥1 (𝑦2 - 𝑦3 ) + 𝑥2 (𝑦3 - 𝑦1 ) + 𝑥3 (𝑦1 - 𝑦2 )
2
1
= 0(𝑎𝑠𝑖𝑛 - 𝑏𝑠𝑖𝑛𝑔 + acos(bsin-0) + bcos(0 - asin)
2
1
= ( 0 + 𝑎𝑏cossin- abcossin)
2
Recall from compound angles formula, sin(A-B) = sinAcosB – sinBcosA
1
So, Area = absin(-)
2
1
= absin(-) (A)
2
Question 24: Find the perpendicular distance from (1,4) to the line5x ±12y ± 13 = 0
66 66 33 60
(a) (b) (C) (d)
13 17 5 7
Solution
Recall that the distance between a point and a line is given as
ax ± by ± c
𝑑=
± 𝑎2 + 𝑏 2
So, from 5x ± 12y ± 13 = 0 and (1,4),
5x1 + 12x4 +13
Perpendicular distance =
± 25 + 144
66 66
= = (A)
169 13
15
O. OMOREGBE (OSAS)
Question 25: Find the length of the perpendicular from the origin to the
line7x +5y = 15
−15 15 15 −15
(a) (b) (C) (d)
17 17 74 74
Solution
From theorigin (0,0) to the line 7x + 5y -15 = 0
7x+ 5y−15 7(0)+ 5(0)−15
Length = =
− 72 + 52 − 49+ 25
−15 15
= == (C)
− 74 74
Question 26: Find the distance of the line7x – 24y – 10 = 0 from the origin.
Solution
ax ± by ±𝑐
Note that the perpendicular form of a line = in case the point (x,y) is not given,
± 𝑎 2+ 𝑏2
express the form in terms of x and y for the line 7x – 24 – 10 = 0 from origin (0,0), x =
0, y = 0
7(0)+ 24(0)−15 −10
Distance = =
− 72 + (−24)2 − 49+ 576
10 2
= =
25 5
3 0 ±2 0 +8 8
𝑑2 = = from origin
32 + 22 13
16
O. OMOREGBE (OSAS)
2 13
=
13
Question 28: Find the equation of a line which is parallel to x + 2y – 4 = 0 and passes
through the point (4,-3). What is the perpendicular distance between these two lines?
Solution
From the line x + 2y – 4 = 0
1 1
Y = - x + 2 where gradient 𝑚1 = -
2 2
1
Recall for parallelism, 𝑚1 = 𝑚2 . So, 𝑚1 = - for the 2nd line using
2
(y - 𝑦1 ) = 𝑚2 (𝑥 − 𝑥1 ) where(𝑥1 , 𝑦1 )= (4,-3)
1
(y - −3) = - (x-4)
2
2y + 6 = -x + 4
X + 2y + 2 = 0
So, the two lines are x + 2y – 4 = 0 and x + 2y + 2 = 0
Distance between the two lines is gotten by d = 𝑑1 + 𝑑2 since one c is –ve i.e. -4 and the
other is +ve i.e. +2
x+ 2y+4 1 0 + 2 0 −4
𝑑1 = = from origin (0,0)
− 12 + 22 − 5
x+ 2y+2 1 0 + 2 0 −2
𝑑2 = = from origin (0,0)
− 12 + 22 − 5
2 4 2 4+2 6 5 6 5
= . So, d = + x =
15 5 5 5 5 5 5
Question 29: Find the equation of a line parallel to6x – 3y + 18 = 0 and passes through
the point (2,7) what is the perpendicular distance between these two lines?
Solution
Rearranging the equationof the, we have
6𝑥 18
y= +
5 3
17
O. OMOREGBE (OSAS)
y = 2x + 6 where 𝑚1 = 2
since the line is parallel to the required line, 𝑚1 = 𝑚2 = 2
so, the new equation is y – 7 = 2(x-2)
y – 7 = 2x – 4
2x – y + 3 = 0
The 1st line: 6x – 3y + 18 = 0 Or 2x – y + 6 = 0
2nd line: 2x – y + 3 = 0
2 0 +1 0 +6 6
𝑑1 = = from origin (0,0)
22 +12 5
2 0 +1 0 +3 3
𝑑2 = = from origin (0,0)
22 +12 5
The distance between the lines, d = 𝑑1 + 𝑑2 since both times have the samesign of c i.e.
+6 and +3 (positive for both).
6 3 3
d= - =
5 5 5
POLAR COORDINATE
Polar coordinate of a point P is written as (r,) where , r is the distance OP and the
angle POQ.
P
r y
O x Q
Relationship Between Rectangular CoordinateAnd Polar Coordinate
Using the graph above, POQ is a right angled triangle
𝑝 𝑦
sin = =
𝑜𝑝 𝑟
y = rsin
𝑄𝑂 𝑥
cos = =
𝑂𝑃 𝑟
x = rcos
18
O. OMOREGBE (OSAS)
also, r = 𝑥 2 + 𝑦 2
𝑦
tan =
𝑥
𝑦
= tan-1( )
𝑥
y = rsin
= 4sin30 300
=2 x
Also, r = 𝑥 2 + 𝑦 2
= ( 3)2 + 12
= 3 + 1= 4 = 2
∴the polar coordinate = (2, 1500 )
19
O. OMOREGBE (OSAS)
= 6cos60 = 3, Y = rsin=6sin60 = 3 3
𝐵(𝑟2 , 2 )
[𝐴𝐵]
𝑟2
𝐴(𝑟1 , 1 )
2 − 2 𝑟1
1 2
Question 33: Find the distance between points P(3,700) and Q(2,400).
Solution
[PQ]2 = 32 + 22 – 2x3x2cos(700-400)
[PQ] = 9 + 4 − 12𝐶𝑐𝑜𝑠30
= 13 − 12𝐶𝑐𝑜𝑠30
= 1.615
EQUATION OF A LINE IN POLAR CORDINATE
Two cases are considered in determining the equation of a line in polar form. These are
i. A line passing through the origin or pole
ii. A line not passing through the pole
20
O. OMOREGBE (OSAS)
So, when the equation is from Cartesian form, we will substitute the necessary values
𝑟
Question 34:Convert the polar equation to Cartesian form rsin( - ) = 5
3
Solution
The 1st thing if to recall the compound angle formula
Review
Sin(A+B) = SinAcosB + sinBcosA = 1800
2 2
Sin(A-B) = SinAcosB–sinBcosA = = X 180
3 3
3 1
r cos - (- )sin = 5
2 2
3 𝑟
𝑟cos+ sin= 5 but x = rcosandy = rsin
2 2
3 𝑟
𝑥+ =5 3𝑥 + y =10
2 2
x2+ y2 = x 2 _ y 2 − 𝑥
x2+ y2 + x = x 2 + y 2
21
O. OMOREGBE (OSAS)
Solution 36: Which of the following gives the Cartesian form of thepolar equation
3
r=
2 + 3𝑠𝑖𝑛
r(2+3sin) = 3
2r + 3sin = 3
2 𝑥 2 + 𝑦 2 + 3y = 3
2 𝑥 2 + 𝑦 2 = 3 - 3y
Square both sides
4(𝑥 2 + 𝑦 2 ) = 9 – 18y + 9y2
4𝑥 2 + 4𝑦 2 – 9y2 + 18y + 9 = 0
𝑥 2 + 5𝑦 2 + 18y - 9 = 0 (A)
22
O. OMOREGBE (OSAS)
So, 𝑟 2 = 2rcosrsin
𝑟 2 = 2r2sincos
1 = 2rsincos but sin2 = 2sincos
1 = sin2
Sin2 - 1 = 0
𝑐𝑜𝑠 2 − 𝑠𝑖𝑛 2
(D) r =
𝑐𝑜𝑠 − 𝑠𝑖𝑛
Solution
2x2- 3y2- x –y = 0
2(rcos)2 + 3(rsin)2 - rcos + rsin = 0
2r2cos2- 3r2sin2 = r(cos- sin)
r2 (cos2 - 3sin2) = r(cos - sin)
𝑐𝑜𝑠 −𝑠𝑖𝑛
r= (A)
2𝑐𝑜𝑠 2 + 3𝑠𝑖𝑛 2
NB:If a line does not pass through the origin of pole, the equation in polar form will be
rcos(-)=𝑙𝑝 where (r,) is any point on the line and 𝑙𝑝 is the length of the perpendicular
from origin to the line
= angle between the perpendicular and the horizontal OX
Let AB be the line and P(r,) be any point on AB which is joining the point P(r,) and
the pole (0,0), M is a point perpendicular to the line AB
23
O. OMOREGBE (OSAS)
A
P(r,)
M
- In this case, < 90
𝑙𝑝
(0,0) B X
Pole
P(r,)
𝑙𝑝
r
-
A
0 X
The idea behind finding the equation of a line AB in polar form is equating the distance
[OM]
Considering the triangle OMP P
-
𝑙𝑝 O
Using SOHCAHTOA ,cos( - ) = M 𝐿𝑝
𝑟
𝑙𝑝 = rcos( - )
Question 40: Find the equation of the line AB given in the fig. below
450
O B
2 2 24
O. OMOREGBE (OSAS)
Solution
O
A
P(r,) 2 2
90-45
M
r
- 45 Also. For MPO
45
𝑙𝑝 B
M
90-45 P
45
0 B
2 2
45
M O
𝑂𝑀 = rcos ( - 45)
Comparing BMO and MPO
𝑂𝑀 = 𝑂𝑀
rcos ( - 45) = 2
NB:cos(-) = cos or rcos( - ) = 2
4
Question 41: Find the equation of the line through (4,120o) which is perpendicular to the
line joining (4,120) and the pole (0,0).
(A)rcos(-150) = 6 (B)rcos(1200-) = 4 (C)rsin(1200-)= 4(D)rsin1200
Solution
B
M(4,1200) m
p
P(r,)
4
r -1200
r -1200
A
0 X
o
25
O. OMOREGBE (OSAS)
(D) rsin120=2 3
Solution
The diagram is shown below
A
Where AB is the given line and T(4,300) is
T(4,300) the point given on the line whilethe line is
at 1500 to the polar axis.
4
300 300 1500
B x
0
OTB + OBT + TOB = 180 (sum of angles in a triangle)
OTB + 30 + 30= 1800
OTB = 1200
Also, OTB + OTA=180 (sum of angles on the straight line)
120 + OTA = 180
OTA = 180
In order to get the polar equation of the –line AB, we need to project a line joining AB at
m(𝑙𝑝 ,) to the pole (0,0)and perpendicularline AB. Finally, we project another [line
joining AB at any point at any point P(r,) to the pole
A
P(r,)
m(𝑙𝑝 ,)
T(4,300)
6 600
𝑙𝑝
4
1500
90-45
26 30 0
0 B x
O. OMOREGBE (OSAS)
𝑙𝑝 = 4sn60 = 2 3 P
O
∴rcos( - 600) = 2 2 (A)
NB:The working of the last question is not as long as that. I was only showing how such
a question should be handled. There are similar questions below but with a short solution
since the concepts have been explained.
Question 43: A line passes through the point (6,200) and makes an angle of 1700 with
the polar axis. Find its equation.
Solution
P(r,)
m
T(6,200)
𝐿𝑝 300
600 1500 1700
0
200 10
O B
4
From OMT, sin30 =
6
𝑙𝑝 = 6sin30 = 3
= BOM = 60 + 20 = 180
= BOP
From MOP rcos(-)
27
O. OMOREGBE (OSAS)
Solution
A A
P(,r)
M
P M
or
T 𝑙𝑝 T 600
600 6 r
0 -
120 0 120 4
4 1200 0 1500
30
0 300 300 300 1200
30 30 0 150 0
B
B 0
r 0
ANOTHER CASE
Given a line AB (i) perpendicular to OX i.e. to he polar axis
(ii) Parallel to the axis, OX
A
(i) P(r,)
(ii) when AB is below polar axis
O M
r T X
r 𝐿𝑝
B
B A M P(r,)
O X
Question 46: Find the polar equation of a straight line parallel to the polar OX and 4
units above it.
Solution
M P(r,) 4
A B sin =
𝑟
rsin = 4
4 r
or rsin - 4 = 0
O
TAKE AWAY
Try the following questions
1. A line passes through the point (8,600) and makes an angle of 1700 with the polar
axis. Find the equation
Ans:rcos(-800) = 7.5
2. Find the equation of the line through (10,1500) which is perpendicular to the line
joining (10,1500) and the pole (0,0)
5
Ans:rcos(- ) = 10
6
0
3. Find the equation of the line through the point (4,60 ) and perpendicular to the
polar axis OX
Ans:rcos–2 = 0
4. Find the polar equation of a straight line parallel to the polar axis OX and 2 units
below it.
Ans:rsin + 2 = 0
5. Find the equation of the line –AB given in the figure below
Ans:rcos(-30) = 6 3
A
Or rcos( - ) = 6 3
6
Or rcos( − ) = 6 3
6
29
O. OMOREGBE (OSAS)
= 𝑥2 + 𝑦2 + 𝑧2
= 02 + 12 + 12 = 2
r = sin. Also r = 𝑥 2 + 𝑦 2
sin = 02 + 12 = 1
2𝑠𝑖𝑛 = 1
1
= sin-1( )= 450 or
2 4
30
O. OMOREGBE (OSAS)
𝑦 1
Also, if = tan-1( ) = tan-1( )= indeterminate
𝑥 0
3
Question 2:Convert the spherical coordinate (2 2, , ) into rectangular coordinate.
2 2
(A) (0,2 2,0)(B) (0,-2 2,0) (C) (0,1, -2 2,) (D) (1,0, -2 2,)
Solution
Recall, for spherical coordinate. We have (,,)
3
So, = 2 2, = , =
2 2
Where r =sin, z = cos = 2 2,cos = 0
2
= 2 2𝑠𝑖𝑛
2
=2 2
3
But x = rcos = 2 2 cos( ) = 2 2 x 0 = 0
2
3
y = rsin = 2 2 sin ( ) = 2 2 x -1 = −2 2
2
∴ The rectangular coordinate = (x,y,z)
Solution
For rectangular coordinate, we have (x,y,z) = (0, −2 2, 0)
For cylindrical coordinate, we have (r,,z)
Where r = 𝑥 2 + 𝑦 2 = 02 + (−2 2 )2 = 4 𝑥 2
=2 2
X = rcos or y = rsin
−2 2 = −2 2𝑠𝑖𝑛
sin = -1
= - 90 or -
0
2
The cylindrical coordinate = (2 2,− , ,) C
2
31
O. OMOREGBE (OSAS)
→
So, r = AP = 𝑎 − 𝑥1 2 + 𝑏 − 𝑦1 2
→ 2 2
Or r = PB = 𝑥2 − 𝑎 + 𝑦2 − 𝑏
32
O. OMOREGBE (OSAS)
2(ii) Circle with centre (a,b) andtouching one of the X or y axis or aline.
y
y
b r (a,b)
(a,b)
b
r
Fig. i Fig. ii
a x a x
From fig i, fig. ii
Radius r = b = distance from the centre to the x-axis
= y coordinate (b) at the centre
From fig i,
Radius r = a = distance from the centre to the y-axis
= x coordinate (a) at the centre
For line, r = distance between the centre and the line
𝑑𝑦
Hint: from the equation of the circle, find at P(𝑥1 , 𝑦1 ) to get 𝑚1 . Then use (y-𝑦1 ) =
𝑑𝑥
𝑚1 .then use(y-𝑦1 )= 𝑚1 (x-𝑥1 ). Just like that!
Tangent
33
O. OMOREGBE (OSAS)
1 1
Recall for perpendicularity, 𝑚2 = − =−
𝑚 𝑔𝑟𝑎𝑑𝑖𝑒𝑛𝑡 𝑜𝑓 𝑡𝑒 𝑡𝑎𝑛𝑔𝑒𝑛𝑡
= AC2 + PC 2
Where (a,b) is the centre of the circle
(x,y) is the coordinate of the point A
Question 2: Find the equation of the circle with the following centre and radius (-1,2)
1
and 2 .
2
(A) x2–y2+8x-4y–25=0(B)4x2+4y2+8x–16y-25=0(C)4x2–4y2+8x+16y+25=0
(D) 4x2+4y2+8x+16y+25=0
Solution
1
Given centre (a,b) = (-1,2) and r = 2
2
34
O. OMOREGBE (OSAS)
Using x2–y2+2gx+2fy+c=0
5
We have x2+y2+2x-4y+ =0
4
Multiply through by 4
4x2+4y2+8x-16y-5=0 (None)
Question 3: Find the equation of the circle which passes through the points (0,0),
(2,0), and (0,4).
(A) x2+y2+6x-2y–15=0 (B)x2+y2-2x–4y=0 (C)x2–y2-2x+4y=0
(D) x2-y2-2x+4y=0
Solution
Recall for three given points on a circle, we substitute each coordinate of the points into
the general equations
x2+ y2 + 2gx + 2fy + c = 0
for point (0,0) 02+02 + 2g(0) + 2f(0) + c = 0
4 + 4g + c = 0
4g = -4
G = -1
For point (0,4),02+42 + 2g(0) + 2f(4) + c = 0
0 + 16 + 0 + 8f + 0 = 0
8f = -16
F = -2
The equation is x2+ y2 + 2gx + 2fy + c = 0
x2+ y2 + 2x – 1x+ 2x - 2y + 0 = 0
x2+ y2 + 2x – 4y = 0
x2+ y2- 2x – 4y = 0
Question 4: A circle passes through the points (-1,1), (0,6) and (5,5). Find the equation
of the circle.
35
O. OMOREGBE (OSAS)
Question 5: Find the equation of the circumcircle of the triangle formed by the line y =
x, x = 4, and 2y + x = 0
(A) x2+y2+6x–8y=0 (B) x2+y2-6x-4y+6=0 (C) x2+y2- 6x - 2y=0
(D) x2-y2+6x - 2y=0
Solution
To solve the type of question, we should equate the equation of any two lines to get the
point of intersection of the lines, from the equation,
[AC] is 2y + x = 0 …………………………………(i)
[AB] is y –x = 0 ………………………………….(ii)
[BC] is x = 4 or 0y + x = 4 ………………………...(iii)
Equating lines [AC] and [AB]
2y + x = 0 ……………..(i)
Y – x = 0 ……………...(ii)
36
O. OMOREGBE (OSAS)
Solution
37
O. OMOREGBE (OSAS)
Always make sure the coefficients of x2 and y2 s one before doing anything.
8 2
So, x2+ y2+ x + y + = 0
3 3
Question 7: A circle have the points (2, 3) and (-4, 5) as the ends of its diameter. Find
the equation of the circle
(A) x2+y2- 2x+7y + 27=0 (B) x2+y2+2x-8y+7=0 (C) x2-y2+2x - 8y +27=0
(D) x2 + y2 -2x +8y +7=0
Solution
Given diameter AB and 0centre C(a, b) A(2,3) B
𝑥 1 +𝑥 2 𝑦 1 +𝑦 2 C(a,b)
Recall, midpoint = ( , ) (-4,5)
2 2
2+(−4) 3+5
So, centre (a ,b) = ( , )
2 2
= (-1,4)
Radius r = [AC] or [CB]
= 10, r2 = 10
But c = a2 + b2 + r2
= (-1)2 + 42 – 10 = 7
38
O. OMOREGBE (OSAS)
Question 8: In the diagram, PQRS P(-2,2) is a square. Find the equation of the circle
that will pass through the four vertices of the square
(A) x2+y2-8 = 0 (B) x2+y2-4 = 0 (C) x2+y2-8 = 0 P(-2,2) Q
2 2
(D) x +y +8 = 0
Solution
Let C(a, b) be the centre of the circle
−2+2 2+(−2)
C(a, b) = ( , )
2 2
S R(2,-2)
= (0,0), g = 0, f = 0
Radius = [PC] or [CR] P(-2,2)
R(2,-2)
r= 8
r2 = 8, c = a2 +b2 – r2
substituting into the general formula x2 + y2 + 2gx + 2fy + c = 0
x2 + y2 + 2(0)x + 2(0)y + c = 0
x2 + y2 – 8 = 0
Question 9:Find the possible values of the constant K for which the curve (6k – 5)x2 +
(k2 + 4)y2 + 4x – 6y + 3 = 0, is a circle.
(A) 4 and -5(B) -4 and 5 (C)-3 and 3 (D) 3twice
Solution
Recall that one of the conditions for a curve to be a circle is that the coefficient of x2 and
y2must be the same. So, from the curve
(6k – 5)x2 + (k2 + 4)y2 + 4x – 6y + 3 = 0,
39
O. OMOREGBE (OSAS)
(6k – 5) = (k2 + 4)
K2 – 6k + 4 + 5 = 0
K2 – 6k + 9 = 0 (k – 3)(k - 3) =0
K = 3twice (D)
Question 10: A circle passes through the points (0,3) an d (4,1). If the centre of the
circle is on the x-axis, find the equation of the circle.
Solution
Let the two points be P(0,3) and Q(4,1)
The centre (a,b) is (a,o) since the centre is on the x-axis
Radius, r = [PC] = [CQ]
𝑎2 + 𝑎 = 4−𝑎 2 +1
By squaring both sides, a2 + a = (4-a)2 + 1
y
a2 + a = 16 – 8a + a2 + 1
8a = 8 P(0,3)
A=1 Q
So, a = [PC] = 𝑎2 + 9 = 1 + 9 = 10 (4,1)
0 C(a,0)
r2 = 10
but g - -a, f = -b and c = a2 + b2 – r2
g = -1, f = 0, c = 1 + 0 – 10 = -9
the required equation is x2 + y2 + 2gx + 2fy + c = 0
x2 + y2 + 2(-1)x +0 - 9 = 0
x2 + y2 - 2x +0 - 9 = 0
Question 11: Find the equation of a circle passing through (6,0) and (0,4) and having its
centre on the line 2x – 7y + 8 = 0
(A) x2 + y2 - 6x -4y = 0 (B) x2 + y2 - 6x -4y +13 = 0 (C) x2 + y2 + 6x -4y = 0
y
40
O. OMOREGBE (OSAS)
Then r = 32 + (2 − 4)2
= 13 or r2 = 13
g = -3, f = -2, c = (-3)2 + (-2)2 – r = 9 + 4 – 3 = 0
The required equation is x2 + y2 + 2(-3)x + 2(-2)y + c = 0
x2 + y2 – 6x – 4y = 0 (A)
Question 12: What is the equation of the circle, centre (2,-3) which touches the x-axis?
Solution
0 2
Recall, when a circle touches the x-axis
x
The radius = the y coordinate of the centre
So, r =3 i.e. magnitude of -3
-3
From the centre (2,-3), g = -2, f = 3, (2,-3)
c = (-2)2 + (3) – 32 = 4
The required equation is x2 + y2 + 2(-2)x + 2(3)y + 4 = 0
41
O. OMOREGBE (OSAS)
x2 + y2+ 8x - 6y + 9 = 0 (D)
Question 13: What is the equation of the circle, centre (-4,3) which touches the y-axis?
(A) x2+y2+8x-6y+9=0 (B) x2+y2-8x+6y+9=0 (C) x2+y2+8x+6y-9= 0
(D) x2+y2+8x+6y-9= 0
Solution
Similarly when a circle touches the y-axis,
y
Radius r = x-coordinate of the centre
In this case, r = 4
NB: 4 instead of -4 should be used since 3
(-4,3)
r is the modulus or absolute value. r
From the centre –(-4,3), g = 4, f = -3
-x 0
-4
C = a2 + b2 - r2 = (-4)2 + (3)2 - 42
C=9
The required equation is x2+y2+2(4)x+2(-3)y-9= 0
x2+y2+8x+6y-9= 0 (D)
Question 14: Find the coordinate of the centres of the circles of radius 3, which touch
the y-axis and whose centres lies on the line 3x = 4y. What are the equations of these
circles?
Solution
Recall that for circles touching a line
Radius r = x coordinate of the centre
So, from centre (a,b), a = r = 3
(3,b)
Since the circle can either be on the
Positive or negative side of x-axis,
A = 3 or -3
42
O. OMOREGBE (OSAS)
C = a2 + b2 – r2 -x
-3
2 9
C=3 + ( )2 –3 2
4
81
=
16 ii.
9 81 y
The required equations are x2+y2+2(-3)x+2(- )y+ = 0
4 16
Multiply through by 16
16x2+16y2-96x-72y+ 81= 0 c (a,b)
9 81 r
And x2+y2+2(3)x+2( )y+ = 0
4 16
16x2+16y2+96x+72y+ 81= 0 3 +x
Question 15: Find the equation of the circle whose centrelies on the linex – 2y + 2 = 0
and which touches the positive axis
(A) x2+y2+4x+4y+2=0 (B) x2+y2-4x-4y+4=0 (C) x2+y2+4x+4y+12=0
(D) x2+y2-4x-4y+81=0
Solution y
43
O. OMOREGBE (OSAS)
Question 16: Find the equation f the circles which touch the x-axis radius 5, and pass
through the point (0,8).
Solution
y
Recall for circle touching the axis
Radius r = y-coordinate of the centre (b)
r=b 5 r (a,b)
Given r = 5, b = 5
r
P(0,8)
But [CP] = radius
So, (0 − 𝑎)2 + (8 − 5)2 =5 x
𝑎2 + 9 = 5
𝑎2 + 9 = 25
𝑎2 = 25 − 9
A = 16
∴The centre C(a,b) = (4,5) or (-4,5)
C = 42 + 52 – 52 = 16, (g,f) = (-4,5) or (4,-5)
The required equation is x2+y2+ 2(-4)x+ 2(-5)y+16= 0
x2+y2- 8x- 10y+16= 0
or x2+y2+ 2(4)x+ 2(-5)y+16= 0
44
O. OMOREGBE (OSAS)
Question 17: A circle whose centre is at the point (-1,2), passes through the mid point of
the line joining the points (-1,7) and (5,5). What is the equation of the circle?
(A) x2+y2+2x-4y-20=0 (B) x2+y2+2x-4y+20=0 (C) x2+y2-2x+4y+30=0
(D) x2+y2+2x-4y+29 =0
Solution
Given a line with point s A(-1,7) and B(5,5).
𝑥 1 +𝑥 2 𝑦 1 +𝑦 2
Mid point D(x,y) = ( , )
2 2 A(-1,7) C(-1,2)
−1+5 7+5
=( , ) r
2 2
= (2,6)
D(x,y)
But the circle touches the line at this mid point
So, radius of the circle r = [CD] where c(-1,2) is the centre B(5,5)
= (2 − −1)2 + (6 − 2)2
= 32 + 42
r = 25
𝑎𝑥 1 ±𝑏𝑦 1 ±𝑐
From point (𝑥1 , 𝑦1 ) is d =
± 𝑎 2 +𝑏 2
For the line 4x + 2y – 4 = 0
𝑎 −5 +2 4 −4
[BC] = r =
− 4 2 +22
16 16 20 16 4𝑥5 8𝑥2 5
r= = x = =
20 20 20 20 10
8 5
r=
5
8 5 2 64
r2 = ( ) =
5 5
64
(g,f) = (-a,-b) = (5,-4), c = a2 + b2 – r2 = (-5)2 + (4)2 –
5
141
The required equation is x2+y2+2(-5)x+ 2(-4)y + =0
5
𝑑𝑦 −2𝑥
=
𝑑𝑥 2𝑦
𝑑𝑦 1
At point (1,-4), =
𝑑𝑥 4
1
The required tangent equation is (y—4) = (x-1)
4
4y + 16 = x – 1
X – 4y – 17 = 0 (B)
46
O. OMOREGBE (OSAS)
𝑑𝑦 2−2(−2)
At point (-2,1), = =1
𝑑𝑥 2(1)+4
𝑑𝑦
But = 𝑚1
𝑑𝑥
So, 𝑚1 = 1
1
Also 𝑚2 = - where 𝑚2 = gradient of the normal
𝑚1
1
= - = -1
1
Te required equation of the normal is
(y - 𝑦1 ) = 𝑚1 (x - 𝑥1 )
(y - 𝑦1 ) = −1(x - - 2)
Y – 1 = -x -2
X+y+1=0
Solution
𝑑𝑦
From the circle equation, 2x + 2y –4=0
𝑑𝑥
𝑑𝑦 4−2𝑥
=
𝑑𝑥 2𝑦
𝑑𝑦 4−2(4)
At point (4,-1), = =2
𝑑𝑥 2𝑦
47
O. OMOREGBE (OSAS)
y + 1 = 2x – 8
2x – y – 9 = 0
r = 25 = 5 = [AC]
= (2 − 5)2 + (1 − 7)2 = 45
Considering ABC, we can get [AB] using Pythagoras theorem
[𝐴𝐵]2 = [𝐵𝐶]2 − [𝐴𝐶]2
= ( 45)2 - 52
= 54 – 25
= 20
[AB] = 20 = 4𝑥5 = 2 5 (A)
Question 23: Find the length of the tangent to the circle x2+y2= 49 at the point (5,6).
Solution A
B(5,6)
From the equation given, a = 0, b = 0
C = -49, where c = a2+b2- r2
2
So, r = 49 or r = 7 = [AC] C(0,0)
48
O. OMOREGBE (OSAS)
= ( 61)2 - 72
= 12
[AB] = = 12
3.2 PARABOLA
A parabola is a point equidistant from a fixed point (focus) and a fixed line (directrix)
Key points
The eccentricity e of a parabola = 1
General equation
i. (𝑦 − 𝑦1 )2 = 4a(𝑥 − 𝑥1 ) at point (𝑥1 , 𝑦1 ) and symmetrical about x-axis
At origin, (𝑥1 , 𝑦1 ) = (0,0), the equation becomes 𝑦 2 = 4ax
2a 2a
V Latus
V
(0,0) f Rectum f (0,0) x
2a
or 2a
49
O. OMOREGBE (OSAS)
2a 2a
f
x
or
x 2a 2a
f
Question 24: Find the focus and directrix of the parabola y2 = 12x
(A) (-3,0) and 8 (B) (3,0) and 3 (C) (3,0) and -3 (D) (-3,0) and -3
Solution
Recall, y2 = 4ax
Comparing this with the given equation,
50
O. OMOREGBE (OSAS)
4a = 12
A=3
Focus = f(a,0) = f(3,0)
Directrix = D(-a,0) = D(-3,0) (C)
Br comparison
1
𝑦1 = 3, 𝑥1 = 5, 4a = 2 or a =
2
Question 27: The focus and vertex of a parabola are (2,2) an d (-1,2) respectively. Find
the equation of the parabola
(A) y2-4y-12x-8=0 (B) x2-4y+18=0 (C) x2-4x-12y-8=0
(D) y2+4y-12x-8 =0
Solution
Given focus (2,2) and vertex (-1,2)
But for a given vertex (x,y), focus = f(a+𝑥1 ,𝑦1 ) or f(𝑥1 ,𝑎 + 𝑦1 )
depending on the coordinate which is unchanged
Generally, i. If the y – coordinate is unchanged, the equation will
be (𝑦 − 𝑦1 )2 = 4a(𝑥 − 𝑥1 ) and f(a+𝑥1 ,𝑦1 ) = focus
ii. If x-coordinate is unchanged, the equation will be
(𝑥 − 𝑥1 )2 = 4a(𝑦 − 𝑦1 ) and f(𝑥1 ,𝑎 + 𝑦1 ) = focus
from the question y-coordinate is unchanged
so, focus = f(a+𝑥1 ,𝑦1 ) = (2,2)
vertex = v(𝑥1 , 𝑦1 ) = (-1,2)
By comparison
𝑦1 = 2, 𝑥1 = -1, a + 𝑥1 = 2 or a= 2 -𝑥1 = 2- - 1 = 3
The equation is (𝑦 − 𝑦1 )2 = 4a(𝑥 − 𝑥1 )
(𝑦 − 2)2 = 4x3(𝑥 − − 1)
y2-4y+4 = 12x + 12
y2-4y-12x-8=0 (A)
Question 28: find the equation of the parabola with vertex (5,-1) and focus (5,2).
52
O. OMOREGBE (OSAS)
=3 x
Question 31: determine the focus, directrix, axis and vertex of the parabola and make a
sketch for each
53
O. OMOREGBE (OSAS)
i. X2 = 12y
ii. 4x2 + 4x + 4y + 13 = 0
iii. X2 = -8y
Solution
i. Given x2 = 12y. by –comparing with x2 = 4ay. at origin
4a = 12, a = 13
Vertex = v(𝑥1 , y1 ) = (0,0)
Focus = f(0,a) = (0,3)
Directrix = D(0,-a+𝑦1 ) = (0,-3) or y = -3
Latus rectum = 4a = 4x3 L = 12
L=12
F(0,3)
V(0,0) x
-3 Directrix
ii. 4x2 + 4x + 4y + 13 = 0
4(x2 + x) + 4y + 13 = 0
1
4(x + )2 – 1 + 4y + 13 = 0
2
1 2
4(x + ) = - (4y+ 12)
2
1 2
4(x + ) = - 4(y + 3)
2
1 2
(x + ) = - (y + 3)
2
54
O. OMOREGBE (OSAS)
x
-1 1
−
2 3
-3 Directri
1 4
V( ,-3)
2 3 x
1 1
f(- ,-3 )
2 4
iii. X2 = -8y
By comparing with X2 = 4ay at origin,
𝑥1 = 0, 𝑦1 = 0, 4a = -8 or a = -2
Vertex = v(𝑥1 , y1 ) = (0,0)
Focus = f(0,𝑎) = (0, -2)
Directrix = D(0,−𝑎) = (0,− − 2) = (0,2) or y = 2
The sketch is shown below
2 Directrix
V(0,0)
x
F(0,-2)
The various natures of parabola curve has been explained at the beginning of this topic.
Take note!
55
O. OMOREGBE (OSAS)
Question 32: Find the equation and sketch the graph of the parabola with focus and
directrix f(1,2) and x = -1 respectively
Solution
Given focus = f(1,2) and directrix x = -1
But focus = f(𝑎 + 𝑥1 , 𝑦1 ,)when directric x = -a + x1
Or (f(𝑥1 ,𝑎 + 𝑦1 ) when directrix y = -a + y1
By comparison, we have
f(𝑎 + 𝑥1 , 𝑦1 ,) = f(1,2), a + x1 = 1
D(𝑎 + 𝑥1 ,𝑦1 ) = (-1, 𝑦1 ), − 𝑎 + 𝑥1 = -1
Where 𝑎 + 𝑥1 = 1 ………………………(i)
− 𝑎 + 𝑥1 = -1 ………………………(ii)
2𝑥1 = 0
𝑥1 = 0 and 𝑦1 = 2, from (i) a = 1
The vertex = v(0,2)
The equation is (y - 𝑦1 )2 = 4a(x - 𝑥1 )
(y -2)2 = 4(1)(x - 0) = (y -2)2 = 4x
y2 -4y – 4x + 4 = 0
The sketch is
Directrix y
F(1,2)
y V(0,2)
Alternatively, -1 1 equation for conic sections since
we can use the general
we know the focus and the directrix
𝑒 2 (𝑙𝑥 ±𝑚𝑦 ±𝑛 )2
Recall, (𝑥 − 𝑎)2 + (𝑦 − 𝑏)2 =
𝑙 2 +𝑚 2
56
O. OMOREGBE (OSAS)
Question 33: Find the equation of the parabola –with –focus (-3,2) and directrix x-y +
1= 0
Solution
To do this we will use the general equation of conic section
𝑒 2 (𝑙𝑥 ±𝑚𝑦 ±𝑛 )2
(𝑥 − 𝑎)2 + (𝑦 − 𝑏)2 =
𝑙 2 +𝑚 2
Question 34: Find the equation of a parabola with directrix x = y and focus (2,3)
Solution
𝑒 2 (𝑙𝑥 ±𝑚𝑦 ±𝑛)2
Using the equation (𝑥 − 𝑎)2 + (𝑦 − 𝑏)2 =
𝑙 2 +𝑚 2
Where focus = (2,3) and directrix x = y or x – y = 0
12 (𝑥−𝑦 )2
So, (𝑥 − 2)2 + (𝑦 − 3)2 =
1+(−1)2
(𝑥−𝑦 )2
x2 - 4x + 4 +𝑦 2 - 6y + 9 =
2
2x2 - 8x + 8 + 2y2 – 12y + 18 = x2 - xy + y2 – xy
2x2 + x2 + 8x + 8 + 2y2 – y2 - 12y + 2xy +18 = 0
x2 + y2 + 2xy - 8x – 12y + 26 = 0
It is a conic section in which the distance from a fixed point (focus) is less than the
distance from a fixed line (directrix).
Key points
1. The ratio of the distance from the focus to the distance from the directrix is the
eccentricity (e), where e is less than 1.
2. General equation
(𝑥+)2 (𝑦 −𝑘)2
i. + 2 = 1 ata given centre (2 ,𝑘1 )
𝑎2 𝑏
When major axis is on x-axis
2a = length of major axis
2b = length of major axis
Focus = (±æ + h,k) i.e. (æ + h,k), (-æ + h, k)
𝑐
Where e = eccentricity =
𝑎
And 𝑐 2 = 𝑎2 -𝑏 2
Or c = 𝑎2 − 𝑏 2
This means we can rewrite focus as (±c+h,k) at a given centre (h,k)
At origin, focus = (±c,0) where c = æ
𝑎 𝑎
Directrix = ± + h at centre (h,k) i.e. x = ± + h
𝑒 𝑒
𝑎 𝑎
or ± at origin i.e. x = ±
𝑒 𝑒
Vertex = (±a,0), (0, ±b) at origin
Or (±a + h,k), (, 𝑘 ±b) at centre (h,k)
V(0,b)
b
V(-a,0) V(a,0)
f(-c,0) f(c,0)
b
V(0,-b)
a a
ii. When the major –axis is on y-axis we have
𝑥2 𝑦2
+ = 1 at origin
𝑏2 𝑎2
(𝑥−)2 (𝑦 −𝑘)2
𝑜𝑟 + 2 = 1 given centre (h,k)
𝑎2 𝑏
Focus = (0 ±c) or (0±æ) at origin
Or (h, ± c+ k) or (h, ±æ + k) given centre (h,k)
𝑎 𝑎
Directrix = ± or x = ±
𝑒 𝑒
Vertex = (0, ±a),(±b,0) at origin
58
O. OMOREGBE (OSAS)
V(a,0)
f(c,0)
a
V(0,b)
V(-b,0)
a f(-c,0)
V(0,-a)
b b
2𝑏 2
3. Latus rectum =
𝑎
4. Distance between the first = 2c or 2æ
5. Major axis = 2a and semi major axis = a
Minor axis = 2b and semi minor axis = b
6. General representation
Question 35: Find (i) the eccentricity (ii) the coordinates of the foci (iii) the equation of
the directrex of the ellipse
𝑥2 𝑦2
+ =1
25 16
Solution
𝑥2 𝑦2
By –comparison with the 2 + 2 = 1 since the major 0axis –is on x-axis i.e. the
𝑏 𝑎
denominator with a greater number
So, 𝑎2 = 25, 𝑏 2 = 4
a = 5, b = 4
But 𝑐 2 = 𝑎2 - 𝑏 2
𝑐 2 = 25 – 16
C=±3
𝑐 3
(i) Eccentricity e = =±
𝑎 5
𝑐
Alternatively, e = where 𝑐 2 = 𝑎2 - 𝑏 2 or c = ± 𝑎2 − 𝑏 2
𝑎
59
O. OMOREGBE (OSAS)
± 𝑎2 − 𝑏2 𝑏
e= or 1 − ( )2
𝑎 𝑎
4
e = ± 1 − ( )2
5
9 3
=+ =±
25 5
(ii) Foci = (±c+h,k) where (h,k) = (0,0) i.e. at origin
(±3,0)
𝑎 𝑎
(iii) Directrix = ± or x = ±
𝑒 𝑒
= 5
3
5
(iv) Vertex = (±a,0),(0,±b)
= (±5,0),(0,±4)
V(0,4)
V(-5,0) V(5,0)
f(-3,0) f(3,0) x
V(0,-b4)
25
Directrex = − 25
3
Directrex =
3
Solution
(i) By comparing the given foci (±5,0) –with f(±c,0)
C = 5 where major axis is on x-axis
But major axis = 2a
So, 2a = 26 or a = 13
Also 𝑐 2 = 𝑎2 - 𝑏 2
60
O. OMOREGBE (OSAS)
𝑏 2 = 𝑎2 - 𝑐 2
𝑏 2 = 132 - 52
𝑏 2 = 144
𝑏 = 12
𝑥2 𝑦2
The required equation is 2
+ =1
𝑏 𝑎2
𝑥2 𝑦2 𝑥2 𝑦2
+ 2 = 1 or + =1
13 2 12 169 144
(ii) Since the given major axis is horizontal, the major axis will be on x-axis
1
Where 2a = 20 and e = , a= 10
2
𝑐 𝑏 2
But e = ± or 1 −
𝑎 𝑎
1 𝑏 2
So, = ± 1 −
2 10
Square both sides
1 𝑏 2
=1−
4 𝑎
𝑏 2 1 𝑏2 3
=1− = =
10 4 100 4
2 3 2
b = 100 x b = 75
4
𝑥2 𝑦2 𝑥2 𝑦2
the required equation is 2
+ =1 + =1
𝑏 𝑎2 10 2 75
𝑥2 𝑦2
+ =1
100 75
(iii) Given horizontal axis = 8 and vertical axis = 4, centre (2,3) since horizontal
axis is greater than vertical axis, the major axis is on x-axis
But 2a = major axis and 2b – minor –axis
So, 2a = 8 and 2b = 4
a = 4 and b = 2
(𝑥−)2 (𝑦 −𝑘)2
The required equation is + = 1 where (h,k) = centre
𝑎2 𝑏2
(𝑥−2)2 (𝑦 −3)2
+ =1
42 22
(𝑥−2)2 (𝑦 −3)2
+ =1
16 4
1
(iv) Given foci (-2,2) and (4,2) and e =
3
It should be noted that the y-coordinate –of the foci is unchanged
So we compare it with f(±x+h,k) i.e. (-c+h,k) and (c+h,k)
We can then conclude that major axis is on x-axis
By comparison (i), k = 2
-C + h = -2 ………………………(i)
C + h = 4 ……………………….(ii)
61
O. OMOREGBE (OSAS)
A=9
Also, 𝑐 2 = 𝑎2 - 𝑏 2
S0, 𝑏 2 = 𝑎2 - 𝑐 2
= 92 - 32
𝑏 2 = 72
(𝑥−)2 (𝑦 −𝑘)2
The required equation is + = 1 where (h,k) = (1,2)
𝑎2 𝑏2
(𝑥−1)2 (𝑦 −2)2
+ =1
92 72
(𝑥−1)2 (𝑦 −2)2
+ =1
81 72
Solution
(i) 4𝑥 2 + 𝑦 2 = 16
Divide through by 16
4𝑥 2 𝑦2
+ =1
16 16
4𝑥 2 𝑦2
+ =1
4 16
Since the denominator of the y2 is greater than that of the x2, the major axis is on y-axis
𝑥2 𝑦2
So we compare with the equation 2
+ = 1centre at origin
𝑏 𝑎2
Where 𝑏 2 = 4 and 𝑎2 = 16
B = 2 and a = 4
But 𝑐 2 = 𝑎2 - 𝑏 2
= 16 – 4
62
O. OMOREGBE (OSAS)
C = ± 12
V(0,-4)
Directrix
(𝑥+3)2 (𝑦 −4)2
+ = 1 where major axis is on x-axis
3 2
(𝑥+)2 (𝑦 −)2
By comparing with + =1
𝑎2 𝑏2
h = -3, k = 4, 𝑎2 = 3, 𝑏 2 = 2
but 𝑐 2 = 𝑎2 - 𝑏 2
𝑐2 = 3 – 2 = 1
C = ±1
Focus = (±c+h,k) = (±1+-3, 4)
= (−1+ -3, 4) and (-1+ -3, 4)
63
O. OMOREGBE (OSAS)
=± 3 1 + -3
3
= ±3 – 3 = -3 – 3 or 3 – 3
= - 6 or 0 3 3 4
Directrix x = - 6 or x = 0 F(-4,4) F(-2,4)
-6 -3 0 x
Question 38: Find the equation –of the ellipse whose focus is the point (-1,1), directrix
1
is the line x – y + 3 = 0 and which has an eccentricity
2
Solution
Recall the general equation for conic section is
𝑒 2 (𝑙𝑥 ±𝑚𝑦 ±𝑛 )2
(𝑥 − 𝑎)2 + (𝑦 − 𝑏)2 =
𝑙 2 +𝑚 2
(𝑥−𝑦 +3)2
𝑥 2 + 𝑦 2 + 1–y2- 2y + 1 =
8
𝑥 2 + 𝑦 2 − 2xy + 6x − 6y +9
𝑥 2 + 𝑦 2 + 1 –y2 - 2y + 2 =
8
64
O. OMOREGBE (OSAS)
1
Question 39:Find the equation of the ellipse whose eccentricity is , focus is (0,3) and
3
the diretrix has an equation x – 2y + 1 = 0
Solution
Using the general equation of a conic section
𝑒 2 (𝑙𝑥 ±𝑚𝑦 ±𝑛 )2
(𝑥 − 𝑎)2 + (𝑦 − 𝑏)2 =
𝑙 2 +𝑚 2
1
Where (a,b) = (0,3), e = , direction is x – 2y + 1 = 0
3
1
( )2 (𝑥−2𝑦 +1)2
2 2 3
(x − a) + (y − 3) =
12 +(−2)2
1 2
(𝑥 + 4𝑦 2 − 4xy + 2x − 4y + 1)
2 2 9
𝑥 + 𝑦 - 6y + 9 =
45
Question 40: Determine the centre, focus and vertex of the ellipse
4𝑥 2 + 5𝑦 2 – 24x – 20y + 36 = 0
Solution
𝑥2 𝑦2
The first thing is to rewrite the ellipse in the form 2
+ = 1 or
𝑎 𝑏2
(𝑥+)2 (𝑦 −)2
+ =1
𝑎2 𝑏2
65
O. OMOREGBE (OSAS)
(𝑥−3)2 (𝑦 −2)2
+ =1 major axis is on x-axis
5 4
By comparison𝑎2 = 5, 𝑏 2 = 4, 𝑐 2 = 𝑎2 − 𝑏 2 = 5 – 4 = 1
a = 5, b = 2, c = ±1
centre = (h,k) = (3,2)
focus = (±c + h, k) = (±1 + 3, 2)
= (−1 + 3, 2) and = (+1 + 3, 2)
= (2,2) and (4,2)
Vertex = (±a + h, k) (k, ±b + h)
= (± 5 + 3, 2) (3, ±2 + 2)
= (− 5 + 3, 2), ( 5 + 3, 2), (3,0),(3,4)
𝑑𝑦 (− 2) 2
At point (− 2, 0), =- =
𝑑𝑥 2(0) 0
2
So,𝑚1 =
0
1 0
And 𝑚2 = − =- =0
𝑚1 2
The required equation of normal is (y – 0) = 0(x – (- 2))
y–0=0
y = 0 (A)
66
O. OMOREGBE (OSAS)
Solution
The equation of the tangent will be (y - 𝑦1 ) = 𝑚1 (𝑥 − 𝑥1 )
𝑑𝑦
Where 𝑚1 = at point (𝑥1 , 𝑥1 )
𝑑𝑥
By differentiating the given equation, we have
𝑑𝑦 𝑑𝑦
2x + 6y + 12 - 24 = 0
𝑑𝑥 𝑑𝑥
𝑑𝑦
(6y – 24) = - (4x + 12)
𝑑𝑥
𝑑𝑦 (4x + 12)
=-
𝑑𝑥 6y− 24
𝑑𝑦 (4(0) + 12)
At point (0,1), =-
𝑑𝑥 6x1− 24
𝑑𝑦 2 2
= or 𝑚1 =
𝑑𝑥 3 3
2
The required equation of thetangent is (y – 1) = (x – 0)
3
3y – 3 = 2x – 0
Or 2x – 3y + 3 = 0 (C)
67
O. OMOREGBE (OSAS)
𝑥2 𝑦2
i. At 2
- = 1, the major axis is on x-axis
𝑎 𝑏2
Vertex = (±a,0) y
V(-a,0) V(a,0)
f(-c,0) f(c,0) x
𝑥2 𝑦2
For 2
- =1
𝑎 𝑏2
𝑥2 𝑦2
ii. For - = 1 , the major axis is on y – axis
𝑏2 𝑎2
68
O. OMOREGBE (OSAS)
𝑐
In this case,𝑐 2 = 𝑎2 + 𝑏 2 and e = as in ellipse
𝑎
y
f(c,0)
V(0,a)
x
y V(0,-a)
f(0,-c)
𝑥2 𝑦2
For 2
- =1
𝑎 𝑏2
2𝑏 2
3. Latusrectum =
𝑎
𝑥2 𝑦2
5. When a= b in the equation 2
- = 1,
𝑎 𝑏2
69
O. OMOREGBE (OSAS)
B = 2, a = 5 and 𝑐 2 = 25 + 4
c = 29
focus = (0,±c) D=
25 V(0,5)
29
= (0,± 29) x
Vertex = (0,±a) 25
= (0,±5) D=−
29 V(0,-5)
𝑎 5 𝑐
Directrix = ± = ± where e =
𝑒 𝑒 𝑎
29
=
5
= ±5 29 f(0,− 29)
5
±25
=
29
Question 45: Find the equation of a hyperbola whose foci are (-6,2) and (-4,2) and
5
eccentricity is .
4
Solution
From the given foci, we should note that the y-coordinates is unchanged
So, we compare it with the form f(±c+h,k)
Where ±c+h = -4 or -6 and k = 2
C + h = -4 …………………(i)
Or –c + h = -6 ………………….(ii)
2h = -10
H = -5 centre = (-5,2)
From (i) c + h = -4
C – 5 = -4
C=1
𝑐
But e =
𝑎
5 1
=
4 𝑎
4 2 16
a= or 𝑎 =
5 25
70
O. OMOREGBE (OSAS)
𝑐 2 = 𝑎2 + 𝑏 2
4
12 = ( )2 + 𝑏 2
5
2 9
𝑏 =
25
(𝑥+5)2 (𝑦 −2)2
The required equation of the hyperbola is 16 + 9 =1
25 25
71
O. OMOREGBE (OSAS)
Directrix Y rcos
P m
N
P(r,)
Polar axis
(-P,0) 0 Pole
e(P + rcos) = r
eP = r - ercos 𝑒𝑝
r=
1−𝑒𝑐𝑜𝑠
r(1 - ecos) = ep
This above equation is a standard polar coordinate form of the equation of a proper
conic, where the nature of the conic depends upon the value of e.
NB
1. If the directrix is perpendicular to the polar axis and P units to the right of he pole,
the equation will be: 𝑒𝑝
r=
1+𝑒𝑐𝑜𝑠
72
O. OMOREGBE (OSAS)
2. If the directrix is parallel to the polar axis and P units below or above the pole, the
equation is
𝑒𝑝
r=
1±𝑒𝑠𝑖𝑛
Key points
Question: Determine the nature of each of the following conics with one focus at the
pole. Determine e and give the location of the directrix in term of its direction with
respect to the polar axis and its distance from the pole.
8 3 4 10
(a) r = (b) r = (c) r = (d) r =
4− 4𝑐𝑜𝑠 1+ 𝑐𝑜𝑠 2− 6𝑠𝑖𝑛 5+ 𝑠𝑖𝑛
Solution
8 𝑒𝑝
(a) r = equation in form of r =
4− 4𝑐𝑜𝑠 1− 𝑒𝑐𝑜𝑠
8
r=
4(1− 𝑐𝑜𝑠 )
2
r=
1− 𝑐𝑜𝑠
by comparison, e = 1, ep = 2
2
p = =2
1
73
O. OMOREGBE (OSAS)
3 𝑒𝑝
(b) r = , by comparing with r =
1+ 𝑐𝑜𝑠 1+ 𝑒𝑐𝑜𝑠
e = 1, ep = 3
p=3
Nature: It’s a parabola since e = 1
𝑒𝑝
Location: Since it confirms to the equation , the directrix is perpendicular to the
1+ 𝑒𝑐𝑜𝑠
focus and 3 units to the right of the focus
P(r,) 3 Directrix
r
0 (3,0)
focus
4 𝑒𝑝
(c) r = , rewrite in the form r =
2−6𝑠𝑖𝑛 1− 𝑒𝑠𝑖𝑛
4 2
r= =
2(1−3𝑠𝑖𝑛 ) 1−3𝑠𝑖𝑛
by comparing e= 3, ep = 2
2
p=
3
1
by comparison, e = , ep = 2, p = 2 1
5
5
p = 10
74
O. OMOREGBE (OSAS)
75
O. OMOREGBE (OSAS)
CHAPTER 4
QUADRIC SURFACES
A quadric surface is a surface defined by an equation of the second degree in
three variables (usually x,y and z)
We shall be considering second degree equations of the form
𝐴𝑥 2 + 𝐵𝑦 2 + 𝐶𝑧 2 +𝐷𝑥+ Ey + Fz + G = 0 where there is no terms in xy, xz or yz.
We shall be considering the following surfaces
1. Ellipsoid
2. Hyperboid
3. Paraboloids
THE ELLIPSOIDS
An ellipsoid is a set of points whose coordinate satisfy the equation
𝑥2 𝑦2 𝑧2
2
+ + = 1 given centre at the origin
𝑎 𝑏2 𝑐2
(0,0,c)
(0,-b,0)
(-a,0,0)
0
(0,0,-c)
(0,b,c)
y
Where
a = length of –semi-major axis
b = length of semi-manor axis
c = length of semi-minor axis
The –equation above is for ellipsoid
76
O. OMOREGBE (OSAS)
77
O. OMOREGBE (OSAS)
ii. 3𝑥 2 + 4𝑦 2 + 𝑧 2 + 6x – 8y + 2z + 3= 0
3(𝑥 2 + 2x) + 4(𝑦 2 -2𝑦) + (𝑧 2 + 2z) + 3 = 0
3(𝑥 + 1)2 - 3 + 4(𝑦 − 1)2 - 4 + (𝑧 + 1)2 - 1 + 3 = 0
3(𝑥 + 1)2 + 4(𝑦 − 1)2 + (𝑧 + 1)2 = 5
(𝑥+1)2 (𝑦 − 1)2 (𝑧+1)2
5 + 5 + =1
5
3 4
Centre (-1, 1, − 1)
3 3
Length of semi-axis = (a,b,c) = ( , , 5)
3 2
Solution
Recall from the key points, general or standard form of an ellipsoid is
𝐴𝑥 2 + 𝐵𝑦 2 + 𝐶𝑧 2 = D
(i) For point (2,1,1), 𝐴𝑥 2 + 𝐵𝑦 2 + 𝐶𝑧 2 = D
4A + B + C = D ………………………….(i)
For point (5,0,0), 𝐴(5)2 + 𝐵(0)2 + 𝐶(0)2 = D
25A + 0B + 0C = D ………………………(ii)
For point (1,1,2), 𝐴(1)2 + 𝐵(1)2 + 𝐶(2)2 = D
A + B + 4C = D ………………………….(iii)
Solving equations (i),(ii) and (iii) simultaneously
𝐷 4𝐷 1𝐷
A = B = , C= in terms of D
25 5 25
2 2 2
The required equation is 𝐴𝑥 + 𝐵𝑦 + 𝐶𝑧 = D
𝐷𝑥 2 4𝐷𝑦 2 𝐷𝑧 2
+ + =D
25 5 25
𝑥2 𝑦2 𝑧2
Dividing through by D, + 5 + =1
25 25
4
𝑥2 𝑦2 𝑧2
11 + 11 + =1
( ) ( ) 11
4 2
HYPERBOLOID
Hyperboloid is a set of points whose coordinate satisfy the equation
𝑥2 𝑦2 𝑧2 𝑥2 𝑦2 𝑧2
2
+ - = 1 or - - =1
𝑎 𝑏2 𝑐2 𝑎 2 𝑏2 𝑐2
Key points
79
O. OMOREGBE (OSAS)
𝑥2 𝑦2 𝑧2
1. The equation 2
+ - = 1 represent hyperboloid of one sheet
𝑎 𝑏2 𝑐2
Where sections parallel to the xz or t heyz-plane are hyperbolas, while sections parallel
to the xy plane are ellipses except for hyperboloid of revolution (when a = b) where the
section parallel to xy-plane are circles.
z
𝑥2 𝑦2
That is 2 + 2 for xy-plane (ellipse)
𝑎 𝑏
𝑥2 𝑧2
2
- for xz-plane (hyperbola)
𝑎 𝑏2
𝑥2 𝑧2
2
- for yz-plane (hyperbola) (0,-b,0)
𝑎 𝑐2
𝑥2 𝑧2
2
- for xz-plane (hyperboloid)
𝑎 𝑐2
−𝑦 2 𝑧2 −𝑦 2 𝑧2
- =-( - ) for yz – plane (ellipse)
𝑏2 𝑐2 𝑏2 𝑐2
0
x
y 80
Hyperboloid of two sheet
O. OMOREGBE (OSAS)
For hyperboloid of two sheets, the surfaces usually be along the axis of the positive
variable.
For instance, the figure above shows that the surface be along x-axis since x is the
𝑥2 𝑦2 𝑧2
positive variable in - - =1
𝑎2 𝑏2 𝑐2
𝑥2 𝑦2 𝑧2 𝑧2 𝑥2 𝑦2
For the equation 2 + - = 1 or - - = 1 , we have the surface lying along z-
𝑎 𝑏2 𝑐2 𝑐2 𝑎2 𝑏2
axis as in
z
(0,0,c)
0
x
(0,0,-c)
(a) The surface is a hyperboloid of two sheets since there are two negative signs
belonging to two of the variables.
(b) The principle planes is also the centres which is = (h,k,l)
= (2,1-3)
81
O. OMOREGBE (OSAS)
Question 5: Determine the coordinates of the centre and discus briefly the nature of the
following surfaces
i. 2𝑥 2 - 3𝑦 2 + 4𝑧 2 - 8x - 6y – 12z – 10 = 0
ii. 𝑥 2 + 2𝑦 2 - 3𝑧 2 + 4x - 4y – 6z – 9 = 0
iii. 5𝑥 2 - 7𝑦 2 - 𝑧 2 + 20x -28y + 2z – 42 = 20
Solution
(i) 2𝑥 2 - 3𝑦 2 + 4𝑧 2 - 8x - 6y – 12z – 10 = 0
2𝑥 2 - 8𝑦 2 - 3𝑧 2 - 6y – 4𝑧 2 -12z = 0
2(𝑥 2 - 4x) - 3(𝑦 2 +2𝑦) + 4(𝑧 2 -3z) = 10
3
2(𝑥 − 2)2 - 8 - 3(𝑦 + 1)2 + 3 +4(𝑧 + )2 - 9 = 10
2
3
2(𝑥 − 2)2 - 3(𝑦 + 1)2 - 4(𝑧 + )2 = 10+9– 3 + 8
2
2 2 3 2
2(𝑥 − 2) - 3(𝑦 + 1) +4(𝑧 + ) = 24
2
Divide through by 24
3
(𝑥−2)2 (𝑦+1)2 (𝑧+ )2
2
- + =1
12 8 6
3
Centre = (h,k,l) = (2,-1, )
2
Nature: hyperboloid of one sheet with axis parallel to the y – axis (refer to the key
points)
(ii) 𝑥 2 + 2𝑦 2 - 3𝑧 2 + 4x - 4y – 6z – 9 = 0
𝑥 2 + 4x + 2𝑦 2 - 4y - 3𝑧 2 -– 6z = 9
(𝑥 + 2)2 – 4 + 2(𝑦 − 1)2 - 2 - 3(𝑧 + 1)2 + 3 = 9
(𝑥 + 2)2 + 2(𝑦 − 1)2 - 3(𝑧 + 1)2 = 12
(𝑥+2)2 (𝑦−1)2 (𝑧+1)2
+ + =1
12 6 4
Center = (-2,-2,1)
82
O. OMOREGBE (OSAS)
Question 7: Find the equation of the locus of a point, the difference of whose distances
from (0,0,3) and (0,0,-3) is 4.
Solution
Let the point be –A(x,y,z) and the given points be
B(0,0,3) and c(0,0,3)
83
O. OMOREGBE (OSAS)
= 𝑥 2 + 𝑦 2 + (3 − 𝑧)2
𝑥 2 + 𝑦 2 + (3 + 𝑧)2
But the difference AB – AC = 4
𝑥 2 + 𝑦 2 + (3 − 𝑧)2 = 4 + 𝑥 2 + 𝑦 2 + (3 + 𝑧)2
Take the square of both sides
( 𝑥 2 + 𝑦 2 + (9 − 6𝑧 + 𝑧)2 )2 = (4 + 𝑥 2 + 𝑦 2 + 9 + 6𝑧 + 𝑧 2 )2
𝑥 2 + 𝑦 2 + 9 − 6𝑧 + 𝑧 2 = 16 + 𝑥 2 + 𝑦 2 + 9 + 6𝑧 + 𝑧 2 + 𝑥 2 + 𝑦 2 + 9 + 6𝑧 + 𝑧 2
9 – 9 – 6z – 6z – 16 = 8 𝑥 2 + 𝑦 2 + 9 + 6𝑧 + 𝑧 2
-(12z + 16) = 8 𝑥 2 + 𝑦 2 + 9 + 6𝑧 + 𝑧 2
Again take the square of both sides
(−(12z + 16) )2 = (8 𝑥 2 + 𝑦 2 + 9 + 6𝑧 + 𝑧 2 )2
144𝑧 2 + 384𝑧 + 256 = 64(𝑥 2 + 𝑦 2 + 9 + 6𝑧 + 𝑧 2 )
144𝑧 2 + 384𝑧 + 256 = 64𝑥 2 + 64𝑦 2 + 64𝑧 2 + 384𝑧 + 576)
144𝑧 2 − 64𝑧 2 − 64𝑥 2 − 64𝑦 2 + 384𝑧 − 384𝑧 + 256 − 576 = 0
80𝑧 2 − 64𝑥 2 − 64𝑦 2 − 320 = 0
80𝑧 2 − 64𝑥 2 − 64𝑦 2 = 320
Divide both –side –by 16 (the L.C.M)
5𝑧 2 − 4𝑥 2 − 4𝑦 2 = 20 This is a hyperboloid of two sheets with axis parallel to the z-axis.
Question 8: Find the locus of a point whose –distance from the point (2,-3,4) is twice its
distance from the plane x + 2 = 0
Solution
Let the point be A(x,y,z) and the point be B(2,-3,4)
Recall, the distance between a point (x,y,z) and a line ax ± by ± 𝑐 = 0 𝑖𝑠
84
O. OMOREGBE (OSAS)
ax ± by ± 𝑐
=
± 𝑎 2 +𝑏 2
Given a line x + 2 = 0
x+ 0y+ 2
The distance between the point A and the line =
12 +02
=x+2
Also, the distance between the point A(x,y,z) and the given point B(2,-3,4)
Key points
𝑥2 𝑦2
1. The equation 2
+ = cz
𝑎 𝑏2
(𝑥−)2 (𝑦 −𝑘)2
Or + = c(z - 𝑙)
𝑎2 𝑏2
Is when the elliptic paraboloid is
along the z-axis as shown in the 0 x
above figure. y
General equation: 𝐴𝑥 2 − 𝐵𝑦 2 − 𝐶𝑧 2
𝑥2 𝑦2 (𝑥−)2 (𝑦 −𝑙)2
2. The equation 2 + 2 = cz or Or + = c(z - 𝑘)
𝑎 𝑏 𝑎2 𝑏2
Is when the elliptic paraboloid is passing along the y-axis
85
O. OMOREGBE (OSAS)
General equation: 𝐴𝑥 2 − 𝐵𝑦 2 − 𝐶𝑧 2 = 0
3. If c > 0, the surface lies totally above the xy-plane as in above.
If c > 0, the surface lies totally below the xy-plane
4. If a = b, the surface is called paraboloid of revolution.
Question 9: Find the equation of the paraboloid with its vertex at (0,0,0), axis along he z-
axis and passing through the points (2,0,3) and (1,2,3). Also, find the lengths of the semi-
axes.
Solution
Recall when the paraboloid passes along the z-axis the equation is
𝐴𝑥 2 + 𝐵𝑦 2 + 𝐶𝑧 = 0
We were given three points; (0,0,0), (2,0,3) and (1,2,3)
Substituting each point into the equation
For (0,0,0) we have 𝐴(0)2 + 𝐵(0)2 + 𝐶(0) = 0
For (2,0,3) we have 𝐴(2)2 + 𝐵(0)2 + 𝐶(3) = 0
4A + 3C = 0
−3
A=- C
4
For (1,2,3) we have 𝐴(1)2 + 𝐵(2)2 + 𝐶(3) = 0
3
A + 4B +3C = 0 but A = - C
4
3
- C + 4B + 3C = 0
4
3
4b = - 3C + C
4
−9
B= C
16
The required equation is 𝐴𝑥 2 + 𝐵𝑦 2 + 𝐶𝑧 = 0
3𝑐𝑥 2 9𝑐𝑦 2
- - = -cz
4 16
1
Multiply through by -
9𝑐
𝑥2 𝑦2 𝑧
+ = Elliptic paraboloid
12 16 9
86
O. OMOREGBE (OSAS)
a = 12, b = 4
= 2 12
Question 10: Locate the vertex of the following paraboloid
i. 2𝑥 2 + 3𝑦 2 - 8x + 12y + 3z + 23 = 0
ii. 2𝑥 2 + 4𝑦 2 - 4x - 24y - z + 36 = 0
iii. 4𝑥 2 +3𝑦 2 -4y + 12z +12 = 20
Solution
i. 2𝑥 2 + 3𝑦 2 - 8x + 12y + 3z + 23 = 0
2𝑥 2 – 8𝑥 + 3𝑦 2 + 12y + 3z + 23 = 0
2(𝑥 2 - 4x) +3(𝑦 2 + 4𝑦) = -3z - 23
2(𝑥 − 2)2 - 8 + 3(𝑦 + 2)2 -12 = -3z - 23
2(𝑥 − 2)2 + 3(𝑦 + 2)2 - 20 = -3z - 23
2(𝑥 − 2)2 + 3(𝑦 + 2)2 = -3z – 3
2(𝑥 − 2)2 + 3(𝑦 + 2)2 = -3(z + 1)
Divide through by 6 i.e. the LCM of 2 and 3
(𝑥−2)2 (𝑦+1)2 1
- = − (𝑧 + 1) = Elliptic paraboloid
3 2 2
H = 2, k = -2, L = -1
Vertex = (2,-2,-1)
ii. 2𝑥 2 + 4𝑦 2 - 4x - 24y - z + 36 = 0
2(𝑥 2 - 2x) + 4(𝑦 2 - 6𝑦) = z –36
By completing the square
2(𝑥 − 2)2 - 2 + 4(𝑦 − 3)2 - 36 = z – 36
2(𝑥 − 2)2 + 4(𝑦 − 3)2 = z + 2
Divide through by 4
(𝑥−1)2 1
+ (𝑦 − 3)2 = (𝑧 + 2) = Elliptic paraboloid along z-axis
3 4
Vertex = (1,3,-2)
iii. 4𝑥 2 + 3𝑦 2 - 4y + 12z + 12 = 20
4𝑥 2 + 3(𝑧 2 + 4z) –4y + 12 = 0
4𝑥 2 + 3(𝑧 + 2)2 –12 = 4y - 12
4𝑥 2 + 3(𝑧 + 2)2 = 4y
Divide through by 12
87
O. OMOREGBE (OSAS)
𝑥2 (𝑦 +2)2 𝑦
- = Elliptic paraboloid along y-axis
3 4 3
Vertex = (0,0,-2)
Question 11: Find the equation of the paraboloid with vertex at (0,0,0), axis along the y-
axis and passing through (1,2,1) and (2,1,0).
Solution
Recall, for axis along y-axis, the general equation is
𝐴𝑥 2 + 𝐵𝑦 2 + 𝐶𝑧 = 0
For (0,0,0) we have 𝐴(0)2 + 𝐵(0)2 + 𝐶(0) = 0
For (1,2,1) we have 𝐴(1)2 + 𝐵(1)2 + 𝐶(2) = 0 where x= 1, y = 2, z = 1
A + B + 2c = 0 ……………………………(i)
For (2,1,0) , 𝐴(2)2 + 𝐵(0)2 + 𝐶(1) = 0 where x = 2, y= 1, z = 0
4A + C = 0
1
A=- c
4
1
Substituting - c for A in (i)
4
A + B +2C = 0
𝑐
- C + B + 2C = 0
4
7
B+ C=0
4
7
B=- C
4
The required equation is 𝐴𝑥 2 + 𝐵𝑦 2 + 𝐶𝑧 = 0
𝑐 7
- 𝑥 2 − 𝑦 2 + 𝐶𝑧
4 4
4
Multiply through by -
𝑐
𝑥 2 + 7𝑦 2 − 4𝑦 = 0
Or 𝑥 2 + 7𝑦 2 = 4𝑦
𝑥2 4
+ 𝑧 2 = y Elliptic paraboloid along y-axis
4 7
Hyperbolic Paraboloid
This is a set of points whose coordinates satisfy the equation
𝑥2 𝑦2
2
+ = cz where 0 > c > 0
𝑎 𝑏2
Key points
𝑥2 𝑦2
1. For 2
- = cz, vertex = (0,0,0)
𝑎 𝑏2
(𝑥−)2 (𝑦 −𝑘)2
For + = c(𝑧 − 𝑙)2 , vertex = (h,k,l)
𝑎2 𝑏2
𝑥2 𝑦2
2. From the equation 2
- = cz, the section made by a plane
𝑎 𝑏2
88
O. OMOREGBE (OSAS)
Z = k is a hyperbola
If k > 0, the transverse and conjugate axis of sections of the hyperboloid are
parallel to the x-axis and y-axis respectively.
If k < 0, the transverse and conjugate axis are parallel to the y-axis and x-
axis respectively
If k = 0, the trace of the hyperboloid in xy plane is the pair of intersecting
𝑥2 𝑦2
straight lines 2
- = cz, where z = 0
𝑎 𝑏2
𝑥2 𝑦2
= 2
=
𝑎 𝑏2
𝑏2𝑥 2
= 𝑦2
𝑎2
𝑏 𝑏
± x=y y=± x
𝑎 𝑎
Furthermore, note that the –vertex of the surface is a minimum point for its trace in the
xz plane and a maximum point for its trace in the yz plane. Such a point can be called
minimum-maximum point or simply, minimum or saddle point, of the surface.
0 x
89
O. OMOREGBE (OSAS)
𝑥2 𝑦2
Example 2
- = 3z, is paraboloid of revolution about the z-axis
𝑎 𝑏2
Or 𝑥 2 - 𝑦 2 = 6z
NB: Apart from the axis of revolution, the two other axis must have the same
coefficients. So, when given axis of revolution and one other axis, just add the remaining
axis such that the coefficients are the same.
Question 12: Find the equation of each of the surface obtained by revolving the
following curves about the indicated axis. Name the surface
i. X = 4 - 𝑥 2 about the x axis
ii. X = 2 + 4𝑥 2 about the y-axis
iii. 𝑥 2 -3 = 10 about the x-axis
iv. 𝑥 2 + 3𝑧 2 = 10 about the z-axis
Solution
Recall from the key points, apart from the axis of revolution, the other two axis must
have the same coefficients.
i. x = 2 + 4𝑥 2 where axis of revolution is x-axis. So 𝑦 2 and 𝑧 2 will have the same
coefficient i.e. -1
S0, x = 4 - 𝑦 2 + (-2 + 𝑧 2 )
X = 4 - 𝑦2 - 𝑧2
Or 𝑦 2 + 𝑧 2 = - (x - 4) Elliptic paraboloid
ii. y = 2 + 4𝑥 2 , the axis of revolution is the y-axis, the other two axis will be x and
z. so the coefficient of 𝑥 2 and 𝑧 2 will be the same i.e. 4
y = 2+ 4𝑥 2 + 4𝑧 2
or 4𝑥 2 + 4𝑧 2 = 𝑦 − 2 Elliptic paraboloid
90
O. OMOREGBE (OSAS)
91
O. OMOREGBE (OSAS)
𝐴𝑥 2 + 𝐵𝑦 2 + 𝐶𝑧 2 = 0
For the given point (1,2,3), 𝐴(1)2 + 𝐵(3)2 + 𝐶(1)= 0
4A + 9B + C = 0 ………………… (i)
For the given point (1,2,3), 𝐴(0)2 + 𝐵(3)2 + 𝐶(3)= 0
9B = - 3C
𝐶
B=-
3
So, 𝐴𝑥 2 + 𝐵𝑦 2 + 𝐶𝑧 2 = 0
𝐶 𝐶
𝑦 2 − 𝑧 2 + cx = 0
2 3
Divide through by c
𝑦2 𝑧2
- =-x
2 3
Multiply through by -1
𝑧2 𝑦2
- = x hyperbolic paraboloid
3 2
92
O. OMOREGBE (OSAS)
If a = b, section in planes of the cone parallel to the xy plane are circles. Such surface
is called cone of revolution of circular cone, for instance, 𝑥 2 + 𝑦 2 = 𝑐 2 𝑧 2 , c > 0
𝑥2 + 𝑦2 − 𝑐2𝑧2 = 0
Consider the triangle AB0 in the z
Cone, with [AB] = radius r, [BO] = height 𝑧 2 B y
y
And angle A
r
A B
𝑟
Tan =
𝑧 Z
R = ztan
0 x
0
So, 𝑥 2 + 𝑦 2 = 𝑧 2 𝑡𝑎𝑛2 8
At = 450, 𝑡𝑎𝑛2 = 1 y
𝑥2 + 𝑦2 = 𝑧2
Show that 𝑥 2 + 𝑦 2 = 𝑧 2 𝑡𝑎𝑛2 is the same as 𝑧 2 = 𝑐𝑜𝑠 2 (𝑥 2 + 𝑦 2 + 𝑧 2 )
Directrix (a,0,0)
(-a,0,0)
93 0 x
(0,b,0)
Point of
intersection y
O. OMOREGBE (OSAS)
(-a,0,0)
(a,0,0) x
y z
94
O. OMOREGBE (OSAS)
SPHERE
This is a surface that satisfy the equation 𝑥 2 + 𝑦 2 + 𝑧 2 = 𝑟 2 or
(𝑥 − )2 + (𝑦 − 𝑘)2 + (𝑧 − 𝑙)2 = 𝑟 2 where r = radius of the sphere
Key points
If centre is at origin, we have 𝑥 2 + 𝑦 2 + 𝑧 2 = 𝑟 2
If center is at point (h,k,l), we have(𝑥 − )2 + (𝑦 − 𝑘)2 + (𝑧 − 𝑙)2 = 𝑟 2
Note that the coefficients of 𝑥 2 , 𝑦 2 , 𝑧 2 are equal
General equation of a sphere: 𝑥 2 + 𝑦 2 + 𝑧 2 + Ax + By + Cz + D = 0
Where A = -2h, B = -2k, C = -2l and D = 2 + 𝑘 2 + 𝑙 2
Recall that the distance between a point (x,y,z) and a line ax±by±cz±d
ax ± by ± 𝑐𝑧 ±𝑑
is 2 2 2
± 𝑎 +𝑏 + 𝑐
If the point (x,y,z) is the centre of a sphere, then the distance between the point and a
tangent (a line touching the sphere ) is radius.
Question 13: Find the equations of the following spheres
i. Center (1,1,1), radius 2
ii. Center at origin, radius 4
iii. Center at (2,1,0),, radius 3
iv. Centre (5,2,-4) and touching the y-axis
Solution
Recall that for a sphere, (𝑥 − )2 + (𝑦 − 𝑘)2 + (𝑧 − 𝑙)2 = 𝑟 2 where (h,k,l) is center
(i) (𝑥 − 1)2 + (𝑦 − 1)2 + (𝑧 − 1)2 = 22
𝑥 2 - 2x + 1 + 𝑦 2 - 2y + 1 + 𝑧 2 - 2z + 1 = 4
𝑥 2 + 𝑦 2 + 𝑧 2 − 2𝑥 − 2𝑦 + 3 = 0
𝑥 2 + 𝑦 2 + 𝑧 2 − 2𝑥 − 2𝑦 + 2𝑧 − 1 = 0
(ii) Given center at Origin, (h, K, l) = (0,0,0)
So, 𝑥 2 + 𝑦 2 + 𝑧 2 = 𝑟 2
𝑥 2 + 𝑦 2 + 𝑧 2 = 42
𝑥 2 + 𝑦 2 + 𝑧 2 − 16 = 0
(iii) Given that centers is (2,1,0),
(𝑥 − 2)2 + (𝑦 − 1)2 + (𝑍 − 0)2 = 32 z
𝑥 2 − 4𝑥 + 4 + 𝑦 2 − 2𝑦 + 1 + 𝑍 2 = 9
𝑥 2 + 𝑦 2 + 𝑧 2 − 4𝑥 + 2𝑦 + 5 − 9 = 0
x
𝑥 2 + 𝑦 2 + 𝑧 2 − 4𝑥 − 2𝑦 − 4 =(0,2,0)P
0
(iv) Since it touches the y-axis, the coordinate
of the point will be (o,y,o) = (0,2,0) y C0(0,2,0)
95
O. OMOREGBE (OSAS)
r = 16
r2 = 16
But (𝑥 − )2 + (𝑦 − 𝑘)2 + (𝑧 − 𝑙)2 = 𝑟 2
(𝑥 − −4)2 + (𝑦 − −2)2 + (𝑧 − 3))2 = 16
𝑥 2 − 10𝑥 + 16 + 𝑦 2 − 4𝑦 + 4 + 𝑧 2 + 6𝑧 + 9 − 16 = 0
96
O. OMOREGBE (OSAS)
𝑥 2 + 𝑦 2 + 𝑧 2 + 13 = 0
(ii) Recall that the distance between the center of a sphere and a tangent is equal to the
radius (r).
Also the distance between a point (x,y,z) and a line ax±by±cz±d= 0 is
ax ±by ±cz ±d
± 𝑎 2 +𝑏 2 +𝑐 2
9𝑥−2𝑦 +6𝑧+11
So radius = 𝑤𝑒𝑟𝑒 = 0,0,0
92 +(−2)2 +62
9 0 − 2(0)+6(0)+11 11
= = =1
121 11
Radius, r = 1
The equation will be (𝑥 − 0)2 + (𝑦 − 0)2 + (𝑧 − 0)2 = 12
𝑥2 + 𝑦2 + 𝑧2 − 1 = 0
(iii) Using the same method as in (ii) above,
3x + 2y + 4z − 7
𝑟=
32 + (−2)2 + 42
3 1 −2 2 +4 (4)−7
=
29
8
-
29
8
Radius can not be negative, So r =
29
3 + A + B + C +D = 0
A + B + C + D = - 3 ---------------------------------------(i)
For (1,0,2) 12 + 02 + 22 + 𝐴(1) + 𝐵(1) − 𝐶(1) + 𝐷 = 0
5 + A + 2c + D = 0
A + OB + 2C + D = -5------------------------------(ii)
For (1,2,1) 12 + 22 + 12 − 𝐴(1) + 𝐵(2) − 𝐶(1) + 𝐷 = 0
6 + A + 2B + C + D = 0
A + 2B + C + D = -6------------------------------(iii)
For (2,1,1) 22 + 12 + 12 − 𝐴(2) + 𝐵(1) − 𝐶(1) + 𝐷 = 0
6 + 2A + B + C + D = 0
2A + B + C + D = -6------------------------------(iv)
From equation (ii) A + 2C + D = -5
A = -5 – 2C – D-----------------------(v)
Substitute into (i), (iii) and (iv) respectively
From (i) A + B + C + D = -3
(-5 - 2C – D) + B + C + D = - 3
B – C = 2 ------------------------------------------------*
From (iii) A + 2B + C + D = - 6
-5 – 2C – D + 2B + C + D = -6
2B - C = - 1 -----------------------------------------**
From (iv), 2A + B + C + D = -6
2(-5-2C-D) + B + C + D = -6
B – 3C – D = 4 --------------------------------------***
Solving equation *,** and *** simultaneously
R = - 3 , C = -5 and D = 8
From (v) A = -5 – 2C – D
= -5 – 2(-5) – 8 A = -3
The required equation is 𝑥 + 𝑦 2 + 𝑧 2 − 𝐴𝑥 + 𝐵𝑦 − 𝐶𝑧 + 𝐷 = 0
2
𝑥 2 + 𝑦 2 + 𝑧 2 − 3𝑥 + 3𝑦 − 5𝑧 + 8 = 0
Question16: Find the equation of the sphere which passes through (1,-3,4) (1,-5,2) and
(1,-3, 0) and has its centers in the plane x + y + z = 0
Solution
This question seems to be different since the center of the sphere was not given as a
point , but as a line. The method is the same.
Let the point at the center be (h,k,l)
The strength line though the center will become h+k+l =0 ------------------- (i)
But general equation of a sphere is 𝑥 2 + 𝑦 2 + 𝑧 2 − 𝐴𝑥 + 𝐵𝑦 − 𝐶𝑧 + 𝐷 = 0
For point (1,-3,4), 12 + (−3)2 + 42 − 𝐴(1) + 𝐵(−3) − 𝐶(4) + 𝐷 = 0
26 + A - 3B + 4C + D = 0
A – 3B + 4C + D = -26 ------------------------------------------------(II)
98
O. OMOREGBE (OSAS)
𝐴 𝐵 𝐶
− − =0
2 2 2
A+B+C=0
A = - (B+C) -------------------------------------------(V)
Substitute into equations (ii), (iii) and (iv) respectively
From (ii), A – 3B + 4C + D = -26 → -(B+C) -2B + 4C +D = -26
-4B +3 C + D = -26------------------------*
From (iii), A -5B + 2C + D = -30 → (B+C) - 5B + 2C + D = -30
-6B + C + D = -30-----------------------**
From (IV), a – 3B + D = 10 → -(B+C) – 3B + D = -10
-4B – C + D = -10----------------------***
Solving *,** and *** simultaneously,
B = 6, C = -4 and D = 10
From (v), A = - (B+C)
= - (6-4) = -2
The required equation is 𝑥 2 + 𝑦 2 + 𝑧 2 − 𝐴𝑥 + 𝐵𝑦 − 𝐶𝑧 + 𝐷 = 0
𝑥 2 + 𝑦 2 + 𝑧 2 − 2𝑥 + 6𝑦 − 4𝑧 + 10 = 0
Question 17: Find the coordinates of the center and the radius of the following spheres
i. 𝑥 2 + 𝑦 2 + 𝑧 2 − 6𝑥 + 2𝑦 − 2𝑧 + 2 = 0
ii. 4𝑥 2 + 4𝑦 2 + 4𝑧 2 − 8𝑥 + 12𝑦 − 4𝑧 + 12 = 0
Solution
This is done by comparing the given equation with the general this with the
general equation of a sphere
Recall the general equation is 𝑥 2 + 𝑦 2 + 𝑧 2 − 𝐴𝑥 + 𝐵𝑦 − 𝐶𝑧 + 𝐷 = 0
Where A = -2h, B = -2k, C = -21
(i) Given the equation 𝑥 2 + 𝑦 2 + 𝑧 2 − 6𝑥 + 2𝑦 − 2𝑧 + 22 = 0
By comparing this with the general equation, A = -6, B = 2, C = -2, D = 2
But A = -2h, B = -2k, C = 2l and D = 2 + 𝑘 2 + 𝑙 2 = 𝑟 2
−6 −2 −2
So, h = = 2, K = = −1, L = = 1, 2 = 22 + −1 2
+ 12 = 𝑟 2
−2 −2 −2
Radius = 2 r = 4=2
(ii) 4𝑥 2 + 4𝑦 2 + 4𝑧 2 − 8𝑥 + 12𝑦 − 4𝑧 + 12 = 0
Divide through by 4 to ensure that the coefficient of 𝑥 2 , 𝑦 2 𝑎𝑛𝑑 𝑧 2 is one 𝑥 2 + 𝑦 2 +
𝑧 2 − 2𝑥 + 3𝑦 − 𝑧 + 3 = 0
By comparison, A = -2, B = 3, C = 1, D = 3
−2 3 −1
So, h = = 1, K = ,L= = 1 2, D = 2 + 𝑘 2 + 𝑙 2 = 𝑟 2
−2 −2 −2
Radius = 1 r= 1
2 2
Question 18: Find the equation of the locus of a point whose distance from (1,1,1) and
(-2,1,3) are in the ratio 2:3 numerically.
Solution
Let the point be A(x,y,z) and the two given point be B(1,1,1) and (-2,1,3).
3AB = 2AC
3 (1 − 𝑥)2 + (1 − 𝑦)2 + (1 − 𝑧)2 = 2 (−2 − 𝑥)2 + (1 − 𝑦)2 + (3 − 𝑧)2
Square both sides
9 (1 − 𝑥)2 + (1 − 𝑦)2 + (1 − 𝑧)2 = 4 (2 + 𝑥)2 + (1 − 𝑦)2 + (3 − 𝑧)2
9(1 − 𝑥)2 + (1 − 𝑦)2 + (1 − 𝑧)2 - 4(2 + 𝑥)2 + (1 − 𝑦)2 + (3 − 𝑧)2
5𝑥 2 + 5𝑦 2 + 5𝑧 2 − 16𝑥 + 10𝑦 − 6𝑧 + 29 = 0
100
O. OMOREGBE (OSAS)
Question 19: A point moves so that the sum of the squares of its distance from the three
planes x + 4y + 2z = 0, 2x – y -z = 0, and 2x + y – 3z = 0 is 10. Find the equation of its
locus.
Solution
Let the point be A(x,y,z)
Let the given planes be L1: x + 4y + 2z = 0
L2: 2x – y + z = 0
L3: 2x + y – 3z = 0
x + 4y + 2z
Distance between the point A and L1, 𝐴𝐿1 =
1+4 2 +22
x + 4y + 2z
=
21
2x + y + z 2x + y + z
Distance between the point A and L2, 𝐴𝐿2 = =
22 +(−1)2 +12 6
2x + y + 3z 2x + y + 3z
Distance between the point A and L3, 𝐴𝐿3 = =
22 +12 +(−3)2 14
2 2 2
But 𝐴𝐿1 + 𝐴𝐿2 + 𝐴𝐿3 = 10
x + 4y + 2z 2 2x + y + z 2 2x + y + 3z 2
So, + + = 10
21 6 14
x + 4y + 2z 2 2x + y + z 2 2x + y + 3z 2
+ + = 10
21 6 14
TAKE AWAY
Question 1: Identify an describe the nature of each of the quadrices represented by the
following equations
𝑥2 𝑦2 𝑧2 𝑥2 𝑦2 𝑧2
i. + + =1 ii. + + =1
9 25 16 9 16 25
𝑥2 𝑦2 𝑥2 𝑧2
iii. + = 5z iv. - = 3(y-4)
4 9 25 16
𝑥2 𝑦2 𝑧2
iv. - - =1
9 25 49
v.
101
O. OMOREGBE (OSAS)
Question 2: Locate the geometric centres and the lengths of semi axes of each of the
ellipsoid represented by the following equations
i. 2𝑥 2 + 3𝑦 2 + 𝑧 2 − 4𝑥 + 6𝑦 − 8𝑧 + 3 = 0
ii. 𝑥 2 + 3𝑦 2 + 𝑧 2 − 4𝑥 + 12𝑦 − 10 = 0
iii. 12𝑥 2 + 8𝑦 2 + 20𝑧 2 + 24𝑥 + 12𝑦 − 40𝑧 − 79 = 0
Question 3: A point moves so that the sum of its distance from ( 3,1,-4) and (3,1,4) is
12 find the equation of the locus
Question 4: find the equation of the locus of a point the difference of whose distance
from (0,0,2) and (0,0,-1) is 6.
Question 5: Find the locus of a point whose distance from the yz plane equals twice
its distance from the point (2,-1,1). Hint: Let point at yz plane be (O,y,z)
Question 6: Find the locus of a point whose distance from the point ( 2,-1,1) is ½ its
distance from the plane y+ 2 = 0.
Question 7: Locate the vertex of the following paraboloids
i. 4𝑥 2 + 9𝑦 2 + 8𝑥 − 36𝑦 − 36𝑧 − 68 = 0
ii. 5𝑥 2 + 3𝑦 2 + 20𝑥 − 6𝑦 − 15𝑧 − 17 = 0
Question 8: Find the equation of a paraboloid with vertex at (0,0,0) axis along x axis
and passing through (1,2,1) and (1,1,2).
Name the paraboloid
Question 9: Find the equation of each of the surface obtained by revolving the
following curves about the axis indicated. Name the surface
i. 𝑦 2 − 4𝑧 2 = 1 about the Y axis
ii. 3𝑥 2 + 2𝑦 2 = 6 about the x aix
GENERAL EXERCISE
QUESTION1: Which of the following equations represent a sphere?
(a) 5𝑥 2 + 4𝑦 2 + 4𝑧 2 + 8𝑥 − 2𝑦 + 14𝑧 + 5 = 0
(b) 𝑥 2 + 𝑦 2 + 𝑧 2 + 2𝑥 − 4𝑦 + 3𝑧 + 1 = 0
(c) 𝑥 2 + 𝑦 2 + 𝑧 2 − 𝑥 + 2𝑦 + 5𝑧 + 2 = 0
(d) 𝑥 2 + 𝑦 2 + 𝑧 2 − 2𝑥𝑦 + 3𝑦 + 4𝑧 − 3 = 0
QUESTION 2: Describe the surface represented by each of the following equation s
i. 𝑦 2 + 𝑧 2 = 9 ii. 9𝑦 2 + 𝑦 2 + 9𝑧 2 = 0
iii. 𝑥 2 + 𝑦 2 = (𝑧 − 3)2
iv. 𝑥 2 + 𝑦 2 + 𝑧 2 = 10 − 4𝑦 + 2𝑥 + 5 = 0
102
O. OMOREGBE (OSAS)
QUESTION 3: Find the coordinates of the center and radius of sphere represented by
each of the following equations
(a) 𝑥 2 + 𝑦 2 + 𝑧 2 + 8𝑥 − 2𝑦 + 2 = 0
(b) 2𝑥 2 + 2𝑦 2 + 2𝑧 2 + 4𝑥 − 𝑦 + 𝑧 + 1 = 0
(c) 3𝑥 2 + 3𝑦 2 + 3𝑧 2 + 12𝑥 − 6𝑦 + 9𝑧 + 5 = 0
QUESTION 4: Find the equation of each of the following spheres
I. Center ( 2,-1,3) radius 4
II. Center at origin, radius 2
III. Center (2,-3,2) and tangent to the plane 3x –y+2z+15 = 0
IV. Center (1,1,1) and tangent to the plane x + y + z +3 = 0
V. Center ( 6,3,-4) and touching the y – axis
VI. Center (-3,2,1) and tangent to the xy plane
Question5: Find the equation of a sphere through the points (1,1,0), (2,1,1) (1,2,2) and
(1,0,1).
Question 6: Find the equation of a cylinder whose directrixis a hyperbola in the yz plane
with transverse axis 8 units in length along the y axis and conjugate axis 6 unit in
length.
Question 7: Find the equation of a cylinder whose directrix is an ellipse with semi
axes 5 units and 4 units in length along a pair of coordinate axes, the origin as
geometric center, and whose axis is along (a) x axis (b) y axis (c) z axis
Question 8: Find the equation of a parabolic cylinder that contain the point (3,6,10) and
has the z axis as the line of vertices.
Question 9: Find the equation of the surfaces obtained by revolving the following
curves about the axis indicated
i. x + y = 5; about y
ii. 4x + 2y = 8; about x
iii. 2x + 3z = 5; about z
103
O. OMOREGBE (OSAS)
CHAPTER FIVE
LINEAR PROGRAMMING/OPTIMIZATION
Terms used
Objective function (P): this is a function whose optimal(maximal or minimal)
value is to be determined under a stated restrictions or constraints.
Constraints: these are functions, statements or equations which the objective
function (p) is subjected to or depends on
Example, maximize p=x+2y objective function
Subjected to x+y≤5 constraints
x-2y≤2
Methods of solving linear programming
1. Simplex tableau method
2. Graphical method
The simplex tableau method
This involve the solving or analysis of the objective function with its given constraints
using a table.
Terms commonly used
1. Slack variables (w): these are constants usually added to the constraints. The
number of the slack variables to be added depends on the number of constraints
given. For instance, if there are two constraints, we have
W1 will be added to the first constraint
W2 will be added to the second constraint
If there are three constraints, W1 is added to the first constraint
W2 is added to the second constraint
W3 is added to the third constraint
2. Index row:it is the row consisting all the entries of the objective function
3. Key column: the highest negative entry in the index row determines the key
column.
4. Key row: this is the row with the smallest ratio between the constants
104
O. OMOREGBE (OSAS)
(b) and the positive entries in the key column. The point of intersection between the key
column and the key row is known as pivot element
Example, maximize P=7x+4y
Subject to 2x+y ≤150
4x+3y≤350
Solution
Step1: Rewrite the given equations (both the objective function and the constraints)
such that the constants (b) remain at the right and the slack variables (w) added to the
constraints as explained earlier
2x+y+w1+0w2=150
4x+3y+0w1+w2=350
p-7x-4y+…………….=0
Step2 : Draw a table containing x,y,w,b and check at the top, where check is the sum of
the entries in each row in the table
Basis X y w1 w2 b Check
w1 2 1 1 0 150 154 1st row
w2 4 3 0 1 350 363 2nd row
P -7 -4 0 0 0 -11 Index row
from above, the first column(x column) is the key column because it’s the the column
with the highest negative entry at the index row(-7)
for the key row, divide the constant b (150 and 350) by each positive entry in the key
column(2 and 4).
150/2=75; 350/4=87.5 from which 150/2 gives the smallest ratio. Therefore, the key row
is the 1st row
basis X y w1 w2 b Check
w1 2 1 1 0 150 154
w2 4 3 0 1 350 363
P -7 -4 0 0 0 -11
The intersection between the key row and the key column is at 2. Therefore, 2 is the 1st
pivot element. All we do in this topic is 1. Get the pivot element. The pivot element
should be made unit pivot i.e. 1, by dividing all entry in the key row by the pivot
element,like in above by 2 to give
Basis X y w1 w2 B check
w1 1 ½ ½ 0 75 77
W2 4 3 0 1 350 363
P -7 -4 0 0 0 -11
2.We reduce all entry both above and below the unit pivot to zero. If there is still any
negative entry in the objective function row(index row),you get the 2 nd unit pivot and
repeat the procedures above until no more negative entry in the objective function
row(index row)
Question1: given the following linear programming model
105
O. OMOREGBE (OSAS)
Maximize p=-4x+8y
Subject to x+3y≤57
7x+4y≤110
-x+5y≤40
Solution
X+3y+w1+0w2+0w3=57
7x+4y+0w1+w2+0w3=110
-x+5y+0w1+0w2+w3=40
P+4x-8y+……………….=0
Step1 :
basis X y w1 w2 w3 b check
w1 1 3 1 0 0 57 62
w2 7 4 0 1 0 110 122
w3 -1 5 0 0 1 40 45
P 4 -8 0 0 0 0 -4
Step2 : y-column is the 1 key column and the 3 row is the 1st key row, the pivot element
st rd
X+4y+z≤50
2x+3y+4z≤60
a. Find the maximizing value of P
b. Find the value of x, y and z that maximizes p
c. Find the slack variables that are zero
Solution : 4x+y+2z+w1+0w2+0w3=40
X+4y+z+ 0w1+w2+0w3=50
2x+3y+4z+0 w1+0w2+w3=60
P-4x-3y-3z+……………………=0
step1
X y z w1 w2 w3 b check
4 1 2 1 0 0 40 48
w1
w2 1 4 1 0 1 0 50 57
w3 2 3 4 0 0 1 60 70
p -4 -3 -3 0 0 0 0 -10
Step 2 :x- column is the most negative column(-4). Hence x-column is the 1st key column.
The smallest ratio is the first row. So, the first key row is at the first row where the pivot
element is 4.
Divide the key row by the pivot element ‘4’ to make it unit pivot
X y z w1 w2 w3 b check
1 ¼ ½ ¼ 0 0 10 12
X=w1
w2 1 4 1 0 1 0 50 57
w3 2 3 4 0 0 1 60 70
p -4 -3 -3 0 0 0 0 -10
Step 3: Reduce all the entries below the unit pivot element to zero.
X y Z w1 w2 w3 b check
1 ¼ ½ ¼ 0 0 10 12
x
w2 0 15/4 ½ -1/4 1 0 40 45
w3 0 5/2 3 -1/2 0 1 40 46
p 0 -2 -1 1 0 0 40 38
Step4: since we still have two negative entries in the index row (p), we repeat the
procedure. The y-column gives the next key column and the w2-row the next key row.
15/4 is the next pivot element. Divide the w2-column by 15/4 to make the pivot element a
unit pivot.
X y Z w1 w2 w3 b Check
X 1 ¼ ½ ¼ 0 0 10 12
107
O. OMOREGBE (OSAS)
108
O. OMOREGBE (OSAS)
0x+y+0z+ 0w1+0w2+w3=2
p-2x+y-z+…………………….=0
Step1 :
X y z w1 w2 w3 b Check
w1 1 1 1 1 0 0 12 16
X=w2 1 1 0 0 1 0 8 11
w3 0 1 0 0 0 1 2 4
P -2 1 -1 0 0 0 0 -2
The 1 key column is the x-column and the 1st key row is the w2-row
st
109
O. OMOREGBE (OSAS)
X y z W1 W2 W3 b Check
W1 5 4 8 1 0 0 40 58
W2 3 2 12 0 1 0 30 48
W3 0 1 0 0 0 1 8 10
P -3 -4 -5 0 0 0 0 -12
st st
Step2: the 1 key column is z-column and the 1 key row is w2-row. 12 is the pivot
element. Divide the key row by 12 to make the pivot element a unit pivot
X y z W1 W2 W3 b Check
W1 5 4 8 1 0 0 40 58
Z=W2 ¼ 1/6 1 0 1/12 0 5/2 4
W3 0 1 0 0 0 1 8 10
P -3 -4 -5 0 0 0 0 -12
Step3: reduce all entries above and below the unit pivot to zero
X y z W1 W2 W3 b Check
W1 3 8/3 0 1 -2/3 0 20 26
Z ¼ 1/6 1 0 1/12 0 5/2 4
W3 0 1 0 0 0 1 8 10
P -7/4 -19/6 0 0 5/12 0 25/2 8
The next key column is y-column and the next key row is w1-row. The pivot element is
8/3. Divide all entries in the key row by 8/3 to make
X y z W1 W2 W3 b Check
Y=W1 9/8 1 0 3/8 -1/4 0 15/2 39/4
Z ¼ 1/6 1 0 1/12 0 5/2 4
W3 0 1 0 0 0 1 8 10
P -7/4 -19/6 0 0 5/12 0 25/2 8
Step4: reduce all entries below the unit pivot to zero.
X y z W1 W2 W3 b Check
Y 9/8 1 0 3/8 -1/4 0 15/2 39/4
Z 1/16 0 1 -1/16 1/8 0 5/4 19/8
W3 -9/8 0 0 -3/8 ¼ 1 ½ ¼
P 29/16 0 0 19/16 -3/8 0 145/4 311/8
At this stage, many students are usually tempted to stop since the entries for x, y, z
are already positive in the index row. But there is still one negative entry in the
index row(-3/8), so we repeat the procedure one more time
The key column is w2-column and the key row is w3-row. The pivot element is ¼.
Divide the key row by ¼ to make the pivot element a unit pivot
X y z W1 W2 W3 b Check
Y 9/8 1 0 3/8 -1/4 0 15/2 39/4
Z 1/16 0 1 -1/16 1/8 0 5/4 19/8
W2=W3 -9/2 0 0 -3/2 1 4 2 1
P 29/16 0 0 19/16 -3/8 0 145/4 311/8
110
O. OMOREGBE (OSAS)
Reduce all entries b=above and below the unit pivot to zero
X y z W1 W2 W3 b Check
Y 0 1 0 0 0 1 8 10
Z 5/8 0 1 1/8 0 -1/2 1 9/4
W2 -9/2 0 0 -3/2 1 4 2 1
P 1/8 0 0 5/8 0 3/2 37 157/4
Since all entries in the index row are now positive, answer: a. 37 b. 0; 8; 1c. w1 and w3
NB: you can skip the explanations given so far. They are only there to guide you. So don’t
see this topic as cumbersome!
Minimization
The best way of dealing with minimization problems is to maximize the negative function
of the given objective function.
Let Pmax be the maximizing function and Qmin the minimizing function, then Qmin= -
Pmax or Pmax= -Pmin
Example: minimize p=-4x+3y
You should maximize the negative function by using the above relationship, i.e.
Pmax= -Qmin where Qmin is the given objective function to be minimized.
So, pmax= -(-4x+3y)= 4x-3y then you follow the usual procedures
Question5: given the LP model minimize p=-4x+3y
Subject to x+4y≤20
2x+y≤12
x-y≤3
Find a. The minimizing value of p.
b. The values of x and y that minimize p
c. the slacks variables that is/are equal to zero
Solution : recall that pmax= -pmin, pmax=-(-4x+3y)=4x-3y
Step1 : x+4y+w1+0w2+0w3=20
2x+y+ 0w1+w2+0w3=12
x-y+ 0w1+0w2+w3=3
pmax-4x+3y+……………….=0
X y W1 W2 W3 B Check
W1 1 4 1 0 0 20 26
W2 2 1 0 1 0 12 16
X=W3 1 -1 0 0 1 3 4
pmax -4 3 0 0 0 0 -1
The key column is x-column and the key row is w3-row. The pivot element is 1
which is also a unit pivot. Reduce all entries bothbelow and above the unit pivot
X y W1 W2 W3 B Check
W1 0 5 1 0 -1 17 22
W2 0 3 0 1 -2 6 8
X 1 -1 0 0 1 3 4
111
O. OMOREGBE (OSAS)
pmax 0 -1 0 0 4 12 15
The next key column is y-column and the key row is w2-row. The pivot element is 3.
Divide the key row by 3 to get unit pivot.
X y W1 W2 W3 B check
W1 0 5 1 0 -1 17 22
Y=W2 0 1 0 1/3 -2/3 2 8/3
W3 1 -1 0 0 1 3 4
pmax 0 -1 0 0 4 12 15
Reduce all entries above and below the unit pivot to zero.
X y W1 W2 W3 B Check
W1 0 0 1 -5/3 7/3 7 26/3
Y 0 1 0 1/3 -2/3 2 8/3
X 1 0 0 1/3 1/3 5 20/3
pmax 0 0 0 1/3 10/3 14 53/3
Since there is no more negative in the index row, pmax=14. But pmax=-pmin, therefore, pmin=-
14
Answer: a. -14 b. 5; 2 c. w2 and w3
SHORT CUT: The above question can be solve simultaneously using calculator. Since
the three constraints have only two unknown x, y instead of three unknown , we pick any
two constraints.
Let 2x+y=12………………..(i)
x-y=3…………………….(ii)
solving the two equations simultaneously gives x=5 ; y=2. Then substitute these values
into the objective function to get Pmax. Pmax=4X-3Y=4*5-3*2=1.
But pmax=-pmin, therefore, pmin=-14
NB : this method is very fast but be careful in using it because if you pick the wrong
equations your answers will be wrong. But if the number of unknown is the same as
the number of equations, the answers in most time are correct.
Hence, it’s unreliable! But in exam situation when you know time is against you,
you can use it.
Question6 : a firm manufacturing two types of switching module A and B, is under
contract to produce a daily output of at least 35 modules in all. Assembly and testing times
for each type of module are as follows
Module Processing time (hours)
Type AssemblyTesting
A 1.0 2.0
B 2.0 1.0
Available staff resources provide a daily maximum of 80hours for assembly and 55 hours
for testing. The profit on the sale of each A module is $4.00 and of each B module $5.00.
Determine a. the daily production schedule for maximum profit
b. the maximum daily profit.
112
O. OMOREGBE (OSAS)
Solution
This is a typical linear programming problem. To solve this, we will interpret the problem
in form of equations.
For Assembly, x+2y≤80 where x is for A and y for B
Testing, 2x+y≤55
Maximum profit, p=4x+5y
We solve as usual
X+2y+w1+…………=80
2x+y+………w2…... =55
p-4x-5y+……………….=0
x y W1 W2 B Check
Y=W1 1 2 1 0 80 84
W2 2 1 0 1 55 59
P -4 -5 0 0 0 -9
Y ½ 1 ½ 0 40 42
W2 2 1 0 1 55 59
P -4 -5 0 0 0 -9
Y ½ 1 ½ 0 40 42
X=w2 3/2 0 -1/2 1 15 17
P -3/2 0 5/2 0 200 201
Y ½ 1 ½ 0 40 42
X 1 0 -1/3 2/3 10 34/3
P -3/2 0 5/2 0 200 201
113
O. OMOREGBE (OSAS)
Question7 : three different types of coupling units are produced by a firm. The times
required for machining, polishing and assembling a unit of each type are included in the
information given in the following table
Type of unit Time in hours per unit Profit (#) per unit
machining polishing Assembling
A 4 1 2 11
B 2 3 1 10
C 3 2 4 12
Available 320 250 280
time
(hr/week)
The firm is required to supply a total of at least 100units of mixed types each week.
Determine a. the weekly output of each type to maximize profit
b. the maximum weekly profit
solution :maximize p=11x+10y+12z
machining: 4x+2y+3z≤320
polishing : x+3y+2z≤250
assembling : 2x+y+4z≤280
X y z W1 W2 W3 B Check
W1 4 2 3 1 0 0 320 330
W2 1 3 2 0 1 0 250 257
W3 2 1 4 0 0 1 280 288
P -11 -10 -12 0 0 0 0 -33
W1 4 2 3 1 0 0 320 330
W2 1 3 2 0 1 0 250 257
Z=W3 ½ ¼ 1 0 0 ¼ 70 72
P -11 -10 -12 0 0 0 0 -33
114
O. OMOREGBE (OSAS)
115
O. OMOREGBE (OSAS)
W3=W1 0 -1 1 0 2 -2 20 20
W2 0 2 0 1 1 -1 60 63
X 1 1 0 0 -1 1 30 32
P 0 3 0 0 -8 8+M 240 M+243
W3 0 -1/2 ½ 0 1 -1 10 10
W2 0 2 0 1 1 -1 60 63
X 1 1 0 0 -1 1 30 32
P 0 3 0 0 -8 8+M 240 M+243
W3 0 -1/2 ½ 0 1 -1 10 10
W2 0 5/2 -1/2 1 0 0 50 53
X 1 ½ ½ 0 0 0 40 42
P 0 -1 4 0 0 M 320 M+323
W3 0 -1/2 ½ 0 1 -1 10 10
Y=W2 0 1 -1/5 2/5 0 0 20 106/5
X 1 ½ ½ 0 0 0 40 42
P 0 -1 4 0 0 M 320 M+323
116
O. OMOREGBE (OSAS)
basis X Y W1 W2 W3 W4 W5 B Check
W1 1 4 1 0 0 0 0 76 82
Y=W4 -5 8 0 -1 0 1 0 40 43
W5 -1 4 0 0 -1 0 1 32 35
P -3 -4 0 0 0 M M 0 2M-7
117
O. OMOREGBE (OSAS)
2x+3y+w1+……………….=120
X+y+…….+w2+…………=45
-3x+5y+………….-w3+w4=25
p-8x-4y+………………+Mw4=0
basis X y W1 W2 W3 W4 b check
W1 2 3 1 0 0 0 120 126
X=W2 1 1 0 1 0 0 45 48
W4 -3 5 0 0 -1 1 25 27
P -8 -4 0 0 0 M 0 M-12
W1 0 1 1 -2 0 0 30 30
X 1 1 0 1 0 0 45 48
W4 0 8 0 3 -1 1 160 171
P 0 4 0 8 0 M 360 M+372
At this stage, all entries in the index row are positive but the artificial variable (w4) has
not be replaced. The w4-row automatically becomes the key row and y-column the key
column. The pivot element is 8.
Basis X y W1 W2 W3 W4 B Check
W1 0 1 1 -2 0 0 30 30
X 1 1 0 1 0 0 45 48
Y=W4 0 8 0 3 -1 1 160 171
P 0 4 0 8 0 M 360 M+372
118
O. OMOREGBE (OSAS)
4x+2y+z……………….-w3+…….w5+…=77
X+y+2z…………………….-w4+……+w6=55
P+6x-5y-3z………………………….+Mw5+Mw6=0
basis x y z W1 W2 W3 W4 W5 W6 B
Y=W1 5 8 4 1 0 0 0 0 0 220
W2 2 1 6 0 1 0 0 0 0 154
W5 4 2 1 0 0 -1 0 1 0 77
W6 1 1 2 0 0 0 -1 0 1 55
Pmax 6 -5 -3 0 0 0 0 M M 0
Y ½ 1 0 3/22 -1/11 0 0 0 0 16
W4 0 0 0 1/11 3/11 0 1 0 -1 7
X=W5 11/4 0 0 -1/4 0 -1 0 1 0 22
Z ¼ 0 1 -1/44 2/11 0 0 0 0 23
Pmax 37/4 0 0 27/44 1/11 0 0 M M 149
Though the entries in the index row are positive, the artificial variable (w5) has not be
replaced. So, w5-row becomes the key row and x-column the key column. 11/4 is the
pivot element.
Y 0 1 0 2/11 -1/11 2/11 0 -2/11 0 12
W4 0 0 0 1/11 3/11 0 1 0 -1 7
X 1 0 0 -1/11 0 -4/11 0 4/11 0 8
Z 0 0 1 0 2/11 1/11 0 -1/11 0 21
Pmax 0 0 0 16/11 1/11 37/11 0 M-37/11 M 75
At this stage, the entries in the index row are positive and the artificial variables have been
replaced. Answer: x=8; y=12; z=21 and pmax=75. But pmin=-pmax, therefore, pmin=-75.
119
O. OMOREGBE (OSAS)
CHAPTER SIX
𝑳𝑰𝑵𝑬𝑨𝑹𝑫𝑬𝑷𝑬𝑵𝑫𝑬𝑵𝑪𝑬𝑨𝑵𝑫𝑰𝑵𝑫𝑬𝑷𝑬𝑵𝑫𝑬𝑵𝑪𝑬
Given a set consist of two or more vectors, the following key points should be considered
in determining the linear dependence or independence of the set
Point1: if one of the vectors in the set can be expressed as a linear combination of the
others, then the set is linearly dependent and vice versa.
Question1: show that v1=(−2 0 1), v2=(1 −1 2) and v3=(4 −2 3 ) are linearly
dependent.
Solution: let`s try to rewrite vectors v1 and v2 in the form of v3
To do this, multiply v1 by -1 and v2 by 2
i.e. v3=(-1)v1+2v2
test: (-1)(−2 0 1)+2(1 −1 2)=(4 −2 3) which is v3. Since v3 is expressed as a
linear combination of v1 and v2, the vectors are linearly dependent, where -1 and 2 are
known as the coefficient of dependence
Point2: for a set of vectors fo rming a square matrix, a. if the determinant=0, the set is
linearly dependent b. if the determinant≠0, the set is linearly independent.
Question2: using quesion1 above, show that v1, v2 and v3 are linearly dependent.
v1 −𝟐 𝟎 𝟏
Solution: 𝒗𝟐 = 𝟏 −𝟏 𝟐which is a square matrix. so, get the determinant.
𝒗𝟑 𝟒 −𝟐 𝟑
−2 0 1
−1 2 1 2 1 −1
Determinant= 1 −1 2 ⇒−2 −0 +1 =0
−2 3 4 3 4 −2
4 −2 3
Since the determinant of the set of vectors =0, the set is linearly dependent.
Point3: for a set of vectors forming a non-square matrix, i.e. the number of rows ≠
number of columns, find the determinant of the maximum square matrix that can be
obtain from the non-square matrix, and then apply point2
120
O. OMOREGBE (OSAS)
Question3: determine whether or not the set {(-1,0 ,2,1), (3,1,-2,0) (0,1,4,3)} is linearly
dependent.
Solution: The maximum square matrix that can be gotten from
-1 0 2 1 -1 0 2 0 21
3 1 -2 0 is 3 1 -2 or 1 -2 0
0143 014 1 43
−1 0 2
The determinant = 3 1 −2 = 0
0 1 4
Since the determinant of the maximum matrix gotten from the given non-square matrix is
zero, the set is LINEARLY DEPENDENT. Easy and fast!
MATRIX ALGEBRA
For a brief revision, read the following aspect
1. properties of a square matrix
2. determinant and properties of determinants
3. transposition, adjoint and inverse of a matrix
4. Hermitian matrices and their transposition
5. consistency of a set of equations and uniqueness of solutions
6. solution of sets of equations and the Gaussian elimination method
RANK OF A MATRIX
To determine the rank of a matrix, note the following;
Rule 1: for a square matrix,
If determinant of the matrix ≠ 0, rank=order of the matrix
If the determinant of the matrix=0, rank=order of the maximum submatrix that can
be gotten from the given matrix whose determinant is not zero (≠ 0).
Rule 2: for a non-square matrix, the rank is the order of the maximum subsquare matrix
gotten from the given non-square matrix whose determinant is not zero (≠ 0)
3 0 4 4 23 -1 0 2 1
(i) 1 1 2 (ii) 2 41 (iii 2 3 0 (iv) 3 1 -2 0
1 -3 -2 1 -1 1 1 1 2 01 43
2 -4 3 1 0
(iv) 1 -2 1-4 2
0 1 -1 3 1
4 -7 4 -4 5
121
O. OMOREGBE (OSAS)
SOLUTION
3 0 4
(i) Let A= 1 1 2 which is 3×3 square matrix. We use rule 1
1 −3 −2
1 2 1 2 1 1
3 −0 +4 = −4
−3 −2 1 −2 1 −3
Determinant of A, lAl = -4
Since lAl ≠ 0, rank of A= Order of A=3 (Rule 1a)
4 2 3
(ii) Let A= 2 4 1 which is 3×3 square matrix. We use rule 1
1 −1 1
Determinant of A, lAl=
4 1 2 1 2 4
4 −2 +3 =0
−1 1 1 1 1 −1
122
O. OMOREGBE (OSAS)
−1 0 2 0 2 1
The max square matrix from A is 3 1 −2 or 1 −2 0
0 1 4 1 4 3
The determinant= -1 0 2 = -1 1 -2 -0 3 -2 +2 3 1 =0
3 1 -2 1 4 0 4 0 1
0 1 4
Since the determinant of the submatrix=0, we get the next submatrix which
(v) 2 -4 3 1 0
1 -2 1 -4 2 which is 4x5 matrix (non-square matrix). We use rule 2
0 1 -1 3 1
4 -7 4 -4 5
The maximum square matrix can be 2 -4 3 1 -4 3 1 0
1 -2 1 -4 or -2 1 -4 2 which is 4x4
0 1 -1 3 1 -1 3 1 submatrix
4 -7 4 -4 -7 4 -4 5
The determinant= 2 -4 3 1 + - + -
1 -2 1 -4 - + - + is the sign notation
0 1 -1 3 + - + -
4 -7 4 -4 - + - +
= +2 -2 1 -4 - - 4 1 1 -4 +3 1 -2 -4 -1 1 -2 1
1 -1 3 0 -1 3 0 1 3 0 1 -1
-7 4 -4 4 4 -4 4 -7 -4 4 -7 4
= 22-48+27-1 =0
1 -2 1 from the 4x4 submatrix, Determinant= 2 -2 1 - -4 1 1 +3 1 -2
0 1 -1 1 -1 0 -1 0 1
=1 which is non-zero
rank= 3
123
O. OMOREGBE (OSAS)
Then, Ax- λx=0 which can also be written as (A- λI)x=0 where I is a unit square matrix either of order 2*2 or
3*3 depending on the order of the given matrix A.
Taking the determinant of the coefficient of x, we have A-λI =0 where A-λIis called the characteristic
determinant of A and
A-λI =0 is called the characteristic equation. The solution of the characteristic equation gives the values of
λ which are called eigenvalues.
1. express the given matrix in the form A-λI =0 from which you can get λ.
(A- λI)x=0, from which we get the solutions of x. these solutions of x corresponding to the eigenvalues λare called
the eigenvectors.
Question1: find the eigenvalues and the eigenvectors of the following matrices
i 4 -1 ii 2 3 iii 2 1 1
2 1 4 1 1 3 2
-1 1 2
Solution:
Step1: A-λI =0, where I in this case is 2*2 unit matrix since A is also 2*2.
4 -1 - λ1 0 =0,
2 1 0 1
(4- λ) -1 =0
2 (1- λ)
(4 – λ)(1- λ)-2*-1=0
Step2:to get the eigenvectors, substitute λ1=2 and λ2=3 respectively into (A- λI)x=0
124
O. OMOREGBE (OSAS)
4 −1 1 0 𝑋1 2 −1 𝑋1
−2 =0 ⇒ =0
2 1 0 1 𝑋2 2 −1 𝑋2
Take the ratio of x2 to x1. So, x2:x1=2:1 from which x2=2 and x1=1.
𝑋1 1
The eigenvector of A corresponding to λ1=2 is =
𝑋2 2
For λ2=3, (A-3I)x=0
4 −1 1 0 𝑋1 1 −1 𝑋1
−3 =0 ⇒ =0
2 1 0 1 𝑋2 2 −2 𝑋2
Taking the ratio of x2 to x1, we have x2:x1=1:1. So, x2=1 and x1=1
𝑋 1
The eigenvector corresponding to λ2=3 is 1 =
𝑋2 1
2 3
ii let A= 4 1
2 3 1 0
Step1: A- λI=0 ⇒ −λ =0
4 1 0 1
(2 − λ) 3
=0
4 (1 − λ)
2 3 1 0 𝑋1
+2 =0
4 1 0 1 𝑋2
4 3
⇒
4 3
125
O. OMOREGBE (OSAS)
−3 3 𝑋1
⇒ = 0⇒ -3x1+3x2=0 ⇒ 3x2=3x1, from which x2:x1=1:1
4 −4 𝑋2
iii. let A= 2 1 1
1 3 2
-1 1 2
Step1: A- λI=o, ⇒2 1 1 - λ 1 0 0 =0
1 3 2 0 1 0
-1 1 2 0 0 1
From eq(i), x1=-(x2+x3). Substitute into eq(ii) and (iii) respectively to give
126
O. OMOREGBE (OSAS)
-1
2 1 1 1 0 0 x1 0 1 1 x1
1 3 2 -2 0 1 0 x2 =0 ⇒1 1 2 x2 =0
-1 1 2 0 0 1 x3 -1 1 0 x3
-1
2 1 1 1 0 0 x1 -2 1 1 x1
1 3 2 - 4 0 1 0 x2 =0 ⇒ 1 -1 2 x2 =0
-1 1 2 0 0 1 x3 -1 1 -2 x3
X2= 5
X31
127
O. OMOREGBE (OSAS)
-1
TAKE AWAY
3 7 22 6 -1 7 2 -3 1 2 2 1 3 1 3 -8 5 2
5 -12 -1 6
Find the eigenvalues and the corresponding eigenvectors of the following matrices: a. 1 2 2
b. 2 0 1 c. 3 2 -1 4 1
1 3 1 3 -2 -1 2 0
2 2 1
128
BY Osaze O.
Question1: find the stationary points on the following curves and distinguish between them i.
y=x2+5x+6 ii y=2x3-5x2+4x-1 iii y=12Inx+x2-10x
then, test for d2y/dx2 to know the type of point. d2y/dx2=2 which is>0
From condition2, the point is minimum. Substitute x into the given function to get the minimum
value. Y=22+5*2+6=20
X=1 or X=2/3
At x=2/3, y=2*(2/3)3-5*(2/3)2+4*(2/3)-1=1/27
Therefore, the minima and maxima are (1, 0) and (2/3, 1/27) respectively.
d2y/dx2=-12/x2+2
therefore, the minima and maxima points are (3, -7.82) and (2, -7.68) respectively.
Question1: determine the stationary points of the function f(x, y) =x3-6x2-8y2 and distinguish
between them.
Step2: 𝜕2z/𝜕x2=6x-12 ; 𝜕2z/𝜕y2=-16 and 𝜕2z/𝜕x𝜕𝑦=0 since y is not in the expression for 𝜕𝑧/ 𝜕𝑥
.i.e. 3x2-12x
Step4 at the point (0, 0), ∆=( 𝜕2z/𝜕x2)( 𝜕2z/𝜕y2) - ( 𝜕2z/𝜕x𝜕𝑦)2= (-12)(-16)-0=192 which is > 0.
So, there is a maximum point at (0, 0). Refer to step4c
Which is < 0. So, there is a saddle point at (4, 0). Refer to step4a
Question2: locate the stationary points on the surface f(x, y)=2x3+2y3-6x-24y+16 and determine
their nature.
So, the stationary points are (x,y)= (1,2), (-1,-2), (1, -2) and (-1, 2)
Since ∆>0 and 𝜕2z/𝜕x2< 0 i.e. -12, the point is a maximum. Refer to step4c
Question3: find the stationary points of the function z=(x2+y2)2 – 8(x2- y2)
4x(x2+y2-4)=0 ; 4y(x2+y2+4)=0
So, the stationary points are (0, 0), (0, ±2) and (±2, 0).
So, there is a saddle point at (0, 0). Try for points (2,0) and (-2,0)
3x2+6y(x-1)-3=0…….i ; 3(x-1)2-108y+108y2=0……….ii
3(x-1)2*4(x-1)2 – 108(1-x2)*2(x-1)+108(1-x2)2=0
(x-1)2(12(x-1)2 + 216(x+1)+108(x+1)2)=0
(x-1)2(120x2+408x+336)=0
(x-1)2=0 or (120x2+408x+336)=0
X=1 or x=-7/5, -2
From eq(iii), y=(1-x2)/2(x-1). When x=1, y will be indeterminate. In such case, get x at y=0. This
gives 0= (1-x2)/2(x-1) 0=(1-x)2x=1.so, at x=1, y=0 When x=-7/5,
y=(1-(-7/5)2)/2(-7/5-1)=1/5
The stationary points are (1,0), (-7/5, 1/5) and (-2, 1/2)
There is a saddle point at (1,0). Try points (-7/5, 1/5) and (-2, 1/2)
TAKE AWAY
Determine the stationary points of the following functions and state their nature
Quadric surfaces
GENERAL EXERCISE
1. See the key points on sphere
2. (i)elliptic cylinder. since the coefficient of y2 and z2 are the same, we can also call it
cylinder of revolution.
1 2 1
(b) λ1=1, X= 0 ; λ2=2, X= 1 ; λ3=3, X= 2
−1 0 1
CLASSIFICATION OPTIMIZATION
i. Maximum at (0,0)
1 1
Saddle point at (3, 3)