Professional Documents
Culture Documents
Lines in R3
Planes in R3
Distances
Table of contents
1 Lines in R2
2 Lines in R3
3 Planes in R3
4 Distances
ng y=m?c+C '
m2 > Mi
0 i ei :c
2 Vertical lines
x = k,
with k = x-intercept.
Theorem 1
Let l be the line going through A = (x1 , y1 ) and B = (x2 , y2 ).
Theorem 1
Let l be the line going through A = (x1 , y1 ) and B = (x2 , y2 ).
(a) If x1 = x2 , then l the vertical line
x = x1
K=X ,
%
42
- B
A
Y,
O X, 3C
Theorem 1
Let l be the line going through A = (x1 , y1 ) and B = (x2 , y2 ).
Theorem 1 proof
(a) Since A and B have the same x-coordinate, the only line going
through both both A and B is the vertical line x = x1 .
K=X,
%
42
- B
A
Y,
O X, 3C
Theorem 1 proof
Since x1 6= x2 , the line going through A and B is a slanted line
y = mx + c (1)
Theorem 1 proof
Since x1 6= x2 , the line going through A and B is a slanted line
y = mx + c (1)
Both A and B are on the line, their coordinates both satisfy (1)
8 8
y y1
:
<mx + c = y >
<m = 2
1 1
) x 2 x1
:mx2 + c = y2 > y2 y1
: c = y1 x1
x2 x1
a) -
(1) Mlk ,
-
X, / =
Ye
-
Y,
hi =
42 -
Yp
SG 24
-
Theorem 1 proof
Since x1 6= x2 , the line going through A and B is a slanted line
y = mx + c (1)
Both A and B are on the line, their coordinates both satisfy (1)
8 8
> y y1
<mx + c = y <m = 2
1 1
) x 2 x1
:mx2 + c = y2 > y2 y1
: c = y1 x1
x2 x1
Conclusion
y2 y1 y2 y1 y2 y1
y= x + y1 x1 , y y1 == (x x1 )
x2 x1 x2 x1 x2 x1
Example 1
Find the equation of the line going through two points P and Q. In
each case, write out 2 other points (other than P, Q) on the line.
(a) P = (0, 0), Q = (3, 5) Hs Yi -
Y Y, -
(K xD
= -
gq.gg
The line going through P& Q is the slantedline
5- 0
y -
0 =
3-0-1×-0)
y =
5- K
x= 1 11 , §)
2 other prints or the line are
too = 6 (6 ,
10 )
Tai Do Lines and Planes 7 / 52
Lines in R2
Lines in R3
Planes in R3
Distances
Example 1
Exercise !
Determination of a line in R2
by 2 points it contain, or
by a point and an orientation, which can be
Determination of a line in R2
Determination of a line in R2
^ n→
t.scKott
for some parameter
= a
{ y =
yottb
Comments
P the line
The equation =
point on
(x, y) = P + t~*
,
v \
Ñ = direction vector
is called the vector equation of the line.
Comments
The equation
(x, y) = P + t~v (KY) (kayo) + t /
-_
8)
is called the vector equation of the line.
The equation 8
<x = x + ta
0
:y = y + tb
0
Theorem 2 proof
" #
a
Assume the line l goes through P = (x0 , y0 ) and has direction µ→
~v =
b
let Q be any point out .
Ñ
ÑQ parallel to Ñ So -
Then is .
,
a
p→Q = t.at .
p
e
Q -
P = tot
Q = Pt td
i. Any paint Q Gc yf =
,
on l satisfies
lie yl
,
= Pt td→
Tai Do Lines and Planes 12 / 52
Lines in R2
Lines in R3
Planes in R3
Distances
Example 2
Find both the vector equation and the parametric equation of the line
going through the point P and having direction ~v .
In each case, write out 2 other points (other than P ) on the line.
" #
⇡ Vector equation :
(8)
Vector comedian
parametric equation :
be y) -10,0) +
,
t
/%) {
✗ =
xotta
Parametric equation Y -
bott b
Otta 1- " "
x =
n
thy {
=
: and
= 0+ Et = Et
+ = 1 Gci 9) =
47 E)
/
,
Example 2
" #
0
(b) P = (1, 2) and ~v =
t§
1
Vector equation E- 1
Yr
149 )=PttJ=U ,
-
2) +
Parametric Ja
equation
I
>
✗ =
11-0=1 0
.
{
SC
y= -2+8
( Vertical line)
2 other paints rathe line are
1- = 1 (key / =
[1 ,
-
1)
1- = 2 key/ = (1,0 )
Tai Do Lines and Planes 14 / 52
Lines in R2
Lines in R3
Planes in R3
Distances
a(x x0 ) + b(y y0 ) = 0
it
?
p
.
=
a(x x0 ) + b(y y0 ) = 0
Theorem 2 proof
" #
a
Assume the line l goes through P = (x0 , y0 ) and has normal ~n =
b
let 01=64 g) be any point an l .
P→Q=( go4)
" → ñ
The actor perpendicular
^
is
Y -
(9)
'
'
e
to Ñ So
p
-
a
.
PA .ñ =
0 ace scott bly
-
_
yo)=0 .
Example 3
Find the normal equation of line going through P and having normal
vector ~n. In each case, find 2 other points (other than P ) on the line.
" #
normal vacation
(a) P = (0, 0) and ~n = p
⇡ ( YE -
Fix
2 ant
by =c
nxtFLY-OP-lx.it/&n-.-(8)2d-herpeintsf&--
Mlk -0) + Fly -
a) = 0
kit/ 17
FI
1 = -
)
E
abc-scoltbfy.gs)=O
* =
" # kid (E =
,
-
n )
2
(b) P = (1, 2) and ~n =
5
26C -
10--0 2xt5y= 12
✗ = 0
Key ) 10, ¥)
2 otherpoints
{
=
6
✗ =
(say / =
16,0)
Tai Do Lines and Planes 17 / 52
Lines in R2
Lines in R3
Planes in R3
Distances
Lemma 1
A line with general equation ax + by + c = 0 (or normal equation
ax + by = c) has
(a) a normal vector " #
~n =
a →
b e
?
(b) and a direction vector §
" #
&
~v =
b
a
Example 4
Find the direction vector d~ and the normal vector ~n in following cases.
In each case, check that d~ ? ~n.
(a) x y + 3 = 0 9--1,6=-1
ñ
-151=(41,8--1%141) ,ñÑ=o ñtd
(c) x y= 1 9--1,6=-1 Ñ
ii. 8=0
ñ=( ! / id -1 ;)
,
, e
07%1--0 7=1-28
ñ -151,8=1 ?)
Tai Do Lines and Planes 19 / 52
Lines in R2
Lines in R3
Planes in R3
Distances
a point
obtained byF
→ a direction Vec
Vector equation and parametric equation .
" #
v1
1 Vector equation (x, y) = P + t~v = (x0 , y0 ) + t
v2
8
<x = x + tv
0 1
2 Parametric equation
:y = y0 + tv2 a
point
General equation and normal equation →
obtained by t
a normal
3 General equation ax + by + c = 0 vector
4 Normal equation ax + by = d
" #
a
2 Line through point P = (x0 , y0 ) with normal vector ~n =
b
a(x x0 ) + b(y y0 ) = 0
Determination of lines in R3
Determination of lines in R3
;
.
A line in R3 is determined by
2 3
v1
6 7
A point P = (x0 , y0 , z0 ) and a direction vector ~v = 4v2 5
v3
1K 4-05-21
(x, y) = P + t~v
,
(x -39-21 = P + t~v
y (x, y)
/ §8>)
,
=
64 Yo Zoltt
.
,
<x = x0 + ta
>
(b) In particular, any point on the line has coordinates y = y0 + tb
>
>
:
z = z0 + ct
which is called the parametric equation of the line.
Theorem 4 proof
2 3
a
6 7
Assume l goes through P = (x0 , y0 , z0 ) and has direction ~v = 4 b 5.
c
let Q be point on P Then
any
%
.
Pa 11 F e
"
>
Q P - = Pie =
t F . -
Q
Pt t F
p
Q -
lx Y 2-I
, .
=
64 , yo ,
Zo )+ t
({)
Tai Do Lines and Planes 24 / 52
Lines in R2
Lines in R3
Planes in R3
Distances
Example 5
Find the line l going through a point P and having direction ~v . List 2
other points (other than P ) on the line
2 3
1
6 7
P = (1, 2, 1) and ~v = 405
2
Vector equation parametric equation
lay /& ) et t
a
/
2-1=11,2 I / +
=
t
, ,
2
Y =
2- =
1+28
t = 1 (R , Y, Z
) =
(2,2 3) ,
t = 2 & i Y it ) = (3 ,
2
,
5)
Tai Do Lines and Planes 25 / 52
Lines in R2
Lines in R3
Planes in R3
Distances
Exercise 1
Find both the vector equation and the parametric equation of the line l
going through P, Q. List 2 other points (other than P and Q) on the line.
a
PÑ=( 3¥)
-
has direction
p
.
2-1=(12,4+1-1%5) |Y=2t5t
2--11-88
.
Exercise 1
Exercise !
Summary on lines in R3
0 1
v1
B C
The line through P = (x0 , y0 , z0 ) with direction ~v = @v2 A has
v3
(a) Vector equation
0 1
v1
B C
(x, y, z) = P + t~v = (x0 , y0 , z0 ) + t @v2 A
v3
Determination of planes
A plane can be determined by a point and an orientation which can be
1 a vector perpendicular to the plane, called normal vector,
Determination of planes
A plane can be determined by a point and an orientation which can be
n
n→
Po
Putting ④
c= ax0 by0 cz0 , we obtain the general equation
ax + by + cz + d = 0
Putting e = ax0 + by0 + cz0 , we obtain the normal equation
ax + by + cz = e
Theorem 1 proof
2 3
a
6 7
Assume the plane contains P0 = (x0 , y0 , z0 ) and has normal ~n = 4 b 5
c
let P -649,2-1 be any paint on the plane
-
PTP
)
%
/
" -
Then = is perpendicular
tooo/%)
y -
yo
Z -
Zo
to ñ
-1%1
-
ftp.n =
0 abc-xoltbly-y.lt
1- c (2- -
Zo) = 0
Example 6
Find the plane passing through P0 and having normal vector ~n with
2 3 2 3
0 1
6 7 6 7
(a) P0 = (1, 2, 2), ~n = 435 (b) P0 = (1, 2, 3), ~n = 4 15
4 2
OK e) +319-211-44--21=0
-
Ilse 1) -
+ (4) (y -211-212--31=0
Metal General
3yt 42--14=0 4 equation
x -
y +22--5=0 g
letkktinn
Lemma 2
Any plane with general equation ax + by + cz + d = 0 (or normal
equation ax + by + cz = d) has normal vector
2 3
a
6 7
~n = 4 b 5
c
Example 7
In each following case, find the normal ~n of the plane with given equation.
!
Further, find 2 points P, Q on the plane and check that P Q ? ~n.
F--1%1--1-11 .
p
> Q
K=Y ZZ
-
a .ir?= 9.1+9 -
C- 1) to -2=0 .
Example 7
I b I C 0
(b) x y=2 a = =
-
ñ=
I
Exercise
<
y = y0 + su2 + tv2
>
>
:
z = z0 + su3 + tv3
Example 8
In each of the following cases, find both the vector equation and the
parametric equation of the plane
2 3 2 3
0 2
6 7 6 7
(a) Through P = (0, 0, 0) with direction ~u = 405 , ~v = 415
Vector elevation 1 5
T§) 1¥)
parametric equation
✗ 01-01-2 C- = 2T
(
=
,
y
=
Ot Ot t = t
2- = Of St 58 =
St 5T
2 other points 5--1.8=0 Gc Y 7) =
(0,0 1)
g-
, , ,
5- t =
1 be , y, 7) = (2,1 , 6)
Tai Do Lines and Planes 38 / 52
Lines in R2
Lines in R3
Planes in R3
Distances
Example 8
{
: __
y =
-1+25+48
2- =
283s -
3£
Tai Do Lines and Planes 39 / 52
Lines in R2
Lines in R3
Planes in R3
Distances
1 General equation ax + by + cz + d = 0
2 Normal equation ax + by + cz = d a paint
-
Vector equation and parametric equation \ direction vectors Ñ I
,
Distances
p .
-
e
:
Tai Do Lines and Planes 42 / 52
Lines in R2
Lines in R3
Planes in R3
Distances
Point-line distance in R2
Theorem 7
The distance from the point P0 = (x0 , y0 ) to the line
l : ax + by + c = 0 is bbc.is ) into l
|ax0 + by0 + c|
d(P0 , l) = p \ ñ=
a 2 + b2 (9) 11%11--67.52
Observation
◦
d (Pole)
!
! QP0 · ~n
proj~n (QP0 ) = ~n implies
~n · ~n
! |ax0 + by0 + c|
|| proj~n (QP0 )|| = p
a 2 + b2
Remark on Theorem 3
|ax0 + by0 + c|
To use d(P0 , l) = p , we need the general equation of l
a 2 + b2
ax + by + c = 0
" #
a
This can be achieved by a point P = (x1 , y1 ) and a normal ~n =
b
a(x x1 ) + b(y y1 ) = 0
Example 9
Find the distance from P to the line l in the following cases
tarot byotcl
(a) P = (1, 2), l : 3x + 4y 5 = 0. DCP e)
, =
a2tb2
4-2-51
1¥
" "t
alp e. i
,
= = =
" #
32+42 1
(b) P = (2, 1), l passes through A(0, 1) and has normal ~n = .
1
l has general equation
1 (K -
)
O + C- 1) (ay -
11=0 se -
y +1=0
The distance is
12 l 1) +11
4pg- 252
- -
DCP, e) = = =
it (4) 2
Example 9
" #
1
(c) P = (0, 1), l passes through A(0, 1) and has direction ~v = .
3
Exercise !
Theorem 8
The distance from the point P0 = (x0 , y0 , z0 ) to the plane
↵ : ax + by + cz + d = 0 is
Observation
!
d(P0 , ↵) = || proj~n (QP0 )||
Observation
!
d(P0 , ↵) = || proj~n (QP0 )||
!
! QP0 · ~n
proj~n (QP0 ) = ~n implies
~n · ~n
! |ax0 + by0 + cz0 + d|
|| proj~n (QP0 )|| = p
a 2 + b2 + c 2
Remark
Example 10
Find the distance from A(1, 2, 0) to the plane P in the following cases.
12 11-2-0+11
d(A. F)
¥
-
=
=
2<+14+-112 2 3
1
6 7
(b) P passes through (2, 1, 1) and has normal vector ~n = 425
3
The general equation of P is
16C-211-214 -
1) 1-312-+17--0
01+24+32--1=0
14 1
%
11-2 -2+3-0-11
d( A ,
P) = = =
14-22+32 14
Tai Do Lines and Planes 51 / 52
Lines in R2
Lines in R3
Planes in R3
Distances
Summary on distances
|ax0 + by0 + c|
d(P0 , l) = p
a 2 + b2