AvaStudy

Math · Middle school and high school algebra

Linear Equations and Functions Study Guide

A linear equation graphs as a straight line, and its slope-intercept form, y = mx + b, gives the two things you need to draw it: the slope m and the y-intercept b. A function is a rule that gives exactly one output for each input, and every non-vertical line is a function. Most problems ask you to find a slope, write an equation from two points or a graph, or decide whether a relation is a function.

Learn it by playing it

Flashcards, a quiz and matching built from this topic. Free, and no account needed.

Play Linear Equations Demo

Key terms

Linear equation
An equation whose graph is a straight line. In two variables it can be written as y = mx + b.
Slope
The steepness of a line: rise over run, or the change in y divided by the change in x.
Y-intercept
The point where a line crosses the y-axis, where x equals zero.
X-intercept
The point where a line crosses the x-axis, where y equals zero.
Slope-intercept form
The equation y = mx + b, where m is the slope and b is the y-intercept.
Point-slope form
The equation y − y₁ = m(x − x₁), used when you know the slope and one point on the line.
Standard form
The equation Ax + By = C, where A, B and C are numbers.
Function
A relation in which each input has exactly one output.
Domain
The set of all possible input (x) values of a function.
Range
The set of all possible output (y) values of a function.
Independent variable
The input of a function, usually x. Its value is chosen freely.
Dependent variable
The output of a function, usually y. Its value depends on the input.
Parallel lines
Lines in the same plane that never meet. They have the same slope.
Perpendicular lines
Lines that meet at a right angle. Their slopes are negative reciprocals of each other.

Finding the slope and writing an equation

The slope between two points is m = (y₂ − y₁) ÷ (x₂ − x₁). A positive slope rises from left to right, a negative slope falls, a horizontal line has slope zero, and a vertical line has an undefined slope.

  1. 1Find the slope from the two points.
  2. 2Substitute the slope and one point into y = mx + b and solve for b.
  3. 3Write the equation with the m and b you found.
  4. 4Check it by substituting the other point.

Three forms of the same line

  • •Slope-intercept form, y = mx + b: best for graphing from the slope and y-intercept.
  • •Point-slope form, y − y₁ = m(x − x₁): best when you know a point and the slope.
  • •Standard form, Ax + By = C: best for finding intercepts.

What makes a function

A relation is a function if no input has two different outputs. On a graph, use the vertical line test: if any vertical line crosses the graph more than once, it is not a function. Function notation, such as f(x) = 2x + 3, names the rule, so f(4) = 11.

Reading a word problem

In a linear model the slope is the rate of change and the y-intercept is the starting value. A plan that costs $5 per hour plus a $20 fee is y = 5x + 20.

Slope = how fast it changes. Intercept = where it starts.

Common mistakes

  • Mistake: Slope is run over rise.

    Slope is rise over run: the change in y divided by the change in x.

  • Mistake: A vertical line has a slope of zero.

    A horizontal line has slope zero. A vertical line has an undefined slope.

  • Mistake: Using the points in a different order on top and bottom of the slope formula.

    Subtract in the same order in both: (y₂ − y₁) over (x₂ − x₁). Flipping one of them flips the sign.

  • Mistake: A relation is not a function if two inputs have the same output.

    That is allowed. A relation fails to be a function only when one input has two different outputs.

  • Mistake: The y-intercept is wherever the line crosses an axis.

    The y-intercept is where it crosses the y-axis, at x = 0. Crossing the x-axis gives the x-intercept.

Common questions

What is slope-intercept form?↓
It is y = mx + b, where m is the slope and b is the y-intercept. Plot the y-intercept first, then use the slope as rise over run to find the next points.
How do I find the equation of a line from two points?↓
Find the slope with (y₂ − y₁) ÷ (x₂ − x₁). Put the slope and one of the points into y = mx + b and solve for b. Then write the equation using m and b.
What is a function?↓
A function is a rule that assigns each input exactly one output. You can check a graph with the vertical line test: if no vertical line touches it twice, it is a function.
How do I find the domain and range?↓
The domain is every x-value the function can accept and the range is every y-value it can produce. For a line that is not horizontal or vertical, both are all real numbers.
How can I tell if two lines are parallel or perpendicular?↓
Compare their slopes. Parallel lines have equal slopes. Perpendicular lines have slopes that are negative reciprocals, such as 2 and −1/2.

Make this guide from your own notes

Upload a photo, PDF or notes and AvaStudy builds a study guide and 20+ games from your own class material. Free to start.

Make My Study Guide Free

Study tips for this topic