Class 12 Maths, Worked in Full Past papersGet updates
Chapter 11 · Three Dimensional Geometry

Miscellaneous · Q2: Equation of the line through the origin parallel to the xx-axis

Miscellaneous ExerciseEquation of a line · Section 11.3.1
The question

Find the equation of a line parallel to xx-axis and passing through the origin.

Exam answer

The line is parallel to the xx-axis, whose direction cosines are 1,0,01, 0, 0⁠. So its direction ratios are 1,0,01, 0, 0 and b⃗=i^\vec b = \hat i⁠.

It passes through the origin, so a⃗=0⃗\vec a = \vec 0⁠.

The vector equation r⃗=a⃗+λb⃗\vec r = \vec a + \lambda\vec b gives

r⃗=0⃗+λi^=λi^\vec r = \vec 0 + \lambda\hat i = \lambda\hat i

The Cartesian form x−x1a=y−y1b=z−z1c\frac{x - x_1}{a} = \frac{y - y_1}{b} = \frac{z - z_1}{c}⁠, with (x1,y1,z1)=(0,0,0)(x_1, y_1, z_1) = (0, 0, 0)⁠, gives

x−01=y−00=z−00\frac{x - 0}{1} = \frac{y - 0}{0} = \frac{z - 0}{0}

(a zero denominator means that numerator is zero: y=0y = 0⁠, z=0z = 0⁠).

∴\therefore The required line is x1=y0=z0\dfrac{x}{1} = \dfrac{y}{0} = \dfrac{z}{0}⁠, that is, r⃗=λi^\vec r = \lambda\hat i⁠, where λ\lambda is a real number.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

A line is fixed by one point and one direction. "Parallel to the xx-axis" gives the direction i^\hat i (direction ratios 1,0,01, 0, 0⁠); "through the origin" gives the point OO⁠. Put them into r⃗=a⃗+λb⃗\vec r = \vec a + \lambda\vec b⁠. The line we get is the xx-axis itself.

Given, to find, and the plan
Given
The line passes through the origin O(0,0,0)O(0, 0, 0) and is parallel to the xx-axis.
To find
Its equation, in vector and in Cartesian form.
Plan
(1) Read the direction from the xx-axis. (2) The point is OO⁠. (3) Write the vector form. (4) Write the Cartesian form and read its zero denominators. (5) Check that it is the xx-axis.

Basics you need

1Vector form of a line

The line through the point with position vector a⃗\vec a⁠, parallel to b⃗\vec b⁠, is r⃗=a⃗+λb⃗\vec r = \vec a + \lambda\vec b⁠, λ∈R\lambda \in \mathbf R (Section 11.3.1, equation (1)). Basics: go to A, then walk λ copies of b⃗

2Cartesian form of a line

Through (x1,y1,z1)(x_1, y_1, z_1) with direction ratios a,b,ca, b, c⁠: x−x1a=y−y1b=z−z1c\frac{x - x_1}{a} = \frac{y - y_1}{b} = \frac{z - z_1}{c} (Section 11.3.1, equation (3)). It comes from x=x1+λax = x_1 + \lambda a⁠, y=y1+λby = y_1 + \lambda b⁠, z=z1+λcz = z_1 + \lambda c⁠. Basics: a line is a point plus a direction

3Direction cosines of the xx-axis

The xx-axis makes angles 0∘,90∘,90∘0^\circ, 90^\circ, 90^\circ with the axes, so its direction cosines are 1,0,01, 0, 0 (Section 11.2, Example 4). Basics: direction cosines

Solution

  1. The direction

    The xx-axis has direction cosines cos⁡0∘,cos⁡90∘,cos⁡90∘=1,0,0\cos 0^\circ, \cos 90^\circ, \cos 90^\circ = 1, 0, 0⁠. A line parallel to it has the same direction, so we take

    b⃗=1i^+0j^+0k^=i^,\vec b = 1\hat i + 0\hat j + 0\hat k = \hat i,

    with direction ratios 1,0,01, 0, 0⁠.

    Parallel lines have proportional direction ratios (Section 11.4, condition (ii)), so the simplest choice is the xx-axis's own 1,0,01, 0, 0⁠. Any nonzero multiple, such as 2,0,02, 0, 0 or −1,0,0-1, 0, 0⁠, gives the same line.
    Direction cosines of the axes (Section 11.2). Lesson: direction cosines and ratios
  2. The point

    The line passes through the origin, so (x1,y1,z1)=(0,0,0)(x_1, y_1, z_1) = (0, 0, 0) and its position vector is a⃗=0⃗\vec a = \vec 0⁠.

    The position vector of a point is the vector from OO to the point. From OO to OO it is the zero vector.
    Position vector of a point (Section 10.2). Basics: three numbers fix a point
  3. The vector equation

    r⃗=a⃗+λb⃗=0⃗+λi^=λi^,λ∈R.\vec r = \vec a + \lambda\vec b = \vec 0 + \lambda\hat i = \lambda\hat i, \qquad \lambda \in \mathbf R.
    Start at OO and walk λ\lambda steps of i^\hat i⁠, forwards for λ>0\lambda > 0 and backwards for λ<0\lambda < 0⁠. Every point reached has position vector λi^\lambda\hat i⁠, that is, coordinates (λ,0,0)(\lambda, 0, 0)⁠.
    Section 11.3.1, equation (1). Lesson: start somewhere, then walk
  4. The Cartesian equation, with zero denominators

    The parametric equations are

    x=0+λ(1)=λ,y=0+λ(0)=0,z=0+λ(0)=0.\begin{aligned} x &= 0 + \lambda(1) = \lambda, \\ y &= 0 + \lambda(0) = 0, \\ z &= 0 + \lambda(0) = 0. \end{aligned}

    In the form x−x1a=y−y1b=z−z1c\frac{x - x_1}{a} = \frac{y - y_1}{b} = \frac{z - z_1}{c} this is written

    x−01=y−00=z−00,that is,x1=y0=z0.\begin{aligned} &\frac{x - 0}{1} = \frac{y - 0}{0} = \frac{z - 0}{0}, \\ &\text{that is,}\quad \frac{x}{1} = \frac{y}{0} = \frac{z}{0}. \end{aligned}
    The Cartesian form comes from solving each parametric equation for λ\lambda⁠, which means dividing by aa⁠, bb⁠, cc⁠. When b=0b = 0 we cannot divide: the equation y=y1+λby = y_1 + \lambda b just says y=y1y = y_1⁠. So a 0 in a denominator is a convention, not a division: it means "this numerator is 0". Here y0\frac{y}{0} and z0\frac{z}{0} stand for y=0y = 0 and z=0z = 0⁠, while xx is free.
    Section 11.3.1, equations (2) and (3). Basics: a line is a point plus a direction
  5. Check: it is the xx-axis

    The points of the line are (λ,0,0)(\lambda, 0, 0)⁠, for every real λ\lambda⁠. These are exactly the points of the xx-axis. For example, λ=3\lambda = 3 gives (3,0,0)(3, 0, 0) and λ=−2\lambda = -2 gives (−2,0,0)(-2, 0, 0)⁠. The point (0,1,0)(0, 1, 0) is not on the line, since its yy is not 0.

    Y Z X O (3, 0, 0), λ = 3 y = 0, z = 0
    Oblique projection, not to scale. The line r⃗=λi^\vec r = \lambda\hat i through OO runs along the xx-axis: every point on it has y=0y = 0 and z=0z = 0⁠.
    The only line through OO parallel to the xx-axis is the xx-axis, because two parallel lines that share a point coincide. So "the equation of a line parallel to the xx-axis through the origin" is the equation of the xx-axis. In space a line needs two equations: y=0y = 0 alone is the xzxz-plane, and y=0y = 0⁠, z=0z = 0 together give the line.
    Each point of the line has one value of λ\lambda⁠. Basics: go to A, then walk λ copies of b⃗
Result

The line is x1=y0=z0\frac{x}{1} = \frac{y}{0} = \frac{z}{0} (that is, y=0y = 0 and z=0z = 0⁠); in vector form r⃗=λi^\vec r = \lambda\hat i⁠, λ∈R\lambda \in \mathbf R⁠. It is the xx-axis.

(Textbook answer: x1=y0=z0\frac{x}{1} = \frac{y}{0} = \frac{z}{0}⁠.)

Check it with numbers

λ=2.5\lambda = 2.5 gives the point (2.5,0,0)(2.5, 0, 0)⁠, and λ=−1.25\lambda = -1.25 gives (−1.25,0,0)(-1.25, 0, 0)⁠: both have y=0y = 0 and z=0z = 0⁠. The vector between them is 3.75i^3.75\hat i⁠, parallel to i^\hat i as it should be.

Common mistakes
  1. Writing x=0x = 0⁠. That is the yzyz-plane, which is perpendicular to the xx-axis. The line parallel to the xx-axis has y=0y = 0 and z=0z = 0⁠, with xx free.
  2. Treating y0\frac{y}{0} as a division and calling the equation meaningless. A zero denominator only says that the numerator is 0.
  3. Giving one equation, y=0y = 0⁠. In space that is a plane; a line needs two conditions.
What to take away
  1. Parallel to the xx-, yy- or zz-axis: direction i^\hat i⁠, j^\hat j or k^\hat k⁠, with direction ratios 1,0,01, 0, 0⁠, 0,1,00, 1, 0 or 0,0,10, 0, 1⁠.
  2. A 0 in a denominator of the Cartesian form means that coordinate stays fixed at x1x_1⁠, y1y_1 or z1z_1⁠.
  3. The xx-axis is r⃗=λi^\vec r = \lambda\hat i⁠, or x1=y0=z0\frac{x}{1} = \frac{y}{0} = \frac{z}{0}⁠.

Every fact used, and where it comes from

FactUsed inSource
Direction cosines of the xx-axis are 1,0,01, 0, 0Step 1Section 11.2, Example 4 (Basics)
Parallel lines have proportional direction ratiosStep 1Section 11.4, condition (ii) (Lesson)
Vector equation r⃗=a⃗+λb⃗\vec r = \vec a + \lambda\vec bSteps 2, 3Section 11.3.1, equation (1) (Basics)
Parametric equations and the Cartesian form x−x1a=y−y1b=z−z1c\frac{x - x_1}{a} = \frac{y - y_1}{b} = \frac{z - z_1}{c}Step 4Section 11.3.1, equations (2), (3) (Lesson)
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →