# Solutions to Exercises on Slope

The solutions to the exercises in the tutorial on the slope of a line are presented here.

## Solution to Matched Exercise in Example 1

1. The slope of the line is given by
m = ( 5 - (-1) ) / (3 - 3)
The denominator is equal to zero and therefore the slope is undefined.

2. The slope of the line is given by
m = ( 7 - 0 ) / ( 3 - (-1) ) = 7 / 4
Since the slope is positive, the line rises as x increases.

3. We first find the slope of the line
m = ( 0 - 1 ) / ( 6 - 2 ) = -1/4
Since the slope is neagtive, the line falls as x increases.

4. The slope of the line is given by
m = ( 2 - 2 ) / ( 9 - (-5) ) = 0
The slope is equal to zero, the line is horizontal.

## Solution to Matched Exercise in Example 2

Let x1 and y1 be the x and y coordinates of point A. According to the definition of the slope
( y1 - (-4) ) / (x1 - 1) = 5

We need to solve this equation in order to find x1 and y1. This equation has two unknowns and therefore has an infinite number of pairs of solutions. We chose y1 and then find x1. if y1 = 11, for example, the above equation becomes
( 11 - (-4) ) / (x1 - 1) = 5

We obtain an equation in x1
15 / (x1 - 1) = 5

Solve for x1 to obtain
x1 = 4

One possible answer is point A at
(4 , 11)

Check that the two points give a slope of 5
(11 - (-4) ) / (4 - 1) = 5

## Solution to Matched Exercise in Example 3

In what follows, m1 is the slope of line L1 and m2 is the slope of line L2.

1. m1 = ( 1 - 2 ) / ( 1 - 1)
• m2 = ( 0 - (-1) ) / ( -4 - (-4) )

The two slopes m1 and m2 are undefined since the denominators in m1 and m2 are both equal to zero. Hence the two lines are vertical and therefore parallel

2. m1 = ( 1 - 3 ) / ( 3 - 2 ) = -2
• m2 = ( -5 - (-2) ) / ( 7 - 1 ) = -1/2

The product of the two slopes m1*m2 is not equal to -1, the two lines are neither perpendicular nor parallel.

3. m1 = ( -2 - (-1) ) / ( 2 - 1 ) = -1
• m2 = ( 1 - 0 ) / ( 1 - 0 ) = 1

The product of m1 and m2 is equal to -1, hence the two line are perpendicular.

4. m1 = ( 9 - 9 ) / ( -2 - 1 ) = 0
• m2 = ( -1 - (-1) ) / ( 0 - 18 ) = 0

The two slopes are equal , the two lines are parallel. Also the two lines are horizontal lines.

## Solution to Matched Exercise in Example 4

No. If both slopes are positive, their product can never be equal to -1.