01 / 21

Two-Variable
Equations & Graphs

Learn to create equations that relate two quantities and graph them on coordinate axes with proper labels and scales.

Algebra 1

What Is a Two-Variable Equation?

A two-variable equation is an equation that contains exactly two different variables, typically \( x \) and \( y \). Each solution is an ordered pair \( (x, y) \) that makes the equation true.

Variables
Letters like \( x \) and \( y \) that represent unknown or changing quantities.
Ordered Pair
A pair \( (x, y) \) that satisfies the equation, e.g., \( (2, 5) \).

Why Two Variables Matter

Most real-world relationships involve two changing quantities. Two-variable equations let us model, predict, and visualize how one quantity depends on another.

Distance & Time
\( d = 60t \): distance depends on hours driven.
Cost & Items
\( C = 3n + 5 \): total cost depends on items purchased.
Savings & Weeks
\( S = 50 + 20w \): savings grows each week.

The Coordinate Plane

x y -2 -1 1 2 3 1 2 3 -1 -2 -3 O I II III IV (2, 2)

Two Key Equation Forms

Slope-Intercept Form
\( y = mx + b \)

\( m \) = slope (rate of change)
\( b \) = y-intercept (starting value)
Standard Form
\( Ax + By = C \)

\( A, B, C \) are integers,
\( A \geq 0 \), and \( A, B \) are not both zero.

Understanding Slope

Slope measures how steep a line is: the ratio of vertical change to horizontal change between any two points.

0 1 2 3 4 5 6 0 1 2 3 4 5 (1, 0) (4, 3) rise = 3 run = 3 x y

Equation vs. Expression

Equation Expression
Contains \( = \) sign? Yes No
Example \( y = 3x + 2 \) \( 3x + 2 \)
Can be graphed? Yes: set of all solutions No: no relationship defined
Purpose Shows relationship between variables Represents a single quantity

How to Create & Graph

1
Identify the variables. What two quantities are related? Assign \( x \) (independent) and \( y \) (dependent).
2
Write the equation. Translate the relationship into \( y = mx + b \) or another form using given rates and starting values.
3
Build a table. Choose at least 3 values of \( x \), compute \( y \), and list the ordered pairs.
4
Plot and connect. Plot points on labeled, scaled axes and draw the line (or curve) through them.
5
Label everything. Title, axis labels with units, and consistent scale marks.

Example 1: Phone Plan

A phone plan charges a $20 monthly fee plus $0.10 per text. Write an equation for the monthly cost \( C \) in terms of texts \( t \), then graph it.

Texts (t) Cost ($) 0 100 200 300 400 500 $0 $10 $20 $30 $40 $50 $60 (0, $20) (200, $40) (400, $60)

Example 2: Water Tank

A tank starts with 50 gallons and drains at 5 gallons per minute. Write and graph the equation for water level \( W \) after \( t \) minutes.

Minutes (t) Gallons (W) 0 1 2 3 4 5 6 7 8 9 10 0 10 20 30 40 50 (0, 50) (5, 25) (10, 0)

Example 3: Area of a Square

The area of a square with side length \( s \) is \( A = s^2 \). This is a two-variable equation, but it produces a curve, not a line.

Side length (s) Area (A) 0 1 2 3 4 5 0 5 10 15 20 25 (1, 1) (2, 4) (3, 9) (4, 16) (5, 25)

Building a Table of Values

For the equation \( y = 2x - 3 \), choose input values and compute outputs:

\( x \) \( y = 2x - 3 \) \( (x, y) \)
\( -1 \) \( 2(-1) - 3 = -5 \) \( (-1, -5) \)
\( 0 \) \( 2(0) - 3 = -3 \) \( (0, -3) \)
\( 1 \) \( 2(1) - 3 = -1 \) \( (1, -1) \)
\( 2 \) \( 2(2) - 3 = 1 \) \( (2, 1) \)
\( 3 \) \( 2(3) - 3 = 3 \) \( (3, 3) \)

Labeling Axes & Scales

1
Title your graph to describe the relationship (e.g., "Cost vs. Number of Items").
2
Label each axis with the variable name and units (e.g., "Time (hours)", "Distance (miles)").
3
Choose a consistent scale. Each grid square should represent the same increment (e.g., 1, 5, 10, 100).
4
Mark the origin and include enough range to show all data points and the shape of the graph.

Domain and Range

Domain
All possible input values (\( x \)-values). Ask: "What values of \( x \) make sense in this context?"
Range
All possible output values (\( y \)-values). Determined by the equation and the domain.

Common Mistakes to Avoid

Swapping Variables
Putting the independent variable on the y-axis or confusing which quantity depends on which.
Uneven Scale
Using inconsistent spacing (e.g., 1, 2, 5, 10 on the same axis) which distorts the graph's shape.
Missing Labels
Forgetting axis labels, units, or a title: the graph becomes meaningless without context.

Summary Comparison

Linear Non-Linear
General Form \( y = mx + b \) \( y = ax^2 + bx + c \), etc.
Graph Shape Straight line Curve (parabola, etc.)
Rate of Change Constant (slope \( m \)) Changes at each point
Points Needed Minimum 2 Minimum 3-5
Real Example Cost = rate \( \times \) qty + fee \( A = s^2 \)

Question 1 of 5

A gym charges a $25 registration fee plus $30 per month. Which equation represents the total cost \( C \) after \( m \) months?

Question 2 of 5

In the equation \( y = -4x + 12 \), what does the y-intercept represent on the graph?

Question 3 of 5

Which ordered pair is a solution to \( y = 3x - 7 \)?

Question 4 of 5

A line passes through \( (0, 2) \) and \( (3, 8) \). What is the slope?

Question 5 of 5

A car travels at a constant speed. After 2 hours it has gone 120 miles. After 5 hours it has gone 300 miles. Which equation models distance \( d \) in terms of time \( t \)?