Professional Documents
Culture Documents
Unit 11
Unit 11
Unit 11
1. Cartesian coordinates
In coordinate geometry, points are placed on the “coordinate plane” as shown below.
It has two scales - one running across the plane called the “x-axis” and another a
right angle to it called the “y-axis”. The point where the axes cross is called the
origin and is where both x and y are zero.
A point's location on the plane is given by two numbers, the first tells where it is on
the x-axis and the second which tells where it is on the y-axis. Together, they define a
single, unique position on the plane. So in the diagram above, the point A has an x
value of 20 and a y value of 15. These are the coordinates of the point A, sometimes
referred to as its "rectangular coordinates". Note that the order is important; the x
coordinate is always the first one of the pair.
2. Position vector
1
Región de Murcia I.E.S LOS MOLINOS Center Code: 30013505
Consejería de Educación, C/ Paz de Aquisgrán, s/n Phone: 968535019
Formación y Empleo 30.300 CARTAGENA Fax: 968513382
30013505@educarm.es
Position vectors are useful if we ever need to represent a point as a vector. As we’ll
see there are times in which we definitely are going to want to represent points as
vectors. In fact, we’re going to run into topics that can only be done if we represent
points as vectors.
Collinear points
Three or more points are said to be collinear if they lie on the same straight line.
Two points are trivially collinear since two points determine a line.
If we have three points, A, B and C, we can define two vectors, for example ⃗
AB and
⃗ ⃗ ⃗
AC . Then, A, B and C will be collinear if AB and AC have a common direction.
b1 −a 1 b2 −a2
=
c 1−a1 c 2 −a 2
Midpoint of a segment
Sometimes you need to find the point that is exactly between two other points. For
instance, you might need to find a line that bisects (divides into equal halves) a given
line segment. This middle point is called the "midpoint". It‘s easy to find a formula that
we can use to find the coordinates of the midpoint of a line segment AB.
2
Región de Murcia I.E.S LOS MOLINOS Center Code: 30013505
Consejería de Educación, C/ Paz de Aquisgrán, s/n Phone: 968535019
Formación y Empleo 30.300 CARTAGENA Fax: 968513382
30013505@educarm.es
1
But we know that ⃗
AB=⃗
OB−⃗
OA , and ⃗
AM = ⃗AB . So, combining these equalities we
2
get
⃗ 1 1 1 1 1
OM = ⃗
OA+ ⃗AB=⃗
OA+ (⃗
OB−⃗
OA ) = ⃗OA+ ⃗OB= ( ⃗
OA +⃗
OB )
2 2 2 2 2
We see that the position vector of the midpoint of the line segment is a kind of
average of the position vectors of the end points. We can therefore find the
coordinates of the midpoint by finding the average of the x coordinates and y
coordinates respectively.
This leads us to a rule we call “the midpoint formula”. Given A ( a 1 , a2 ) and B ( b1 , b2 ) ,
the coordinates of the midpoint M are
a1 + b1 a 2 + b2
M ( 2
,
2 )
Notice that A and B are symmetric with respect to M. So, given A and P, we can find
the symmetric point of A (A') considering P the midpoint of the segment AA '.
Vector equation
A straight line, L, is uniquely defined by giving two distinct points on the line.
⃗r =⃗
OP=⃗
OA+⃗
AP=⃗a + ⃗
AP
But ⃗
AP is a linear multiple of ⃗
AB , so
a +t · ⃗
⃗r =⃗ AB
for some parameter t. This is the form of the vector equation of a line. The parameter
can take any real value, giving different points on the line.
Example 1 A line passes through point A= (−1,3 ) and has a direction vector with
components ( 2,5 ) . Determine the equation of the vector.
Solution
3
Región de Murcia I.E.S LOS MOLINOS Center Code: 30013505
Consejería de Educación, C/ Paz de Aquisgrán, s/n Phone: 968535019
Formación y Empleo 30.300 CARTAGENA Fax: 968513382
30013505@educarm.es
Example 2 Write the vector equation of the line which passes through the points
A= ( 1,2 ) and B= (−2,5 ) .
Solution
⃗
AB=(−2−1,5−2 )=(−3,3 )
Example 3 Given the vector equation of a straight line, find out three points A,
B and C belonging to that line.
Solution
We just have to give t three different values. Each one will give us a point of
the line. For example, let's take t= 0 , t=−1 and t= 2 :
t= 0 ⇒ ( x,y )=( 2,4 )+ 0· (−1,1 )=( 2,4 ) ⇒ A ( 2,4 ) is a point of the line
t=−1⇒ ( x,y )=( 2,4 ) + (−1 ) · (−1,1 ) =( 3,3 ) ⇒ B ( 3,3 ) is a point of the line
t= 2 ⇒ ( x,y )=( 2,4 )+ 2 · (−1,1 )=( 0,6 ) ⇒ C ( 0,6 ) is a point of the line
Parametric equations
Consider the line through the point A ( a 1 , a2 ) and with direction vector ⃗ v =( v 1 , v 2 ) . A
point P ( x , y ) is on the line if and only if the vector with initial point A and final point P
is parallel to ⃗ v . That is, ( x −a1 ,y−a2 ) must be a scalar multiple of ⃗ v :
x−a1=t · v 1
y−a 2 =t · v 2
x=a1 +t · v1
y=a 2 + t · v 2
Example 4 Find the parametric equations of a line that passes through the point
( 2,3 ) and has the vector ⃗
v =(−3,2 ) as directional vector.
4
Región de Murcia I.E.S LOS MOLINOS Center Code: 30013505
Consejería de Educación, C/ Paz de Aquisgrán, s/n Phone: 968535019
Formación y Empleo 30.300 CARTAGENA Fax: 968513382
30013505@educarm.es
Solution
We just have to plug the coordinates of the point and the components of the
vector into the formula of the parametric equations:
x= 2−3·t
y=3+ 2·t
In the same way we did with the vector equation, we can find points belonging to the
line given by parametric equations just changing the parameter t by any real number.
Example 5 In the line of example 4, find out two new points belonging to it.
Solution
1
We can take, for instance, t=−1 and t= . So, we have
2
t=−1⇒ x= 2−3 · (−1 ) =5, y= 3+2 · (−1 )=1 ⇒ the point is ( 5,1 )
1 1 1 1
t= ⇒ x= 2−3 · = ,
2 2 2
y=3+ 2· =4⇒ the point is
2 ( 12 ,4)
Cartesian equations
x−a 1 y−a 2
=
v1 v2
x−a 1 y−a 2
=
v1 0
Example 6 Given a point (−1,−2 ) and a directional vector ( 3,5 ) , write the
Cartesian equation of a line, and find out two new points that lie on it.
Solution
x+1 y+ 2
The Cartesian equation will be = .
3 5
5
Región de Murcia I.E.S LOS MOLINOS Center Code: 30013505
Consejería de Educación, C/ Paz de Aquisgrán, s/n Phone: 968535019
Formación y Empleo 30.300 CARTAGENA Fax: 968513382
30013505@educarm.es
variable. For example, we can take x as the parameter and give values to it, say
x= 1 , x=−1 , to find two new points:
1+1 y+ 2 2 4 4
x= 1⇒
3
=
5
⇒ y= 5· −2= ⇒ the point is 1,
3 3 ( )
3
−1+1 y+ 2 0
x=−1 ⇒ = ⇒ y=5 · −2=−2 ⇒ the point is (−1,−2 )
3 5 3
Point-slope equation
v2
y−a 2 = · x−a1 )
v1 (
v2
But is the slope of the directional vector of the line, or, what is the same, the
v1
v2
slope of the line. If we call m= , we have the point-slope equation of the line:
v1
Example 7 Find the equation of the line that has slope -3 and passes through the
point ( 3,1 ) .
Solution
y−1=−3 · ( x−3 )
Example 8 Find an equation of the line that passes through ( 2,−3 ) and ( 5,3 ) .
Solution
3−(−3 ) 6
The slope of the line is m= = =2 .
5−2 3
We have two points of the line, so we can choose one of them to write the point-
slope equation, for instance, we take the point ( 2,−3 ) :
y+3=2 · ( x−2 )
Example 9 Find an equation of the line that has slope 6 and y-intersect 7.
6
Región de Murcia I.E.S LOS MOLINOS Center Code: 30013505
Consejería de Educación, C/ Paz de Aquisgrán, s/n Phone: 968535019
Formación y Empleo 30.300 CARTAGENA Fax: 968513382
30013505@educarm.es
Solution
The line has y-intersect 7 means that ( 0,7 ) is on the line. Therefore an equation
of the line is y−7=6 · ( x−0 )
Example 10 Find an equation of the line that has angle of inclination 135º and
contains ( 4,2 ) .
Solution
The slope of the line is m=tan 135º=−1 . Therefore the equation we are
searching for is y−2=−1 ( x−4 ) .
Point-intercept equation
y=mx+b
where m is the slope of the line, and b is the y-intercept (if we take x= 0 , then y=b ).
Example 11 Find an equation of the line that has slope 6 and y-intersect 7.
Solution
General equation
x−a 1 y−a 2
If we take again the Cartesian equation, = , we can simplify it in the
v1 v2
following way:
Ax+By+C= 0
which is the general equation of the line with directional vector (−B,A ) . Note that the
vector ( A,B ) is a perpendicular vector to the line.
Also note that the point ( a1 , a2 ) belonging to the line has “disappeared” when we
have substituted −v 2 · a1 +v 1 · a 2 by C.
v =( 1,−4 )
Example 12 Find the general equation of the line with directional vector ⃗
and passing through the point A ( 2,−1 ) .
7
Región de Murcia I.E.S LOS MOLINOS Center Code: 30013505
Consejería de Educación, C/ Paz de Aquisgrán, s/n Phone: 968535019
Formación y Empleo 30.300 CARTAGENA Fax: 968513382
30013505@educarm.es
Solution
4 x+ y +C =0
In this case, the point A ( 2,−1 ) lies on the line, so it is sure we have that
Example 13 Given the line 2 x−3 y +1=0 , find out a directional vector and a point
belonging to the line.
Solution
Intercept form
To use this equation of the line, it would be 'intercepting' at two points, one on the x-
axis and the other on the y-axis (so, it cannot be a vertical or a horizontal line, and it
cannot pass through the origin). Let A ( a ,0 ) and B ( 0, b ) be the intercepts on the x-
axis and the y-axis. A directional vector in this case is ⃗ v =⃗AB=( 0−a , b−0 ) =(−a , b ) .
So, the Cartesian equation using, for instance, point A, is,
x−a y−0 x −a y x −a y x y
= ⇒ = ⇒ + = ⇒ + =1
−a b −a b −a −a b a b
The last expression is what we call the intercept form equation of the line.
Note that a is the first coordinate of the x-intercept, and b is the second coordinate of
the y-intercept.
8
Región de Murcia I.E.S LOS MOLINOS Center Code: 30013505
Consejería de Educación, C/ Paz de Aquisgrán, s/n Phone: 968535019
Formación y Empleo 30.300 CARTAGENA Fax: 968513382
30013505@educarm.es
A line does not have an intercept form equation in the following cases:
- A line that passes through the origin, which has equation y=mx .
Solution
x y
We just have to plug the values a= 5 and b= 3 into the formula + =1 , and
a b
x y
so we have + =1
5 3
Example 15 The line x−2 y+ 4=0 forms a triangle with the axes. Write the
equation of the line in the intercept form, and determine the area of the triangle.
Solution
x y
To write the equation in the intercept form + =1 we just need the values of
a b
a and b . Let's see two ways of finding them.
1st way
Since ( a ,0 ) and ( 0, b ) are points belonging to the line, we just have to plug
y= 0 and x= 0 into the equation of the line to find a and b :
x y
So the equation in intercept form is + =1
−4 2
2nd way
We can directly transform the general equation of the line x−2 y+ 4=0 into the
intercept form equation:
x 2y −4 x y x y
x−2y+ 4=0 ⇒ x −2y=−4 ⇒ − = ⇒ + =1⇒ + =1
−4 −4 −4 −4 (−4 ) / (−2 ) −4 2
9
Región de Murcia I.E.S LOS MOLINOS Center Code: 30013505
Consejería de Educación, C/ Paz de Aquisgrán, s/n Phone: 968535019
Formación y Empleo 30.300 CARTAGENA Fax: 968513382
30013505@educarm.es
Finally, we can see from the picture that the line forms a right triangle with the
origin and its legs are the axes, so the area of the triangle is
base·height ∣−4 · 2∣
S= = =4
2 2
Note that we have to use the absolute value in the area formula to be sure that
the result is going to be a positive number.
Two lines can be parallel lines, coincident lines or intersecting lines. Let's see the
following graphs:
The graphs are not usually given, but the equations, so let's have a look at some
different ways to know what is the relative position of two lines depending on the type
of equation they are giving us.
Whatever the type of the equations, we can solve the system they form. In this case,
we have,
10
Región de Murcia I.E.S LOS MOLINOS Center Code: 30013505
Consejería de Educación, C/ Paz de Aquisgrán, s/n Phone: 968535019
Formación y Empleo 30.300 CARTAGENA Fax: 968513382
30013505@educarm.es
• If the lines are intersecting, there is just one solution of the system.
a) r : 2 x+ 3 y −1=0
s : 4 x+ 6 y−5=0
b) r : x−2 y +3=0
s :−2 x + 4 y−6=0
c) r : y −3 x=4
s : x=t , y=2 t
Solution
a) We can solve the system using, for example, the reduction method:
2 x+ 3 y−1=0
4 x+6 y −5=0
−4 x−6 y + 2=0
4 x+6 y −5=0
−3=0
So, there is no solution for this system, and the lines r and s must be parallel.
b) In this case, we can use the same method, and multiply the first equation by
-2:
−2 x +4 y−6=0
−2 x +4 y−6=0
This means that any real number is a solution for the system, so there is an
infinite number of solutions: the lines r and s are coincident.
c) Since one of the lines is given with its parametric equation, to solve the
system we just have to substitute x=t and y=2t into the equation of the other
line:
11
Región de Murcia I.E.S LOS MOLINOS Center Code: 30013505
Consejería de Educación, C/ Paz de Aquisgrán, s/n Phone: 968535019
Formación y Empleo 30.300 CARTAGENA Fax: 968513382
30013505@educarm.es
We have found a value for t , and that means that there is a solution for the
system: the one we get plugging t=−4 into the equation of line s:
x =t ⇒ x=−4
y=2t ⇒ y=2· (−4 )=−8
• If m=m' and n≠n' , then both lines have the same direction, but they
intersect the y-axis at a different point, so r and s are parallel lines.
• If m=m' and n=n' , both equations are the same, and r and s are coincident
lines.
r : 2 x=2 y−6
a) r : y=4 x−5 b) y x+ 3 c) r : y−3 x =4
s : y=−2 x +3 s: = s : x=t , y=3 t
2 2
Solution
a) Since both lines are given with the slope-intercept equation, we can directly
compare the slopes. In this case, mr =4 and m s=−2 , so r and s intersect at a
point; we can find the intersection point solving the system,
y =4 x −5
y=−2 x +3
4 1
The solution is x= ,y= .
3 3
r : y=x+ 3
s : y=x+ 3
We can see both slope and y-intercept coincide, so r and s are coincident lines.
r : y=3 x+ 4
s : y=3 x
12
Región de Murcia I.E.S LOS MOLINOS Center Code: 30013505
Consejería de Educación, C/ Paz de Aquisgrán, s/n Phone: 968535019
Formación y Empleo 30.300 CARTAGENA Fax: 968513382
30013505@educarm.es
r1 r 2
• If ⃗r is not a scalar multiple of ⃗s , i.e.≠ , then both lines have different
s1 s2
directions, and they are intersecting lines.
r1 r 2
• If ⃗r is a scalar multiple of ⃗s , i.e. = , then both lines have the same
s1 s2
direction.
• If no point of r (again, you can try any point) belongs to s, then both lines are
parallel.
Recall that in the general equation Ax+By+C= 0 , the components of the directional
vector are the coefficients of x and y : v⃗ =(−B,A ) . So, if r and s are given by this
type of equation, their relative position can be determined just comparing A, B and C
in both equations.
A B
• If ≠ , then r and s are intersecting lines.
A' B'
A B
• If = , then we have two cases,
A' B'
A B C
• If = = , then both lines are coincident.
A' B' C'
A B C
• If = ≠ , then both lines are parallel.
A' B' C'
13
Región de Murcia I.E.S LOS MOLINOS Center Code: 30013505
Consejería de Educación, C/ Paz de Aquisgrán, s/n Phone: 968535019
Formación y Empleo 30.300 CARTAGENA Fax: 968513382
30013505@educarm.es
Solution
2 3 −4
= =
4 6 −8
Lines b) and e) are parallel, and a) and f) are also parallel, because coefficients of
x and y are proportional, but not the independent term:
1 −2 1
= ≠
2 −4 −6
2 3 −4
= ≠
2 3 9
Example 4 Given the lines r : x+3 y +m=0 and s :2 x−ny +5=0 , calculate m
and n so that,
Solution
1 3 m 5
= ≠ ⇒ n=−6, m≠
2 −n 5 2
b) The point P ( 2,1 ) must belong to both lines, so x= 2 and y=1 must be a
solution of both equations:
1 3 m 5
= = ⇒ n=−6, m=
2 −n 5 2
14
Región de Murcia I.E.S LOS MOLINOS Center Code: 30013505
Consejería de Educación, C/ Paz de Aquisgrán, s/n Phone: 968535019
Formación y Empleo 30.300 CARTAGENA Fax: 968513382
30013505@educarm.es
We define the angle between two lines to be the acute angle determined by the
u and ⃗
direction vectors of the lines placed tail to tail. So, if ⃗ v are the direction
vectors of two lines r and s, the angle between the lines is
∣u⃗ · ⃗
v∣
α ( r , s )=α ( ⃗u , ⃗v )=arccos
∣⃗u∣∣⃗v∣
Solution
There is an alternative formula to find the angle between two lines using their slopes
instead of their directional vectors:
α=arc tan
∣ m1 −m2
1+ m1 · m2 ∣
Again, we need the absolute value to be sure that the resulting angle is going to be
acute.
Example 2 Find out the angle formed by the lines r : y=3 x+5 and s : y=−2 x +1
Solution
In this case, it is very easy finding the slopes of the lines: mr =3 and m s=−2 ,
so we will use the second formula we have seen to calculate the angle.
α=arc tan
∣ 3−(−2 )
1+3 · (−2 ) ∣
=arc tan
5
−5 ∣ ∣
=arc tan1=45º
15
Región de Murcia I.E.S LOS MOLINOS Center Code: 30013505
Consejería de Educación, C/ Paz de Aquisgrán, s/n Phone: 968535019
Formación y Empleo 30.300 CARTAGENA Fax: 968513382
30013505@educarm.es
√
AB∣= ( b 1−a1 )2 + ( b 2 −a 2 ) 2
d ( A , B ) =∣⃗
∣Aa+Bb+C∣
d ( A,r )=
√ A2 +B 2
6
Example 1 Find the distance from the point (-3, 7) to the line y= x+ 2 .
5
Solution
6
y= x + 2⇒ 5 y=6 x +10 ⇒6 x−5 y +10=0
5
Using the formula for the distance from a point to a line, we have:
The lines are parallel: we find a specific point on one of these lines, and then
find the distance from that specific point to the other line. So, if the lines are r
and s, and P is any point belonging to r, we have
16
Región de Murcia I.E.S LOS MOLINOS Center Code: 30013505
Consejería de Educación, C/ Paz de Aquisgrán, s/n Phone: 968535019
Formación y Empleo 30.300 CARTAGENA Fax: 968513382
30013505@educarm.es
d ( r,s ) =d ( P,s )
Example 2 Find out the distance between the lines r : 2 x+ 3 y +5=0 and
s : 4 x+ 6 y+ 7=0 .
Solution
2 3 5
Since = ≠ , we are sure the lines are parallel, so we can calculate the
4 6 7
distance between them.
We take a point from one of the lines, say r. To do that, we just have to give any
value for one of the variables. Say x=−1 , so
So the point P (−1,−1 ) lies on r. Now, we just have to calculate the distance
between that point and s.
17