{{ item.displayTitle }}

No history yet!

Student

Teacher

{{ item.displayTitle }}

{{ item.subject.displayTitle }}

{{ searchError }}

{{ courseTrack.displayTitle }} {{ statistics.percent }}% Sign in to view progress

{{ printedBook.courseTrack.name }} {{ printedBook.name }} If a function has a constant rate of change, it is linear. Graphically, a linear function is a straight line.

Using that line, it's possible to determine the rate of change by finding the horizontal change $(\Delta x)$ and the vertical change $(\Delta y)$ between any two given points on the line. Any function whose graph is not a straight line cannot be linear.The slope of a line passing through the points $(x_1,y_1)$ and $(x_2,y_2)$ is the ratio of the vertical change $(\Delta y)$ to the horizontal change $(\Delta x)$ between the points. The variable $m$ is most commonly used to represent slope.

$m=\dfrac{\Delta y}{\Delta x}$

The words *rise* and *run* are sometimes used to describe the slope of a line, especially when the line is given graphically. Rise corresponds to $\Delta y$ and run corresponds to $\Delta x.$

This gives the following definition for the slope of a line.

$m=\dfrac{\Delta y}{\Delta x}=\dfrac{\text{rise}}{\text{run}}$

The sign (positive or negative) of each distance corresponds to the direction of the movement between points. Moving to the right, the run is positive; moving to the left, the run is negative. Similarly, moving up yields a positive rise while moving down gives a negative rise.

The slope of a line can be found algebraically using the following rule.

$m=\dfrac{y_2-y_1}{x_2-x_1}$

One way to express linear function rules is called slope-intercept form.

$y=mx+b$

Sometimes, $f(x)=mx+b$ is used. In either case, $m$ and $b$ describe the general characteristics of the line. $m$ indicates the slope, and $b$ indicates the $y$-intercept. The linear function graphed below can be expressed as $f(x)=2x+1,$ because it has a slope of $2$ and a $y$-intercept at $(0,1).$

Write the equation of the line that passes through the points $(3,1)$ and $(5,5).$

Show Solution

A line in slope-intercept form is given by the equation
$y=mx+b,$
where $m$ is the slope of the line and $b$ is the $y$-intercept. Since two points on the line are known we can use the slope formula to determine the slope.
The equation, $y=mx+b,$ can now be rewritten using the knowledge that the slope, $m,$ is $2.$
$y=2x+b$
The $y$-intercept can now be found by replacing $x$ and $y$ in the equation with one of the points, for example $(5,5),$ and solve the resulting equation.
Thus, the equation of the line passing through the two points is
$y=2x-5.$

$m = \dfrac{y_2-y_1}{x_2-x_1}$

SubstitutePointsSubstitute $\left({\color{#0000FF}{5,5}}\right)$ & $\left({\color{#009600}{3,1}}\right)$

$m = \dfrac{{\color{#0000FF}{5}}-{\color{#009600}{1}}}{{\color{#0000FF}{5}}-{\color{#009600}{3}}}$

SubTermsSubtract terms

$m=\dfrac{4}{2}$

CalcQuotCalculate quotient

$m=2$

$y=2x+b$

${\color{#0000FF}{5}}=2\cdot {\color{#009600}{5}}+b$

MultiplyMultiply

$5=10+b$

SubEqn$\text{LHS}-10=\text{RHS}-10$

$\text{-} 5=b$

RearrangeEqnRearrange equation

$b=\text{-} 5$

To write the equation of the graph of a line in slope-intercept form, $y=mx+b,$

the $y$-intercept, $b$, and the slope of the line, $m,$ must be found. The following method can be used. As an example, consider the line shown.

Find the $y$-intercept

Replace $b$ with the $y$-intercept

Find the slope

Next, the slope of the line must be determined. From a graph, the slope of a line can be expressed as $m=\dfrac{\text{rise}}{\text{run}},$ where rise gives the vertical distance between two points, and run gives the horizontal distance. To find the slope, use any two points. Here, use the already marked $y$-intercept and the arbitratily chosen $(2,2).$

From the lines drawn, it can be seen that the $\text{rise}=6$ and the $\text{run}=2.$ Therefore, the slope is $m=\dfrac{6}{2}=3.$

Replace $m$ with the slope

{{ 'mldesktop-placeholder-grade' | message }} {{ article.displayTitle }}!

{{ exercise.headTitle }}

{{ 'ml-heading-exercise' | message }} {{ focusmode.exercise.exerciseName }}