✓ 200+ IB tutors & examiners✓ Free 30-min IB assessment✓ Satisfaction guarantee💬 WhatsApp +971 55 859 3917✉️ edu@ib-pros.com

Graphing Linear Equations: Methods, Examples and Why It Matters

Graphing Linear Equations: Methods, Examples and Why It Matters

A linear equation produces a straight-line graph. Being able to graph one quickly, and read information from it, underpins everything from simultaneous equations to calculus and data modelling. This guide covers three graphing methods, finding gradients and equations, and common mistakes.

The forms of a linear equation

  • Gradient-intercept (slope-intercept) form: y = mx + c, where m is the gradient and c the y-intercept.
  • General form: ax + by + d = 0.
  • Point-gradient form: y − y₁ = m(x − x₁).
CASIO MS-8ver calculator, Location unknown – IB Math

Method 1: table of values

Graph y = 2x − 1. Choose x = −1, 0, 1, 2: y = −3, −1, 1, 3. Plot the points and draw a straight line through them. Three points are enough; the third is a check.

Method 2: gradient and intercept

For y = −½x + 3: plot the y-intercept (0, 3), then use the gradient −½: move 2 right and 1 down to reach (2, 2). Join the points.

Method 3: intercepts

For 3x + 4y = 12: set x = 0 to get y = 3, and y = 0 to get x = 4. Plot (0, 3) and (4, 0) and join them. This is fastest for equations in general form.

Finding the gradient and equation of a line

  • Gradient through (x₁, y₁) and (x₂, y₂): m = (y₂ − y₁)/(x₂ − x₁).
  • Example: through (1, 2) and (4, 11): m = 9/3 = 3. Then y − 2 = 3(x − 1), so y = 3x − 1.
  • Parallel lines have equal gradients; perpendicular lines have gradients whose product is −1 (e.g. 2 and −½).
  • Horizontal lines are y = k (gradient 0); vertical lines are x = k (gradient undefined).
Dome Lovely geometry – IB Math

Why graphing linear equations matters

  • Solving simultaneous equations: the intersection of two lines is the solution.
  • Rates of change: the gradient is a rate, such as speed, cost per item or growth per year.
  • Modelling data: linear regression fits a best-fit line to data, central to IB Math AI and science IAs.
  • Calculus: a tangent is a line whose gradient is the derivative at a point.
  • Physics and chemistry: linearising graphs (e.g. plotting T² against L) turns curved relationships into straight lines you can analyse.

Common mistakes

  • Reading the gradient as rise over run the wrong way round (it’s change in y over change in x).
  • Using unequal scales on axes and misjudging the gradient.
  • Forgetting that a negative gradient slopes down from left to right.
  • Not rearranging to y = mx + c before reading off m and c.

Practice

  1. Find the gradient and y-intercept of 2x + 5y = 10.
  2. Find the equation of the line through (−2, 5) and (2, −3).
  3. Find the equation of the line perpendicular to y = 4x + 1 through (0, 2).

Answers: 1) m = −2/5, c = 2 · 2) y = −2x + 1 · 3) y = −¼x + 2

Need help with IB Math?

Find an IB Math tutor · Related: Factoring quadratic equations · Simplifying exponents

Need help with your IB subjects?IB Pros matches you with an IB teacher or examiner in your exact subject and level. Lessons are 1-to-1 and online, from US$47 per hour.Get a free 30-min IB assessment → Free IB guides
1-to-1 IB tutoring

Turn this into a 7 in IB Math

  • 200+ IB tutors & examiners
  • Lessons in your time zone
  • Free consultation first
Chat with us