We know that the equation of the line passing through point (x0​,y0​), whose slope is m, (y−y0​)=m(x−x0​) Thus, the equation of the line passing through point (0,0), whose slope is m, is(y−0)=m(x−0)y=mx​  Hence the equation is y=mx.