Shah NH Acharya Fs Solid Geometry With Matlab Programming
Shah NH Acharya Fs Solid Geometry With Matlab Programming
MATLAB Programming
Solid Geometry with
Nita H. Shah
Falguni S. Acharya MATLAB Programming
Solid geometry is defined as the study of the geometry of three-
dimensional solid figures in Euclidean space. There are numerous
techniques in solid geometry, mainly analytic geometry and methods
using vectors, since they use linear equations and matrix algebra.
Solid geometry is quite useful in everyday life, for example, to design
different signs and symbols such as octagon shape stop signs, to
indicate traffic rules, to design different 3D objects like cubicles in
gaming zones, innovative lifts, creative 3D interiors, and to design
3D computer graphics. Studying solid geometry helps students to
improve visualization and increase logical thinking and creativity since
it is applicable everywhere in day-to-day life. It builds up a foundation
for advanced levels of mathematical studies. Numerous competitive
exams include solid geometry since its foundation is required to
study other branches like civil engineering, mechanical engineering,
computer science engineering, architecture, etc.
This book is designed especially for students of all levels, and can
serve as a fundamental resource for advanced level studies not only in
mathematics but also in various fields like engineering, interior design,
architecture, etc. It includes theoretical aspects as well as numerous
solved examples. The book includes numerical problems and problems
of construction as well as practical problems as an application of the
respective topic. A special feature of this book is that it includes solved
Falguni S. Acharya
examples using the mathematical tool MATLAB.
Nita H. Shah
Nita H. Shah
River Publishers River Falguni S. Acharya
Solid Geometry with MATLAB
Programming
RIVER PUBLISHERS SERIES IN MATHEMATICAL, STATISTICAL
AND COMPUTATIONAL MODELLING FOR ENGINEERING
Series Editors:
MANGEY RAM
Graphic Era University, India
TADASHI DOHI
Hiroshima University, Japan
Applied mathematical techniques along with statistical and computational data analysis has
become vital skills across the physical sciences. The purpose of this book series is to present
novel applications of numerical and computational modelling and data analysis across the
applied sciences. We encourage applied mathematicians, statisticians, data scientists and
computing engineers working in a comprehensive range of research fields to showcase dif-
ferent techniques and skills, such as differential equations, finite element method, algorithms,
discrete mathematics, numerical simulation, machine learning, probability and statistics, fuzzy
theory, etc.
Books published in the series include professional research monographs, edited vol-
umes, conference proceedings, handbooks and textbooks, which provide new insights for
researchers, specialists in industry, and graduate students.
Topics included in this series are as follows:-
• Discrete mathematics and computation
• Fault diagnosis and fault tolerance
• Finite element method (FEM) modeling/simulation
• Fuzzy and possibility theory
• Fuzzy logic and neuro-fuzzy systems for relevant engineering applications
• Game Theory
• Mathematical concepts and applications
• Modelling in engineering applications
• Numerical simulations
• Optimization and algorithms
• Queueing systems
• Resilience
• Stochastic modelling and statistical inference
• Stochastic Processes
• Structural Mechanics
• Theoretical and applied mechanics
For a list of other books in this series, visit www.riverpublishers.com
Solid Geometry with MATLAB
Programming
Nita H. Shah
Gujarat University, India
Falguni S. Acharya
Parul University, India
River Publishers
Published, sold and distributed by:
River Publishers
Alsbjergvej 10
9260 Gistrup
Denmark
www.riverpublishers.com
c 2022 River Publishers
Preface ix
1 Plane 1
1.1 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 General Equation of the First Degree in x, y, z Represents
a Plane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.3 Transformation of General form to Normal Form . . . . . . 3
1.4 Direction Cosines of the Normal to a Plane . . . . . . . . . 4
1.5 Equation of a Plane Passing through a Given Point . . . . . . 5
1.6 Equation of the Plane in Intercept Form . . . . . . . . . . . 6
1.7 Reduction of the General Equation of the Plane to the
Intercept Form . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.8 Equation of a Plane Passing through three Points . . . . . . 10
1.9 Equation of any Plane Parallel to a Given Plane . . . . . . . 15
1.10 Equation of Plane Passing through the Intersection of Two
Given Planes . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.11 Equation of the Plane Passing through the Intersection . . . 17
1.12 Angle between Two Planes . . . . . . . . . . . . . . . . . . 21
1.13 Position of the Origin w.r.t. the Angle between Two Planes . 23
1.14 Two Sides of a Plane . . . . . . . . . . . . . . . . . . . . . 24
1.15 Length of the Perpendicular from a Point to a Plane . . . . . 26
1.16 Bisectors of Angles between Two Planes . . . . . . . . . . . 28
1.17 Pair of Planes . . . . . . . . . . . . . . . . . . . . . . . . . 31
1.18 Orthogonal Projection on a Plane . . . . . . . . . . . . . . . 35
1.19 Volume of a Tetrahedron . . . . . . . . . . . . . . . . . . . 36
Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
2 Straight Line 45
2.1 Representation of Line (Introduction) . . . . . . . . . . . . 45
2.2 Equation of a Straight Line in the Symmetrical Form . . . . 45
v
vi Contents
3 Sphere 89
3.1 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
3.2 Equation of Sphere in Vector Form . . . . . . . . . . . . . . 89
3.3 General Equation of the Sphere . . . . . . . . . . . . . . . . 91
3.4 Equation of Sphere Whose End-Points of a Diameter
are Given . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
3.5 Equation of a Sphere Passing through the Four Points . . . . 93
3.6 Section of the Sphere by a Plane . . . . . . . . . . . . . . . 105
3.7 Intersection of Two Spheres . . . . . . . . . . . . . . . . . . 106
3.8 Intersection of Sphere S and Line L . . . . . . . . . . . . . 115
3.9 Tangent Plane . . . . . . . . . . . . . . . . . . . . . . . . . 116
3.10 Equation of the Normal to the Sphere . . . . . . . . . . . . 117
3.11 Orthogonal Sphere . . . . . . . . . . . . . . . . . . . . . . 127
Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
4 Cone 133
4.1 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
4.2 Equation of a Cone with a Conic as Guiding Curve . . . . . 133
4.3 Enveloping Cone to a Surface . . . . . . . . . . . . . . . . . 138
4.4 Equation of the Cone whose Vertex is the Origin
is Homogeneous . . . . . . . . . . . . . . . . . . . . . . . . 142
4.5 Intersection of a Line with a Cone . . . . . . . . . . . . . . 149
4.6 Equation of a Tangent Plane at (α, β, γ) to the Cone
with Vertex Origin . . . . . . . . . . . . . . . . . . . . . . 150
4.7 Conditions for Tangency . . . . . . . . . . . . . . . . . . . 152
4.8 Right Circular Cone . . . . . . . . . . . . . . . . . . . . . . 156
Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Contents vii
5 Cylinder 167
5.1 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
5.2 Equation of the Cylinder whose Generators Intersect
the Given Conic . . . . . . . . . . . . . . . . . . . . . . . . 168
5.3 Enveloping Cylinder . . . . . . . . . . . . . . . . . . . . . 170
5.4 Right Circular Cylinder . . . . . . . . . . . . . . . . . . . . 175
Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Index 227
ix
1
Plane
1.1 Definition
A locus is a plane such that if any two points P and Q are on the locus then
every point of the line P Q lies on the locus.
ax + by + cz + d, a2 + b2 + c2 = 0. (1.1)
1
2 Plane
We shall prove that for any point (x, y, z) on the plane, we have the
relation
lx + my + nz = p.
i.e., The equation of the plane is of the first degree.
Let Q be the foot of the perpendicular from the origin O to the plane.
Let OQ = p and l, m, n be its direction cosines.
Let P (x, y, z) be any point on the plane.
∴ P Q lies in the plane.
⇒ P Q⊥OQ
⇒ The projections of OP on OQ = OQ = p.
1.3 Transformation of General form to Normal Form 3
Also, the projection of the segment OP joining the points O (0, 0, 0) and
P (x, y, z) on the line OQ with direction cosines l, m, n is
l (x − 0) + m (y − 0) + n (z − 0) = lx + my + nz,
i.e., lx + my + nz = p which satisfies the coordinates of any point P (x, y, z)
on the given plane.
∴ This equation is the equation of the plane.
Remark:
1) An equation lx + my + nz = p is in the normal form if
1.1 (coefficient of x)2 + (coefficient of y)2 + (coefficient of z)2 = 1
i.e., l2 + m2 + n2 = 1.
1.2 constant term on the R.H.S. is positive, i.e., p > 0.
2) If the plane passes through the origin (0,0,0) then d = 0 and equation of
a plane passing through the origin is ax + by + cz + d = 0.
3) Equation of any plane parallel to the plane ax + by + cz + d = 0 is given
by ax + by + cz + d1 = 0.
1) Shift the constant term to R.H.S. and make it positive (if it is not)
√
2) Divide throughout by a2 + b2 + c2 .
ax + by + cz + d = 0, (1.6)
2) Find the ratios in which the coordinate planes divide the line joining
(−2, 4, 7) and (3, −5, 8).
Sol. Let R be the point which divides P (−2, 4, 7) and Q (3, −5, 8) in the
ratio m = 1.
∴ Coordinates of R are 3m−2
m+1 , −5m+4 8m+7
m+1 , m+1 .
(a) If R lies on the XY plane i.e., z = 0, we have 8m+7 = 0 ⇒ m = −7
8 .
∴ XY plane divides P Q externally in the ratio 7 : 8.
(b) If R lies on the Y Z plane i.e., x = 0, we have 3m−2 2
m+1 = 0 ⇒ m = 3 .
∴ Y Z plane divides P Q internally in the ratio 2:3.
(c) If R lies on the ZX plane i.e., y = 0, we have −5m+4 4
m+1 = 0 ⇒ m = 5 .
∴ ZX plane divides P Q internally in the ratio 4:5.
3) Find the equation of the plane through the points (1, −2, 4) and (3, −4, 5)
and parallel to the x axis.
Sol. Let the equation of the plane parallel to the x axis be
by + cz + d = 0. (1.8)
Since it passes through the points (1, −2, 4) and (3, −4, 5), we get
− 2b + 4z + d = 0, (1.9)
− 4b + 5z + d = 0. (1.10)
−d
Solving Equations (1.9) and (1.10), we get b = and 6 c = −2d
6
Substituting the values of b and c in Equation (1.9), we get −d −dz
6 y 6 + d = 0.
6 Plane
a (x − 2) + b (y + 3) + c (z − 1) = 0 (1.11)
The direction ratios of the line joining points P (3, 4, −1) and Q (2, −1, 5)
are x1 − x2 , y1 − y2 , z1 − z2 = 1, 5, −6.
The required equation of the plane is perpendicular to the line P Q.
∴ The normal to the plane (1.11) whose direction ratios are a, b, c is parallel
to P Q whose direction ratios are 1, 5, −6.
a b c
∴ = = = t.
1 5 −6
Substituting a, b, and c in Equation (1.11), we get
t (x − 2) + 5t (y + 3) − 6t (x − 1) = 0
∴ x − 2 + 5y + 15 − 6z + 6 = 0
∴ x + 5y + 6z + 19 = 0
P x + Qy + Rz + S = 0. (1.12)
ax + by + cz + d = 0 (1.13)
where A = −d −d −d
a , B = b , and C = c are the lengths of the intercepts of
(1.13) on the axes respectively.
The Equation (1.14) is the intercept form of the general Equation (1.13).
5) A variable plane moves so that the sum of reciprocals of its intercepts on
the three co-ordinates axes is constant. Show that it passes through a fixed
point.
Sol. Let the variable plane be
x y z
+ + = 1. (1.15)
a b c
∴ a, b, and c are the intercepts on the axes.
Given a1 + 1b + 1c = constant = 1t . (Suppose)
t t t
∴ + + = 1. (1.16)
a b c
∴ The Equation (1.16) shows that (t, t, t) satisfies Equation (1.15) of the
plane.
i.e., plane (1.15) passes through the fixed point (t, t, t).
6) A plane meets the coordinate axes at A, B, C such that the centroid of the
triangle ABC is the point (a, b, c). Show that the equation of the plane is
x y z
+ + = 3.
a b c
Sol. Let the equation of the plane be
x y z
+ + = 1. (1.17)
r s t
It meets the axes in A (r, 0, 0) , B (0, s, 0) , and C (0, 0, t) .
r+0+0
0+s+0 0+0+t
Let
r s t the centroid G of the ΔABC be 3 , 3 , 3 =
3, 3, 3 .
But it is given that the centroid of ΔABC is (a, b, c).
r s t
∴ = a ⇒ r = 3a, = b ⇒ s = 3b, = c ⇒ t = 3c
3 3 s
Substituting the values of r, s, t in (1.17), we get
x y z
+ + =1
3a 3b 3c
1.7 Reduction of the General Equation of the Plane to the Intercept Form 9
x y z
∴ + + =3
a b c
is the required equation of the plane.
7) A variable plane is at a constant distance p from the origin and meets the
axes in A, B, C. Through A, B, C planes are drawn parallel to the coordinate
planes. Prove that the locus of their point of intersection is x12 + y12 + z12 = p12 .
Sol. Let the variable plane at distance p from the origin be
lx + ny + nz = p, (1.18)
where l, m, n are the direction cosines of the normal to the plane.
The plane (1.18) meets the x axis (i.e., y = 0, z = 0), we get lx = p ⇒
x = pl
∴ The coordinates of A are pl , 0, 0 . p
Similarly,
coordinates of B and C on the y axis and z axis are 0, m , 0
and 0, 0, np respectively.
∴ The equation of the plane through A pl , 0, 0 , and parallel to the Y Z
plane is x = pl .
p
Similarly, the equations of the plane through B 0, m , 0 and C 0, 0, np
p
parallel to ZX and XY planes respectively are y = m and z = np .
These three planes meet at the point
P x = pl , y = m p
, z = np
∴ l = xp ; m = yp ; n = p
z .
10 Plane
ax + by + cz + d = 0. (1.19)
Remark:
8) Find the equation of the plane through the three points (1, 1, 1), (1, −1, 1),
(−7, −3, −5).
Sol. Let the required equation of the plane passing through the point
(1, 1, 1) be
a (x − 1) + b (y − 1) + c (z − 1) = 0. (1.23)
It passes through (1, 1, 1)
∴ a (0) + b (−2) + c (0) = 0 ⇒ b = 0
It passes through (−7, −3, −5)
−3c
∴ −8a − 4b − 6c = 0 ∴ a =
4
∴ The Equation (1.23) becomes;
−3c
4 (x − 1) + c (z − 1) = 0
∴ −3x + 3 + 4z − 4 = 0
∴ 3x − 4z + 1 = 0.
9) Show that the points (0, −1, 0), (2, 1, −1), (1, 1, 1) and (3, 3, 0) are
coplanar.
Sol. First, we will find the equation of a plane through three points
(0, −1, 0), (2, 1, −1) and (1, 1, 1).
Let the equation of the plane passing through (0, −1, 0) is
a (x − 0) + b (y + 1) + c (z − 0) = 0. (1.24)
It passes through point (2, 1, −1)
∴ 2a + 2b − c = 0, (1.25)
and it passes through point (1, 1, 1)
∴ a + 2b + c = 0. (1.26)
12 Plane
4x − 3 (y + 1) + 2z = 0
∴ 4x − 3y + 2z − 3 = 0. (1.27)
Four given points are coplanar if the fourth point (3, 3, 0) lies on the
plane (1.27).
i.e., 4 (3) − 3 (3) + 2 (0) − 3 = 0.
∴ The given four points are coplanar.
10) Show that the four points (6, −4, 4), (0, 0, −4) intersects the join of
(−1, −2, −3), (1, 2, −5).
Sol. Let P (6, −4, 4), Q (0, 0, −4), R (−1, −2, −3) , and S (1, 2, −5) be the
given four points.
To prove that, the line joining P, Q intersects the line joining R, S.
The line P Q intersects RS, if the points P, Q, R, S lie on the same.
i.e., we have to prove that the given four points are coplanar.
Let the required equation of the plane passing through the point
P (6, −4, 4) is
a (x − 6) + b (y + 4) + c (z − 4) = 0. (1.28)
∴ −6a + 4b − 8c = 0. (1.29)
∴ −7a + 2b − 7c = 0. (1.30)
1.8 Equation of a Plane Passing through three Points 13
a b c
∴ = =
−28 + 16 56 − 42 −12 + 28
a b c
∴ = =
−12 14 16
Substituting the values of a, b, and c in (1.28), we get
−12 (x − 6) + 14 (y + 4) + 16 (z − 4) = 0
∴ P, Q, R, S are coplanar.
∴ P Q intersects RS.
11) If from the point P (a, b, c), perpendiculars P L, M P be drawn to Y Z
and ZX planes, find the equation of the plane OLM .
Sol. The coordinate of L, the foot of the perpendicular from P (a, b, c) on Y Z
plane (x = 0) are (0, b, c). The coordinate of M , the foot of the perpendicular
from P (a, b, c) on XZ plane (y = 0) are (a, 0, c).
∴ We have L (0, b, c) , M (a, 0, c) , and O (0, 0, 0).
The equation of the plane through O (0, 0, 0) is
A (x − 0) + B (y − 0) + C (z − 0) = 0
∴ Ax + By + Cz = 0. (1.32)
It passes through the point L (0, b, c)
∴ bB + cC = 0. (1.33)
14 Plane
∴ aA + cC = 0. (1.34)
∴ P A = P B = P C.
Let the equation of the plane passing through the point A (3, 2, 5) is
a (x − 3) + b (y − 2) + c (z + 5) = 0. (1.35)
∴ −6a + 6b = 0 ⇒ a = b. (1.36)
∴ −6a + 6c = 0 ⇒ a = c. (1.37)
a (x − 3) + a (y − 2) + a (z + 5) = 0
1.9 Equation of any Plane Parallel to a Given Plane 15
∴ x + y + z = 0. (1.38)
The point P (−1, 4, −3) lies on the plane (1.38), if it satisfies equation
(1.38).
i.e., −1 + 4 − 3 = 0.
∴ The points P, A, B, C are coplanar.
∴ Both the conditions for P to be the circumcenter of ΔABC are
satisfied.
∴ P is the circumcenter of ΔABC.
ax + by + cz + d = 0. (1.39)
a1 x + b1 y + c1 z + d = 0. (1.40)
ax + by + cz + d1 = 0.
13) Find the equation of the plane through the point (x1 , y1 , z1 ) and parallel
to the plane ax + by + cz + d = 0.
16 Plane
ax + by + cz + d = 0, (1.41)
ax + by + cz + d1 = 0.
∴ a (x − x1 ) + b (y − y1 ) + c (z − z1 ) = 0.
14) Find the equation of the plane through the point (2, 3, 4) and parallel to
the plane 5x − 6y + 7z = 3.
Sol. The equation of any plane parallel to the plane 5x − 6y + 7z = 3 and
passing through the point (2, 3, 4) is given by
5 (x − 2) − 6 (y − 3) + 7 (z − 4) = 0
∴ 5x − 6y + 7z − 20 = 0
is the required equation of the plane.
a1 x + b1 y + c1 z + d1 = 0, (1.44)
and
a2 x + b2 y + c2 z + d2 = 0, (1.45)
and let P (x1 , y1 , z1 ) be any given point.
The Equation of any plane passing through the intersection of the planes
given by (1.44) and (1.45) can be represented as
∴ (a1 x1 + b1 y1 + c1 z1 + d1 ) + k (a2 x1 + b2 y1 + c2 z1 + d2 ) = 0
(x + y + z − 6) + k (2x + 3y + 4z + 5) = 0. (1.47)
(x − 3y + 2z + 3) + k (3x − y − 2z − 5) = 0. (1.48)
18 Plane
ax + cz + d = 0. (1.49)
a c d
∴ = =
−1 2 −7
d −2
∴ a = ,c = d
7 7
Substituting in Equation (1.49), we get d7 x − 87 dz + d = 0
∴ x − 8z + 7 = 0
3b
It passes through the point (−2, 3, 10); we get −2a + 3b = 0 ⇒ a = 2
Substituting in equation ax + by = 0, we get 3b 2 x + by = 0
3x + 2y = 0
is the required equation of the plane.
19) Find the equation of the plane through the intersection of the planes x +
y + z = 1, 2x + 3y + 5z = 5, and perpendicular to the planex − y + z = 0.
Sol. The equation of the plane through the intersection of planes is given by
(x + y + z − 1) + k (2x + 3y + 5z − 5) = 0. (1.50)
The direction ratios of normal to the plane (1.50) are
(1 + 2k, 1 + 3k, 1 + 5k), and the direction cosines of normal to the plane
x − y + z = 0 are 1, −1, 1.
Since plane (1.50) is perpendicular to x − y + z = 0, we get
(1 + 2k) (1) + (1 + 3k) (−1) + (1 + 5k)(1) = 0
∴ 1 + 2k − 1 − 3k + 1 + 5k = 0
∴ 4k + 1 = 0
−1
∴k= .
4
Substituting the value of k in Equation (1.50), we get
(x + y + z − 1) − 14 (2x + 3y + 5z − 5) = 0
∴ 2x + y + 9z + 1 = 0.
20) Find the equation of the plane passing through points (1, 1, 2) and (2, 4, 3)
and perpendicular to the plane x − 3y + 7z + 5 = 0.
Sol. The equation of a plane passes through the point (1,1,2) is
a (x − 1) + b (y − 1) + c (z − 2) = 0 (1.51)
Since plane (1.51) passes through the point (2, 4, 3), we get
a + 3b + c = 0. (1.52)
Moreover, plane (1.51) is perpendicular to x − 3y + 7z + 5 = 0, we get
a − 3b − 7c = 0. (1.53)
20 Plane
∴ a
24
b
= −6 c
= −6
∴ a
−4 = b
1 = c
1 = t ⇒ a = −4t, b = t, c = t.
Substituting the value of a, b, c in Equation (1.51), we get 4x − y − z = 1
which is the required equation of the plane.
21) Find the equation to the plane through the point (−1, 3, 2) and perpen-
dicular to the planes x + 2y + 2z = 5 and 3x + 3y + 2z = 8.
Sol. The equation of the plane passes through the point (−1, 3, 2)
∴ a (x + 1) + b (y − 3) + c (z − 2) = 0. (1.54)
and
a (3) + b (3) + c (2) = 0. (1.56)
a
By cross multiplication, we get −2 = 4b = −3
c
2 (x + 1) − 4 (y − 3) + 3 (z − 2) = 0
∴ 2x − 4y + 3z + 8 = 0
which is the required equation of the plane.
22) The plane x − y + z = 2 is rotated through a right angle about its line of
intersection with the plane 2x + y − 3z = 1. Find the equation of the plane
in its new position.
Sol. The equation of the plane through the line of intersection of the plane
x − y + z = 2 and 2x + y − 3z = 1
is given by
(x − y + z − 2) + k (2x + y − 3z − 1) = 0
1.12 Angle between Two Planes 21
a1 x + b1 y + c1 z + d1 = 0, (1.58)
a2 x + b2 y + c2 z + d2 = 0. (1.59)
The angle between two planes is equal to the angle between their normal
The direction ratios of the normal to the plane (1.58) and (1.59) are
a1 , b1 , c1 , and a2 , b2 , c2 respectively.
∴ The angle θ between the plane is given by
a 1 a 2 + b1 b 2 + c 1 c 2
cos θ = .
a21 + b21 + c21 a22 + b22 + c22
Remark:
1) Condition of Perpendicularity:
If two planes are perpendicular then their normals are also perpendicular.
i.e., the normals are perpendicular if a1 a2 + b1 b2 + c1 c2 = 0.
∴ The planes are perpendicular if a1 a2 + b1 b2 + c1 c2 = 0.
22 Plane
2) Condition of Parallelism:
If two planes are parallel then their normals are also parallel.
a1 b1 c1
i.e., = = .
a2 b2 c2
3x + 6y + 2z = 4.
25) A plane passes through the point (4, −1, 2) and is perpendicular to the
line joining (1, −5, 10) , and (2, 3, 4). Find the equation of the plane and the
angles which it makes with the coordinate planes.
Sol. Let the equation of the plane passing through the point P (4, −1, 2) be
a (x − 4) + b (y + 1) + c (z − 2) = 0. (1.60)
The direction ratios of the line joining (1, −5, 10) and (2, 3, 4) are −1, 8, −6.
a b c
∴ = =
+1 8 −6
1.13 Position of the Origin w.r.t. the Angle between Two Planes 23
∴ x + 8y − 6z + 16 = 0. (1.61)
Similarly,
8 1
cos β = √ ⇒ β = cos−1 √
101 101
and
−6 −6
cos γ = √ ⇒ γ = cos−1 √ .
101 101
a1 x + b1 y + c1 z + d1 = 0, (1.62)
and
a2 x + b2 y + c2 z + d2 = 0, (1.63)
where d1 , d2 are both positive.
1. If the origin lies in the acute angle between the planes, then θ is obtuse
i.e., cos θ is negative or a1 a2 + b1 b2 + c1 c2 is negative.
2. If the origin lies in the obtuse angle between the planes the angle θ is
acute i.e., cos θ is positive or a1 a2 + b1 b2 + c1 c2 is positive.
26) Is the origin in the acute or obtuse angle between the planes
x + y − z = 3 and x − 2y + z = 3.
Sol. Rewriting the given equation of the planes for making constant term
positive, we get
24 Plane
−x − y + z + 3 = 0 and −x + 2y − z + 3 = 0.
ax + by + cz + d = 0, (1.64)
Case (i): If ax1 + by1 + cz1 + d and ax2 + by2 + cz2 + d are of opposite
signs then m is positive.
∴ The plane (1.64) divides P Q internally in the ratio m : 1.
∴ P and Q lie on the opposite sides of the plane.
1.14 Two Sides of a Plane 25
Case (ii): If ax1 + by1 + cz1 + d and ax2 + by2 + cz2 + d are of the same
sign, then m is negative.
∴ P Q divides the plane (1.64) externally at R in the ratio m = 1.
∴ P and Q lies on the same side of the plane.
27) Show that the origin and the point (2, −4, 3) lie on different sides of the
plane x + 3y − 5z + 7 = 0.
Sol. The equation of the given plane is
x + 3y − 5z + 7 = 0. (1.65)
(b) To find the perpendicular distance of the point (x1 , y1 , z1 ) from the plane
ax + by + cz + d = 0.
The equation of the given plane is
ax + by + cz + d = 0. (1.69)
√
Dividing (1.69) by a2 + b2 + c2 , equation (1.69) reduces to normal form,
a b c
√ x+ √ y+√ z
a2 2
+b +c 2 2 2
a +b +c 2 a + b2 + c 2
2
d
+√ =0
a 2 + b2 + c 2
a b c −d
∴√ x+ √ y+ √ z=√
a 2 + b2 + c 2 a 2 + b2 + c 2 a 2 + b2 + c 2 a 2 + b2 + c 2
which is the equation of the plane in the normal form
ax + by + cz + d
√ =0
a 2 + b2 + c 2
∴ Perpendicular distance of (x1 , y1 , z1 ) from the plane is
ax1 + by1 + cz1 + d
p=± √ .
a 2 + b2 + c 2
28 Plane
Remark:
Distance of a point from a plane means perpendicular distance (if any other
condition is not specified).
29) Find the distance of the point (1, 1, 4) from the plane 3x − 6y+
2z + 11 = 0.
Sol. The perpendicular distance of the point (1, 1, 4) from the plane
3x − 6y + 2z + 11 = 0 is given by
ax1 + by1 + cz1 + d
p=± √
a 2 + b2 + c 2
3(1) − 6(1) + 2(4) + 11 16
∴p= = 7 .
(3)2 + (−6)2 + (2)2
Remark:
1) Of these two bisecting planes, one bisects the acute and the other the
obtuse angle between the planes.
2) The bisector of the acute angle makes with either of the planes an angle
which is less than 45 and the bisector of the obtuse angle makes with
either of them an angle which is greater than 45.
31) Determine whether the origin lies inside the acute or obtuse angle formed
by the planes x − 2y + 3z − 5 = 0 and 2x − y − z + 3 = 0.
Sol. Rewriting the equations of planes to make constant terms positive, we
get
−x + 2y − 3z + 5 = 0 and 2x − y − z + 3 = 0
∴ a1 a2 + b1 b2 + c1 c2 = (−1) (2) + (2) (−1) + (−3) (−1) = −1 < 0.
∴ The origin lies in the acute angle between two given planes.
32) Show that the plane 14x − 8y + 13 = 0 bisects the obtuse angle between
the planes 3x + 4y − 5z + 1 = 0 and 5x + 12y − 13z = 0.
30 Plane
√ √
∴ tan φ = sec2 θ − 1 = 130 − 1 =
129 > 1
π
∴Φ> .
4
∴ The angle between the two planes 3x + 4y − 5z + 1 = 0 and
14x − 8y + 13 = 0 is greater than 45◦ .
∴ The bisecting plane 14x − 8y + 13 = 0 is the bisector of the obtuse
angle between the given planes.
33) Show that the origin lies in the acute angle between the planes
x + 2y + 2z = 9 and 4x − 3y + 12z + 13 = 0. Find the planes bisecting the
angles between them and point out which bisects the acute angle.
Sol. Rewriting the given equation of the plane
−x − 2y − 2z + 9 = 0 and 4x − 3y + 12z + 13 = 0.
−x − 2y − 2z + 9 4x − 3y + 12z + 13
∴ =±
3 13
1.17 Pair of Planes 31
√
68 2 903
tan φ = sec2 φ
−1= −1= <1
61 61
π
∴Φ< .
4
∴ The bisecting plane 25x + 17y + 62z − 78 = 0 is the bisector of the acute
angle.
∴ The origin lies in the acute angle.
P1 : ax + by + cz + d = 0,
and
P2 : a1 x + b1 y + c1 z + d1 = 0
then any point on P1 = 0 or P2 = 0 will also satisfy P1 P2 = 0.
∴ P1 P2 = 0 is the equation of a pair of planes representing two planes
P1 = 0 and P2 = 0.
i.e., (ax + by + cz + d) (a1 x + b1 y + c1 z + d1 ) = 0
Let point (x1 , y1 , z1 ) lie on P1 .
⇒ a 1 x 1 + b 1 y 1 + c 1 z1 + d 1 = 0
32 Plane
⇒ abc + 2f gh − af 2 − bg 2 − ch2 = 0
which is the required sufficient condition.
i.e., If the equation ax2 + by 2 + cz 2 + 2f yz + 2gzx + 2hxy = 0 represents
two planes, we have the condition
abc + 2f gh − af 2 − by 2 − ch2 = 0.
Let abc + 2f gh − af 2 − bg 2 − ch2 = 0 holds.
Now, the given equation can be expressed in terms of x as
2 f 2 + g 2 + h2 − ab − bc − ca
=± .
a+b+c
Remark:
1) If the two planes are orthogonal; i.e., right-angled to each other then
θ = 90 or cos θ = 0 or a + b + c = 0.
2) If θ = 0 or 180, tan θ = 0 then f 2 + g 2 + h2 = ab + bc + ca, and then
the two planes are parallel.
34 Plane
3) The projection of a straight line on a given plane is the locus of the feet
of the perpendiculars drawn from points on the line on the plane.
Remarks:
36) Find the areas of the triangles whose vertices are the points
(a, 0, 0) , (0, b, 0) , (0, 0, c).
Sol. The vertices of the projection of the triangle on the XY plane are
(a, 0, 0), (0, b, 0), and (0, 0, c).
a 0 1
1 1
= (ab)
Ax = 0 b 1 2
2 0 0 1
36 Plane
Similarly,
a 0 1
1 1
Ay = 0 0 1 = (−ac)
2 0 c 1 2
0 0 1
1 1
Az = b 0 1 = (bc) .
2 0 c 1 2
∴ The area of the triangle is given by
1
A= Ax2 + Ay 2 + Az 2 = a 2 b2 + a 2 c 2 + b2 c 2 .
2
1.19 Volume of a Tetrahedron
To find the volume of a tetrahedron when four vertices (x1 , y1 , z1 ) ,
(x2 , y2 , z2 ) , (x3 , y3 , z3 ) and (x4 , y4 , z4 ) are known.
Let ABCD be a tetrahedron joining the points A (x1 , y1 , z1 ),
B (x2 , y2 , z2 ), C (x3 , y3 , z3 ) and D (x4 , y4 , z4 ) then the volume of the
tetrahedron is given by
V = 13 .AN ΔBCD
= 13 p.Δ
−D 3
∴ V = 6D1 D 2 D3 D4
D3
∴ V = 6D1 D2 D3 D4 .
To find the volume of the tetrahedron when the equations of four faces are
given.
Let the equations of form faces be given by
a1 x + b1 y + c1 z + d1 = 0, (1.71)
a2 x + b2 y + c2 z + d2 = 0, (1.72)
a3 x + b3 y + c3 z + d3 = 0, (1.73)
a4 x + b4 y + c4 z + d4 = 0. (1.74)
a 1 b1 c 1 d 1
a 2 b2 c 2 d 2
Let D =
a 3 b3 c 3 d 3
a 4 b4 c 4 d 4
Solving three Equations of (1.71) to (1.74) in turns, we get the four
vertices
Let us solve the Equations (1.72), (1.73), and (1.74) to get one vertex.
∴ By Cramer’s law,
x y z −1
(1)
= (2)
= (3)
=
D1 D1 D1 D1
a 2 b2 c 2
where D1 = − a3 b3 c3 = cofactor of d1 in D
a 4 b4 c 4
d 2 b2 c 2 b 2 c 2 d 2
D1 (1) = d3 b3 c3 = b3 c3 d3 = A1
d 4 b4 c 4 b4 c 4 d 4
a2 d2 c 2 a 2 c 2 d2
D1 (2) = a3 d3 c3 = − a3 c3 d3 = B1
a4 d4 c 4 a 4 c 4 d4
1.19 Volume of a Tetrahedron 39
a 2 b2 d 2
D1 (3) = a3 b3 d3 = C1
a 4 b4 d 4
−A1 −B1 −C1
∴x= ;y = ;z =
D1 D1 D1
where Ai , Bi , Ci , Di are cofactors of ai , bi , ci , di respectively
in D.
−A1 −B1 −C1
∴ Coordinates of the corresponding vertex will be D1 , D1 , D1 .
Similarly, the coordinates of the other vertices will be −A 2 −B2 −C2
, , ;
D2 D2 D2
−A3 −B3 −C3
D3 , D3 , D3 and −A 4 −B4 −C4
D4 , D4 , D4
∴ The volume of the tetrahedron will be
−A1 −B1 −C1 1 A1 B 1 C 1 D1
D1 D1 D1
−A −B −C
2
1 D2 D2 D2
2 2
1 −1 A B C D 2
2 2 2
.
V = −A −B −C =
6 D 3 D 3 D 3 1 6D1 D2 D3 D4 A3 B3 C3 D3
3 3 3
−A4 −B4 −C4 A4 B 4 C 4 D 4
D4 D4 D4 1
Given,
abc
= k 3 ⇒ abc = 6k 3 . (1.76)
6
Let (α, β, γ) be the coordinates of the foot of the perpendicular from the
origin then
α β γ
+ + =1 (1.77)
a b c
α−0 β−0 γ−0
and 1 = 1 = 1 =λ
a b c
i.e., aα = bβ = cγ = λ
λ λ λ
∴a= ; b = and c = (1.78)
α β γ
By Equation (1.77);
1 2
α + β2 + γ2 = 1
λ
i.e., α2 + β 2 + γ 2 = λ (1.79)
By Equations (1.78) and (1.79), we get
(α2 +β 2 +γ 2 ) (α2 +β 2 +γ 2 ) (α2 +β 2 +γ 2 )
a= α ;b= β and c = γ
∴ Equation (1.76) becomes;
2 3
α + β2 + γ2
= 6k 3
αβγ
3
∴ α2 + β 2 + γ 2 = 6k 3 αβγ
1.19 Volume of a Tetrahedron 41
1) Find the equation of the plane through the points (2, 3, −4), (1, −1, 3)
and parallel to the x-axis.
Answer: 7y + 4z = 5
2) Find the equation of the plane passing the point (−2, 4, 5) and parallel
to the YZ plane.
Answer: x + 2 = 0
3) Find the equation of the plane passing through the points (0,1,1),
(2, 0, −3) and (3, −2, 0).
Answer: 11x + 10y + 3z = 13
4) Find the equation of the plane which passes through (−1, 1, 1) and
(1, −1, 1) and is perpendicular to the plane x + 2y + 2z = 5.
Answer: 2x + 2y − 3z + 3 = 0
5) A variable plane is at a constant distance P from the origin and meets
the co-ordinate axes in A, B, C. Show that the locus of the centroid of
the tetrahedron OABC is x12 + y12 + z12 = 16
p2
.
7) Show that the points (0, −1, −1), (4,5,1), (3,9,4) and (−4, 4, 4) lie on a
plane.
8) Prove that the line joining the points (2, 2, −1), (3,4,2) intersects the line
joining the points (7,0,6), (2,5,1).
11) Show that the four points (0,4,3), (−1, −5, −3), (−2, −2, 1) and
(1, 1, −1) are coplanar.
12) A plane passes through a fixed point (p, q, r) and cuts the axes of
coordinates in A, B, C respectively. Show that the locus of the center
of sphere OABC is xp + yq + zr = 2.
13) Show that the bisector of the obtuse angle between the planes 2x + y −
2z = 4 and 2x − 3y + 6z + 2 = 0 is 10x − y + 2z − 11 = 0.
14) Find the volume of the tetrahedron whose vertices are (0,1,2), (1,0,2),
(1,2,0) and (1,2,1).
Answer: − 13
15) Find whether the two points (2, 3, −5) and (3,4,7) lie on the same side
or opposite sides of the plane x + 2y − 2z − 9 = 0.
Answer: Opposite side
16) Find the plane that bisects the acute angle between the planes 2x − y +
2z + 3 = 0 and 3x − 2y + 6z + 8 = 0.
Answer: 23x − 13y + 32z + 45 = 0
17) Find the angle that the plane x + 8y − 6z + 16 = 0 makes with the
coordinate planes.
1 3 6
Answer: cos−1 √101 , cos−1 √101 , cos−1 √101
44 Plane
21) Show that the equation 6x2 + 4y 2 − 10z 2 + 3yz + 4zx − 11xy = 0
represents a pair of planes. Find the angle between them.
Answer: 90◦
22) Find the area of the triangle whose vertices are (1,2,3), (−2, 1, −4),
(3, 4, −2).
√
1218
Answer: 2
23) Find the volume of the tetrahedron whose vertices are (1,0,0), (0,0,1),
(0,0,2) and (1,2,3).
1
Answer: 3
2
Straight Line
a 1 x + b1 y + c 1 z + d 1 = 0
a1 b1 c1
and a2 x + b2 y + c2 z + d2 = 0; provided = = .
a2 b2 c2
Remark:
1) A straight line is also called a right line.
2) The x axis is the intersection of the XZ and XY planes, y = 0 and
z = 0 taken together are its equation. Similarly, x = 0, z = 0 are the
equations of the y axis, and x = 0, y = 0 are the equations of the z
axis.
45
46 Straight Line
2) (0, 0, 0) is the fixed point on the axes and the respective direction cosines
of the axes are (1, 0, 0) , (0, 1, 0) and (0, 0, 1).
1) Find the equation of the lines joining the points (1, −6, 3), and (0, 2, 8) .
Sol. Let the equations of the lines joining the points A (1, −6, 3) , and
B(0, 2, 8) be
x − x1 y − y1 z − z1
= =
x2 − x1 y2 − y1 z 2 − z1
x−1 y − (−6) z−3
∴ = =
0−1 2 − (−6) 8−3
x−1 y+6 z−3
∴ = = .
−1 8 5
2.3 Equation of a Straight Line Passing through Two Points 47
2) Find the equation of the line through the point (1, 3, 2) and parallel to the
x−5 y+4 z−1
3 = −2 = 4 .
Sol. The straight line parallel to
x−5 y+4 z−1
= = (2.2)
3 −2 4
is given by
x − x1 y − y1 z − z1
= = .
3 −2 4
It passes through the point (1, 3, 2)
x−1 y−3 z−2
∴ = =
3 −2 4
is the required equation of the straight line.
3) Find the equation of a straight line through the point (8, 9, −10) and
y−3 y−2
perpendicular of the two lines x−2 z+4 x+1
3 = 2 = 4 and 5 = −6 = 2 .
z+3
Sol. Let the equation of the line through the point (8, 9, −10) be
x−8 y−9 z + 10
= = . (2.3)
l m n
The line (2.3) is perpendicular to the lines
x−2 y−3 z+4 x+1 y−2 z+3
= = and = =
3 2 4 5 −6 2
∴ 3l + 2m + 4n = 0 and 5l − 6m + 2n = 0
l m n
∴ = =
4 + 24 20 − 6 −18 − 10
l m n
⇒ = =
28 14 −28
l m n
⇒ = =
2 1 −2
y−9
∴ The required equation of the line is x−8
2 = 1 = z+10
−2 .
x−1 y+6
4) Find the equation of the plane containing the straight line 3 = 4 =
z+1 x−2 y−1 z+4
2 and parallel to the straight line 2 = −3 = 5 .
48 Straight Line
y+6
Sol. Let the equation of the plane containing the line x−1
3 = 4 = z+1
2 be
given by
a (x − 1) + b (y + 6) + c (z + 1) = 0 (2.4)
where
3a + 4b + 2c = 0. (2.5)
Since the plane (2.4) is parallel to the line
x−2 y−1 z+4
= =
2 −3 5
⇒ 2a − 3b + 5c = 0 (2.6)
a b c
By solving Equations (2.5) and (2.6), we get 26 = −11 = −17
Substituting the values of a, b, and c in Equation (2.4), we get
26 (x − 1) − 11 (y + 6) − 17 (z + 1) = 0
∴ 26x − 11y − 17z = 109.
5) Find the equation of the straight line passing through the point (−1, 1, −3)
y+1
and perpendicular to the straight line x−3
−2 = 3 = −4 .
z−2
−2r + 3 + 1; 3r − 1 − 1; −4r + 2 + 3
a1 x + b1 y + c1 z + d1 = 0, (2.8)
a2 x + b2 y + c2 z + d2 = 0. (2.9)
To transform these equations to the symmetrical form we require
1) The direction ratios of the line and
2) The coordinates of any one point on it.
If (l, m, n) be the direction cosines of the line, since this line is perpendicular
to both the normals to the planes (2.8) and (2.9), we get
a 1 l + b1 m + c 1 n = 0
a 2 l + b2 m + c 2 n = 0
l m n
⇒ = = .
b 1 c 2 − b2 c 1 c 1 a2 − c 2 a1 a 1 b2 − a 2 b1
Now we require the coordinates of any one point on the line and there is an
infinite number of points from which we can choose.
Let us find the point of intersection of the line with the plane z = 0.
Since this point lies on the planes (2.8) and (2.9), we get
a1 x + b1 y + d1 = 0 and a2 x + b2 y + d2 = 0
50 Straight Line
x y 1
∴ = = .
b1 d 2 − b2 d 1 d1 a2 − d2 a 1 a 1 b2 − a 2 b1
∴ The coordinates of any fixed point on the line are ab11db22 −b 2 d1 d1 a2 −d2 a1
,
−a2 b1 a1 b2 −a2 b1 , 0 .
∴ The equation of the straight line in symmetrical form is
b1 d2 −b2 d1 d1 a2 −d2 a1
x− a1 b2 −a2 b1 y− a1 b2 −a2 b1 z−0
= = . (2.10)
b1 c 2 − b 2 c 1 c 1 a2 − c 2 a1 a 1 b2 − a 2 b1
Conversely, if the equation of any line be given in symmetric form
as x−a
l = y−bm = z−cn then simplifying the first and second ratios,
we get mx − ma = ly − lb
i.e., mx − ly = ma − lb (2.11)
i.e., ny − mz = nb − mc (2.12)
Equations (2.11) and (2.12) combinedly denotes the equation of the above
line in plane form.
6) Find a symmetrical form of the equations of the line x + y + z + 4 = 0;
2x + 3y + 4z + 10 = 0.
Sol. Let l, m, n be the direction ratios of the line
∴ l + m + n = 0 and 2l + 3m + 4n = 0
l m n
i.e., (1)(4)−(3)(1) = (1)(2)−(4)(1) = (1)(3)−(2)(1)
i.e., 1l = −2
m
= n1
Let the line meets the XY plane at (α, β, 0) then we get α + β + 4 = 0
and 2α + 3β + 10 = 0.
∴ α = −2 and β = −2
y+2
∴ The equation of the line in symmetric form is x+2
1 = −2 = 1 .
z
l m n
∴ = = .
1 2 1
2.4 Transformation from the Unsymmetrical to the Symmetrical Form 51
Let the line meets the XY plane at (α, β, 0) then we get α − 2β = 4 and
2α − 3β = 5.
∴ α = −2 and β = −3
y+3
∴ The equation of the line in symmetric form is x+2 z−0
1 = 2 = 1 .
8) Find the equations of the line through the point (1, 2, 4) parallel to the line
3x + 2y − z = 4 and x − 2y − 2z = 5 .
Sol. Let l, m, n be the direction ratios of the line 3l + 2m − n = 4 and
l − 2m − 2n = 5.
l m n
∴ = =
(2) (−2) − (−2) (−1) (−1) (1) − (−2) (3) (3) (−2) − (1) (2)
l m n
⇒ = =
−6 5 −8
y−2
∴ The equation of the line in symmetrical form is x−1
−6 = 5 = z−4
−8 .
9) Find the angle between the lines x − 4y + 3z = 0 = 3x + 2y + 2z and
2x + y − z = 0 = 2x − y − 2z.
Sol. The given lines are
x − 4y + 3z = 0
, (2.13)
3x + 2y + 2z = 0
and
2x + y − z = 0
. (2.14)
2x − y − 2z = 0
Let l, m, n be the direction ratios of the line (2.13), then l − 4m + 3n = 0
and 3l + 2m + 2n = 0.
l m n
∴ = =
(−4) (2) − (3) (2) (3) (3) − (2) (1) (2) (1) − (3) (−4)
l m n
∴ = =
−14 7 14
l m n
∴ = =
−2 1 2
∴ Direction ratios of line (2.13) are −2, 1, 2.
Similarly, direction ratios of the line (2.14) are −3, −2, −4.
52 Straight Line
l2 m2 n2
∴ = =
18 9 27
l2 m2 n2
∴ = = .
2 1 3
Let θ be the angle between the two lines then
l1 l2 + m1 m2 + n1 n2
cos θ =
l12 + m21 + n21 l22 + m22 + n22
2.5 Angle between a Line and a Plane 53
l1 l2 + m1 m2 + n1 n2 = 0
∴ aa1 + cc1 + 1 = 0.
x+1 y z−3
11) Find the angle between the line 2 = 3 = 6 and the plane 3x + y +
z = 7.
Sol. The equation of the line and the plane are given by
x+1 y z−3
2 = 3 = 6 and 3x + y + z = 7.
Here (2) (3) + (3) (1) + (6) (1) = 15 = 0.
∴ The line is not parallel to the plane.
Also, 23 = 31 = 61
So, the line is not normal to the plane.
The angle between the line and the plane is given by
sinθ = √ al+bm+cn
√
a2 +b2 +c2 l2 +m2 +n2
= 2(3)+(3)(1)+(6)(1)
√ √
4+9+36 9+1+1
15
∴ sinθ = 7√11
15
∴ θ = sin−1 7√ 11
.
Substituting the value of k in (2.21) we get the coordinates of that point where
the line meets the plane.
Remark:
If the line (2.19) is parallel to the plane (2.20) then al + bm + cn = 0 and
hence, we get no finite value of k. So, there are infinite points of intersection.
(x−2) y−3 z−4
12) Show that the 3 = 4 = 5 is parallel to the plane 2x+y−2z = 3.
Sol. Here l = 3, m = 4, n = 5 and a = 2, b = 1, c = −2
al + bm + cn = (2) (3) + (1) (4) + 5 (−2) = 0.
y−3
∴ The line x−2
3 = 4 = z−4
5 is parallel to the plane 2x + y − 2z = 3.
13) Find the equations of the line through the point (−2, 3, 4) and parallel to
the planes 2x + 3y + 4z = 5 and 3x + 4y + 5z = 6.
Sol. Let l, m, n be the direction ratios of the planes
2l + 3m + 4n = 0 and 3l + 4m + 5n = 0
l m n
∴ = =
(3) (5) − (4) (4) (4) (3) − (5) (2) (2) (4) − (3) (3)
l m n
=∴ =
−1 2 −1
l m n
∴ = =
1 −2 1
∴ Required equations of the line pass through the point (−2, 3, 4) and parallel
y−3
to the planes is given by x+2
1 = −2 = 1 .
z−4
Corollary:
The general equation of a plane containing the line
x − x1 y − y1 z − z1
= = (2.24)
l m n
is A (x − x1 ) + B (y − y1 ) + C (z − z1 ) = 0 where
Al + Bm + Cn = 0 (2.25)
will be coplanar is
x 2 − x 1 y 2 − y 1 z2 − z 1
l1 m1 n1 = 0. (2.28)
l2 m2 n2
Necessary condition:
Let the two given lines be coplanar and the equation of any plane containing
the line (2.26) is
A (x − x1 ) + B (y − y1 ) + c (z − z1 ) = 0 (2.29)
Two lines will be coplanar if the three linear homogeneous Equations (2.30),
(2.31), (2.32) in A, B, C are consistent so that
x2 − x1 y 2 − y1 z2 − z1
l1 m1 n1 = 0
l2 m2 n2
Sufficient condition:
Two lines are coplanar if and if they intersect or are parallel.
Let us first consider the case of intersection.
The general coordinates of the points on the lines (2.26) and (2.27)
respectively for all values of k1 and k2 is given by
(l1 k1 + x1 , m1 k1 + y1 , n1 k1 + z1 ) ,
and
(l2 k2 + x2 , m2 k2 + y2 , n2 k2 + z2 ) .
The lines (2.26) and (2.27) intersect so these points should coincide for
the same values of k1 and k2 , we get
(x1 − x2 ) + l1 k1 − l2 k2 = 0
(y1 − y2 ) + m1 k1 − m2 k2 = 0
(z1 − z2 ) + n1 k1 − n2 k2 = 0
x 1 − x 2 l1 l
2
⇔ y1 − y2 m1 m2 = 0
z1 − z 2 n 1 n 2
x2 − x1 y 2 − y1 z 2 − z1
⇔ l1 m1 n1 = 0.
l2 m2 n2
which represents the plane.
∴ The lines (2.26) and (2.27) are coplanar.
This condition is satisfied if lines are parallel.
Remark:
1) In general, the equation
x − x1 y − y1 z − z1
l1 m1 n1 = 0
l2 m2 n2
represents the plane that passes through the line (2.26) and is parallel to the
line (2.27), and the equation.
x − x 2 y − y 2 z − z2
l1 m n =0
1 1
l2 m2 n2
2.8 Condition of Coplanarity of Two Straight Lines 59
represents the plane that passes through the line (2.27) and is parallel to the
line (2.26).
In case the lines are coplanar then the point (x2 , y2 , z2 ) lies on the first
plane and the point (x1 , y1 , z1 ) on the second. Moreover, these two equations
are then identical.
∴ The plane containing two coplanar lines is the one that passes through
one line and is parallel to the other or through one line and any point on the
other.
2) Two lines will intersect if and if, there exists a point whose coordinates
satisfy the four equations, two of each line so that for intersection, we require
that the four linear equations in three unknowns should be consistent.
3) The condition for the lines whose equations, given in the unsymmetrical
form are
a 1 x + b1 y + c 1 z + d 1 = 0 = a 2 x + b2 y + c 2 z + d 2
and a3 x + b3 y + c3 z + d3 = 0 = a4 x + b4 y + c4 z + d4
to intersect
is the condition
for the consistency of these four equations.
a 1 b1 c 1 d 1
a 2 b2 c 2 d 2
i.e., = 0.
a 3 b3 c 3 d 3
a 4 b4 c 4 d 4
x+2 y+3 z−4
14) Find the equation of the plane containing the line 2 = 3 = −2 and
the point (0, 6, 0).
Sol. The general equation of the plane containing the given line
x+2 y+3 z−4
2 = 3 = −2 is
A (x + 2) + B (y + 3) + C (z − 4) = 0 (2.33)
2A + 9B − 4C = 0 (2.35)
60 Straight Line
(i) al + bm + cn = 0.
(ii) One point (−1, −2, −5) on the line lies on the plane.
Find the coordinates of the point of intersection and the equation to the plane
containing them.
Sol. The given lines are
x+1 y−3 z+2
= = = k, (2.56)
−3 2 1
64 Straight Line
and
x y−7 z−7
= = . (2.57)
1 −3 2
Any point on the line (2.56) is given by
(−3k − 1, 2k + 3, k − 2) (2.58)
9k + 3 = 2k − 4 ⇒ k = −1.
∴ (x + 1) (4 + 3) − (y − 3) (−6 − 1) + (z + 2) (+9 − 2) = 0
∴ 7x + 7y + 7z = 0
∴x+y+z =0
is the required equation of the plane containing the given two lines.
22) Prove that the two lines x = az+b, y = cz+d and x = αz+β, y = γz+δ
intersect if (β − b) (γ − c) = (δ − d) (α − a).
Sol. The first line is x = az + b, y = cz + d
x−b y−d
⇒ = z and =z
a c
2.8 Condition of Coplanarity of Two Straight Lines 65
x−b y−d
⇒ = = z. (2.60)
a c
The given second line is x = αz + β, y = γz + δ
x−β y−δ
⇒ = z, =z
α γ
x−β y−δ
⇒ = = z. (2.61)
α γ
The equation of the plane through the line (2.60) and parallel to (2.61) is
given by
x−b y−d z
α γ 1 = 0. (2.62)
a c 1
The two lines will be coplanar if the point (β, δ, 0) on the second line lies on
the plane (2.62).
∴ The required condition is
β−b δ−d 0
α γ 1 =0
a c 1
∴ (β − b) (γ − c) − (δ − d) (α − a) = 0.
y+1
1 = 2 = 3 and x + 2y + 3z − 8 = 0 =
23) Prove that the lines x+1 z+1
1) The point (−1, −1, −1) on the line (2.63) lies on this plane.
2) al + bm + cn = 0.
Now the point (−1, −1, −1) lies on the plane (2.63) if
−1 − 2 − 3 − 8 + k (−2 − 3 − 4 − 11) = 0
−7
∴k= .
10
Substituting the value of k in (2.65), we get
7
x + 2y + 3z − 8 − (2x + 3y + 4z − 11) = 0
10
∴ 10x + 20y + 30z − 80 − 14x − 21y − 28z + 77 = 0
∴ −4x − y + 2z − 3 = 0
∴ 4x + y − 22 + 3 = 0.
Now, al + bm + cn = 4 (1) + 1 (2) + (−2) (3) = 0.
∴ The two lines are coplanar and the equation of the plane in which they
lie is 4x + y − 2z + 3 = 0.
The two lines (2.63) and (2.64) will intersect at a point where the line
(2.63) meets one of the planes of the second line.
Now any point on the first line is
(r − 1, 2r − 1, 3r − 1) (2.66)
r − 1 + 2 (2r − 1) + 3 (3r − 1) − 8 = 0
∴ r = 1.
∴ Substituting the value of r in (2.66), we get (0, 1, 2) as the point of
intersection of two lines.
24) A, A1 , B, B 1 , C, C 1 are points on the axes, shows that the lines of
intersection of the plane A1 BC, AB 1 C 1 , B 1 CA, BC 1 A1 , C 1 AB, CA1 B
are coplanar.
Sol. Let A (a, 0, 0) , A1 a1 , 0, 0 , B (0, b, 0) , B 1 0, b1 , 0 , C (0, 0, c) and
C 1 (0, 0, c1 ) be the given point.
2.8 Condition of Coplanarity of Two Straight Lines 67
Now to prove that the two lines (2.70) and (2.71) are coplanar we reduce the
line (2.70) in symmetrical form.
To find direction ratios of the line (2.70), we omit constant,
i.e., x + 2y − z = 0
3x − y + 2z = 0
x y z
∴ = =
(4 − 1) (−3 − 2) (−1 − 6)
68 Straight Line
x y z
∴ = =
3 −5 −7
∴ The direction ratios of the line are 3, −5, −7.
For one point on the line (2.70), Let z = 0 in (2.70), we get
x − 2y − 3 = 0
3x − y − 1 = 0
y 1
∴ x
−5 = −8 = −7
∴x = 57 , y = 87 , z =
0
5
∴ One point on the line (2.70) is 7 , 87 , 0
Hence the equations of the line (2.70) in the symmetrical form are
5
x− 7 y − 87 z−0
= = . (2.72)
3 −5 −7
Now any plane through the line (2.71) is
2x − 2y + 3z − 2 + k (x − y + z + 1) = 0. (2.73)
This plane contains the line (2.72) if
(i) al + bm + cn = 0
(ii) One point 57 , 87 , 0 on the line (2.72) line on this plane.
Now coefficients x, y, z in the plane (2.73) are 2 + k, −2 − k, 3 + k
and direction ratios of the line (2.73) are 3, −5, −7.
∴ al + bm + cn = 0 gives
3 (2 + k) + (−5) (−2 − k) + (−7) (3 + k) = 0
∴k−5=0
∴ k = 5.
Substituting k = 5 in (2.73), we get
2x − 2y + 3z − 2 + 5 (x − y + z + 1) = 0
∴ 7x − 7y + 8z + 3 = 0. (2.74)
5 8
The point lies on (2.74) if 5 − 8 + 0 + 3 = 0
7, 7, 0
or 0 = 0 which is true.
∴ The two lines are coplanar and they lie in the plane 7x−7y+8z+3 = 0.
2.9 Skew Lines and the Shortest Distance between Two Lines 69
Skew lines:
Two straight lines are said to be skewed if they are neither parallel nor
intersecting.
i.e., the lines which do not lie in a plane.
Shortest distance between two lines:
To show that the length of the line intercepted between two lines which are
perpendicular to both is the shortest distance between them.
Let AB and CD be two skew lines given by
x − x1 y − y1 z − z1
= = (2.75)
l1 m1 n1
and
x − x2 y − y2 z − z1
= = . (2.76)
l2 m2 n2
Let LK be the line of shortest distance. If (l, m, n) be the direction of
LK then LK is perpendicular to both AB and CD so,
m1 n 2 − m 2 n 1 n1 l 2 − n2 l 1
⇒l= , m=
2
(m1 n2 − m2 n1 ) (m1 n2 − m2 n1 )2
l1 m2 − l2 m1
and n = . (2.77)
(m1 n2 − m2 n1 )2
and that of the plane containing the coplanar lines LK and AB will be
x − x2 y − y2 z − z2
l2 m2 n2 = 0. (2.79)
l m n
Since LK is the line of intersection of the planes (2.78) and (2.79), so the
equation of the line of shortest distance will be
x − x1 y − y1 z − z1 x − x2 y − y2 z − z2
l1 m1 n1 = 0 = l2 m2 n2
l m n l m n
Corollary:
If the lines (2.75) and (2.76) are coplanar, then the length of the shortest
distance is zero.
∴ The condition (2.77) becomes
x 2 − x 1 y 2 − y 1 z 2 − z1
l1 m1 n1 = 0.
l2 m2 n2
Alternative Method:
We now find the length of shortest distance and the equation of shortest
distance in another way which is very useful to solve numerical problems.
Let the equations of two skew lines AB and CD be
x − x1 y − y1 z − z1
= = = (k1 ) (2.80)
l1 m1 n1
and
x − x2 y − y2 z − z2
= = = (k2 ) (2.81)
l2 m2 n2
Let LK be the line of shortest distance. Now the coordinates
of L and K may be taken as (x1 + l1 k1 , y1 + m1 k1 , z1 + n1 k1 ), and
(x2 + l2 k2 , y2 + m2 k2 , z2 + n2 k2 ) respectively.
∴ The direction ratios of LK will be (x2 + l2 k2 − x1 − l1 k1 ,
y2 + m2 k2 − y1 − m1 k1 , z2 + m2 k2 − z1 − m1 k1 ).
Now since LK is perpendicular to both (2.80) and (2.81), we get
l1 (x2 + l2 k2 − x1 − l1 k1 ) + m1 (y2 + m2 k2 − y1 − m1 k1 ) +
(2.82)
n1 (z2 + m2 k2 − z1 − m1 k1 ) = 0
72 Straight Line
and
l2 (x2 + l2 k2 − x1 − l1 k1 ) + m2 (y2 + m2 k2 − y1 − m1 k1 ) +
(2.83)
n2 (z2 + m2 k2 − z1 − m1 k1 ) = 0.
Solving (2.82) and (2.83), we get the values of k1 and k2 .
Substituting k1 and k2 we get coordinates of L and K. Let coordinates of
L and K be (α1 , β1 , γ1 ) and (α2 , β2 , γ2 ) respectively then
LK = Length of the shortest distance
y = xtan α , z = c (2.86)
and
y = −xtan α , z = −c. (2.87)
Let us assume m = tan α, so Equations (2.86) and (2.87) becomes
y = mx, z = c (2.88)
and
y = −mx, z = −c. (2.89)
Equations (2.88) and (2.89) can also be expressed in compact form as
y = ±mx, z = ±c.
Remark:
In parametric form, any point on (2.86) and (2.87) can be written as
(k, tan α , c) and (k1 , −k1 tan α , −c).
74 Straight Line
Alternative Methods:
We can also determine the length and equations of the shortest distance
between two given lines by the following methods:
x − x1 y − y1 z − z1
= =
l1 m1 n1
x − x2 y − y2 z − z2
= = .
l2 m2 n2
I) Method of Intersection:
The general coordinates of points on the two lines are
1) If only the shortest distance and its equations are required and the two
given lines are in the symmetrical form then the method of projection
should be used.
3) If one or both the lines are given in the general form and only the length
of the shortest distance is required then the method of the parallel plane
should be preferred.
26) Find the length and the equation of the shortest distance between the lines
x−3 y+15 z−9 x+1 y−1 z−9
2 = −7 = 5 ; 2 = 1 = −3 .
Sol. The given lines are
x−3 y + 15 z−9
= = , (2.91)
2 −7 5
and
x+1 y−1 z−9
= = . (2.92)
2 1 −3
Let A (3, −15, 9) , and C (−1, 1, 9) be the points on the line (2.91) and (2.92)
Let l, m, n be the direction cosines of the shortest distance, then since the
shortest distance is perpendicular to both the lines (2.91) and (2.92), we get
2l − 7m + 5n = 02l + m − 3n = 0
l m n
∴ = =
21 − 5 +10 + 6 16
l m n
∴ = =
16 16 16
∴ l = m = n.
∴ The direction ratios of the shortest distance are 1, 1, 1.
76 Straight Line
27) Find the length and equations of the line of the shortest distance between
y−6 y
the lines x+3 z x+2
−4 = 3 = 2 ; −4 = 1 = 1 .
z−7
Let A (−3, 6, 0) and C (−2, 0, 7) be the points on the line (2.95) and (2.96).
Let l, m, n be the direction cosines of the shortest distance; then since the
shortest distance is perpendicular to both the lines (2.95) and (2.96), we get
−4l + 3m + 2n = 0
−4l + m + n = 0
l m n
∴ = =
3−2 −8 + 4 −4 + 2
l m n
∴ = = .
1 −4 8
∴ The direction ratios of the shortest distance
1 −4are 1, −4, 8.
8
∴ The direction cosine’s of P Q are 9 , 9 , 9 .
∴ The length of shortest distance = 19 (−2 + 3) − 49 (0 − 6) + 89 (7 − 0)
1 24 56 81
= + + = = 9.
9 9 9 9
The line of shortest distance is the line of intersection of the planes through
(2.95) and shortest distance and the plane through (2.96) and the shortest
distance.
∴ Equation of the plane through (2.95) and the shortest distance is
x−3 y−6 z
−4 3 2 = 0.
1 −4 8
(x + 2) (8 + 4) − y (−32 − 1) + (z − 7) (16 − 1) = 0
∴ 12x + 33y + 15z − 81 = 0. (2.98)
Equations (2.97) and (2.98) are required equations of the line of the shortest
distance.
78 Straight Line
28) Find the magnitude and equation of the line of the shortest distance
between the lines x4 = y+1
3 = 2 and 5x − 2y − 3z + 60 = x − 3y + 2z − 3.
z−2
5x − 2y − 3z + 6 + k(x − 3y + 2z − 3) = 0
20 + 4k − 6 − 9k − 6 + 4k = 0
−k + 8 = 0
∴ k = 8.
∴ Equation (2.101) becomes,
13 (5 + k) + 26 (2 + k) + 13 (−3 + 2k) = 0,
−2
∴k= .
3
∴ Equation (2.101) becomes,
ax + by + cz + d = 0 and a1 x + b1 y + c1 z + d1 = 0. (2.105)
i.e.,
a + ka1 x + b + kb1 y + c + kc1 z + d + kd1 = 0. (2.106)
dc1 − cd1
= .
(ac1 − ca1 )2 + (bc1 − b1 c)2
80 Straight Line
a1 x + b1 y + c1 z + d1 = 0, (2.107)
a2 x + b2 y + c2 z + d2 = 0, (2.108)
a3 x + b3 y + c3 z + d3 = 0. (2.109)
There are three cases in respect to the intersection of planes:
Three planes are said to form a triangular prism if the three lines of
intersection of the three planes, taken in pairs, are distinct and parallel.
To find the line of intersection of (2.107) and (2.108) in the symmetrical
form
a1 x + b1 y + c1 z = 0; a2 x + b2 y + c2 z = 0
x y z
∴ = =
b1 c 2 − b2 c 1 c1 a2 − a1 c2 a 1 b2 − a 2 b1
∴ The direction ratios of the line of intersection of (2.107) and (2.108) are
b1 c 2 − b2 c 1 , c 1 a 2 − a 1 c 2 , a 1 b2 − a 2 b1 .
Substituting z = 0 in (2.107) and (2.108), we get
a 1 x + b1 y + d 1 = 0
a 2 x + b2 y + d 2 = 0
2.11 Intersection of Three Planes 81
x y 1
∴ = =
b1 d 2 − b2 d 1 a 2 d1 − a1 d2 a 1 b2 − a 2 b1
b 1 d 2 − b2 d 1 a2 d1 − a 1 d2
∴x= ,y = , z = 0.
a 1 b2 − a 2 b1 a 1 b2 − a 2 b1
∴ One point on the line of intersection of (2.107) and (2.108) is
b1 d 2 − b 2 d 1 a 2 d 1 − a 1 d 2
, ,0 .
a 1 b2 − a 2 b1 a 1 b2 − a 2 b1
∴ The equations of the line of intersection of (2.107) and (2.108) in the
symmetrical form are
b1 d2 −b2 d1 a2 d1 −a1 d2
x− a1 b2 −b1 a2 y− a1 b2 −a2 b1 z−0
= = (2.110)
b 1 c 2 − b2 c 1 c1 a2 − a1 c2 a 1 b 2 − a 2 b1
x −y z −1
=∴ = =
1 2 3 4
−1 2 −3
∴x= ,y = , and z = .
4 2 4
If the planes intersect at a point, the coordinates of their point of
intersection are finite.
82 Straight Line
(a) al + bm + cn = 0 and
(b) one point on the line (2.110) should not lie in the plane (2.109).
Now (a) al + bm + cn = 0 if
The Working rule for finding the nature of the intersection of the three
planes:
Let the three planes be
a1 x + b1 y + c1 z + d1 = 0,
a2 x + b2 y + c2 z + d2 = 0,
a3 x + b3 y + c3 z + d3 = 0.
Step I: Write down the coefficients in the equations to get the rectangular
array
a1 b1 c1 d1
= a2 b2 c2 d2 .
a3 b3 c 3 d 3
2x + 3y − z − 2 = 0
84 Straight Line
3x + 3y + z − 4 = 0
x − y + 2z − 5 = 0
2 3 −1
∴ 4 = 3 3 1 = 2 (3 + 1) − 3 (6 − 1) − 1 (−3 − 3) = −1 = 0
1−1 2
∴ The given three planes intersect at a point.
2) The given equation of planes are
4x − 5y − 2z − 2 = 0
5x − 4y + 2z + 2 = 0
2x + 2y + 8z − 1 = 0
4 −5 −2
∴ 4 = 5 − 4 2 = 4 (−32 − 4) + 5 (40 − 4) − 2 (10 + 8)
2 2 8
= −144 + 180 − 36 = 0
4 −5 −2
3 = 5 − 4 2 = 4 (4 − 4) + 5 (−5 − 4) − 2 (10 + 8) = 0
2 2 8
Since 4 = 0 and 3 = 0
∴ The three planes form a triangular prism.
1) The given equations of the planes are
5x + 3y + 7z − 4 = 0
3x + 26y + 2z − 9 = 0
7x + 2y + 10z − 5 = 0
5 3 7
∴ 4 = 3 26 2 = 5 (260 − 4) − 3 (30 − 14) + 7 (6 − 182) = 0
7 2 10
5 3 −4
3 = 3 26 − 9 = 5 (−130 + 18) − 3 (−15 + 63) − 4 (6 − 182)
7 2 −5
=0
2.11 Intersection of Three Planes 85
Since 4 = 0 and 3 = 0
∴ The three planes intersect in a line.
31) Show that the planes ax+hy +gz = 0, hx+by +f z = 0, gz +f y +cz =
a h g
0 have a common line of the intersection if = h b f = 0 and the
gf c
l2 2 n2
direction ratios of the line satisfy the equations ∂ = m∂ = ∂ .
∂a ∂b ∂c
ax + hy + gz = 0, (2.111)
hx + by + f z = 0, (2.112)
gx + f y + cz = 0. (2.113)
Let l, m, n be the direction cosines of the line of intersection of the planes
(2.111) and (2.112) then al + hm + gn = 0 and hl + bm + f n = 0.
l m n
⇒ = = . (2.114)
hf − bg gl − af ab − h2
But the three planes pass through a common point (0, 0, 0).
∴ The line of intersection of planes (2.111) and (2.112)
will be in the
plane (2.113) if g (hf − bg) + f (gh − af ) + c ab − h2 = 0
∴ abc + 2f gh − af 2 − bg 2 − ch2 = 0
a h g
= h b f = 0.
gf c
From equation (2.111), we get
l2 m2 n2
= = (2.115)
(hf − bg)2 (gh − af )2 (ab − h2 )2
∴ a2 + b2 + c2 + 2abc = 1 (2.120)
which is the required condition.
2.11 Intersection of Three Planes 87
Exercise:
1) Find the equations of the straight line joining the points (−2, 1, 3) and
(3, 1, −2) .
x+2 y−1 z−3
Answer: 1 = 0 = −1
2) Find the equations of a straight line through the point (3, 1, −6) and
parallel to each of the planes x+y +2z −4 = 0 and 2x−3y +z +5 = 0.
x−3 y−1 z+6
Answer: 7 = 3 = −5
3) Find the equations of the plane through (3, 1, −1) perpendicular to the
line of the planes 3x + 4y + 7z + 4 = 0 and x − y + 2z − 3 = 0.
Answer: 15x + y − 7z − 53 = 0
4) Find the equations of the line through the point (1, 1, 1) and perpendic-
ular to the line x − 2y + z = 2, 4x + 3y − z + 1 = 0.
Answer: x − 5y − 11z + 15 = 0
5) Find the symmetrical form of the line 3x + 2y − z − 5 = 0 = x + y −
2z − 3.
x+1 y−4 z
Answer: −5 = 7 = 1
x y z x y
6) Find the angle between the lines 1 = 0 = −1 and 3 = 4 = z5 .
1
Answer: θ = cos−1 5
9) Show that the equation of the plane which passes through the line x−1
3 =
y+6 y−1
4 = z+1
2 and is parallel to the line x−2
2 = −3 = z+4
5 , is 26x − 11y −
17x − 109 = 0.
10) Find the distance of the point (−1, −5, −10) from the point of
intersection of the line x−2
3 = y+1 4 = z−212 and the plane
x − y + z = 5.
Answer: 13
y+5 y+1
11) Show that the lines x+3 z−7 x+1
2 = 3 = −3 , 4 = 5 =
z+1
−1 are coplanar
and find the equation of the plane containing them.
Answer: 6x − 5y − z = 0
y+1
12) Prove that the lines x−1
2= =−3
z+10
= y+3
x−4
8 ;; 1
z+1
−4 = 7 intersect.
Find also their point of intersection and the plane through them.
Answer: (5, −7, 6) ; ; 11x − 6y − 5z = 67
y−3
13) Show that the plane containing the two parallel lines x − 4 = −4 =
y+2
5 ; ; x − 3 = −4 = 5 is 11x − y − 3z = 35.
z−2 z
y−4
14) Prove that the line x−3
2 = 3 = z−5
4 lies in the plane 4x + 4y − 5z
−3 = 0.
15) Find the equation of the plane which passes through the point (1, 2, −1)
y−1
and which contains the line x+1
2 = 3 = −1 .
z+2
Answer: x − y − z = 0
16) Find the length and the equations of the shortest distance between 5x −
y − z = 0 = x − 2y + z + 3; ; 7x − 4y − 2z = 0 = x − y + z − 3.
Answer: √13 ; ; 17x + 20y − 19z − 39 = 0 = 8x + 5y − 31z + 67
75
17) Examine the nature of the intersection of the following sets of planes:
(i) 4x + 3y + 2z + 7 = 0, 2x + y − 4z + 1 = 0, x − 7z − 7 = 0
(ii) x + y + z + 3 = 0, 3x + y − 2z + 2 = 0, 2x + 4y + 7z − 7 = 0
Answer: (i) Line (ii) Prism
3
Sphere
3.1 Definition
The sphere is a locus of a point that moves so that its distance from a fixed
point always remains constant.
The fixed point is called the center of the sphere and the constant distance
is called the radius of the sphere.
∴ |→
−
r −→
−c | = a (3.1)
89
90 Sphere
∴ |→
−
r −→ −c | 2 = a2
∴ (→
−
r −→−c ) . (→
−r −→ −c ) = a2
∴→
−
r .→
−
r −→ − r .→
−c − → −c .→
−
r +→ −c .→
−c = a2
∴ |→
−
r | − 2→ −r .→
−c + |→−c |2 = a2
2
∴ |→
−r | − 2→ −r .→
−c + d = 0
2
∴ |→
−
r | − 2→
−
r .→
−c + |→
−c |2 = a2
2
(3.2)
where d = |→−c |2 − a2
is the equation of sphere in vector form.
Case 1): If O lies on the sphere, then OC = OP ;
i.e., c = a ⇒ d = 0
∴ The Equation of sphere is |→
−
r | − 2→
−
r .→
−c = 0
2
|→
− 2
r | = a2
|→
−r | = a.
a= u2 + v 2 + w2 − d.
Remark:
x2 + y 2 + z 2 = a2 .
3) Make the coefficients of x2 , y 2 , and z 2 one if they are not before finding
the center and radius of the sphere.
∴ By condition of perpendicularity;
−→ −−→
AP .BP
= 0→
− (3.4)
∴ ( r − a ). →
→
− →
− −
r − b =0
Sol. Let P (x, y, z) be any point on the sphere whose center is ( 12 , −1, −1
2 )
and radius r is 1.
∴ CP = 1
∴ CP 2 = 1
1 2
2
x− 2 + (y + 1)2 + z + 12 = 1
1 1
x2 −x+ 4 + y 2 + 2y + 1 + z 2 + z + 4 =1
1
x2 + y 2 + z 2 − x + 2y + z + 2 =0
∴ 2x2 + 2y 2 + 2z 2 − 2x + 4y + 2z + 1 = 0.
4) Obtain the equation of the sphere whose endpoints of the diameter are
A (2, −3, 4) and B (−5, 6, −7).
Sol. Suppose P (x, y, z) be any point on the sphere.
3.5 Equation of a Sphere Passing through the Four Points 95
(x − 2) (x + 5) + (y + 3) (y − 6) + (z − 4) (z + 7) = 0
∴ x2 + 3x − 10 + y 2 − 3y − 18 + z 2 + 3z − 28 = 0
∴ x2 + y 2 + z 2 + 3x − 3y + 3z − 56 = 0.
5) Find the equation of the sphere through the points (0,0,0); (1,0,0); (0,2,0)
and (0,0,3) and also find center.
Sol. Suppose the sphere and radius of the sphere passing through the given
points is
x2 + y 2 + z 2 + 2ux + 2vy + 2wz + d = 0. (3.10)
It passes through (0, 0, 0)
∴0+0+0+0+0+0+d=0
∴ d = 0.
∴ 1 + 0 + 0 + 2u + 0 + 0 + d = 0
∴ 2u = 1 ⇒ u = −1 2 .
∴ 0 + 4 + 0 + 0 + 4v + 0 + d = 0
∴ 4v + 4 = 0 ⇒ v = −1.
96 Sphere
∴ 0 + 0 + 9 + 0 + 0 + 6w + d = 0
∴ 6w = −9 ⇒ w = −3 2 .
x2 + y 2 + z 2 − x − 2y − 3z = 0
Center C (−u, −v, −w) = 12 , 1, 32
√
and radius r = u2 + v 2 + w2 − d = 14 + 1 + 94 = 14
4 = 7
2 .
6) Find the equation of the sphere through the points (0, 0, 0) ; (−a, b, c) ;
(a, −b, c) ; (a, b, −c) .
Sol. Suppose the sphere passing through the given points is
∴0+0+0+0+0+0+d=0
∴ d = 0.
2au − 2bv + 2cw = − a2 + b2 + c2
∴ 4cw = −2 a2 + b2 + c2
2
a + b2 + c 2
∴w=− .
2c
Solving (3.13) and (3.14), we get
2au − 2bv + 2cw = − a2 + b2 + c2
2au + 2bv − 2cw = − a2 +
∴ 4au = −2 a2 + b2 + c2
Solving (3.12) and (3.14), we get
−2au + 2bv + 2cw = − a2 + b2 + c2
2au + 2bv − 2cw = − a2 + b2 + c2
∴ 4bv = −2 a2 + b2 + c2
2
a + b2 + c 2
∴v=− .
2b
∴ Equation (3.11) becomes,
2 2 2 −(a2 +b2 +c2 ) −(a2 +b2 +c2 )
x + y + z + 2x 2a + 2y 2b
2 2
−(a +b +c ) 2
+2z 2c =0
2
∴ x + y 2 + z 2 − xa a2 + b2 + c2 − yb a2 + b2 + c2
− zc a2 + b2 + c2 = 0
x2 +y 2 +z 2
∴ a2 +b2 +c2
− ( xa + yb + zc ) = 0.
∴0+0+0+0+0+0+d=0
∴ d = 0.
∴ a2 + 0 + 0 + 2au + 0 + 0 + 0 = 0
∴ a2 + 2au = 0
−a
∴u= .
2
It passes through B (0, b, 0)
∴ 0 + b2 + 0 + 0 + 2bv + 0 + 0 = 0
∴ b2 + 2bv = 0
∴ v = −b2 .
∴ 0 + 0 + c2 + 0 + 0 + 2cw + 0 = 0
∴ c2 + 2cw = 0
∴ w = −c
2 .
∴ 12 + 0 + 0 + 2u + 0 + 0 + d = 0
∴ 2u = −d − 1.
∴ 0 + 1 + 0 + 0 + 2v + 0 + d = 0
∴ 2v = −d − 1.
∴ 0 + 0 + 1 + 0 + 0 + 2w + d = 0
∴ 2w = −d − 1
√
Radius r = u2 + v 2 + w 2 − d
−d−1 2 −d−1 2 2
= 2 + 2 + −d−1
2 −d
3(d2 +2d+1)−4d
= 4
3(d2 +2d+1)−4d
∴r= 4
2
∴r = 3d +2d+34 .
i.e., 6d + 2 = 0
−1
∴d=
3
+1 −2 +1 −2 +1 −2
∴ 2u = −1= ; 2v = −1= ; 2w = −1=
3 3 3 3 3 3
∴ The required equation of the sphere is
2 2 2 1
x2 + y 2 + z 2 − x − y − z − = 0
3 3 3 3
2
∴ 3 x + y 2 + z 2 − 2 (x + y + z) − 1 = 0.
10) Show that the equation of the sphere passing through the three points
(3, 0, 2) ; (−1, 1, 1) ; (2, −5, 4) and having its center on the plane
2x + 3y + 4z = 6 is x2 + y 2 + z 2 + 4y − 6z = 1.
100 Sphere
∴ 32 + 0 + 22 + 6u + 0 + 4w + d = 0
(3.18)
∴ 6u + 4w + d = −13.
∴ 1 + 1 + 1 + (−2) u + 2v + 2w + d = 0
(3.19)
∴ −2u + 2v + 2w + d = −3.
∴ 4 + 25 + 16 + 4u − 10v + 8w + d = 0
(3.20)
∴ 4u − 10v + 8w + d = −45.
∴ 2u + 3v + 4w = −6. (3.21)
∴ 5v + 6w + d = −9. (3.22)
v = −2
9v + d = −6
∴ 9 (−2) + d = −6
∴ d = 12
But 2w = −5v and 2u = 3v;
∴ w = 5 and u = −3.
x2 + y 2 + z 2 + 6x − 4y + 10z + 12 = 0.
12) A sphere of constant radius r passes through the origin O and cuts the
axes in A, B, C. Find the locus of the foot of the perpendicular from O to
the plane ABC.
Sol. Suppose the coordinates of the points A, B, C are (a, 0, 0) ; (0, b, 0) ;
(0, 0, c) respectively.
∴ The equation of sphere OABC is
x2 + y 2 + z 2 − ax − by − cz = 0. (3.28)
λ λ λ
∴a= ;b = ;c = .
x1 y1 z1
The radius r of the sphere is
2 2 2
r2 = a2 + 2b + 2c
∴a2 + b2 + c2 = 4r2
1 1 1
∴ λ2 x21
+ y12
+ z12
= 4r2 . (3.32)
∴ OA · OB = 1
x2 + y 2 + z 2 = 1.
14) A sphere of constant radius 2k passes through the origin and meets the
axes in A, B, C. Show that the locus of the centroid of the tetrahedron OA
BC is the sphere x2 + y 2 + z 2 = k 2 .
Sol. Suppose the coordinates of points A, B, C are (a, 0, 0) ; (0, b, 0) ;
(0, 0, c) respectively.
∴ The equation of sphere OA BC is x2 + y 2 + z 2 − ax − by − cz = 0.
a 2 b 2 c 2 2 2 2
∴ Radius r = 2 + 2 + 2 = a +b4 +c .
Given r = 2k
a 2 + b2 + c 2
∴ 2k =
4 (3.34)
2 2 2 2
∴ 16k = a + b + c
Let P (x1 , y1 , z1 ) be the centroid of the tetrahedron OA BC then
a b c
x1 = ; y 1 = ; z1 =
4 4 4
∴ a = 4x1 ; b = 4y1 ; c = 4z1
∴ The Equation (3.34) becomes;
16k 2 = 16x21 + 16y12 + 16z12
∴ x21 + y12 + z12 = k 2
∴ x2 + y 2 + z 2 = k 2 .
3.6 Section of the Sphere by a Plane 105
∴ AP 2 = a2 − CP 2 = constant
∴ the Locus of A is a circle with a center at P and radius AP .
∴ The plane section is a circle.
Remark:
1) If CP > a; i.e., AP 2 is negative, then the circle is imaginary.
2) x2 + y 2 + z 2 + 2ux + 2vy + 2wz + d = 0 and ax + by + cz + k = 0
taken together represents a circle.
3) The section of the sphere by a plane passing through its center is called
a great circle.
4) The center and radius of the great circle are the same as the center and
radius of the sphere.
5) The equation
2
x + y 2 + z 2 + 2ux + 2vy + 2wz + d + λ (ax + by + cz + k) = 0
represents a sphere passing through the circle
2
x + y 2 + z 2 + 2ux + 2vy + 2wz + d = 0
ax + by + cz + k = 0.
106 Sphere
√
The center of the sphere is C (0, 1, 2) and r = 0 + 1 + 4 + 11 = 4
3.7 Intersection of Two Spheres 107
The length of the perpendicular from the center (0, 1, 2) to the plane is
0 (1) + 2 (1) + 2 (2) − 15 −9
p = √ = =3
3
12 + 22 + 22
∴ CP = 4 and CM = 3.
√ √ √
∴ The radius of the circle = P M = CP 2 − CM 2 = 16 − 9 = 7.
Equation of line through the center C and perpendicular to the given
plane is
x−0 y−1 z−2
= = =k
1 2 2
∴ x = k; y = 2k + 1; z = 2k + 2.
Coordinates of line satisfy the equation of the plane
i.e., x + 2y + 2z − 15 = 0
∴ k + 2 (2k + 1) + 2 (2k + 2) − 15 = 0
∴ k + 4k + 2 + 4k + 4 − 15 = 0
∴ 9k − 9 = 0
∴k=1
∴ The center of the circle is (1, 2 (1) + 1, 2 (2) + 2) = (1, 3, 6) .
16) Find the equation of the circle lying on the sphere x2 + y 2 + z 2 − 2x +
4y − 6z + 3 = 0 and having its center at (2, 3, −4).
Sol. The given equation of sphere is
x2 + y 2 + z 2 − 2x + 4y − 6z + 3 = 0.
∴ 2u = −2; 2v = 4; 2w = −6; d = 3
∴ u = −1; v = 2; w = −3; d = 3
∴ The center of the sphere is C (1, −2, 3), and the center of the circle is
B (2, 3, −4) .
∴ Direction ratios of line BC are (1, 5, −7).
108 Sphere
∴ The plane through the point (2, 3, −4) and direction ratios (1, 5, −7) is
1 (x − 2) + 5 (y − 3) − 7 (z + 4) = 0
∴ x + 5y − 7z − 45 = 0.
∴ The equation of the circle is
S : x2 + y 2 + z 2 − 2x + 4y − 6z + 3 = 0
P : x + 5y − 7z − 45 = 0.
S + λP = 0
∴ x2 + y2 + z2 − 9 + λ (2x + 3y + 4z − 5) = 0 (3.35)
∴ (1 + 4 + 9 − 9) + λ (2 + 6 + 12 − 5) = 0
∴ 5 + 15λ = 0
−1
∴λ=
3
∴ The Equation (3.35) becomes;
−1
x2 + y 2 + z 2 − 9 (2x + 3y + 4z − 5) = 0
3
∴ 3x2 + 3y 2 + 3z 2 − 2x − 3y − 4z − 22 = 0.
x2 + y 2 + z 2 + x − 3y + z − 5 = 0, 2x − y + 4z − 1 = 0
∴ x2 + y 2 + z 2 − y + 2z + λ1 (x − y + z − 2) = 0 (3.36)
3.7 Intersection of Two Spheres 109
∴ λ1 − 2λ2 = 1; −λ1 + λ2 = 2
∴ λ2 = 1 and λ1 = 3
Substituting the value of λ1 in equation (3.36), we get
∴ x2 + y 2 + z 2 − y + 2z + 3 (x − y + z − 2) = 0
∴ x2 + y 2 + z 2 + 3x − 4y + 5z − 6 = 0.
S : x2 + y 2 + z 2 + 2x + 3y + 6 = 0
P : x − 2y + 4z − 9 = 0
∴ The equation of the circle is
S + λP = 0
∴ x2 + y 2 + z 2 + 2x + 3y + 6 + λ (x − 2y + 4z − 9) = 0 (3.38)
The given equation of sphere is x2 + y 2 + z 2 − 2x + 4y − 6z + 5 = 0.
∴ Center C = (1, −2, 3)
Sphere (3.38) passes through center C = (1, −2, 3).
∴ It satisfies the equation of the sphere
∴ (1)2 + (−2)2 + (3)2 + 2 (1) + 3 (−2) + 6
+λ [1 − 2 (−2) + 4 (3) − 9] = 0
∴ 16 + 8λ = 0
∴ λ = −2
110 Sphere
∴ x2 + y 2 + z 2 + 7y − 8z + 24 = 0.
20) Show that the equation of the sphere having its center on the plane
4x − 5y − z = 3 and passing through the circle with equation x2 + y 2 +
z 2 − 2x − 3y + 4z + 8 = 0; x2 + y 2 + z 2 + 4x + 5y − 6z + 2 = 0 is
x2 + y 2 + z 2 + 7x + 9y − 11z − 1 = 0.
Sol. The given circle is the intersection of spheres
S1 : x2 + y 2 + z 2 − 2x − 3y + 4z + 8 = 0, (3.39)
S2 : x2 + y 2 + z 2 + 4x + 5y − 6z + 2 = 0. (3.40)
The equation of the plane of the circle is S1 − S2 = 0
∴ −6x − 8y + 10z + 6 = 0
(3.41)
∴ 3x + 4y − 5z − 3 = 0.
∴ x2 + y 2 + z 2 + 7x + 9y − 11z − 1 = 0.
21) Obtain the equation of the sphere having the circle x2 + y 2 + z 2 + 10y −
4z − 8 = 0; x + y + z = 3 as a great circle.
Sol. The given equation of the circle is
S : x2 + y 2 + z 2 + 10y − 4z − 8 = 0 (3.42)
P : x + y + z − 3 = 0. (3.43)
The equation of sphere is S + λP = 0
∴ x2 + y 2 + z 3 + 10y − 4z − 8 + λ (x + y + z − 3) = 0 (3.44)
∴ x2 + y 2 + z 2 + λx + (10 + λ) y + (−4 + λ) z − 8 − 3λ = 0
∴ The center of the sphere is −λ 2 ;
−10−λ 4−λ
2 ; 2
The given circle will be the great circle of (3.44) if the center of the sphere
lies on the plane (3.43).
∴ Center satisfies the equation of the plane
−λ 10 + λ 4−λ
− + −3=0
2 2 2
∴ −λ − 10 − λ + 4 − λ − 6 = 0
∴ −3λ = 12
∴ λ = −4
∴ Equation (3.44) becomes;
2
x + y 2 + z 2 + 10y − 4z − 8 + (−4) (x + y + z − 3) = 0
∴ x2 + y 2 + z 2 − 4x + 6y − 8z + 4 = 0.
22) A sphere S has points (0, 1, 0) , (3, −5, 2) at opposite ends of a diam-
eter. Find the equation of the sphere having the intersection of the sphere S
with the plane 5x − 2y + 4z + 7 = 0 as a great circle.
Sol. The equation of sphere whose diameter opposite ends are given is
(x − x1 ) (x − x2 ) + (y − y1 ) (y − y2 ) + (z − z1 ) + (z − z2 ) = 0
∴ (x − 0) (x − 3) + (y − 1) (y + 5) + (z − 0) (z − 2) = 0
112 Sphere
∴ x2 − 3x + y 2 + 4y − 5 + z 2 − 2z = 0
∴ x2 + y 2 + z 2 − 3x + 4y − 2z − 5 = 0. (3.45)
The equation of the plane is
5x − 2y + 4z + 7 = 0 (3.46)
x2 + y 2 + z 2 + 2x + 2y + 2z + 2 = 0.
23) Obtain the equation of the sphere which passes through the circle x2 +
y 2 = 4; z = 0 and is cut by the plane x + 2y + 2z = 0 in a circle of radius 3.
Sol. Given circle x2 + y 2 = 4 and z = 0 is the intersection of cylinder and
plane.
∴ Generators of the cylinder are parallel to the z axis.
∴ The center of the circle is the origin and so the center of the sphere lies
on the z -axis.
Let (0, 0, k) be the center of√the sphere. √
∴ The radius of the sphere is 0 + 0 + k 2 + 4 = 4 + k 2
3.7 Intersection of Two Spheres 113
∴ S : x2 + y 2 + z 2 − 2kz − 4 = 0, (3.48)
and
P : x + 2y + 2z = 0. (3.49)
In ΔAM P ; AP 2 = AM 2 + M P 2
4k 2
∴ k2 + 4 = +9
9
∴ 5k 2 = 45
∴ k = ±3
Substituting the value of k in Equation (3.48), we get
x2 + y 2 + z 2 ± 6z − 4 = 0.
and x2 + y 2 + z 2 + 3x − 4y + 3z = 0; x − y + 2z − 4 = 0
lie on the same sphere and find its equation. .
∴ x2 + y 2 + z 2 + 5x − 6y − 7x − 8 = 0
∴ Two circles lie on the same sphere.
The locus of all tangent lines at a point P of the sphere is called the tangent
plane to the sphere at a point P .
A plane that touches the given sphere exactly at one point is called a
tangent plane to the sphere at that point.
Consider a sphere with center C and a plane that touches it at P then a
plane is a tangent plane to the sphere.
i.e., the length of the perpendicular from the center C of the sphere to the
tangent plane is equal to the radius of the sphere.
Equation of the tangent plane:
The general equation of sphere is
x2 + y 2 + z 2 + 2ux + 2vy + 2wz + d = 0
and a tangent plane intersects the sphere at P (x1 , y1 , z1 ) .
∴ The center of the sphere is C (−u, −v, −w).
Direction ratios of the normal CP to the plane are (x1 + u; y1 + v; z1 + w).
∴ Equation of plane through P (x1 , y1 , z1 ) , and normal to CP is
(x1 + u) (x − x1 ) + (y1 + v) (y − y1 ) + (z1 + w) (z − z1 ) = 0
∴ xx1 − x21 + ux − ux1 + yy1 − y12 + vy − vy1 + zz1 − z12
+wz − wz1 = 0
∴ xx1 +yy1 +zz1 +ux+vy+wz = x21 + y12 + z12 + 2ux1 + 2vy1 + 2wz1
− ux1 − vy1 − wz1 = −ux1 − vy1 − wz1.
∴ The equation of the tangent plane is
xx1 + yy1 + zz1 + u (x + x1 ) + v (y + y1 ) + w (z + z1 ) + d = 0.
3.10 Equation of the Normal to the Sphere 117
Remark:
1) The equation of the tangent plane to be the sphere x2 + y 2 + z 2 = a2 at
point P (x1 , y1 , z1 ) is xx1 + yy1 + zz1 = a2
2) The equation of the tangent plane of the sphere can be written by
replacing x2 by xx1 ; y 2 by yy1 ; z 2 by zz1 ; 2x by x + x1 ; 2y by
y + y1 and 2z by z + z1 in the general equation of a sphere.
∴ 2u = −1; 2v = 3; 2w = 2; d = −3
−1 3
∴u= ; v = ; w = 1.
2 2
∴ Equation (3.55) becomes
1 3
x+y−z− (x + 1) + (y + 1) + 1 (z − 1) − 3 = 0
2 2
∴ 2x + 2y + 2z − x − 1 + 3y + 3 + 2z − 2 − 6 = 0
∴ x + 5y − 6 = 0.
∴ The required equation of the sphere is S + λP = 0.
∴ x2 + y 2 + z 2 − x + 3y + 2z − 3 + k (x + 5y − 6) = 0
∴ −3 − 6k = 0
−1
∴k=
2
∴ Equation becomes,
−1
x2 + y 2 + z 2 − x + 3y + 2z − 3 (x + 5y − 6) = 0
2
∴ 2x2 + 2y 2 + 2z 2 − 3x + y + 4z = 0.
∴ (x + y − 6) + λ (x − 2z − 3) = 0
∴ (1 + λ) x + y − 2λz − 6 − 3λ = 0.
Given plane will touch the given sphere if r = p
−6 − 3λ
∴3=
(1 + λ)2 + 1 + 4λ2
S : x2 + y 2 + z 2 + 5x − 7y + 2z − 8 = 0
P : 3x − 2y + 4z + 3 = 0.
The required line will be the intersection of the given plane of the circle
and the tangent plane to the given sphere at the point (−3, 5, 4) .
∴ x2 + y 2 + z 2 + 5x − 7y + 2z − 8 = 0
∴ 2u = 5; 2v = 7; 2w = 2; d = −8
5 −7
∴u= ; v= ; w = 1.
2 2
3.10 Equation of the Normal to the Sphere 121
l m n
∴ = = .
32 34 −7
∴ The equation of the tangent line to the given circle at (−3, 5, 4) is
x+3 y−5 z−4
= = .
32 34 −7
x2 + y 2 + z 2 − 2x − 4y + 2z − 3 = 0.
2u = −2; 2v = −4; 2w = 2; d = −3
∴ u = −1; v = −2; w = 1.
∴
√ The center of the sphere is C (1, 2, −1) and the radius of the sphere =
1 + 4 + 1 + 3 = 3. Length of the perpendicular from center to plane =
2(1)−2(2)+1(−1)+12
√ = 3.
4+4+1
122 Sphere
Since the length of the perpendicular from the center of the sphere to the
plane = radius of the sphere.
∴ The plane touches the sphere.
∴ Direction ratios of the radius through the point of contact P of the given
tangent plane are (2, −2, 1) .
y−2
∴ the Equation of CP is x−1 z+1
2 = −2 = 1 = r.
∴ Coordinates of P are (2r + 1, −2r + 2, r − 1) .
The point lies on the plane and satisfies the equation of the plane
2x − 2y + z + 12 = 0
∴ 2 (2r + 1) − 2 (−2r + 2) + (r − 1) + 12 = 0
∴ 4r + 2 + 4r − 4 − r − 1 + 12 = 0
∴ 9r + 9 = 0
∴ r = −1.
∴ The point of contact is (−1, 4, 2) .
33) Find the coordinates of the points of the sphere x2 +y 2 +z 2 −4x+2y = 4
the tangent planes which are parallel to the plane 2x − y + 2z = 1.
Sol. The equation of sphere is
x2 + y 2 + z 2 − 4x + 2y − 4 = 0
2u = −4; 2v = 2; 2w = 0; d = −4
∴ u = −2; v = 1; w = 0.
∴
√ The center of the sphere is C (2, −1, 0) and the radius of the sphere is
4+1+0+4=3
The equation of the plane is 2x − y + 2z − 1 = 0
∴ Equation of tangent plane parallel to the given plane is
2x − y + 2z + k = 0.
Given plane is tangent if the perpendicular distance from the center of the
sphere to the plane = radius of the sphere
2 (2) + (−1) (−1) + 2 (0) + k
∴3= √
4+1+4
3.10 Equation of the Normal to the Sphere 123
∴ ±9 = 5 + k
∴ 9 = 5 + k or − 9 = 5 + k
∴ k = 4 or k = −14.
∴ The equations of two tangent planes to the given plane is
2x − y + 2z + 4 = 0 and 2x − y + 2z − 14 = 0.
∴ The equation of radius perpendicular to these planes are
x−2 y+1 z
= = = r1 .
2 −1 2
Let P be the point of contact of plane 2x − y + 2z + 4 = 0.
∴ Coordinates of P are (2r1 + 2; −r1 − 1; 2r1 )
∴ 4r1 + 4 + r1 + 1 + 4r1 + 4 = 0
∴ 9r1 + 9 = 0
∴ r1 = −1
∴ Coordinates are (0, 0, −2) .
Let Q be the point of contact of plane 2x − y − 2z − 14 = 0.
∴ Coordinates of Q are (2r2 + 2; −r2 − 1; 2r2 )
∴ 4r2 + 4 + r2 + 1 + 4r2 − 14 = 0
∴ 9r2 = 9
∴ r2 = 1
∴ Coordinates are (4, −2, 2) .
34) Obtain the equation of the tangent planes to the sphere x2 + y 2 + z 2 +
6x − 2z + 1 = 0 which passes through line 3 (16 − x) = 3z = 2y + 30.
Sol. The equation of sphere is x2 + y 2 + z 2 + 6x − 2z + 1 = 0.
∴ The center of the sphere C is (-3, 0, 1)and the radius of the sphere is
(−3)2 + 02 + (1)2 − 1 = 3.
The equation of the line is 3 (16 − x) = 2y + 30 = 3z.
124 Sphere
∴ 16 − x = z and 2y − 3z + 30 = 0.
Plane (3.56) will touch the given sphere if the length of the perpendicular
from (-3, 0, 1) to plane (3.56) radius of the sphere
(1) (−3) + (0) (2λ) + (1) (1 − 3λ) + 30λ − 16
∴3=
1 + 4λ2 + (1 − 3λ)2
27λ − 18
∴3= √
13λ2 − 6λ + 2
∴ 9 13λ2 − 6λ + 2 = [9 (3λ − 2)]2
∴ 13λ2 − 6λ + 2 = 81λ2 − 108 + 36
∴ 2λ2 − 3λ + 1 = 0
1
∴ λ = 1; λ = .
2
Substituting the value of λ in Equation (3.56), we get
∴ x + 2y − 2z + 14 = 0.
1
When λ = 2
1 3 30
x+2 y+z 1− + − 16 = 0
2 2 2
2x + 2y − z − 2 = 0.
35) Obtain the equations of the sphere which passes through the circle x2 +
y 2 + z 2 − 2x + 2y + 4z − 3 = 0; 2x + y + z = 4 and touch the plane
3x + 4y = 14.
3.10 Equation of the Normal to the Sphere 125
∴ x2 + y 2 + z 2 + (−2 + 2λ) x + (2 + λ) y + (4 + λ) z
− (3 + 4λ) = 0. (3.57)
2+λ −4−λ
∴ Center is 1 − λ; 2 ; 2 .
2+λ 2 4+λ 2
∴ Radius is (−1 + λ2 ) + 2 + 2 + (3 + 4λ)
1
= 6λ2 + 20λ + 36.
2
Length of the perpendicular from center to the plane
3 (1 − λ) + 4 −2−λ2 − 14
3x + 4y − 14 = √
2
3 +4 2
−2−λ
3 (1 − λ) + 4 2 − 14 1
∴ = 6λ2 + 20λ + 36
5 2
−15 − 5λ 1
∴ = 6λ2 + 20λ + 36
5 2
∴ −2 (λ + 3) = 6λ2 + 20λ + 36
∴ 4(λ + 3)2 = 6λ2 + 20λ + 36
∴ 2λ2 − 4λ = 0
∴ λ = 0 or λ = 2.
∴ Substituting the value of λ in Equation (3.57), we get
∴ x2 + y 2 + z 2 − 2x + 2y − 4z − 3 = 0
x2 + y 2 + z 2 = 25, (3.58)
126 Sphere
36) Find the equation of the sphere that passes through the circle x2 + y 2 +
z 2 − 2x + 3y − 4z + 6 = 0; 3x − 4y + 5z − 15 = 0 and cuts the sphere
x2 + y 2 + z 2 + 2x + 4y − 6z + 11 = 0 orthogonally.
Sol. Given the equation of the circle is
x2 + y 2 + z 2 − 2x + 3y − 4z + 6 = 0 (3.62)
3x − 4y + 5z − 15 = 0.
Equation of sphere through this circle is
x2 + y 2 + z 2 + 2x + 4y − 6z + 11 = 0.
37) Find the equation of the sphere that passes through the two points (0, 3, 0);
(-2, -1, -4) and cuts orthogonally
the two spheres x2 +y 2 +z 2 +x−3z −2 = 0
2 2 2
and 2 x + y + z + x + 3y + 4 = 0.
Sol. The general equation of sphere is
x2 + y 2 + z 2 + 2ux + 2vy + 2wz + d = 0. (3.64)
It passes through the point (0, 3, 0)
∴ 0 + 9 + 0 + 0 + 6v + 0 + d = 0
(3.65)
∴ 6v + d = −9.
It passes through point (-2, -1, -4)
∴ 4 + 1 + 16 − 4u − 2v − 8w + d = 0
(3.66)
∴ −4u − 2v − 8w + d = −21.
Sphere (3.64) also cuts the sphere
x2 + y 2 + z 2 + x − 3z − 2 = 0 orthogonally.
1 −3
∴ 2u + 2v (0) + 2w = d + (−2)
2 2 (3.67)
∴ u − 3w − d = −2.
Exercise: 129
∴ x2 + y 2 + z 2 + x
2+ 3y
2 + 2 = 0 orthogonally.
1 3
∴ 2u + 2v + 2w (0) = d + 2
4 4 (3.68)
∴ u + 3v − 2d = 4.
17 + 5d
∴u=
2
17+5d
From (3.67) ⇒ 3w = u − d + 2 = 2 −d+2
21 + 3d
∴w=
6
17+5d −9−d 21+3d
From (3.66) ⇒ −4 2 − 2 6 − 8 6 + d = −21
9+d 21 + 3d
∴ −2 (17 + 5d) + −4 + d = −21
3 3
∴ −102 − 30d + 9 + d − 84 − 12d + 3d = −63
∴ −38d = 144
∴ d = −3, u = 1, v = −1, w = 2
The equation of sphere is x2 + y 2 + z 2 + 2x − 2y − 4z − 3 = 0.
Exercise:
1) Find the equation of the sphere whose center is (2, −3, 4) and radius 5.
Answer: x2 + y 2 + z 2 − 4x + 6y − 8z + 4 = 0
2) Find the center and radius of the following sphere
2.1 2x2 + 2y 2 + 2z 2 − 2x + 4y − 2z − 3 = 0
2.2 x2 + y 2 + z 2 − 2x + 4y − 6z = 2.
Answer: (i) 12 , −1, −1
2 , 0 (ii) (1, −2, 3) , 4
130 Sphere
7) Find the equation of the sphere which passes through the origin and
makes equal intercepts of unit length on the axes.
Answer: x2 + y 2 + z 2 − x − y − z = 0
8) A plane passes through a fixed point (a, b, c) and cuts the axes in
A, B, C. Show that the locus of the center of the sphere OABC is
a b c
x + y + z = 2.
9) A sphere of constant radius k passes through the origin and meets the
axes in A, B, C. Prove that the centroid of the triangle ABC lies on the
sphere.
10) Find the equation of the sphere on the join of (2, −3, 1) and (1, −2, −1)
as diameter.
Answer: x2 + y 2 + z 2 − 3x + 5y + 7 = 0
11) Find the equation of the sphere on the join of (1, −2, 3) and (2, 1, 0) as
diameter.
Answer: x2 + y 2 + z 2 − 3x − y − 3z = 0
Exercise: 131
12) Find the center and radius of the circle given by the equation x2 + y 2 +
z 2 − 6x − 4y + 12z − 36 = 0 and x + 2y − 2z = 1.
Answer: (1, −2, −2) ,7
13) Find the center and radius of the circle in which the sphere x2 + y 2 +
z 2 + 2x − 2y − 4z − 19 = 0 is cut by the plane x + 2y + 2z + 7 = 0.
Answer: −7 3 , −5 −2
3 , 3 ,3
x2 + y 2 + z 2 − 8x + 4y + 8z − 45 = 0, x − 2y + 3z = 3.
9 −5
155
Answer: 2 , −3, 2 , 2
16) Find the equation of that plane that cuts the sphere x2 + y 2 + z 2 = a2
in a circle whose center is (α, β, γ).
Answer: (x − α) + β (y − β) + γ (z − γ) = 0
17) A circle with center (2, 3, 0) and radius 1 is drawn in the plane z = 0.
Find the equation of the sphere which passes through this circle and the
point (1, 1, 1).
Answer: x2 + y 2 + z 2 − 4x − 6y − 5z + 12 = 0
x2 + y 2 + z 2 − 2x + 3y + 4z − 5 = 0, 5y + 6z + 1 = 0;
x2 + y 2 + z 2 − 3x − 4y + 5z − 6 = 0, x + 2y − 7z = 0
21) Find the equations of the tangent line in the symmetrical form to circle
3x2 + 3y 2 + 3z 2 − 2x − 3y − 4z − 22 = 0, 3x + 4y + 5z − 26 = 0 at
the point (1, 2, 3) .
x−1 y−2 z−3
Answer: 1 = −2 = 1
4.1 Definition
A cone is a surface generated by a straight line that passes through a fixed
point and satisfies one more condition.
i.e., it intersects a given curve or touches a given surface.
The fixed point is called the vertex and the given curve is called the
guiding curve of the cone.
The individual straight line on the surface of a cone is called its generator.
133
134 Cone
This line will be a generator of the cone if and only if it intersects the
given curve.
Moreover, line (4.1) touches the plane z = 0.
y−β −γ
i.e., x−α
l = m = n
−γ y−β −γ
∴ x−α l = n and m = n
∴ x = α − lγn and y =
mγ
β − n and z = 0
∴ α − lγ mγ
n ; β − n ; 0 is the point which lies on the given conic.
∴ It satisfies the given equation of conic
This is the condition for the line (4.1) to intersect the given conic.
Eliminating l, m, and n from Equation (4.2), we get the equation of cone
i.e., replace l, m and n by x − α, y − β and z − γ in Equation (4.2)
y = 0 and x2 + y 2 = 4 (4.4)
y 2 = 4ax, z = 0. (4.5)
[β (z − γ) − γ (y − β)]2 = 4a (z − γ) [− (x − α) γ + α (z − γ)]
∴ [βz − βγ − yγ + γβ]2 = 4a (z − γ) [−xγ + αγ + αz − αγ]
∴ [βz − yγ]2 = 4a (z − γ) (αz − xγ)
which is the required equation of the cone.
4) Show that the equation of the cone whose vertex is the origin and
whose the circle through the three points (a, 0, 0) , (0, b, 0) , (0, 0, c)is
base is
Σa b2 + c2 yz = 0.
Sol. Let the given points be A (a, 0, 0) ; B (0, b, 0) and C(0, 0, c)
∴ The equation of the circle ABC is
x y z
x2 + y 2 + z 2 − ax − by − cz = 0 and + + = 1. (4.8)
a b c
4.2 Equation of a Cone with a Conic as Guiding Curve 137
Let P (x1 , y1 , z1 ) be any point on the surface of the cone whose vertex is the
origin.
∴ The equation of generator OP is
x−0 y−0 z−0
x1 −0 = y1 −0 = z1 =0 =k
y (4.9)
∴ x
x1 = y 1 = z
z1 = k.
∴ Generalizing x1 , y1 , z1 , we get
c a2 + b2 xy + a b2+ c2 yz + b c2 + a2 xz = 0
∴ a b2 + c2 yz = 0
= 4(l + m + n)2 .
Eliminating l, m, n from Equation (4.10), we get
∴ [(y − 2) + (z − 3) − 4 (x − 1)]2
+[2 (x − 1) + 2 (z − 3) − 3 (y − 2)]2
+[3 (x − 1) + 3 (y − 2) − 2 (z − 3)]2
= 4[(x − 1) + (y − 2) + (z − 3)]2
∴ (−4x + y + z − 1)2 + (2x − 3y + 2z − 2)2
+(3x + 3y − 2z − 3)2 = 4(x + y + z − 6)2
∴ 5x2 + 3y 2 + z 2 − 6yz − 4zx − xy + 6x + 8y + 10z − 26 = 0.
x2 + y 2 + z 2 = a2
∴Δ=0
∴ b2 − 4ac = 0
(4.14)
∴ 4(lα + mβ + nγ)2 = 4 l2 + m2 + n2 α2 + β 2 + γ 2 − a2
∴ (lα + mβ + nγ)2 = l2 + m2 + n2 α2 + β 2 + γ 2 − a2
Let S: x2 + y 2 + z 2 − a2 ; S 1 : α2 + β 2 + γ 2 − a2 and
T : αx + βy + γz − a2
S1 : (S)(1,1,1) = 1 + 1 + 1 − 2 + 4 − 1 = 4.
SS1 = T 2
∴ (x2 + y 2 + z 2 − 2x − 4z − 1)(4) = (y + 3z)2
∴ 4x2 + 4y 2 + 4z 2 − 8x + 16z − 4 = y 2 + 6yz + 9z 2
∴ 4x2 + 3y 2 − 5z 2 − 6yz − 8x + 16z − 4 = 0.
7) Show that the plane z = 0 cuts the enveloping cone of the sphere x2 +
y 2 + z 2 = 11 which has its vertex at (2, 4, 1) in a rectangular hyperbola.
Sol. The equation of the sphere is x2 + y 2 + z 2 − 11 = 0 and the vertex is
(2, 4, 1).
Let S : x2 + y 2 + z 2 − 11 at (x1 , y1 , z1 ) = (2, 4, 1)
x2 y 2 z 2 α2 β 2 γ 2
S: + + − 1 = 0, S1 : + 2 + 2 −1=0
a2 b2 c2 a2 b c
and T = αx
a2
+ βy
b2
+ γz
c2
= 1.
∴ Equation of the enveloping cone with vertex P (α, β, γ) is SS1 = T 2
2 2 2
x y2 z2 α β2 γ2 αx βy γz
∴ 2 + 2 + 2 −1 + 2 + 2 −1 = + 2 + 2 −1
a b c a2 b c a2 b c
it meets plane z = 0.
2 2 2
x y2 α β2 γ2 αx βy
∴ + 2 −1 + 2 + 2 −1 = + 2 − 1 . (4.16)
a2 b a2 b c a2 b
Equation (4.16) represents a rectangular hyperbola if
the coefficient of x2 + coefficient of y 2 = 0
1 β2 γ2 1 α2 γ 2
⇒ 2 + 2 −1 + 2 + 2 −1 =0
a b2 c b a2 c
α 2 + β 2 γ 2 a 2 + b2 a 2 + b2
⇒ 2 2
+ 2 2 2
=
a b c a b a 2 b2
α2 + β 2 γ 2
∴ + 2 =1
a 2 + b2 c
x2 +y 2 z2
Hence the locus of (α, β, γ) is a2 +b2
+ c2
= 1.
142 Cone
Now, to prove that it represents a cone with its vertex origin if and only if
u = v = w = d = 0.
Suppose Equation (4.17) represents a cone with a vertex at the origin. Let
P (x1 , y1 , z1 ) be a point on the cone represented with vertex at O (0, 0, 0).
∴ Direction ratios of OP passing through the point P will be
(x1 − 0; y1 − 0; z1 − 0) = (x1 , y1 , z1 ).
∴ a(x1 t)2 + b(y1 t)2 + c(z1 t)2 + 2h(x1 t)(y1 t) + 2f (y1 t)(z1 t)
From equation ux1 + vy1 + wz1 = 0; if u, v, w are not all zero then the
coordinates x1 , y1 , z1 of any point on the cone satisfy an equation of the first
degree. i.e., ux + vy + wz = 0 which is the equation of the plane which
contradicts our hypothesis that P (x1 , y1 , z1 ) lies on a cone.
∴ u, v, w all are not zero is false.
∴ u = 0 = v = w and by equation d = 0.
∴ General second-degree equation reduces to
+2f (mt)(nt) = 0
∴ t2 [al2 + bm2 + cn2 + 2hlm + 2gln+ 2f mn] = 0
∴ al2 + bm2 + cn2 + 2hlm + 2gln+ 2f mn = 0 (∵ t = 0)
which proves that (l, m, n) satisfy the Equation (4.21).
9) Find the equation of the cone whose vertex is at the origin and which passes
through the curve given by the equations
ax2 + by 2 + cz 2 = 1; lx + my + nz = p.
Sol. The equation of the cone with vertex origin is a second-degree homoge-
neous equation.
∴ lx + my + nz = p
lx+my+nz
∴ p =1
∴ The required equation of cone is
ax2 + by 2 + cz 2 = (1)2
2
∴ ax2 + by 2 + cz 2 = lx+my+nz
p
2
∴ p ax + by + cz = (lx + my + nz)2 .
2 2 2
10) Find the equation of the cone whose vertex is at the origin and the direc-
tion cosines of whose generators satisfy the relation 3l2 − 4m2 + 5n2 = 0.
Sol. The vertex of the given cone is the origin
∴ The equation of any generator through the origin with direction cosines
l, m, n are
x y z
= = (4.22)
l m n.
4.4 Equation of the Cone whose Vertex is the Origin is Homogeneous 145
x2 + y 2 = 4(1)
z 2
∴ x2 + y 2 = 4
2
∴ x2 + y 2 − z 2 = 0.
12) Find the equation of the cone with vertex origin and passes through the
curve x2 + y 2 + z 2 − x − 1 = 0 and x2 + y 2 + z 2 + y − 2 = 0.
Sol. The equations of the guiding curve are
x2 + y 2 + z 2 − x − 1 = 0, (4.24)
and
x2 + y 2 + z 2 + y − 2 = 0. (4.25)
Let us assume t, for making both the equations homogeneous in x, y and z
∴ Equation (4.24) becomes
x2 + y 2 + z 2 − tx − t2 = 0, (4.26)
x2 + y 2 + z 2 + ty − 2t2 = 0. (4.27)
146 Cone
−tx − ty + t2 = 0
∴ −t (x + y − t) = 0
∴ x + y = 0(∵ t = 0)
x2 + y 2 + z 2 − x (x + y) − (x + y)2 = 0
∴ −x2 + z 2 − 3xy = 0
∴ x2 − z 2 + 3xy = 0
which is the required equation of the cone.
13) Find the equation of the cone with vertex at the origin and which pass
through the curves x2 + y 2 + z 2 + 2x − 3y + 4z = 5.
Sol. Given curve is the intersection of the two spheres
S1 : x2 + y 2 + z 2 + x − 2y + 3z − 4 = 0
(4.28)
S2 : x2 + y 2 + z 2 + 2x − 3y + 4z − 5 = 0.
S 1 − S2 = 0
∴ −x + y − z + 1 = 0
∴ x − y + z = 1.
x2 + y 2 + z 2 + (x − 2y + 3z)(1) − 4(1)2 = 0
∴ (x2 + y 2 + z 2 ) + (x − 2y + 3z)(x − y + z) − 4(x − y + z)2 = 0
∴ x2 + y 2 + z 2 + x2 − xy + xz − 2xy + 2y 2 − 2yz + 3xz − 3yz + 3z 2
−4x2 − 4y 2 − 4z 2 + 8xy + 8yz − 8xz = 0
∴ −2x2 − y 2 + 5xy + 3yz − 4xz = 0
∴ 2x2 + y 2 − 5xy − 3yz + 4xz = 0
Sol. We know that generator lines of any cone intersect only in its vertex.
Here coordinate axes are generators and they intersect in origin.
∴ A required cone is a cone with vertex origin.
∴ Equation of cone must be of the form
2f yz + 2gzx + 2hxy = 0
∴ f yz + gzx + hxy = 0
is the required equation of cone having three coordinate axes as generators
where f, g, and h are parameters.
15) Find the equation to the cone which passes through the three coordinate
y y
axes as well as the two lines x1 = −2 = z3 and x3 = −1 = z1 .
Sol. Equation of the cone passes through the three coordinate axes is
∴ −f + 3g − 3h = 0 (4.32)
148 Cone
Sol. The equation of any cone passing through the coordinate axes is
f yz + gzx + hxy = 0 (4.33)
It passes through the lines
x x y z
= y = −z ⇒ = =
2 2 1 −1
and
y z x y z
x= = ⇒ = = .
3 5 1 3 5
∴ Direction ratios are (2, 1, −1) and (1, 3, 5) with satisfies Equation (4.33)
∴ f (1)(−1) + g(−1)(2) + h(2)(1) = 0
(4.34)
∴ −f − 2g + 2h = 0,
and f (3)(5) + g(5)(1) + h(1)(3) = 0
∴ 15f + 5g + 3h = 0 (4.35)
Solving (4.34) and (4.35), we get
f g
= h
=
−22 2 − 1
−1 − 2
53
315 155
f g
∴ −6−10 = 30+3 = h
−5+30
f g
∴ −16 = 33 h
= 25
∴ f = −16h
25 and g = 25
33h
x −y z
which will be the required cone if it satisfied the third given line 8 = 11 = 5
∴ The direction ratios are (8, −11, 5).
L.H.S. of Equation (4.36) = 16yz − 33zx − 25xy
= 16(−11)(5) − 33(5)(8) − 25(8)(−11)
= −880 − 1320 + 2200
= 0= R.H.S.
∴ Line x8 = −y z
11 = 5 also satisfies the equation of the cone.
∴ 16yz − 33zx − 25xy = 0 is the required equation of the cone.
i.e., Δ = 0
i.e., b2 − 4ac = 0
∴ b2 = 4ac
4.6 Equation of a Tangent Plane at (α, β, γ) to the Cone with Vertex Origin 151
lx + my + nz = 0. (4.45)
lα + mβ + nγ = 0 (4.49)
where A = bc − f 2 ; B = ac − g 2 ; C = ab − h2
H = f g − hc; F = hg − af ; G = hf − bg.
17) Find the plane which touches the cone x2 +2y 2 −3z 2 +2yz−5zx+3xy =
0 along with the generator whose direction ratios are 1, 1, 1.
Sol. The required plane touches the cone x2 +2y 2 −3z 2 +2yz −5zx+3yx =
0.
Comparing with the general equation
x2 y 2 z 2
+ + = 0.
a b c
Sol. The perpendicular drawn from the origin to the tangent planes to the
given cone is called the reciprocal cone.
154 Cone
where,
F =0=G=H
∴ bcx2 + cay 2 + abz 2 = 0
x2 y 2 z 2
∴ + + =0
a b c
is the required equation of the cone.
19) Prove that tangent planes to the cone x2 −y 2 +2z 2 −3yz +4zx−5xy = 0
are perpendicular to the generators of the cone 17x2 + 8y 2 + 29z 2 + 28yz −
46zx − 16xy = 0.
Sol. Given the equation of cone is
−17x2 29z 2
−7
23
4 − 2y 2 − 4 +2 2 yz + 2 4 zx + 2 (2) xy = 0
∴ 17x2 + 8y 2 + 29z 2 + 28yz − 46zx − 16xy = 0
is
−2x2 + 4y 2 + z 2 + λ (10xy − 2yz + 5zx) = 0. (4.51)
Equation (4.51) passes through a line whose direction ratios are 1, 2, 3.
∴ Direction ratios satisfy the Equation (4.51)
Sol. Let the equation of the cone through the intersection of the cones
x2 − 2y 2 + 3z 2 − 4yz + 5zx − 6xy = 0,
and
2x2 − 3y 2 + 4z 2 − 5yz + 6zx − 10xy = 0
is
x2 − 2y 2 + 3z 2 − 4yz + 5zx − 6xy
(4.52)
+γ 2x2 − 3y 2 + 4z 2 − 5yz + 6zx − 10xy = 0.
Equation (4.52) passes through the line with direction ratios 1, 1, 1
∴ Direction cosines satisfy the Equation (4.52)
∴ [1 − 2 + 3 − 4 + 5 − 6] + γ [2 − 3 + 4 − 5 + 6 − 10] = 0
∴ −3 − 6γ = 0
∴ γ = −12 .
Proof:
Let a plane perpendicular to the axis on a right circular cone with a semi-
vertical angle α meets it at N.
∴ ON ⊥N P
PN
∴ = tan α
ON
∴ N P = ON tan α .
NP is constant for every position of point P of the section.
∴ The section is circular with N as its center.
∴ Every section of a right circular cone perpendicular to the axis is a
circle.
Equation of a right circular cone:
y−β z−γ
To find the equation of cone with axis as a line x−αl = m = n and vertex
is the point (α, β, γ) and θ be the semi-vertical angle.
Proof:
Let O (α, β, γ) be the vertex and OA be the axis of the cone. The required
equation is to be obtained by using the condition that the line joining any
point P (x, y, z) on the curve to the vertex O (α, β, γ) makes an angle θ with
the axis OA . ←→
∴ Direction cosines of OP is x − α; y − β; z − γ
158 Cone
y−β z−γ
∴ The equation of axis OA is x−α l = m = n ,
where l, m, n are proportional to direction cosines θ is the angle between
−→ −−→
OA and OP .
l (x − α) + m (y − β) + n (z − γ)
∴ cosθ = √ .
2 2 2 2 2 2
l +m +n (x − α) + (y − β) + (z − γ)
[l (x − α) + m (y − β) + n (z − γ)]2
= l2 + m2 + n2 (x − α)2 + (y − β)2 + (z − γ)2 cos2 θ.
Corollary 1: If the vertex be the origin; then the equation of the right circular
cone is
(lx + my + nz)2 = l2 + m2 + n2 x2 + y 2 + z 2 cos2 θ .
Corollary 2: If the vertex be the origin and the axis of the cone be the z-axis
then (α, β, γ) = (0, 0, 0) and (l, m, n) = (0, 0, 1)
∴ Equation of right circular cone becomes,
z 2 = x2 + y 2 + z 2 cos2 θ
z2
∴ x2 + y 2 + z 2 = cos 2θ
∴ x2 + y 2 = z 2sec2 θ − z 2
∴ x2 + y 2 = z 2 sec2 θ − 1
∴ x2 + y 2 = z 2 tan2 θ.
4.8 Right Circular Cone 159
22) Show that the equation of the right circular cone which passes through
the point (1, 1, 2) and has its vertex at origin and axis the line x2 = −y z
4 = 3 is
2 2 2
4x + 40y + 19z − 48xy − 72yz + 36xz = 0.
y
Sol. The axis of the cone is x2 = −4 = z3 .
Let P (1, 1, 2) be any point on the cone.
The direction ratio of generator OP are 1, 1, 2.
Let α be the semi-vertical angle of the cone
2(1)+(−4)(1)+3(2)
∴ cosα = √ √
22 +(−4)2 +(3)2 12 +12 +22
4
∴ cosα = √174 .
23) Show that the equation of the right circular cone with vertex (2, 3, 1) axis
parallel to the line −x = y2 = z and one of its generators having direction
cosines proportional to (1, -1, 1) is
Sol. The axis of the cone is the line through vertex A(2, 3, 1) and parallel to
NL.
∴ AP 2 cos2 α = AM 2 . (4.54)
√l+2m+2n 3l+4m+12n
√
Similarly, 3 l2 +m2 +n2
= 13 l2 +m2 +n2
.
l = m = n
5 − 4 −41 15
7−5 −52 27
∴ −25+28 = −8+5 = 7−10
l m n
∴ l
3 = m
−3 = n
−3 .
1(−1)+2(1)+2(1)
∴ cosα = √
3.(3)
= √13
∴α = cos−1 √13 .
−x
√ + √y + √z
∴ OM = 3 3 3
OP = x2 + y 2 + z 2
∴ OM 2 = OP 2 cos2 α
4.8 Right Circular Cone 163
2 2
−x+y+z √1
∴ √
3
= 3
x2 + y 2 + z 2
x = y = z.
∴ Direction ratios are (0, 1, 0); (0, 0, 1), and (1, 1, 1).
Let l, m, n be the direction ratios of the axis of the cone. Let α be the
semi-vertical angle of the right circular cone.
l (0) + m (1) + n (0) m
∴ cosα = √ √ =√ , (4.57)
l2 2 2
+m +n 0+1+0 l + m2 + n 2
2
⇒ m − n = 0. (4.60)
Exercise:
1) Find the equations to the cones with vertex at the origin and passes
through the curve
(a) x2 + y 2 + z 2 − x − 1 = 0, x2 + y 2 + z 2 + y − 2 = 0
(b) ax2 + by 2 + cz 2 − 1 = 0, αx2 + βy 2 − 2z = 0
x2 y2
(c) a2
+ b2
= 1, z = c
2) Find the equation of the cone with a vertex is (1, 2, 3) and base is y 2 =
4ax, z = 0.
Answer: (2z − 3y)2 = 4a (z − 3) (z − 3x)
3) Find the equation of the cone with vertex (5, 4, 3) , and 3x2 + 2y 2 =
6, y + z = 0 as a base.
Answer: 147x2 + 87y 2 + 101z 2 − 210xy + 90yz − 210zx − 294 = 0
y
4) Show that the line xl = m = nz , where l2 +3m2 −3n2 = 0 is a generator
of the cone x2 + 2y 2 − 3z 2 = 0.
5) Prove that the perpendiculars are drawn from the origin to tangent planes
to the cone 2x2 + 3y 2 + 4z 2 + 2yz + 4zx + 6xy = 0 lie on the cone
11x2 + 4y 2 − 3z 2 + 8yz − 6zx − 20xy = 0.
6) Show that the locus of the lines of intersection of tangent planes to the
cone ax2 + by 2 + cz 2 = 0 which touch along perpendicular generators
is cone a2 (b + c) x2 + b2 (c + a) y 2 + c2 (a + b) z 2 = 0.
7) Find the equation to the right circular cone whose vertex is (2, −3, 5),
axis P Q which makes equal angles with the axes and semi-vertical angle
is 30◦ .
Answer: 5x2 + 5y 2 + 5z 2 − 8xy − 8zx − 4x + 86y − 58z + 278 = 0
Exercise: 165
8) Find the equation to the right circular cone whose vertex is P (2, −3, 5) ,
axis P Q which makes equal angles with the axes, and which passes
through the point A (1, −2, 3).
Answer: x2 + y 2 + z 2 + 6 (xy + yz + zx) − 16x − 36y − 4z − 28 = 0
9) Find the equation of the right circular cone whose vertex is at the origin,
whose axis is the line x1 = y2 = z3 , and which has a vertical angle of 60◦ .
Answer: 19x2 + 13y 2 + 3z 2 − 8xy − 24yz − 12zx = 0
11) Find the equation of the right circular cone, whose vertex is the origin
and semi-vertical angle is 45◦ and axis is x = y = z.
Answer: x2 + y 2 + z 2 = 4 (xy + yz + zx) .
5
Cylinder
5.1 Definition
A cylinder is a surface generated by straight lines parallel to a fixed-line and
satisfying one more condition intersecting to a curve or touching a given
surface.
The intersecting curve is known as the guiding curve. Straight lines are
known as generators and the fixed line is known as the axis.
Remark:
The minimum requirement of the cylinder is
167
168 Cylinder
z1 2z1
∴ x = x1 + 1 − ; y = −2 + + y1 ; z = 3.
3 3
This generator intersects the given conic if
2
z1 2 2z1
x1 + 1 − + 2 y1 + − 2 = 1.
3 3
2 2
Generalizing x1 , y1 , z1 ; we get x − z3 + 1 + 2 y + 2z 3 −2 =1
∴ x2 + 2y 2 + z 2 − 23 xz + 83 yz + 2x − 8y − 6z + 8 = 0
∴ 3 x2 + 2y 2 + z 2 + 2 (4yz − xz) + 6 (x − 4y − 3z) + 24 = 0.
170 Cylinder
2) Find the equation of the cylinder whose generators intersect the curve
ax2 + by 2 = 2z; lx + 3y + nz = p and are parallel to the z-axis.
Sol. The given curves are
ax2 + by 2 = 2z (5.2)
lx + my + nz = p. (5.3)
Eliminating z from (5.2) and (5.3), we get
ax2 + by 2 = 2z
2
= [p − lx − my]
n
∴ n ax2 + by 2 = 2p − 2lx − 2my
∴ n(ax2 + by 2 ) + 2lx + 2my − 2p = 0.
r2 al2 + 2hlm + bm2 + 2r [l (ax1 + hy1 + g) + m (hx1 + by1 + f )] = 0
(5.13)
which shows that one value of r is zero.
Since the line (5.10) touches the cylinder, it meets the cylinder only at one
point, so both values of r in (5.13) must be equal.
Since one root is zero, the other must also be zero.
∴ Coefficient of r = 0.
∴ l (ax1 + hy1 + g) + m (hx1 + by1 + f ) = 0. (5.14)
5.4 Right Circular Cylinder 175
∴ AP 2 = AM 2 + P M 2 , (5.17)
P M 2 = r2
5.4 Right Circular Cylinder 177
AM = Projection of AP on-axis L.
l (x − α) + m (y − β) + n (z − γ)
= √
l2 + m2 + n2
[l (x − α) + m (y − β) + n (z − γ)]2
∴ AM 2 = .
l2 + m2 + n2
∴ Equation (5.17) becomes;
2 2
2 1 1 2
∴ (y1 − 2) − (z1 − 3) + (x1 − 1) − (y1 − 2)
3 3 3 3
2
2 2
+ (x1 − 1) − (z1 − 3) = 4
3 3
∴ (2y1 − z1 − 1)2 + (2z1 − 2x1 + 4)2 + (x1 − 2y1 + 3)2 = 36.
178 Cylinder
Generalizing x1 , y1 , z1 ; we get
+x2 + 4y 2 + 9 − 4xy − 6y + 6x = 36
∴ 5x2 + 8y 2 + 5z 2 − 4xy − 4yz − 8xz + 22x − 16y − 14z − 10 = 0
is the required equation of the cylinder.
y
8) The axis of a right circular cylinder of radius 2 is a x−1 z−3
2 = 3 = 1 shows
2 2 2
that its equation is 10x + 5y + 13z − 12xy − 6yz − 4zx − 8x + 30y −
74z + 59 = 0.
Sol. Let P (x1 , y1 , z1 ) be any point on the surface of the cylinder.
∴ Axis is
x−1 y z−3
= = . (5.18)
2 3 1
∴ Direction cosines are √214 ; √314 ; √114
∴[ Length of the perpendicular from P to the axis]2 = [ radius]2
2 2 2
x1 − 1y1
∴ √2 √3 + y13z1 −1 3 + z1 −1 3x12 − 1 =4
√ √ √ √
14 14 14 14 14 14
∴ (3x1 − 2y1 − 3)2 + (y1 − 3z1 + 9)2 + (2z1 − x1 − 5)2 = 56
√ √ √
∴ The radius of the cylinder = M A = OA2 − OM 2 = 9 − 3 = 6.
The axis of the cylinder is the line passing through (0, 0, 0) and normal to
the plane x − y + z = 3.
y
∴ Equations are x1 = −1 = z.
1
∴ Direction cosines are √13 ; √ −1 √1
3
; 3
.
Let P (x, y, z) be any point on the cylinder.
∴ The equation of the cylinder is
2 !
1 2 y z 2 z x 2 x y √ 2
√ + + = 6
3 −1 1 1 1 1 −1
x2 + y 2 + z 2 − x − y − z = 0, (5.19)
x + y + z = 1. (5.20)
180 Cylinder
4x + 3y − 2z = 5 and 3x2 − y 2 + 2z 2 = 1
x2 y 2
+ 2 = 1, z = 0.
a2 b
∴ b2 (nx1 − z1 )2 + a2 (ny1 − m1 z1 )2 = n2 a2 b2 .
14) Prove that the equation of the right circular cylinder whose axis is
= y−1 2 2 2
1 = 3 and passes through the point (0, 0, 3) is 10x +13y +5z −
x−2 z
2
6yz − 12zx − 4xy − 36x − 18y + 30z − 135 = 0.
Sol. The equations of the axis of the cylinder are
x−2 y−1 z
= = . (5.21)
2 1 3
(Radius of cylinder)2 = (Length of perpendicular from (0, 0, 3) to the line)2
1 90
2 2
= 2 (−6) + (12) + 0 =
(2 + 12 + 32 ) 7
1) Find the equation of the cylinder whose generators are parallel to the
line x1 = y2 = z3 and pass through the curve x2 + y 2 = 16, z = 0.
Answer: 9x2 + 9y 2 + 5z 2 − 6xz + 12yz − 144 = 0
3) A straight line is always parallel to the Y Z plane and intersects the curve
x2 + y 2 = a2 , z = 0 and x2 = az, y = 0; prove that it generates the
2 2
surface x4 y 2 = x2 − az a − x2 .
4) Find the equation of the cylinder generated by the lines parallel to the
y
line x1 = −2 = z5 , the guiding curve being the conic x = 0, y 2 = 8z.
Answer: (y + 2x)2 = 8 (z − 5x)
x y z
5) Find the equation of the right circular cylinder whose axis is 2 = 3 = 6
and radius 5.
Answer: 45x2 + 40y 2 + 13z 2 − 12xy − 36yz − 24zx + 1225 = 0
6) Find the equation of the cylinder whose generators touch the sphere x2 +
y 2 + z 2 − 4x + 6y + 2z − 2 = 0 and are parallel to the line with direction
vector (2, −1, −2) .
Answer: 5x2 + 8y 2 + 5z 2 + 4xy − 4yz + 8zx + 36y − 18z − 99 = 0
7) Obtain the equation of the right circular cylinder described on the circle
through the three points (1, 0, 0) , (0, 1, 0) , (0, 0, 1) as guiding circle.
Answer: x2 + y 2 + z 2 − xy − yz − zx − 1 = 0
6.1 Definition
The locus of the general equation
ax2 + by 2 + cz 2 + 2f yz + 2gzx + 2hxy + 2ux + 2vy + 2wz + d = 0
of the second degree in x, y and z is called a conicoid.
Central conicoid:
All the surfaces which have a center and three principal planes are known as
central conicoid.
Cone is also a central conicoid; vertex is its center.
185
186 Central Conicoid
are two points of intersection of the line with the central conicoid.
1) Find the points of intersection of the line
−1 1
(x + 5) = (y − 4) = (z − 11)
3 7
with the conicoid 12x2 − 17y 2 + 7z 2 = 7.
Sol. The given line is
x+5 y−4 z−11
−3 = 1 = 7 =t
∴ x = −3t − 5; y = t + 4; z = 7t + 11
12x2 − 17y 2 + 7z 2 − 7 = 0
∴ 12(−3t − 5)2 − 17(t + 4)2 + 7(7t + 11)2 − 7 = 0
∴ 12(9t2 + 3at + 25) − 17(t2 + 8t + 16) + 7(49t2 + 154t + 121) − 7 = 0
∴ 434t2 + 1302t + 868 = 0
∴ t2 + 3t + 2 = 0
∴ (t + 2) (t + 1) = 0
∴ t = −2 or t = −1.
Let
ax2 + by 2 + cz 2 = 1 (6.1)
be the given central conicoid and P (α, β, γ) be any point on it
∴ aα2 + bβ 2 + cγ 2 − 1 = 0 (6.2)
Let line passing through the point P (α, β, γ) be
x−α y−β z−γ
= = = t, (6.3)
l m n
∴ x = α + lt; y = β + mt; z = γ + nt.
∴ Coordinate satisfies the equation of the conicoid
ax2 + by 2 + cz 2 = 1
∴ aα (x − α) + bβ (y − β) + cγ (z − γ) = 0
∴ aαx − aα2 + bβy − bβ 2 + cγz − cγ 2 = 0
∴ aαx + bβy + cγz = aα2 + bβ 2 + cγ 2
∴ aαx + bβy + cγz = 1.
which is the required equation of tangent plane at point (α, β, γ) to the central
conicoid.
188 Central Conicoid
lx + my + nz = p, (6.5)
ax2 + by 2 + cz 2 = 1. (6.6)
∴ aα2 + bβ 2 + cγ 2 = 1 (6.7)
∴ 7x − 6y + kz = 3k − 9
∴ 2k 2 + 9k + 4 = 0
∴ 2k 2 + 8k + k + 4 = 0
∴ 2k (k + 4) + 1 (k + 4) = 0
∴ (k + 4) (2k + 1) = 0
k = − or k = −1/2.
∴ The required tangent planes are 7x − 6y − 4z + 21 = 0 and 7x − 6y − z
2
+ 21
2 = 0.
i.e., 14x − 12y − z + 21 = 0.
3) Show that the plane 3x + 12y − 6z − 17 = 0 touches the conicoid 3x2 −
6y 2 − 9z 2 + 17 = 0 and finds the point of contact.
Sol. The equation of the given plane is
3x + 12y − 6z − 17 = 0 (6.8)
13
∴ Point (α, β, γ) is λ ; −52 −39
λ ; λ = (±1; ∓4; ∓3) .
5) Find the equations to the two planes which contain the line given by
7x + 10y − 30 = 0; 5y − 3z = 0 and touch the ellipsoid
7x2 + 5y 2 + 3z 2 = 60.
∴ 7x + 5 (2 + λ) y − 3λz = 30,
∴ 2λ2 + 5λ + 3 = 0
∴ 2λ2 + 2λ + 3λ + 3 = 0
∴ (λ + 2) (2λ + 3) = 0
λ = −1 or λ = −3 2
ax2 + by 2 + cz 2 = 1 (6.16)
is
aαx + bβy + cγz = 1. (6.17)
192 Central Conicoid
∴ We can say that aαp; bβp; cγp are the direction cosines of the normal at
the point (α, β, γ) .
6) Prove that from any given point six normal can be drawn to a central
conicoid.
Sol. The equation of the normal to the central conicoid
ax2 + by 2 + cz 2 = 1 (6.18)
at point
x−α y−β z−γ
(α, β, γ) is = = . (6.19)
aα bβ cγ
Let these normal passes through the point (x1 , y1 , z1 )
6.5 Normal to Central Conicoid 193
α − x1 kx1 αa2
∴ = k ⇒ α − x1 = ⇒ x 1 = .
x1
a2
a2 a2 + k
Similarly,
βb2 γc2
y1 = and z 1 = (6.21)
b2 + k c2 + k
194 Central Conicoid
a2 α b2 β c2 γ
x1 = , y 1 = , z1 = .
a2 + k b2 + k c2 + k
The feet of the normals (x1 , y1 , z1 ) lie on the curve
a2 α b2 β c2 γ
x= , y = , z = . (6.23)
a2 + k b2 + k c2 + k
where k is a parameter,
To prove that the curve (6.23) is a cubic curve.
To test the degree of the curve we see its intersection with any arbitrary
plane.
6.5 Normal to Central Conicoid 195
ux + vy + wz + d = 0 (6.24)
a2 α b2 β c2 γ
∴u + v + w +d=0
a2 + k b2 + k c2 + k
∴ ua2 α b2 + k c2 + k + vb2 β a2 + k c2 + k
+wc2 λ a2 + k b2 + k + d a2 + k b2 + k c2 + k = 0
which is a cubic in k, giving three values of k.
∴ The curve (6.23) is the cubic curve.
Since feet of the normals also lie on the ellipsoid (6.22), we conclude that
feet of the six normals from a given point are the six points of intersection of
the ellipsoid and a cubic curve.
Quadric cone through six concurrent normals:
To show that the six normals from (α, β, γ) to the ellipsoid lie on a cone of
the second degree.
Let the ellipsoid be
x2 y 2 z 2
+ 2 + 2 = 1. (6.25)
a2 b c
Now since the normal at (x1 , y1 , z1 ) passes through (α, β, γ) we get
a2 α b2 β c2 γ
x1 = , y 1 = , z1 = .
a2 + k b2 + k c2 + k
Let the equations of the normal from (α, β, γ) to the ellipsoid be
x−α y−β z−γ
= = (6.26)
l m n
px1 p a2 α
∴l= = .
a2 a2 a2 + k
pα 2 pα
∴ a2 + k = a +k = . (6.27)
l l
Similarly,
pβ
b2 + k = , (6.28)
m
and
pγ
c2 + k = . (6.29)
n
196 Central Conicoid
ax2 + by 2 + cz 2 = 1. (6.36)
1 1 1
∴ Tangent plane at x , y , z to (6.36) isaxx1 + byy 1 + czz 1 = 1,
∴ locus of the points of contact x , y , z 1 is ax1 x + by1 y + cz1 z = 1
1 1
x2 y 2 z 2
+ 2 + 2 = 1, (6.39)
a2 b c
6.7 Polar Plane of a Point 199
a2 b2 c2
∴ x1 = , y1 = , z1 = .
3α 3β 3γ
Substituting the value of x1 , y1 , z1 in (6.40), we get
1 a4 1 b4 1 c4
+ + =1
a2 9α2 b2 9β 2 c2 9γ 2
a2 b2 c2
∴ + + =9
α2 β 2 γ 2
a2 b2 c2
∴ Locus of G (α, β, γ) is x2
+ y2
+ z2
= 9.
x−2 y−1 z−3
12) Find the condition that the line l = m = n may touch the ellipsoid
3x2 + 8y 2 + z 2 = c2 .
y−1
Sol. The given equation of the line is x−2
l = m =
z−3
n
and of the ellipsoid is 3x + 8y + z = c2 .
2 2 2
3 2 8 2 z2
∴ x + y + 2 = 1.
c2 c2 c
The condition for becoming a tangent line is alα + bmβ + cnγ = 0.
i.e., c32 (2) l + c82 (1) m + c12 (3) n = 0.
200 Central Conicoid
x2 y2 z2 k2
By (6.40), p12 = a41 + b41 + c14 = a4 +b4 +c4
∴ Locus of P (x1 , y1 , z1 ) is
x2 y 2 z 2 k2
+ + = . (6.44)
a4 b4 c4 a 4 + b4 + c 4
Exercise 201
Also, P lies on (6.42). Thus P lies on the curve of the intersection of the two
ellipsoids (6.42) and (6.43).
14) Prove that for all values of λ, the normals to the conicoid
x2 y2 z2
+ + = 1,
a 2 + λ b2 + λ c 2 + λ
which pass point (α,
through a given β, γ)meet the plane z = 0 in points on
the conic b2 − c2 βx + c2 − a2 αy + a2 − b2 xy = 0, z = 0.
Sol. The equation of the quadric cone containing the normals to
x2 y2 z2
+ + = 1,
a 2 + λ b2 + λ c 2 + λ
drawn from the point (α, β, γ) is
" 1
1 1 1
2
α 2 − 2 =0
a +λ b +λ c +λ x−α
" α c 2 − b2
∴ = 0.
x−α
Thus, it meets the plane z = 0, where
α c 2 − b2 β a2 − c2
+ − b2 − a 2 = 0
x−α y−β
∴ α(y − β)(c2 − b2 ) + β(x − α)(a2 − c2 ) − (x − α) (y − β) b2 − a2 = 0
∴ b2 − c2 βx + c2 − a2 αy + a2 − β xy = 0.
Exercise:
Output:
203
204 Miscellaneous Examples using MATLAB
2) Finds the equation of a plane passing through three points A(1, 2, 3),
B(−1, 2, −3), and C(1, 2, −3) in three-dimensional space.
Sol. To find the equation of a plane passing through three points A(1, 2, 3),
B(−1, 2, −3), and C(1, 2, −3) first we create a function file named as
Plane_3Points.m and the code is given as follow: 2 then we run the program
A= [1 2 3];
B= [−1 2 −3];
C= [1 2 −3];
[a,b,c,d]=Plane_3Points (A,B,C)
Output:
a=
0
Miscellaneous Examples using MATLAB 205
b=
−12
c=
0
d=
24
∴ The equation of the plane is −12y + 24 = 0.
3) Finds the equation of a plane passing through three points
A (1, 0, 3) , B (0, 2, 3) , and C(−2, 4, −3) in three-dimensional space.
Sol.
A= [1 0 3];
B= [0 2 3];
C= [−2 4 −3];
[a,b,c,d]=Plane_3Points (A,B,C)
Output:
a=
−12
b=
−6
c=
2
d=
6
∴ The equation of the plane is −12x − 6y + 2z + 6 = 0
4) Plot a plane based on a normal vector and a point in Matlab.
206 Miscellaneous Examples using MATLAB
Sol.
Output:
Line=
Output:
(a1*a2)+(b1*b2)+(c1*c2) = −2
The origin lies in the acute angle between the planes.
7) Find the angle between the lines
3x + 2y + z − 5 = 0 = x + y − 2z − 3
2x − y − z = 0 = 7x + 10y − 8z.
and
#
2x − y − z = 0
(7.2)
7x + 10y − 8z = 0
Input:
Output:
The angle between the lines is 90 degrees.
x+1 y z−3
8) Find the angle between the line 2 = 3 = 6 and the plane
3x + y + z = 7.
Sol.
210 Miscellaneous Examples using MATLAB
Input 1:
enter the coefficient of x for a plane :3
enter the coefficient of y for a plane :1
enter the coefficient of z for a plane :1
enter the direction cosine l for a line :2
enter the direction cosine m for a line :3
enter the direction cosine n for a line :6
Output 1:
The angle between the lines is 40.247880 degrees.
Input 2:
enter the coefficient of x for a plane :1 8 enter the coefficient of y for a
plane :1
Miscellaneous Examples using MATLAB 211
Input 1:
enter the coefficient of x for the 1st plane :2
enter the coefficient of y for the 1st plane :3
enter the coefficient of z for the 1st plane :−1
enter the value of constant for the 1st plane :−2
enter the coefficient of x for the 2nd plane :3
enter the coefficient of y for the 2nd plane :3
enter the coefficient of z for the 2nd plane :1
enter the value of constant for the 2nd plane :−4
enter the coefficient of x for the 3rd plane :1
enter the coefficient of y for the 3rd plane :−1
enter the coefficient of z for the 3rd plane :2
enter the value of constant for the 3rd plane :−5
Output 1:
D4 =
2 3 -1
3 3 1
1 -1 2
D3 =
2 3 -2
3 3 -4
1 -1 -5
D1 =
5.0000
D2 =
7.0000
Input 2:
enter the coefficient of x for the 1st plane :4
enter the coefficient of y for the 1st plane :−5
enter the coefficient of z for the 1st plane :−2
enter the value of constant for the 1st plane :−2
enter the coefficient of x for the 2nd plane :5
enter the coefficient of y for the 2nd plane :−4
enter the coefficient of z for the 2nd plane :2
enter the value of constant for the 2nd plane :2
enter the coefficient of x for the 3rd plane :2
enter the coefficient of y for the 3rd plane :2
enter the coefficient of z for the 3rd plane :8
enter the value of constant for the 3rd plane :−1
Output 2:
D4 =
4 -5 -2
5 -4 2
2 2 8
D3 =
4 -5 -2
5 -4 2
2 2 -1
D1 =
D2 =
-81
Input:
Enter radius of a sphere: 4
Enter x-coordinate of the center: 5
Enter y-coordinate of the center: −5
Enter z-coordinate of the center: 3
216 Miscellaneous Examples using MATLAB
Output:
11) Draw a sphere with a radius of 4 by multiplying the coordinates of the
unit sphere. Plot the second sphere with center (5, −5, 3).
Sol.
Input:
Enter how many times the radius required a new sphere than a unit
vector: 4
Enter the x-coordinate of the center: 5
Enter the y-coordinate of the center: −5
Enter the z-coordinate of the center: 0
Miscellaneous Examples using MATLAB 217
Output:
Output:
Output:
14) Draw a right circular cone whose base is on the positive y-axis.
Sol.
r = linspace(0,2*pi) ;
th = linspace(0,2*pi);
[R,T] = meshgrid(r,th);
X = R.*cos(T) ;
Y=R;
Z = R.*sin(T) ;
surf(X,Y,Z)
220 Miscellaneous Examples using MATLAB
Output:
15) Draw a right circular cone whose base is on the negative y-axis.
Sol.
r = linspace(0,2*pi) ;
th = linspace(0,2*pi) ;
[R,T] = meshgrid(r,th) ;
X = R.*cos(T) ;
Y =-R ;
Z = R.*sin(T) ;
surf(X,Y,Z)
Miscellaneous Examples using MATLAB 221
Output:
222 Miscellaneous Examples using MATLAB
Output:
224 Miscellaneous Examples using MATLAB
Output:
Output:
Index
A F
Arbitrary 2, 17, 194 Fixed 8, 45, 50, 89, 132, 138, 156,
Axes 4, 23, 45, 72, 104, 175
147, 198 Fixed point 8, 45, 50, 130, 138, 156
C I
Centroid 8, 104, 198, 199 Intercept 6, 7, 8, 89, 130
Circumcenter 14, 15 Intercept form 6, 7, 8
Conditions 15, 55, 82, 152 Internally 5, 24, 132, 198
Constant 3, 29, 42, 102, 156, Intersection 9, 16, 17, 19, 42, 45, 74,
214 80, 106, 156, 201
Coordinate 3, 13, 35, 45, 72, 104, Intersects 12, 43, 115, 133, 169, 185
147, 185, 198, 215
Coordinate planes 5, 35, 43
Coordinates 3, 7, 24, 43, 73, 102, L
185, 216 Locus 1, 39, 102, 141, 200
Coplanar 10, 13, 56, 58, 93
Cosines 2, 4, 26, 45, 76, 134,
178, 202 N
Cross multiplication 12, 14, 20 Negative 4, 25, 105, 220
Normal 2, 3, 4, 116, 191, 200, 200
Normal form 2, 3, 4, 27
D
Direction cosines 2–4, 45, 53, 134,
155, 178, 200 O
Distance 9, 26, 44, 69, 71, 88, 105, Origin 2, 23, 89, 102, 137, 150, 178,
122, 161 208
E P
Externally 5, 25, 125, 198 Parallel 3, 6, 78, 122, 167, 200
227
228 Index
R V
Ratios 4, 6, 21, 52, 148, 153, 161, 208 Value 2, 18, 87, 109, 149, 199, 213,
Reciprocals 8 214
About the Authors
229
River Publishers Series in Mathematical, Statistical and
MATLAB Programming
Solid Geometry with
Nita H. Shah
Falguni S. Acharya MATLAB Programming
Solid geometry is defined as the study of the geometry of three-
dimensional solid figures in Euclidean space. There are numerous
techniques in solid geometry, mainly analytic geometry and methods
using vectors, since they use linear equations and matrix algebra.
Solid geometry is quite useful in everyday life, for example, to design
different signs and symbols such as octagon shape stop signs, to
indicate traffic rules, to design different 3D objects like cubicles in
gaming zones, innovative lifts, creative 3D interiors, and to design
3D computer graphics. Studying solid geometry helps students to
improve visualization and increase logical thinking and creativity since
it is applicable everywhere in day-to-day life. It builds up a foundation
for advanced levels of mathematical studies. Numerous competitive
exams include solid geometry since its foundation is required to
study other branches like civil engineering, mechanical engineering,
computer science engineering, architecture, etc.
This book is designed especially for students of all levels, and can
serve as a fundamental resource for advanced level studies not only in
mathematics but also in various fields like engineering, interior design,
architecture, etc. It includes theoretical aspects as well as numerous
solved examples. The book includes numerical problems and problems
of construction as well as practical problems as an application of the
respective topic. A special feature of this book is that it includes solved
Falguni S. Acharya
examples using the mathematical tool MATLAB.
Nita H. Shah
Nita H. Shah
River Publishers River Falguni S. Acharya