The perpendicular from the origin to the line y = mx + c meets it at the point (-1, 2).
Find the value of m and c.
Equation of the line PQ
y−0=(2−0−1−0) (x−0)
⇒ y=−2x⇒2x+y=0 . . . (i)
Slope of the required line which is perpendicular to line(i) is 12
∴ Equation of the line AB is
y−2=12 (x+1)
⇒ 2y−4=x+1
⇒ 2y=x+5⇒y=x2+52
Comparing it with y = mx + c, we have
m=12 and c=52.