Math · Algebra

Linear equations in two variables

Explanation

Linear equations in two variables express relationships between two unknown quantities, usually xx and yy, where each variable is raised to the first power. These relationships can be represented algebraically or visually as straight lines on a coordinate plane.

Understanding Slope-Intercept Form: y=mx+by = mx + b

The slope is equal to mm.

  • Slope describes the rate of change between the two variables xx and yy.

  • On a graph, slope represents the rise over run (ΔyΔx\frac{\Delta y}{\Delta x}), determining the direction and steepness of the line.

  • In a word problem, slope represents the unit rate of change of yy with respect to xx.

  • Words like "per", "each", and "rate" are clues that point to the slope.

  • Parallel lines have equal slopes (m1=m2m_1 = m_2), while perpendicular lines have negative reciprocal slopes (m1⋅m2=−1m_1 \cdot m_2 = -1).

The yy-intercept is equal to bb.

  • The yy-intercept is the point (0,b)(0, b) where the line crosses the yy-axis.

  • On a graph, it shows the value of yy when x=0x = 0.

  • In a word problem, the yy-intercept represents the initial value, baseline cost, or starting amount before any changes in xx occur.

  • Words like "initial", "base fee", and "deposit" are clues that point to the yy-intercept.

Understanding Standard Form: Ax+By=CAx + By = C

Standard form is written as Ax+By=CAx + By = C, where AA, BB, and CC are usually integers (with A≥0A \ge 0).

  • Standard form is best used for scenarios where two different items or rates combine to equal a fixed total.

  • In a word problem, xx and yy represent quantities of two different categories, while AA and BB represent their unit rates or costs.

  • The slope of a line in standard form can be calculated directly as m=−ABm = -\frac{A}{B}.

  • To find the xx-intercept, set y=0y = 0 to get (CA,0)( \frac{C}{A}, 0 ).

  • To find the yy-intercept, set x=0x = 0 to get (0,CB)( 0, \frac{C}{B} ).

Point-Slope Form: y−y1=m(x−x1)y - y_1 = m(x - x_1)

Point-slope form uses a known point (x1,y1)(x_1, y_1) and the slope mm.

  • Point-slope form is useful when given the slope and any single point on the line, or when given two points from which the slope is first calculated.

  • In word problems, (x1,y1)(x_1, y_1) represents a specific known state or data point rather than the starting yy-intercept.

  • Rearranging y−y1=m(x−x1)y - y_1 = m(x - x_1) by expanding and isolating yy converts the equation directly into slope-intercept form y=mx+by = mx + b.

Example 1

xy-6-4-2246-6-4-2246(-2, -3)(2, 5)
A line in the xyxy-plane passes through the points (−2,−3)(-2, -3) and (2,5)(2, 5), as shown in the graph. Which equation represents this line?
A
y=2x+1y = 2x + 1
B
y=x+2y = x + 2
C
y=−2x+1y = -2x + 1
D
y=2x−1y = 2x - 1
Choice A is the best answer. The slope is m=5−(−3)2−(−2)=84=2m = \frac{5 - (-3)}{2 - (-2)} = \frac{8}{4} = 2. Using point (2,5)(2,5): 5=2(2)+b⇒b=15 = 2(2) + b \Rightarrow b = 1, giving y=2x+1y = 2x + 1. Choice B is incorrect; it swaps the slope and yy-intercept values. Choice C is incorrect; it flips the sign of the slope. Choice D is incorrect; it flips the sign of the yy-intercept.

Example 2

xy
05
18
211
314
The table shows values of xx and yy that satisfy a linear equation. What is the value of yy when x=10x = 10?
35
Correct
Reading the table: as xx increases by 11, yy increases by 33, so the slope is m=3m = 3. Using (0,5)(0, 5): y=3x+5y = 3x + 5. Substituting x=10x = 10: y=3(10)+5=35y = 3(10) + 5 = 35. Common errors include using the wrong slope (e.g., computing a slope of 22 from misreading the table) or forgetting to add the yy-intercept after multiplying.

Tips for solving

  1. Calculate slope quickly using the slope formula or standard form shortcut. Example: What is the slope of the line passing through (2,5)(2, 5) and (6,13)(6, 13)?
    • Slope formula: m=13−56−2=84=2m = \frac{13 - 5}{6 - 2} = \frac{8}{4} = 2.

    • Shortcut for standard form 3x+4y=123x + 4y = 12: m=−AB=−34m = -\frac{A}{B} = -\frac{3}{4}.

  2. Use parallel and perpendicular slope rules to find line equations. Example: What is the slope of a line perpendicular to y=−23x+4y = -\frac{2}{3}x + 4?
    • Parallel slope: Same slope, so m=−23m = -\frac{2}{3}.

    • Perpendicular slope: Flip the fraction and change the sign (negative reciprocal), so m=32m = \frac{3}{2}.

  3. Find intercepts instantly by setting the opposite variable to zero. Example: Find the xx-intercept of 5x−2y=205x - 2y = 20.
    • Set y=0y = 0: 5x−2(0)=20  ⟹  5x=20  ⟹  x=45x - 2(0) = 20 \implies 5x = 20 \implies x = 4.

    • xx-intercept point: (4,0)(4, 0).

  4. Translate two-variable word problems into standard form. Example: Tickets cost $8\$8 for adults (xx) and $5\$5 for children (yy). Total sales were $400\$400.
    • Adult sales term: 8x8x

    • Child sales term: 5y5y

    • Equation: 8x+5y=4008x + 5y = 400

  5. Match table data to linear equations using two sample points. Example: A table gives points (1,7)(1, 7) and (3,13)(3, 13). Which equation fits the data?
    • Calculate slope: m=13−73−1=62=3m = \frac{13 - 7}{3 - 1} = \frac{6}{2} = 3.

    • Find yy-intercept using (1,7)(1, 7): 7=3(1)+b  ⟹  b=47 = 3(1) + b \implies b = 4.

    • Equation: y=3x+4y = 3x + 4.

  6. Interpret geometric properties of horizontal and vertical lines. Example: What is the equation and slope of a vertical line passing through (5,−3)(5, -3)?
    • Vertical line equation: x=5x = 5 (slope is undefined).

    • Horizontal line equation: y=−3y = -3 (slope is 00).

Practice questions

00:00
Question 1 · easy
A moving company charges a flat scheduling fee plus a rate per mile driven. The total cost CC, in dollars, for a move of dd miles is modeled by C=4d+85C = 4d + 85. What is the best interpretation of 8585 in this context?
Question 2 · easy

A vendor sells scarves for 18 each. Which equation represents the total revenue, in dollars from selling ss scarves?
Question 3 · easy
In the equation y=−5x+12y = -5x + 12, what is the slope of the line?
Question 4 · easy
What is the yy-intercept of the line defined by y=7x−4y = 7x - 4?
Question 5 · easy
If y=6x−9y = 6x - 9, what is the value of yy when x=3x = 3?
Question 6 · easy
What is the xx-intercept of the line defined by y=4x−8y = 4x - 8?
Question 7 · easy
The equation y=ax+7y = ax + 7 passes through the point (2,15)(2, 15), where aa is a constant. What is the value of aa?
Question 8 · easy
xy-6-4-2246-6-4-2246(0, 4)(3, 1)
Which equation represents the line shown in the graph?
Question 9 · easy
xy
02
15
28
311
The table shows values of xx and yy for a linear equation. Which equation is represented by the table?
Question 10 · easy
A line passes through the points (1,2)(1, 2) and (4,11)(4, 11). What is the slope of the line?