If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

## Class 10 (Foundation)

### Course: Class 10 (Foundation)>Unit 4

Lesson 4: Graphs of linear equations

# Graphing a linear equation: 5x+2y=20

We can graph a the linear equation like 5x + 2y = 20 by rewriting it so y is isolated, then plugging in x values to find their corresponding y-values in a table. We can then graph those x-y pairs as points on a graph. Created by Sal Khan and Monterey Institute for Technology and Education.

## Want to join the conversation?

• ha ha ha
• Hold on, can't you just turn the Standard form equation into a Slope Intercept form equation and then you would find the y-intercept, with the y-intercept can't you just count the slope using Rise/Run(Rise over Run)?
• Yes, that is an option for graphing a linear equation. Usually teachers like you to know that there are more than one way to graph a linear equation. Creating a table of values is an approach that works for all types of equations. Using the slope and y-intercept only works for linear equations.
• when you're looking for y, does your x HAVE to go by 2's?
• In this equation no.

He is just going by "2's" because that's what 'x' represents.

In reality When x = 2 then y = 10 - 5/2 *2
So he is just SOLVING for '2' you could incert a differbt number other than '2'!
• Isn't this just converting standard form into slope intercept form?
• The 1st part yes. But Sal also shows you how to calculate points on the line and draw the line.
• At I dont understand how you cancel the 2 in the denominator with the 2 in the numerator
• If you have a fraction with only multiplication in the denominator and numerator (no addition or subtraction) you can cancel anything out if you have two identical numbers in the denominator and numerator, example
``(2 * 4 * 5) / (5 * 3 * 4) = (2) / (3)``
because 4 and 5 is in both the denominator and numerator.

Mathematically we can explain it like this: You have the equation
``y = 10 - (5 * 2)/2``
We can rewrite
``(5 * 2)/2 = 5 * (2/2)``
Here you can see that
``2/2 = 1``
So
``(5 * 2)/2 = 5 * 1 = 5``
Your equation can be rewritten as
``y = 10 - (5 * 2)/2 = 10 - 5 * (2/2) = 10 - 5 * 1 = 10 - 5``
• do you use Pemdas on this?
• yes, you have to use it for most, if not all equations/expressions/problems (and in response to the comment above, PEMDAS is order of operations, i.e. parentheses, exponents, multiplication, division, addition, and subtraction)
• how do you do this when your y= 5/2 - 1x then what would you do to you with the fraction would you simplify or leave it as 5/2 ?
• As long as the value stays the same you can leave it as whatever is easier for you, or whatever you're told to do with it.

For me I like it like this, because you can specifically see the slope as rise over run, where it rises 5 and runs 2.
• At can we not simplify the linear equation?!
• It seems to me that he is doing it the easiest way. But if you think it's easier to introduce a fraction from the start, go ahead.