Solveeit Logo

Question

Question: The equation of a line through the intersection of lines \(x=0\) and \(y=0\) and through the point...

The equation of a line through the intersection of lines x=0x=0 and y=0y=0 and through the
point (2, 2)\left( 2,~2 \right) is
(a) y=x1y=x-1
(a) y=xy=-x
(b) y=xy=x
(c) y=x+2y=-x+2

Explanation

Solution

Hint: Substitute the given points into the standard equation of line formula.

The equations of the given lines are x=0x=0 and y=0y=0. The coordinates of the point of
intersections are already available. This means that the point of intersection of these lines would be
(0,0)\left( 0,0 \right). Another point through which the required line passes through is given in the
question as (2,2)\left( 2,2 \right).
Now, we know that the equation of a line passing through two points (x1,y1)({{x}_{1}},{{y}_{1}}) and
(x2,y2)({{x}_{2}},{{y}_{2}}) is given by,

& y-{{y}_{1}}=m(x-{{x}_{1}}) \\\ & \Rightarrow y-{{y}_{1}}=\dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}\times (x-{{x}_{1}}) \\\ \end{aligned}$$ So, the equation of the required line passing through $\left( 0,0 \right)$ and $\left( 2,2 \right)$ can be obtained as, $y-0=\dfrac{2-0}{2-0}\left( x-0 \right)$ Therefore, the equation of the required line is $y=x$. Hence, we get option (c) as the correct answer. Note: The equations $x=0$ and $y=0$ indicate that the required line passes through the origin. So, the formula to find the equation of the line passing through a point $\left( {{x}_{1}},{{y}_{1}} \right)$ can be obtained as $y=mx$, where $m=\dfrac{{{y}_{1}}}{{{x}_{1}}}$ is the slope.