Solveeit Logo

Question

Mathematics Question on Distance of a Point From a Line

The perpendicular from the origin to the line y=mx+cy = mx + c meets it at the point (1,2)(-1, 2). Find the values of m and c.

Answer

The given equation of line is y=mx+c.y = mx + c.
It is given that the perpendicular from the origin meets the given line at (1,2).(-1, 2).
Therefore, the line joining the points(0,0) (0, 0) and (1,2)(-1, 2) is perpendicular to the given line.

∴ Slope of the line joining(0,0) (0, 0) and (1,2)=21=2(-1, 2)=\frac{2}{-1}=-2
The slope of the given line is m.

m×2=1∴ m\times-2=-1 [The two lines are perpendicular]

m=12⇒m=\frac{1}{2}
Since point (1,2) (-1, 2) lies on the given line, it satisfies the equation y=mx+c.y = mx + c.
2=m(1)+c∴ 2=m(-1)+c

2=12(1)+c⇒ 2=\frac{1}{2}(-1)+c

c=2+12=52⇒ c = 2+\frac{1}{2} =\frac{ 5}{2}

Thus, the respective values of m and c are 12\frac{1}{2} and 52\frac{5}{2}, respectively.