Ripetizioni di AnalisiPrecalculusUnlockedITSearch

Worked examples · Sheet 1

Lines through two points, parallel and perpendicular lines

Theory used: Slope, lines through a point, parallelism and perpendicularityEquation of a lineDistance from a point to a line

Go to: Exercise 1Exercise 2Exercise 3

Exercise 1

Write the equation of the line passing through and .

The slope is

The line through with slope is

Result: .

The abscissas of the two points are different, so the line is not vertical and has a slope, which is computed as the ratio between the change in and the change in in going from to . Once is found, one imposes the passage through one of the two points with the point-slope formula; the choice of point does not change the result, because both belong to the line. A check with the other point: for one obtains , which is the ordinate of , therefore the line also passes through .

Exercise 2

Write the equations of the line through parallel to the line and of the line through perpendicular to the same line.

The given line has slope . The parallel line through has the same slope:

The perpendicular line through has slope , since perpendicularity requires :

Result: parallel , perpendicular .

Parallelism and perpendicularity fix the slope of the required line, therefore the passage through determines everything else. For the parallel line one copies ; for the perpendicular line one imposes , so is the negative reciprocal of . In both cases one uses the point-slope formula with the slope found and brings the equation to slope-intercept form. A check: for the parallel line gives and the perpendicular line gives , therefore both pass through .

Exercise 3

Compute the distance from the point to the line of equation

Bring the line to general form by multiplying by and rearranging:

The distance formula gives

Result: .

The point-line distance formula requires the general form , so the first operation moves all the terms to the left and eliminates the fraction. In the numerator one substitutes the coordinates of for and and takes the absolute value, because a distance is not negative; the denominator contains the square root of the sum of the squares of the coefficients of and , which here equals .

Contents