Question
Mathematics Question on Distance of a Point From a Line
The perpendicular from the origin to the line y=mx+c meets it at the point (−1,2). Find the values of m and c.
Answer
The given equation of line is y=mx+c.
It is given that the perpendicular from the origin meets the given line at (−1,2).
Therefore, the line joining the points(0,0) and (−1,2) is perpendicular to the given line.
∴ Slope of the line joining(0,0) and (−1,2)=−12=−2
The slope of the given line is m.
∴m×−2=−1 [The two lines are perpendicular]
⇒m=21
Since point (−1,2) lies on the given line, it satisfies the equation y=mx+c.
∴2=m(−1)+c
⇒2=21(−1)+c
⇒c=2+21=25
Thus, the respective values of m and c are 21 and 25, respectively.