The shortest distance from a point to a line is the length of the perpendicular segment from a point to a line.
Since we are looking for a perpendicular line segment, we need to get its slope:
The given line is y = 3x + 5. Remember two lines are perpendicular when their slopes are opposite reciprocals. The line is in slope-intercept form: y = mx + b, where m is the slope.
The slope of the given line is 3: (m = 3)
Therefore, the slope of the perpendicular line segment is -13: (m⊥ = -1/3)
and it's in the form of y = -1/3 x + b
This line has the point (0,0). Substitute this for x and y to get the value of b.
0 = -1/3 (0) + b
b = 0
Therefore the equation of the line is y = -1/3 x.
Now we can get the point of intersection of y = -1/3 x and y = 3x + 5 which is the closest to the origin by solution to System of Equations
-y = 1/3 x
y = 3x + 5
------------------
0 = 10/3 x + 5
-10/3 x = 5
x = (-3/10)(5)
x = - 3/2
Using y = -1/3 x:
y = (-1/3) (-3/2)
y = 1/2
Therefore the point that we are looking for is (-3/2, 1/2)