📐 ICSE Class 12 Mathematics

Equation of a Straight Line

Start MCQ Practice →

Equation of a Straight Line

Subject: Class 12 Mathematics Chapter: Equation of a Straight Line Topic: 12.4 Equation of a Straight Line – Find equations of lines in space

1. Introduction

In the plane, a straight line is described by a single equation such as y = mx + c. In space this is no longer possible, because a single equation always describes a plane, not a line. A line in space must be described by a pair of constraints or, equivalently, by a position vector and a direction. The mathematics of vectors gives us the most natural description of a line as the set of all points reached by starting from one fixed point and moving along a fixed direction.

There are two standard ways to write the equation of a line in space. The first is the vector form, which writes the position vector of a general point on the line as the sum of a fixed vector and a scalar multiple of a direction vector. The second is the cartesian form, which presents the coordinates of the point as ratios involving the direction ratios of the line. Both forms are equivalent, and converting between them is a skill that is examined frequently.

In this chapter we will derive the vector equation of a line through a point with a given direction, write the symmetric cartesian form (x − x1)/a = (y − y1)/b = (z − z1)/c, and obtain the equation of a line passing through two given points. Worked examples will show how to extract direction ratios from an equation, how to test whether a point lies on a line, and how to switch between vector and cartesian forms.

2. Vector Equation of a Line

Let a line pass through a point A whose position vector is a and let it be parallel to a vector b. For any point P on the line with position vector r, the vector (r − a) is parallel to b, so there is a scalar λ such that:

r = a + λ b

This is the vector equation of the line. The scalar λ is called a parameter; as λ varies over all real numbers, the point P traces out the whole line. Note that:

Example 1: Find the vector equation of the line through the point A(2, 3, −1) parallel to the vector 3i − 2j + 5k.

Solution: Here a = 2i + 3j − k and b = 3i − 2j + 5k, so the equation is:

r = (2i + 3j − k) + λ(3i − 2j + 5k)

Example 2: Find the vector equation of the line passing through A(1, 1, 1) and B(3, 5, 7).

Solution: The direction vector is AB = (3 − 1)i + (5 − 1)j + (7 − 1)k = 2i + 4j + 6k. Hence:

r = (i + j + k) + λ(2i + 4j + 6k)

The direction ratios of this line are (2, 4, 6), which simplify to (1, 2, 3).

3. Cartesian Equation of a Line

Suppose a line passes through the point (x1, y1, z1) and has direction ratios a, b, c. Let P(x, y, z) be any point on the line. Since the vector from (x1, y1, z1) to (x, y, z) is parallel to the direction vector, the coordinates must be proportional. This gives the symmetric cartesian form:

(x − x1)/a = (y − y1)/b = (z − z1)/c

Key observations:

(x − x1)/(x2 − x1) = (y − y1)/(y2 − y1) = (z − z1)/(z2 − z1)

Example 3: Find the cartesian equation of the line through (1, −2, 3) with direction ratios (2, 4, 5).

Solution: Substituting directly into the symmetric form:

(x − 1)/2 = (y + 2)/4 = (z − 3)/5

Example 4: Find the equation of the line joining A(2, 3, 4) and B(5, 7, 8).

Solution: The direction ratios are (3, 4, 4). Using the point A:

(x − 2)/3 = (y − 3)/4 = (z − 4)/4

Example 5: Write the cartesian equation of the line r = (i + 2j − k) + λ(3i − j + 2k).

Solution: The point is (1, 2, −1) and the direction ratios are (3, −1, 2). Hence:

(x − 1)/3 = (y − 2)/(−1) = (z + 1)/2

4. Converting Between Forms and Testing Points

The vector and cartesian forms contain the same information. To convert from cartesian to vector form, read off the point and the direction ratios and write r = (x1 i + y1 j + z1 k) + λ(a i + b j + c k). To convert the other way, compare components. A useful check is that the components of r in the vector equation, written as x = x1 + aλ, y = y1 + bλ, z = z1 + cλ, rearrange into the cartesian form after eliminating λ.

Example 6: Convert the cartesian equation (x − 3)/2 = (y + 1)/3 = (z − 4)/1 to vector form.

Solution: The point is (3, −1, 4) and the direction ratios are (2, 3, 1). Therefore:

r = (3i − j + 4k) + λ(2i + 3j + k)

Example 7: Show that the point (5, 5, 5) lies on the line (x − 1)/2 = (y − 1)/2 = (z − 1)/2.

Solution: For x = 5, (x − 1)/2 = 2. For y = 5, (y − 1)/2 = 2. For z = 5, (z − 1)/2 = 2. Since all three ratios are equal, the point satisfies the equation of the line and therefore lies on it.

Example 8: Find the point where the line (x − 1)/2 = (y − 3)/3 = (z + 2)/1 meets the XY-plane.

Solution: On the XY-plane, z = 0. Let the common ratio be t. Then z = −2 + t = 0 gives t = 2. Hence x = 1 + 2(2) = 5 and y = 3 + 3(2) = 9. The required point is (5, 9, 0).

5. Quick Revision Tables

Table 1

Description Equation
Vector equation through a with direction b r = a + λb
Vector equation through a and c r = a + λ(c − a)
Cartesian form through (x1,y1,z1) with DRs a, b, c (x−x1)/a = (y−y1)/b = (z−z1)/c
Cartesian form through two points (x−x1)/(x2−x1) = (y−y1)/(y2−y1) = (z−z1)/(z2−z1)
Parametric form x = x1 + at, y = y1 + bt, z = z1 + ct

Table 2

Situation Consequence
Direction ratio a = 0 Line parallel to YZ-plane, x = x1
Direction ratio b = 0 Line parallel to ZX-plane, y = y1
Direction ratio c = 0 Line parallel to XY-plane, z = z1
To test if a point lies on the line Check all three ratios are equal
Two lines parallel Direction ratios proportional

6. Mind Map

flowchart TD
    A[Equation of a Straight Line] --> B[Vector Form]
    A --> C[Cartesian Form]
    A --> D[Through Two Points]
    A --> E[Conversions]
    B --> B1[r = a + lambda b]
    B --> B2[Direction vector b]
    C --> C1[x - x1 / a = y - y1 / b = z - z1 / c]
    C --> C2[Parametric form]
    D --> D1[r = a + lambda(c - a)]
    D --> D2[Cartesian two point form]
    E --> E1[Read point and direction ratios]
    E --> E2[Testing whether a point lies]

7. Important Diagrams (SVG)

Vector Equation of a Line x-axis y-axis z-axis O a line r = a + lambda b P(r) lambda b Golden Rule: A line is the set of all vectors a + lambda b, where a fixes a point and b fixes the direction.

Cartesian Form of a Line x-axis y-axis z-axis (x1,y1,z1) (x - x1)/a = (y - y1)/b = (z - z1)/c (x, y, z) Golden Rule: In cartesian form, all three ratios are equal, and each equals the same parameter t.

8. Common Mistakes

  1. Writing the cartesian equation with x + x1 instead of x − x1, which shifts the whole line to the wrong place.
  2. Forgetting that a single equation in space describes a plane, not a line, and writing only one equation.
  3. Using the direction ratios in the wrong order, such as (b, a, c) instead of (a, b, c).
  4. When a direction ratio is zero, incorrectly dividing by zero instead of writing the coordinate as a constant.
  5. Confusing the parameter λ with a coordinate, or eliminating the parameter incorrectly when converting to cartesian form.
  6. Testing whether a point lies on a line by checking only two of the three ratios.

9. Exam Tips

  1. Always read off the point and the direction ratios from the denominators before substituting into the symmetric form.
  2. To find the point on a line, introduce a common parameter t and write x, y, z in terms of t first.
  3. If a direction ratio is zero, use the parametric form to avoid division by zero.
  4. Convert vector form to cartesian form by comparing components and eliminating the parameter.
  5. Memorise the two point form because it appears in almost every line related exam problem.

10. Conclusion

The equation of a straight line in space can be written compactly in vector form as r = a + λb or in cartesian symmetric form as equal ratios of coordinate differences. Both forms encode the same point and direction, and both are easy to convert into each other by comparing components and eliminating the parameter. The equation through two points follows immediately by taking the direction vector to be the difference of the position vectors. With these equations in hand, we can now proceed to measure angles between lines, compute shortest distances and test coplanarity in the remaining chapters of this unit.