The point through which the line passes is ( 0,0 ) and the slope of the line is m.
The formula for the equation of a non-vertical line having slope m and passing through the point ( x 0 , y 0 ) is given by.
( y− y 0 )=m( x− x 0 )(1)
Substitute the values of ( x 0 , y 0 ) as ( 0,0 ) in equation (1).
( y−0 )=m( x−0 ) y=mx
Thus, the equation of line passing through the point ( 0,0 ) and the slope of the line is m is y=mx.