# The slope of a linear function

The steepness of a hill is called a slope. The same goes for the steepness of a line. The slope is defined as the ratio of the vertical change between two points, the rise, to the horizontal change between the same two points, the run.

$\\ slope=\frac{rise}{run}=\frac{change\: in \: y}{change \: in\: x} \\$

The slope of a line is usually represented by the letter m. (x1, y1) represents the first point whereas (x2, y2) represents the second point.

$\\ m=\frac{y_{2}\, -y_{1}}{x_{2}\, -x_{1}} \\$

It is important to keep the x-and y-coordinates in the same order in both the numerator and the denominator otherwise you will get the wrong slope.

Example:

Find the slope of the line

(x1, y1) = (-3, -2) and (x2, y2) = (2, 2)

$\\ m=\frac{y_{2}\, -y_{1}}{x_{2}\, -x_{1}}=\frac{2-\left ( -2 \right )}{2-\left ( -3 \right )}=\frac{2+2}{2+3}=\frac{4}{5} \\$

A line with a positive slope (m > 0), as the line above, rises from left to right whereas a line with a negative slope (m < 0) falls from left to right.

$\\ m=\frac{y_{2}\, -y_{1}}{x_{2}\, -x_{1}}=\frac{\left (-1 \right )-3}{2-\left ( -2 \right )}=\frac{-1-3}{2+2}=\frac{-4}{4}=-1 \\$

If two lines have the same slope the lines are said to be parallel.

You can express a linear function using the slope intercept form.

$\\y=mx+b \\\\m=slope \\b=y - intercept\\$

Video lesson: Find the slope

Next Class:  Graphing and functions, Graphing linear inequalities
• Pre-Algebra
• Algebra 1
• Algebra 2
• Geometry
• Sat
• Act
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 5, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 20, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.905195951461792, "perplexity_flag": "middle"}