| home | contents | previous | next page | send comment | send link | add bookmark |

11.1.1. Slope and intercepts

There are several other forms of the equation of a straight which are often useful in graphing.

Coordinate axis intercept

A straight line that intersects the x-axis at xo and the y-axis at yo is defined by the equation:

 x     y
--- + --- = 1
 xo    yo
For example, a line that intercepts the x-axis at x = 1 and the y-axis at y = -2 is written as:
 x     y
--- - --- = 1
 1     2
This is another form of the linear function:
y = 2x - 2

Line through two points

The line through two distinct points {x1, y1} and {x2, y2} is given by:

 y - y1     y2 - y1
-------- = ---------
 x - x1     x2 - x1
For example, a line through the points {2, 2} and {3, 4} is written as:
 y - 2     4 - 2 
------- = -------
 x - 2     3 - 2 
This is also another form of the linear function:
y = 2x - 2

Point-slope

Given two points {x1, y1} and {x2, y2} on a line, its slope is defined as:

     y2 - y1     rise
m = --------- = ------
     x2 - x1     run
The equation of a straight line through point {a, b} with a slope of m is:
y = m(x - a) + b
A line is said to have positive slope if the line rises with increasing to the right; and negative slope if the line falls to the right. For example, a line through point {2, 2} with a positive slope of 2 is
y = 2(x - 2) + 2
This is again another form of the linear function:
y = 2x - 2

Slope-intercept equation

The equation of a line with slope m and y-intercept b is

y = mx + b
For example, a line with slope 2 and y-intercept -2 is written as the linear function:
y = 2x - 2
This line is shown below.
graph y = 2x - 2

Figure 11-1: Graph of function y = 2x - 2


| home | contents | previous | next page | send comment | send link | add bookmark |

Copyright © 2005, Stephen R. Schmitt