Respuesta :

Given:

A line passes through the origin and the point (-2,1).

To find:

The slope of the line.

Solution:

If a line passes though two point, then the slope of the line is

[tex]m=\dfrac{y_2-y_1}{x_2-x_1}[/tex]

It is given that a line passes through the origin, .i.e., (0,0) and the point (-2,1). So, the slope of the line is

[tex]m=\dfrac{1-0}{-2-0}[/tex]

[tex]m=\dfrac{1}{-2}[/tex]

[tex]m=-\dfrac{1}{2}[/tex]

Therefore, the slope of the line is [tex]-\dfrac{1}{2}[/tex].