\n Straight line is one of the simplest shapes in geometry.
One of the features of a straight line is that\r\n all the points lying a straight line are aligned in the same direction .\r\n Stated in other words, a straight line has a constant slope.
\r\n Imagine two points \\(P_1 = (x, y)\\) and \\(P_2 = (x_0, y_0) \\) that lie on a straight line. Then a constant slope implies\r\n $$ \\frac{y -y_0}{x - x_0} = \\text{a constant (say S)}$$\r\n This tells us that if we have the slope of a straight line and know a point in space that the line passes through, then we can obtain the equation of that line.\r\n
\n Let's consider a straight line that has a slope \\(M\\) and intercepts the y-axis at point \\(P=(0, C) \\).\n Thus, substituting \\(x_0 = 0\\), \\(y_0 = C\\), and \\(S = M\\) we obtain the equation of the line as\r\n $$ \\frac{y-C}{x} = M $$\r\n Upon a little rearrangement we can write\r\n $$ y = Mx + C$$\r\n
\r\n\n This MagicGraph offers a visual + interactive illustration of the slope-intercept form of the equation of a straight line.\r\n You will learn to draw a straight line based on its slope and y-intercept.
\r\n Enter the values of M and C in the equation field to draw the straight line represented by this equation.\r\n
\n This MagicGraph contains the following two icons:
\r\n Tap on this button to erase all entries and start over.
\r\n Tap on this button to visualize the data and parameters of the illustration.
\r\n