Professional Documents
Culture Documents
Math - 2 - 6oc Tfinal - Partii
Math - 2 - 6oc Tfinal - Partii
PART II
Analytical Geometry
Co-ordinate Geometry
Gradients
Mid points
Length of lines
Equation of lines
Gradients
• Gradient = (change in y) / (change in x)
∆y
=
∆x A(x2;y2)
y2 − y1
=
x2 − x1 y2 – y 1
B(x1;y 1) x2 – x 1
Gradients
• Gradient = (change in y) / (change in x)
y2 − y1
m(AB) = A(6;4)
x2 − x1
4 − (−1)
=
6 − (−7)
5
=
13
B(-7;-1)
Gradients
• If the gradient of the line joining A(-3;-2) and B(4 ;y)
is – 6, calculate y.
y2 − y1
m= Solving for y
x2 − x1
so need an equation
y − (−2)
−6 =
4 − (−3)
y+2
−6 =
7
-42 = y + 2 ∴ y = - 44
Angle of Inclination m = tan θ
• m = Gradient = (change in y) / (change in x)
B(-2;5)
y2 − y1 5 − (1)
m(AB) = = =-1
x2 − x1 − 2 − (2)
A(2;1)
∴ tan θ = - 1
θ
Q2,4 Key ∠ = 450
WHY ?
∴ θ = 1350
Collinear
• Show that the line through the points A(4;3),
B(-5;6) and C(22;-3) are collinear.
y2 − y1 1 y2 − y1 1
m (AB) = =− m(CA) = =−
x2 − x1 3 x2 − x1 3
3−6 −3−3
= =
4 − (−5) 22 − (4)
∴ m(AB)
1 = m(AC) 1
=− =−
3
AND 3 point A is common
∴ m( ⊥ ) =
2 ∴3 y − 2x −1 = 0
3
Find equation of line
To find the gradient need :-
a. 2 points , or
∴AB = (x2 − x1 ) + ( y2 − y1 )
2 2
y2 – y 1
B(x1;y 1) C
x2 – x 1
• AB 2 = BC 2 + AC 2 (pythag)
= ( x 2 – x 1 ) 2 + ( y 2 – y 1 )2
Length of line segments
• Determine the length of the line joining the points
X( 6;4) and Y( -2;1)
∴AB = (x2 − x1 ) + ( y2 − y1 )
2 2
= (6 − (−2) ) + (4 − 1)
2 2
= (8) + (3)
2 2
= 73
• Determine x if the length of line joining
A(x;1) and B( -1;3) is 2 2
∴AB = (x2 − x1 ) + ( y2 − y1 )
2 2
2 2= (x − (−1) ) + (1 − 3)
2 2
2 2= (x + 1) + (− 2)
2 2
SQUARE both
8 = x2 + 2x + 1 + 4 sides
8 = x2 +2 x + 5
x2 +2x – 3 = 0
( x + 3 )(x – 1 ) = 0 ∴ x – 3 or x = 1
Mid point of line segments
A(x2;y2)
x + x y2 + y1
M( 2 1 ; )
2 2
y2 + y1
2
B(x1;y 1) x2 + x1 C
2
Mid point of line segments
• Calculate the co-ordinates of the mid point M of
the line joining the points A(-2;3) and B(4; -3)
M( x2 + x1 ; y 2 + y1)
2 2
−2+4 −3+3
M( ; )
2 2
M( 1 ; 0)
Mid point of line segments
Given M(1 ; 0 ) is the mid point of the line joining the
points A( -2;3) and B ( p; q) , determine p and q.
x2 + x1 y2 + y1
Xm = Ym =
2 2
p − (−2) q+3
1= 0=
2 2
2= p+2 0 = q+3
∴p=0 ∴q = −3
The equation of the circle with center at the origin and radius R is
R
y
x2 + y 2 =
x
R2
The equation of the circle with center at (a,b) and radius R is
R
( x − a ) 2 + ( y − b) 2 =
R2 b
( a, b)
Then
x 2 − 2ax + a 2 + y 2 − 2by + b 2 =
R2 a
x 2 + y 2 − 2ax − 2by + a 2 + b 2 − R 2 =
0
h=
−a k =
−b
Or
x + y + 2hx + 2ky + d =
2 2
0
d = a 2 + b2 − R 2
Then for the circle
x 2 + y 2 + 2hx + 2ky + d =
0
Find the equation of the circle whose center is at (2,-3) and with radius 4
Solution
( x − 2) 2 + ( y + 3) 2 =
16
Then
x2 − 4 x + 4 + y 2 + 6 y + 9 =
16
x2 + y 2 − 4 x + 6 y − 3 =0
Important Note
2h =
−4 2k =
6 d=
−3
Then h=
−2 k =
3 d=
−3
2h =
8 2k =
−10 d =
5
Then h=
4 k=
−5 d =
5
x 2 + y 2 + 8 x − 10 y + 5 =0
( x 2 + 8 x) + ( y 2 − 10 y ) + 5 =0
(x ) + (y )+5=0
Step 3: take half the coefficients of the linear terms then put the whole bracket
to be square (we still have another step)
( x + 4) + ( y − 5)
2 2
+5=0
Step 4: square the numbers inside the brackets and then subtract them outside it
( x + 4) 2 + ( y − 5) 2 − 16 − 25 + 5 =0
R=6
Example
( x 2 − 6 x) + ( y 2 + 3 y ) + 1 = 0
3 2 9
( x − 3) + ( y + ) − 9 − + 1 =
2
0 −3
2 4 (a, b) = (3, )
2
3 2 41
( x − 3) + ( y + ) =
2
41
2 4 R=
2
Note
P2 = ( x2 , y2 )
=
For the points P1 (=
x1 , y1 ) , P2 ( x2 , y2 )
( x1 , y1 ) + ( x2 , y2 ) P1 = ( x1 , y1 )
The mid-point will be =
2
Find the equation of the circle on which the points (2,-3) and (8,7) the end points
of a diameter of this circle
Solution
4
The equation of the parabola with vertex at the origin and focus on the positive
X-axis is
y 2 = 4a x
y 2 = 12 x
then 4a = 12 a=3
y 2 = −4a x
a
(0,0)
The vertex will be at (0,0) (−a,0)
x 2 = 4a y x 2 = −4a y
(0,0)
(0, a ) a
a
(0, −a )
(0,0)
x 2 = −8 y
then 4a = 8 a=2
(0, −2)
The vertex will be at (0,0)
The focus will be at (0, −2)
Important note
( y − k ) 2 = 4a ( x − h)
k
(h, k ) ( h + a, k )
(0,0)
The vertex will be at (h, k ) h h+a
( y − 3) 2 = 16 ( x − 5)
then 4a = 16 a=4 3
(9,3)
=
also h 5=
, k 3 4
(0,0)
The vertex will be at (5,3) 5 5+4
( x − 1) 2= 12 ( y − 7) 7+3 (1,10)
3
then 4a = 12 a=3 7
=
also h 1=
, k 7
Solution
x 2 − 2 x − 12 y + 85 =
0
( x 2 − 2 x) − 12 y + 85 =
0
( x − 1) 2 − 1 − 12 y + 85 =0 We will study the equation
( x − 1) 2 = 12 y − 84 ( x − 1) 2 = 12( y − 7)
( x − 1) 2 = 12( y − 7)
( x − 1) 2= 12 ( y − 7)
7+3 (1,10)
3
then 4a = 12 a=3 7
=
also h 1=
, k 7
Solution
( y 2 + 4 y ) + 4 x − 16 =
0
( y + 2) 2 − 4 + 4 x − 16 =0
( y + 2) 2 =
−4 x + 20 We will study the equation
( y + 2) =
−4( x − 5)
2 ( y + 2) 2 =
−4( x − 5)
( y + 2) 2 =
−4( x − 5)
5 −1
(0,0) 1 5
then 4a = 4 a =1
Find the equation of the parabola whose vertex is at (-2,5) and its focus
Is at the point (-2,8)
Solution
but h =
−2 , k =
5 ,a=
3
−2
Then the equation is
( x + 2) 2 = 12( y − 5)
The equation of the Ellipse with center at the origin and foci on the X-axis is
x2 y 2
+ =
1 , a 2
> b 2
a 2 b2
The center will be at (0,0)
x2 y 2
+ =
1
9 4
then a 2 =9 > b 2 =4
c2 = 9 − 4 = 5
5 5
then c= 5
(− 5,0) ( 5,0)
The center will be at (0,0)
The foci will be at ( 5,0) , (− 5,0)
Important notes
2 2
x y
+ = >
2 2 (0, b)
1 , a b
a 2 b2
b
The length of the major axis is 2a (−a,0) a (a,0)
The length of the minor axis is 2b
2 (0, −b)
b
The eccentricity is e = 1− 2 < 1
a
In the case of a= b= R we get
x2 y 2
x +y =
This is a circle with center
2
+ 2=
1 2
R 2 2
at the origin and radius R
R R
In this case R
b2 R2
e = 1− 2 = 1− 2 =0
a R
The equation of the Ellipse with center at the origin and foci on the Y-axis is
x2 y 2
+ =
1 , a 2
> b 2
b2 a 2
The center will be at (0,0)
(0, c)
c=
2
a 2 − b2 c
(0, −c)
The foci will be at (0, c) , (0, −c)
Another case of the Ellipse
( x − h) ( y − k)
2 2
+ 1 , a 2 > b2
= c c
a2 b2 k
(h, k )
where c=
2
a 2 − b2
Example
( x − 6) ( y − 7)
2 2
+ =
1 5
9 4 7
then a 2 =9 > b 2 =4
5
c =9−4 =5
2
(0,0) 6− 5 6 6+ 5
then c= 5
The center will be at (6,7)
The foci will be at (6 + 5,7) , (6 − 5,7)
Example
(9 x 2 − 18 x) + (16 y 2 + 64 y ) − 71 =
0
9( x 2 − 2 x) + 16( y 2 + 4 y ) − 71 =
0
9 ( x − 1) 2 − 1 + 16 ( y + 2) 2 − 4 − 71 =
0
9( x − 1) 2 − 9 + 16( y + 2) 2 − 64 − 71 =0
9( x − 1) + 16( y + 2) =
2
144 2
÷144
9( x − 1) 2 16( y + 2) 2
+ =
1
144 144 1− 7 7 1+ 7
( x − 1) 2 ( y + 2) 2
+ =
1 (0,0) 1
16 9
then a 2 = 16 > b 2 = 9 7
−2
c 2 = 16 − 9 = 7
then c= 7
The center will be at (1, −2)
The foci will be at (1 + 7, −2) , (1 − 7, −2)
Example
25 x 2 + 4 y 2 − 250 x − 16 y + 541 =
0
25( x 2 − 10 x) + 4( y 2 − 4 y ) + 541 =
0
25 ( x − 5) 2 − 25 + 4 ( y − 2) 2 − 4 + 541 =
0
25( x − 5) − 625 + 4( y − 2) − 16 + 541 =
2 2
0
25( x − 5) 2 + 4( y − 2) 2 =
100 ÷100
25( x − 5) 2 4( y − 2) 2
+ =
1
100 100
2 + 21
( x − 5) ( y − 2)
2 2
+ = 1 21
4 25 2
then a 2 = 25 > b 2 = 4
5
c = 25 − 4 = 21
2
2 − 21
then c = 21
The center will be at (5,2)
The foci will be at (5,2 + 21) , (5,2 − 21)
Example
The arch of a bridge is semi-elliptical, with the major axis horizontal. The base of
the arch is 30 feet across and the highest part is 10 feet above the horizontal
roadway. Find the height of the arch 6 feet from the center of the base.
Solution
We have
a = 15 10 y =?
b = 10 6
30
x2 y2
The equation of this Ellipse will be + =
1
225 100
36 y2
At x = 6 we have + =1 =y 84 ≈ 9.165
225 100
Example
Halley’s comet has an elliptical orbit with the sun at one of its foci its eccentricity
is e=0.967. The closest distance between the comet and the sun is 0.587 AU
(Astronomical Unit). Approximate the maximum distance of the comet from the
sun.
Note: 1 AU = 93,000,000 miles
Solution
c
The position The position
0f a a 0f
maximum distance closest distance
b 2
= a 1 − 2 = a 2e 2
2
a
Then c = ae
By using this result with a−c =0.587 we get
a − ae = 0.587
a (1 − e) =0.587 a = 17.788
But e = 0.967
0.587 c = 17.2
a=
1− e
Then the maximum distance is a=
+ c 17.788 + 17.2
= 34.988 ≈ 35 AU
Hyperbola
2
− 2
=
1
a b
– Foci: (h, - c + k ) and (h, c + k )
** To Find C , c= a + b ** 2 2 2
a
– Asymptote Slopes: ±
b
Two Standard Equations
• Horizontal Hyperbola: ( x −2h) − ( y −2k ) =
2 2
1
a b
– Foci: (-c + h, k ) and (c + h, k )
** To Find C , c= a + b ** 2 2 2
b
– Asymptote Slopes: ±
a
Writing in Standard Form
1. Complete the
square for both the
x-terms and y-terms
and move the
constant to the
other side of the
equation
The first term will be
the positive term
2 2
Example:
x 2 − 9 y 2 − 4 x + 54 y − 113 =
0
(x − 4 x) − (9 y − 54 y ) =
2 2
113 Group terms
(x − 4 x + __) − 9( y − 6 y + __) =
2 2
113 Complete the square
(x − 4 x + 4) − 9( y − 6 y + 9)= 113 + 4 + (−9)(9)
2 2
(x − 2) 2 − 9( y − 3) 2 =
36 Simplify Don’t forget to the
negative nine!
(x − 2) 2 9( y − 3) 2 36
− = Divide by Constant
36 36 36
(x − 2) 2 ( y − 3) 2
− =
1
36 4
Graphing the hyperbola
1. Put equation in standard form
2. Graph the center (h, k)
3. Graph the foci (look at the equation to determine
your direction)
4. Graph the vertices
5. Graph the asymptotes (start at the center and
use “Rise over Run”)
6. Draw “U” shapes that go through the vertices and
stay in between the asymptotes
(x − 2) ( y − 3)
2 2
Example: − =
1
36 4
6
1) Graph Center 4
(-4,3) (8,3)
3) Graph Vertices
4) Graph Asymptotes
5) Graph
Hyperbola
You Try! Write the following equation in
standard form, then graph it.
− x 2 + 4 y 2 − 6 x + 16 y − 29 =
0
4( y + 4 y + __) − ( x + 6 x + __) = 29 + 4(__) − __
2 2
4( y + 4 y + 4) − ( x + 6 x + 9)− =29 + 16 − 9
2 2
9 36
Center: (-3,-2) -10 -5 5
• Given a circle
through the origin
P
with radius r,
then for any point r
yp
P on it we have:
(0, 0) xp
x2 + y2 = r2
Equation of a sphere
∗ If the circle is not centred on the origin:
We still have
yp P
(xp,yp) a2 + b2 = r2
b r
b
but
yc a
(xc,yc) a = xp- xc
b = yp- yc
(0, 0) xc xp
a
So for the general case (x- xc)2 + (y- yc)2 = r2
Equation of a sphere
∗ Pythagoras theorem generalises to 3D giving
and at origin: x2 + y2 + z2 = r2
Geometric transformations in three-dimensional space
(2)
• Three-dimensional translation
– A point P (x,y,z) in three-dimensional space translate to new
location with the translation distance T (tx, ty, tz)
x' = x + t x y' = y + t y z' = z + t z
– In matrix format
x' 1 0 0 t x x
y' = 0 1 0 t y y
⋅ P' = T ⋅ P
z' 0 0 1 t z z
1 0 0 0 1 1
Geometric transformations in three-dimensional space
(3)
• Three-dimensional scaling
– Relative to the coordinate origin, just include the parameter
for z coordinate scaling in the transformation matrix
x ' s x 0 0 0 x
y' = 0 sy 0 0 y
⋅ P' = S ⋅ P
z' 0 0 sz 0 z
1 0 0 0 1 1
– Relative to a fixed point (xf, yf zf)
• Perform a translate-scaling-translate composite transformation
t( x f , y f , z f ) ⋅ S(s x , s y , s z ) ⋅ T( − x f ,− y f ,− z f )
s x 0 0 (1 − s x )x f
0 sy 0 (1 − s y )y f
=
0 0 sz (1 − s z )z f
0 0 0 1
Geometric transformations in three-dimensional space (4)
• (a) Plot the point with cylindrical coordinates (2, 2π/3, 1) and
find its rectangular coordinates.
• (b) Find cylindrical coordinates of the point with rectangular
coordinates (3, –3, –7).
• Solution:
• (a) The point with cylindrical coordinates (2, 2π/3, 1) is
plotted in Figure 3.
Figure 3
cont’d
Example 1 – Solution
• From Equations 1, its Cartesian coordinates are
• so
Figure 10
Spherical Coordinates
• But x = r cos θ and y = r sin θ, so to
convert from spherical to Cartesian
coordinates, we use the equations
• Solution:
• We plot the point in Figure
11.
Figure 11
cont’d
Example 4 – Solution
• From Equations 3 we have
• x = ρ sin φ cos θ
• y = ρ sin φ sin θ
• z = ρ cos φ
Two-Dimensional Geometric
Transformations
1-A two dimensional transformation is any
operation on a point in space (x, y) that
maps that point's coordinates into a new
set of coordinates (x’, y’).
2-Instead of applying a transformation to
every point in every line that makes up an
object, the transformation is applied only
to the vertices of the object and then new
lines are drawn between the resulting
endpoints.
Two-Dimensional Geometric
Transformations
• Basic Transformations
• Translation
• Rotation
• Translation transformation
x = x + tx
'
y '
= y + ty
• Translation vector or shift vector T = (tx, ty)
• Rigid-body transformation
• Moves objects without deformation
y y
P’
T
T
p
x
x
Matrix
Translation matrix
Representation
yr ө
P
xr
• Rotation transformation
x=rcos φ y=rsin φ
x’=rcos(φ+θ)= rcos φ cos θ -rsin φ sin θ
(x’, y’)
x’ = x cos ө - y sin ө P’
r (x, y)
y’ = x sin ө + y Cos ө ө r P
Φ