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.

# Comparing linear functions: equation vs. graph

Sal is given the formula of a linear function and the graph of another, and is asked to determine which function increases faster. Created by Sal Khan.

## Want to join the conversation?

• If ax + by + c = 0 is a linear equation in two variables. Is x + 0y + 7 = 0 a linear equation in 2 variables?
• Yes, the second example is also a linear equation in two variables. Similarly, `0x + 0y + 0z = 0` is a linear equation in three variables, albeit one with an infinite number of solutions.

Having a coefficient of 0 doesn't mean that the variable goes away. It still exists, it is simply irrelevant and can take on any value without affecting the validity of the equation.
• At , how did Sal plot a "g" out of nowhere?
• He wasn't plotting a point named "g". He was showing that the line on the graph is the function "g(x)"; this is stated in the text of the exercise.
• my teacher wants me to (sooner or later) describe a linear function. how should I do that?
• Zachary,
Lets break up the word. Linear means something that makes a line (pretty simple,) and a function is a set of coordinates or points on a graph that have only one x value to every y value. So basically, a linear function does not curve, but goes in a strait line on a graph. If it curves, this is called a non-linear function.
I hope this helped!
• is y=1/x - 7 a linear function
• No, it isn't. Anything that has the formula y=m/x + q is a hyperbola function.
• At , if both are increasing then don't the negatives cancel out and become positive?
• You are comparing the slopes, not multiplying the slopes.
Both lines are negative, so both lines slant down from left to right. The slope of line F is decreasing faster because its slope is more negative than the slope of line G.
Hope this helps.
• why is math like this?
• Graph the linear function with the equation y=1/2x+3
• Your equation is in slope-intercept form already so graphing it is pretty easy.
Just looking at the equation, you can tell it crosses the y-axis at (0,3) so plot that point.
Now use the slope (1/2) to find another point. Your slope tells you to go up one and over to the right 2 to get to the next point. Since it's a positive number, your line will slope upwards.
--------
|f you aren't comfortable with the slop-intercept form yet, I suggest:
• I dont understand where is line f. How do we know that it is decreasing? And when calculating the slope of f ,why is just -7/3x considered ,and not +1 (f = -7/3x + 1)
• f is only shown as an equation. Its slope is -7/3. The negative means that it is a downward slope. [-7/3 is a downward slope. 7/3 would be an upwards slope]. The slope of the line, g is -2/1. When calculating the slope we want to figure out the numbers before x
example: -7/3 x . The +1 is the point where the line crosses the y axis. It isn't used to calculate slope unless we are using it as one of two points to use the y2-y1 / x2-x1 process. We are not using this process because we already know the slope is -7/3.