2. Graphs of Linear Functions
It is very important for many math topics to know how to quickly sketch straight lines. When we use math to model real-world problems, it is worthwhile to have a sense of how straight lines "work" and what they look like.
We met this topic before in The Straight Line. The following section serves as a reminder for you.
a. Slope-Intercept Form of a Straight Line: y = mx + c
If the slope (also known as gradient) of a line is m, and the y-intercept is c, then the equation of the line is written:
y = mx + c
Example 1
The line y = 2x + 6 has slope m = 2 and y-intercept c = 6.

b. Intercept Form of a Straight Line: ax + by = c
Often a straight line is written in the form ax + by = c. One way we can sketch this is by finding the x- and y-intercepts and then joining those intercepts.
Example 2
Sketch the line 3x + 2y = 6.
Slope of a Line
The slope (or gradient) of a straight line is given by:
We can also write the slope of the straight line passing through the points (x1, y1) and (x2, y2) as:
Using this expression for slope, we can derive the following.
c. Point-slope Form of a Straight Line: y − y1 = m(x − x1)
If a line passes through the point (x1, y1) and has slope m, then the equation of the line is given by:
y − y1 = m(x − x1)
Example 3
Find the equation of the line with slope −3, and which passes through (2, −4).
Didn't find what you are looking for on this page? Try search:
Online Algebra Solver
This algebra solver can solve a wide range of math problems. (Please be patient while it loads.)
Algebra Lessons on DVD
Easy to understand algebra lessons on DVD. See samples before you commit.
More info: Algebra videos
Ready for a break?
Play a math game.
(Well, not really a math game, but each game was made using math...)
The IntMath Newsletter
Sign up for the free IntMath Newsletter. Get math study tips, information, news and updates each fortnight. Join thousands of satisfied students, teachers and parents!
Share IntMath!
This page has
- 1 Facebook likes & comments
Short URL for this Page
Save typing! You can use this URL to reach this page:
intmath.com/graphlinfns




