# Graphing a Linear Equation

Related Topics:
More Algebra Lessons
More Geometry Lessons
Algebra Worksheets
Algebra Games

There are several methods to graph a linear equation.
In this lesson, we will learn
• how to graph linear equations by plotting points.
• how to graph linear equations by finding the x-intercept and y-intercept.
• how to graph linear equations using the slope and y-intercept.
The following diagrams show the different methods to graph a linear equation. Scroll down the page for more examples and solutions. ### Graph Linear Equations by Plotting Points

It takes only 2 points to draw a graph of a straight line. In other words, if we can find two points that satisfies the equation of the line, then the line can be accurately drawn. (You may plot more than two points to check)

Example:

Draw the line with equation y = 2x – 3

Solution:

Choose any value for x and substitute into the equation to get the corresponding value for y. If possible, try to choose values of x that will give whole numbers for y to make it easier to plot.

Step 1: Let x = 0

y = 2(0) – 3
y = – 3

Step 2: Let x = 2

y = 2(2) – 3
y = 1

Step 3: Plot the two points on the Cartesian plane

Step 4: Draw a straight line passing through the two points How to use a t-table to graph linear equations?
Examples:
Graph the line for
a) y = 2x - 4
b) y = -1/2 x + 2
How to graph a linear equation by plotting points?
Example:
Graph the line
3x + 6y = 18

### Graph Linear Equations by using X and Y Intercepts

The x-intercept is where the line crosses the x-axis. At this point, the y-coordinate is 0.
The y-intercept is where the line crosses the y-axis. At this point, the x-coordinate is 0.

When an equation is written in general form it is easier to graph the equation by finding the intercepts.

Step 1: Find the x-intercept, let y = 0 then substitute 0 for y in the equation and solve for x
Step 2: Find the y-intercept, let x = 0 then substitute 0 for x in the equation and solve for y
Step 3: Plot the intercepts, label each point, and draw a straight line through these points.

How to find intercepts and use intercepts to graph linear equation?
Examples:
1. Find the intercepts of
3x + y = 6
2. Graph x - y = 5
3. Find the intercepts and graph.
4) Plot the points and graph.
How to graph Linear Functions by finding the X-Intercept and Y-Intercept of the Function?
Examples:
1. Graph 2x + 4y = 12
2. Graph 3x - 2y = 8

### Graph Linear Equations using Slope-Intercept

We can use the slope and y-intercept to graph a linear equation.

The slope-intercept form of an equation is

y = mx + b, where m is the slope of the line and b is the y-intercept.

How to graph an equation given in slope-intercept form?

Step 1: Find the y-intercept and plot the point.
Step 2: From the y-intercept, use the slope to find the second point and plot it.
Step 3: Draw a line to connect the two points.

What is the slope intercept formula and how to graph the equation?
Examples:
Graph
a) y = 2x + 3
b) y = -2/3x - 2
How to graph a linear equation given in slope intercept form?
The equation y = mx + b is called the slope-intercept form of a line.
The equation represents a line where
m = slope
b = y-intercept (0, b)
Example:
Identify the slope and y-intercept. Graph.
a) y = -2/3 x + 1
b) y = 5x - 2
c) y = x
d) 3x - 2y = 8

Try the free Mathway calculator and problem solver below to practice various math topics. Try the given examples, or type in your own problem and check your answer with the step-by-step explanations.
{"ft_lang_label":"__label__en","ft_lang_prob":0.8706793,"math_prob":0.9996431,"size":3593,"snap":"2020-45-2020-50","text_gpt3_token_len":973,"char_repetition_ratio":0.20256339,"word_repetition_ratio":0.04597701,"special_character_ratio":0.2613415,"punctuation_ratio":0.1,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":1.0000017,"pos_list":[0,1,2,3,4,5,6,7,8,9,10],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-12-05T00:21:54Z\",\"WARC-Record-ID\":\"<urn:uuid:3f1ad074-4e45-4f26-88b0-215af57391e1>\",\"Content-Length\":\"50953\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:fdb186e9-a098-4413-b15a-cd39308a5339>\",\"WARC-Concurrent-To\":\"<urn:uuid:9c70f32f-16c6-4f49-8526-fe6542c86120>\",\"WARC-IP-Address\":\"173.247.219.45\",\"WARC-Target-URI\":\"https://www.onlinemathlearning.com/graphing-linear-equations.html\",\"WARC-Payload-Digest\":\"sha1:EPHXDFH7PIVAFWMBH7H6DN2HG7YKY7ZC\",\"WARC-Block-Digest\":\"sha1:P634ZNPKSKHMRGXYV2QY6DR5GJBPYMJX\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-50/CC-MAIN-2020-50_segments_1606141745780.85_warc_CC-MAIN-20201204223450-20201205013450-00045.warc.gz\"}"}