ExamSaathi learning library · School · CBSE Class 11 Mathematics 2026-27; teacher review pending · Mathematics

Straight lines for Class 11: slope, forms of a line and distance from a point

Work with straight lines on the coordinate plane: find slopes and the angle between two lines, write a line in point-slope, slope-intercept, two-point or intercept form, and find the distance of a point from a line or between two parallel lines.

Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.

You will learn to

Before you start

Coordinate geometry turns lines and curves into equations that can be solved. Textbooks name a point (x, y); this lesson writes it as (h, v), with h measured along the horizontal axis and v up the vertical axis, because here x means multiply. Two Class 10 results are needed. The distance between (h1, v1) and (h2, v2) is sqrt((h2 - h1)^2 + (v2 - v1)^2). The point that divides the join of these two points internally in the ratio p : q is ((p h2 + q h1)/(p + q), (p v2 + q v1)/(p + q)), and p = q = 1 gives the midpoint. You also need a few values of tan: tan 0 = 0, tan 45 degrees = 1 and tan 60 degrees = sqrt(3), and tan is negative for angles between 90 and 180 degrees. Slope and the parallel and perpendicular tests were met briefly in earlier graph lessons. This lesson adds the angle between two lines, the forms of the equation of a line named in the syllabus (lines parallel to the axes, point-slope, slope-intercept, two-point and intercept forms) and the distance of a point from a line; the normal form is not covered here.

Slope, inclination and the angle between two lines

The inclination of a line is the angle theta that it makes with the positive direction of the horizontal axis, measured anticlockwise, so 0 <= theta < 180 degrees. For a line that is not vertical, the slope is m = tan theta. Through two points with h1 not equal to h2, m = (v2 - v1)/(h2 - h1), the rise divided by the run. A horizontal line has slope 0. A vertical line has inclination 90 degrees and no defined slope. A positive slope means the line rises to the right; a negative slope means it falls. Two non-vertical lines are parallel exactly when their slopes are equal. Two lines, neither of them vertical, are perpendicular exactly when m1 x m2 = -1. Three points A, B and C lie on one line when the slope of AB equals the slope of BC (or when all three have the same h), because the two pieces share the point B. If lines with slopes m1 and m2 cross, the acute angle phi between them satisfies tan phi = |(m2 - m1)/(1 + m1 m2)|, as long as 1 + m1 m2 is not 0. The other angle at the crossing is 180 degrees minus phi. When 1 + m1 m2 = 0, the lines meet at a right angle.

Forms of the equation of a line

A line is fixed by a point and a slope, by two points, or by its two intercepts, and each choice gives a form of its equation. Lines parallel to the axes: through (h0, v0) the horizontal line is v = v0 and the vertical line is h = h0. Point-slope form: the line through (h0, v0) with slope m is v - v0 = m(h - h0). Two-point form: through (h1, v1) and (h2, v2) with h1 not equal to h2, v - v1 = ((v2 - v1)/(h2 - h1))(h - h1), which is the point-slope form with the slope worked out first. Slope-intercept form: v = m h + c, where c is the intercept on the vertical axis, the value of v where the line crosses that axis. If the line meets the horizontal axis at d instead, v = m(h - d). Intercept form: a line cutting off non-zero intercepts a on the horizontal axis and b on the vertical axis is h/a + v/b = 1. Each form can be rearranged to A h + B v + C = 0, with A and B not both zero, and then the slope is -A/B when B is not 0. To move between forms just rearrange: v = -2h + 4 becomes 2h + v - 4 = 0, and dividing by 4 gives h/2 + v/4 = 1.

Distance of a point from a line

How far a point is from a line always means the shortest gap, measured along the perpendicular dropped from the point to the line. For the point P(h1, v1) and the line A h + B v + C = 0 it is d = |A h1 + B v1 + C| / sqrt(A^2 + B^2). In words: put the point's coordinates into the left side of the equation, take the absolute value, and divide by the square root of A^2 + B^2. The result is 0 exactly when the point lies on the line. One way to see why: when A, B and C are all non-zero the line meets the axes at Q(-C/A, 0) and R(0, -C/B), and finding the area of triangle PQR in two ways, from the coordinates and as (1/2) x QR x d, leads to the same expression. For two parallel lines, first write both with the same A and B, as A h + B v + C1 = 0 and A h + B v + C2 = 0. The gap between them is |C1 - C2| / sqrt(A^2 + B^2), which is the distance from any point of one line to the other line. So if one line is 3h - 4v + 8 = 0 and the other is given as 6h - 8v - 9 = 0, divide the second equation by 2 before using the rule.

Common mistakes

1. Subtracting in different orders on the top and the bottom of the slope fraction: (v2 - v1)/(h1 - h2) has the wrong sign. 2. Calling the slope of a vertical line 0. A vertical line has no slope; it is a horizontal line that has slope 0. 3. Using m1 x m2 = -1 when one of the lines is vertical. A vertical line is perpendicular to every horizontal line, and that pair is seen directly from the equations, not from the rule. 4. Dropping the absolute value in the angle rule and reporting a negative angle; the rule gives the acute angle, and the obtuse one is 180 degrees minus it. 5. Putting a point into the distance rule before the line is in the form A h + B v + C = 0; for v = 3h - 5, first write 3h - v - 5 = 0. 6. Using |C1 - C2| for two parallel lines whose coefficients of h and v have not been made the same. 7. Trying to write a line through the origin in intercept form; both its intercepts are 0, so h/a + v/b = 1 cannot describe it.

A short routine

1. Make a rough sketch of the points or lines; it shows whether a slope should be positive or negative and catches sign slips early. 2. For a slope, subtract in the same order on the top and the bottom; if h1 = h2 the line is vertical. 3. For an equation, pick the form that fits the data: a point and a slope (point-slope), two points (two-point), a slope and an intercept (slope-intercept) or two intercepts (intercept form). 4. Rearrange to A h + B v + C = 0 and check by putting each given point back into the equation. 5. For the angle between two lines, find both slopes and use the tan rule with its absolute value; 1 + m1 m2 = 0 means a right angle. 6. For a distance, bring the line to the form A h + B v + C = 0 first, and for two parallel lines make A and B the same before comparing C. 7. A distance is never negative, and it is 0 only for a point on the line.

Worked examples

  1. A town plan uses a square grid in which each unit is 1 km. On it a water tank is at A(-1, 1), a temple at B(2, 7) and a market at C(4, 11). Show that the three lie on one straight road, and find the acute angle between this road and a second road whose equation is h - 2v + 4 = 0.

    1. 1. Slope of AB = (7 - 1)/(2 - (-1)) = 6/3 = 2. Slope of BC = (11 - 7)/(4 - 2) = 4/2 = 2.
    2. 2. The slopes are equal and the two pieces share the point B, so A, B and C are collinear: they lie on one road with slope m1 = 2.
    3. 3. Second road: h - 2v + 4 = 0 gives 2v = h + 4, so v = 0.5h + 2 and m2 = 0.5.
    4. 4. tan phi = |(m2 - m1)/(1 + m1 m2)| = |(0.5 - 2)/(1 + 2 x 0.5)| = |-1.5/2| = 0.75.
    5. 5. The angle whose tan is 0.75 is about 36.87 degrees (tan 36.87 degrees is very close to 0.75).

    Answer: The three places are collinear, since both slopes are 2, and the acute angle between the two roads has tan = 0.75, so it is about 36.87 degrees.

  2. A straight road on a town grid (1 unit = 1 km) passes through a bus depot at P(1, 2) and a school at Q(4, -4). Find the slope and the slope-intercept form of the road, its intercepts on the two axes, and its intercept form.

    1. 1. Slope m = (-4 - 2)/(4 - 1) = -6/3 = -2.
    2. 2. Point-slope form through P: v - 2 = -2(h - 1), so v - 2 = -2h + 2.
    3. 3. Slope-intercept form: v = -2h + 4, so the intercept on the vertical axis is 4.
    4. 4. Put v = 0: 0 = -2h + 4 gives h = 2, the intercept on the horizontal axis.
    5. 5. Intercept form: h/2 + v/4 = 1. Check with Q: 4/2 + (-4)/4 = 2 - 1 = 1, so Q lies on the line.

    Answer: Slope -2; slope-intercept form v = -2h + 4; intercepts 2 on the horizontal axis and 4 on the vertical axis; intercept form h/2 + v/4 = 1.

  3. On a site plan measured in metres, a boundary wall runs along 3h - 4v + 8 = 0 and a new pipe will run along 6h - 8v - 9 = 0. A tube well stands at T(3, -2). Find the distance of the tube well from the wall, and the gap between the wall and the pipe.

    1. 1. The wall is already in the form A h + B v + C = 0 with A = 3, B = -4 and C = 8, and sqrt(A^2 + B^2) = sqrt(9 + 16) = 5.
    2. 2. Distance of T from the wall = |3 x 3 - 4 x (-2) + 8| / 5 = |9 + 8 + 8| / 5 = 25/5 = 5 m.
    3. 3. The pipe 6h - 8v - 9 = 0 has slope 6/8 = 0.75, the same as the wall's slope 3/4 = 0.75, so the two are parallel. Divide its equation by 2 to match A and B: 3h - 4v - 4.5 = 0.
    4. 4. Gap between them = |8 - (-4.5)| / 5 = 12.5/5 = 2.5 m.

    Answer: The tube well is 5 m from the wall, and the pipe runs parallel to the wall with a gap of 2.5 m.

Practice checks

  1. What is the slope of the line through (2, -1) and (5, 8)?
  2. Two lines have slopes 1/2 and 3. What is the acute angle between them?
  3. A line cuts off an intercept of 3 on the horizontal axis and -2 on the vertical axis. Which is its equation?
  4. How far is the origin from the line 5h + 12v - 26 = 0?
  5. Which line passes through (2, 1) and is perpendicular to 3h + v = 7?

Sources checked