Equations of Lines in Coordinate Geometry

Learn how to write and interpret equations of lines using slope-intercept, point-slope, and standard forms.

Intermediate25 minLesson

Definition

The equation of a line describes all the points that lie on that line. There are three main forms:
1. Slope-Intercept Form:
where is the slope and is the y-intercept.
2. Point-Slope Form:
where is the slope and is a point on the line.
3. Standard Form:
where , , and are integers, and is usually positive.

Try it now

What is the slope in the equation ?

Worked Examples

Write the equation of a line with slope and y-intercept .

1

Identify the form to use

We have slope and y-intercept, so use slope-intercept form: Use

2

Substitute the slope

, so

3

Substitute the y-intercept

, so

Common Mistakes

Confusing slope and y-intercept in

Why it's wrong: Students sometimes think the first number is the y-intercept. In , the slope is (coefficient of ) and the y-intercept is (constant term).

Correct: Remember: comes before in the formula, and is multiplied by . The y-intercept is the standalone number.

Incorrect slope calculation:

Why it's wrong: Students flip the formula, putting on top instead of .

Correct: Slope = rise over run = . The values (vertical change) go on top.

Sign errors in point-slope form

Why it's wrong: When the point has a negative coordinate like , students write incorrectly as .

Correct: With point : , so the equation is .

Forgetting to distribute in point-slope form

Why it's wrong: When expanding , students write instead of .

Correct: Distribute the slope to BOTH terms inside the parentheses: .

Interactive Visual

Linear Function Explorer

y = x
Slope (m)1
Y-Intercept (b)0
b
run
rise
xy
-2-2
-1-1
00
11
22

Equation Solver

Ready to solve some equations?

Equation type:

Follow along as we solve the equation step by step.

Interactive Sandbox

Interactive Grapher

Try these examples:

y = 2x + 1

m=2, b=1

Expression Calculator

Try these:

History

No calculations yet

Practice Problems

16 problems
Problem 1 of 16
Easy

What is the slope in the equation ?

Why It Matters

Equations of lines are fundamental in mathematics and have countless real-world applications:
  • Business: Predicting costs, revenue, and profit based on production levels
  • Science: Describing relationships between variables (temperature vs. altitude, speed vs. time)
  • Engineering: Designing ramps, roads, and structures with specific inclines
  • Economics: Modeling supply and demand, inflation trends, and growth rates
Understanding line equations allows you to make predictions, analyze trends, and solve problems involving constant rates of change.

Real World Applications

Cell Phone Plans

Phone plans often have a fixed monthly fee plus a cost per minute or gigabyte used.

Example:

A plan costs 20 dollars per month plus 0.05 dollars per text message. The equation is , where is the total cost and is the number of texts.

1Try It Yourself

A streaming service charges 8 euros per month plus 2 euros per movie rented.

Write the equation and find the cost for renting 5 movies.

Step 1: Write the mathematical expression

Write the cost equation in terms of movies :

Temperature Conversion

The relationship between Celsius and Fahrenheit is linear.

Example:

The formula converts Celsius to Fahrenheit. The slope means each degree Celsius equals degrees Fahrenheit.

2Try It Yourself

Water boils at .

What is the boiling point in Fahrenheit?

Step 1: Write the mathematical expression

Use with :

Taxi Fare

Taxi companies typically charge a base fare plus a rate per kilometer.

Example:

If a taxi charges 3 euros to start and 1.50 euros per kilometer, the fare equation is , where is distance in kilometers.

3Try It Yourself

A ride costs 18 euros total.

How far was the trip?

Step 1: Write the mathematical expression

Solve for :

Key Takeaways

  • 1Slope-intercept form shows the slope and y-intercept directly
  • 2Point-slope form is useful when you know a point and the slope
  • 3Standard form uses integer coefficients with usually positive
  • 4To find an equation from two points: first calculate slope, then use point-slope form
  • 5All three forms describe the same line - choose the most convenient for your situation

Frequently Asked Questions

Use slope-intercept form when you need to graph quickly or identify slope/y-intercept. Use point-slope form when given a point and slope. Use standard form when working with systems of equations or when integer coefficients are required.
Use slope-intercept form when you need to graph quickly or identify slope/y-intercept. Use point-slope form when given a point and slope. Use standard form when working with systems of equations or when integer coefficients are required.
Convert both equations to the same form (usually slope-intercept). If they have the same slope and y-intercept, they represent the same line.
If slope is zero, the line is horizontal: . If slope is undefined (vertical line), the equation is , which cannot be written in slope-intercept form.

Glossary

Slope-intercept form
The equation where is slope and is y-intercept
Point-slope form
The equation using a point and slope
Standard form
The equation where , , are integers
Y-intercept
The point where the line crosses the y-axis, written as
Slope
The ratio measuring steepness

More in This Topic