3. Graphing Linear Equations

Learning outcomes
  • I can graph linear equations in two variables.
  • I can identify the slope and intercept of a line.
  • I can graph equations from different forms.
  • I can determine whether a point lies on a graph.
  • I can compare graphs of different linear equations.

Graphing Linear Equations

A linear equation in two variables describes a relationship between two quantities whose graph forms a straight line.

For example:

y = 2x + 1

contains two variables, x and y. Every ordered pair that satisfies the equation corresponds to a point on its graph. When these points are plotted, they form a straight line.

Graphing linear equations allows us to see relationships visually, identify patterns, compare equations, and solve many real-world problems.

https://images.openai.com/static-rsc-4/LdbOEb7KSzTc_IAyzGYxQ-cWInDDagzD97dpoXJrsNn34Afx67jNE5cjxRQBcZaTUcJ92ydYoPlhylRReUOSUO816dYoMsUETdcHkPFavUAfY7_Yw4CV_gtfMTBGTOS7t3lMF8ZzmC_w9A2cSyPvQUdSqrwgTcS3CZ-pagGnc_ZGqc35L6T5Gp1lzsYhHZwg?purpose=fullsize
https://images.openai.com/static-rsc-4/WBqWqY8tlSoNyYZsDNMX0R_qQQDjHvHEnIiRwncrYIulb9J4rsRqjga3CJ70YyjHWD5I_JrXo_075WhpCZSvz6Zby_rXgx_BMvwTesG0p838LJfhSv7_EPm_0tSm92iBPtuIz6pDCBIZeT6NkUcB-mbz26dL0MPeIW_y5BKk5KgNoTLn0XiXOqZU4LPFzkk-?purpose=fullsize
https://images.openai.com/static-rsc-4/OsErlIAGlUhHRLqeVBPWm1U76WTWMmlb9I3fO_lLNIbtAa5WiQhpIgu_b-Qt6qzLMdYt5xzIvFLpfiPfI67fmKbV_cgIqcrVk2PPoVRyZqalyYnPZ3Y9SwDm0sBIA3ImQRpjQmDEZ5ci0QYgTA5dXxUezVRaDC_gsNqvFrje87QIR3MOM4GFX17RbwwUMH8i?purpose=fullsize
5

Learning Targets

  • I can graph linear equations in two variables.
  • I can identify the slope and intercept of a line.
  • I can graph equations from different forms.
  • I can determine whether a point lies on a graph.
  • I can compare graphs of different linear equations.

Linear Equations in Two Variables

A linear equation in two variables usually contains:

x

and:

y

Examples include:

y = 3x + 2

2x + y = 8

x − 2y = 6

y = −4x

Although these equations look different, each produces a straight-line graph.

The variables can represent many different quantities, such as:

  • Time and distance
  • Number of items and total cost
  • Hours worked and earnings
  • Temperature and time
  • Distance and taxi fare

Points on a Linear Graph

Every point on the graph of an equation represents an ordered pair:

(x, y)

that satisfies the equation.

Consider:

y = 2x + 1

If:

x = 0

then:

y = 2(0) + 1

y = 1

So:

(0, 1)

is on the graph.

If:

x = 2

then:

y = 2(2) + 1

y = 5

So:

(2, 5)

is also on the graph.

There are infinitely many points that satisfy the equation.


Understanding the Coordinate Plane

A coordinate plane contains two perpendicular axes.

The horizontal axis is the:

x-axis

The vertical axis is the:

y-axis

Their intersection is called the:

origin

with coordinates:

(0, 0)

https://images.openai.com/static-rsc-4/5iGWqaAdFhY5LE8eQjcEPkC9FY1qLrsBldVW8GPb9h3PaXP7bzNPQXtUQ2Y1rSf8vskddUbOVnEI04Winb8ruHbMvDE-Ky3aPCcxRX9IfQ9PK6t7yGJ-7wimTMTbTna1IFxsyAus7nWUEboR77PdfCHV7aZAElxs8BVt-HfK4S4UYmPdS_oDEEnDCp6VRdJV?purpose=fullsize
https://images.openai.com/static-rsc-4/poJKEafYuT6oa3SiROwS5IT191WshSAeDrKvqleZ1WSEKk_K57saV-s7yit8NIok7Hv3_WTuj9CaLjmQqOWMVqIkrUE9JrML8cw3mO_VxjLHVNBKM81kBWjie9AEyby8h_8Prf60TQVKoTEggtlJTAX8KChzORSyY2HrMx_5zCxpWw5vLqv3uuOUds5B3lIY?purpose=fullsize
https://images.openai.com/static-rsc-4/WXNKlmdAWrGVBWjL_I2J8SFX3tZsd8gCNC6aL8An3ExrLcj95gIlT9QHiLTfcSQUN7SmzFMdbafvVT7l_xo50W6FAQyeo9ba_9mjhLOdvsPVaDkzfdyBoWkIYeEYl342J8Ubb1NO1QNdHek2Io_-UFFuHF2u-uGgFbnmCQw4ihLW7Hk2gPsA3d2zbXYmu-Li?purpose=fullsize
5

An ordered pair is written:

(x, y)

Always move along the x-axis first and then vertically according to the y-coordinate.


Slope-Intercept Form

One of the most useful forms of a linear equation is:

y = mx + b

This is called slope-intercept form.

In this form:

m = slope

and:

b = y-intercept

For example:

y = 3x + 4

has:

Slope = 3

and:

y-intercept = 4

This form makes important information about the graph immediately visible.

https://images.openai.com/static-rsc-4/Dqk_KcXkE7R7ohrPhJencC79IVQRNx9o68bIS0oUI_bdEghMecTQSXEqDSTcl1ULjSJ6EuNCTgDViMsVRg8Ju80J9X6sxL-Ju201v1B7_aIgg5-SC2MOUUbRV6hjHqUM71pLFPzja4mPZ_9SpppmX_vOZ8eSPuKaJFXef1zRX-wDvJnuoNJIHkt-t4oPKqX6?purpose=fullsize
https://images.openai.com/static-rsc-4/8iv-cjUr_HQhURXOTBtWtyba4OJJrDUscimQy6ZhY2bMb5V6847TooxxD4Tm89yoISpCYMFaO3P_yO0AGhrhgszgLprSsMzJQh1XP3QZShct55UQ0yvfKwPksUcIUQl3v1KLBUTGF9yIPEV9CbCvMtz8M69lMaTD7g6pyKwNhUecMn6fxNMaO0cCl4pHRESa?purpose=fullsize
https://images.openai.com/static-rsc-4/DZYXhIfGKVptimK2r1VC3Y_XIekvMuJysvnLX69ZypJh0kWNQuF0YiUH8Lk26XMMo14gNdvEc72Z7Nxj1nr5WfOeU14681jLYCAjpyJywiENjFmC6vCL1ofaZC1QSU1d-jzTBF23RZsP2fO2k4MR2Xi7oym32zCefsFGtN439XBx78v2lVm8hu1wJw4-BV6M?purpose=fullsize
5

What Is Slope?

The slope describes the steepness and direction of a line.

It tells us how much y changes when x changes.

Slope can be calculated using:

Slope = change in y / change in x

or:

m = rise / run

The rise represents vertical change.

The run represents horizontal change.


Positive Slope

A line with a positive slope rises from left to right.

For example:

y = 2x + 1

has:

m = 2

This means that whenever x increases by 1, y increases by 2.

https://images.openai.com/static-rsc-4/hcO0My5dRjk5bveBSl5jArQKuS9aTw2NXe3pEHy2RYADZbT345kWb156ZA5a59G1_gce0YK4KLDTxkR5i7fTPozmYC5MEfjATM3z4RGa5hl_syl6jXLZJFD9_TjuSdAWRUVhZw8wZ9PQFuQtV3ZHgt4eZ-O95DJS099kLu7cK4_pQozOxEv2iwaX9Lqm5AeK?purpose=fullsize
https://images.openai.com/static-rsc-4/LdbOEb7KSzTc_IAyzGYxQ-cWInDDagzD97dpoXJrsNn34Afx67jNE5cjxRQBcZaTUcJ92ydYoPlhylRReUOSUO816dYoMsUETdcHkPFavUAfY7_Yw4CV_gtfMTBGTOS7t3lMF8ZzmC_w9A2cSyPvQUdSqrwgTcS3CZ-pagGnc_ZGqc35L6T5Gp1lzsYhHZwg?purpose=fullsize
https://images.openai.com/static-rsc-4/W9zex_hnIVXHosvLYtitm0_h-lQXnmrhEvGWtBGIHWJkh9jNIKoHaQagVGD0uKr3Dcp51OOkCZHuOEZrqzdbYlUx532jAgTab9L6pguJhvD_5TIyjySi_Uo32aThXeXfe5ReHzVlStRdtzU4vq0pRok-h3RwMTLjdH5xQ4akTkPrKpgsjh2FqhI_N-YmBxPJ?purpose=fullsize
6

We can think of the slope as:

2/1

So from one point, move:

1 unit right

and:

2 units up

to find another point.


Negative Slope

A line with a negative slope falls from left to right.

For example:

y = −2x + 5

has:

m = −2

This means that when x increases by 1, y decreases by 2.

https://images.openai.com/static-rsc-4/UNDisOEPHPrBulf-qgY-JoK8koLOO0wLEMGg6eA5qi0CivQnnjGwpurMU1kfFCSUAHFZxMlF-IQ346EoKYMHUsvtj8tQM6EVP-c9X9CABANYUulTaMEmkYwlek9mHMe9yI_AdieScKwqQLgYlMX2FdANy5evK1r4BN-E106MACrKLl_o4gRNHjx_xwUMvnZ7?purpose=fullsize
https://images.openai.com/static-rsc-4/6EKws3quPVtAowWP-JQ19VUvaNjoFPTOCZ65hyUlWH2PrV7Mc2Z44UeTcL7STvySFGJcOrBH5L8YX9Htzb065w0swW8Ozi0f4EYQYb7GruDQLWnBQDxXl8ihV6zRnofMQVlR4K_jSqQVzUMuAUEqkwDjM870gJU5XBS9rGefRaAsnYzbIB2hshN55phfKhqY?purpose=fullsize
https://images.openai.com/static-rsc-4/ObFRIxOy4eOdKnXKLw8RTTxdmJwlF5CF3ZxSdI0y0N56YpE9mapDv1mQLuVZ7Ze3gB9gtMJnpTc7YtYz4dkHQUubFIwTcqAjnEfP0sBWyYPUv5uHjC8sx9yLg5T4Nongyrd2tkhE_SBhycDBr47uLVH9C7O3XU5HAXk_G_L7BnjBNVYi7Bz557GVh2KJjcoW?purpose=fullsize
5

A negative slope represents a relationship where one quantity decreases as the other increases.


Zero Slope

A horizontal line has a slope of:

0

For example:

y = 4

Every point on this line has a y-coordinate of 4.

As x changes, y does not change.

Therefore:

change in y = 0

and the slope is zero.


Undefined Slope

A vertical line has an undefined slope.

For example:

x = 3

Every point has an x-coordinate of 3.

The line is vertical.

https://images.openai.com/static-rsc-4/87Rg7pHTJM1WLQ3cWEFo9FGg0-VESYqlN82_9JtjFPsozyqT1M9cBvbh4zyeobpaVkYZwnapgEg3lCaIzS5ra6c4cAVKMIGWlbiKm1qJLuJCqC0HTxdhDBf-IoNfVtj9i90B10iBVnRn8tFO3usxB5g72LSl9XRjY-PjjbnyqBhE6Mo5SUUPQRXyt-qqpJUw?purpose=fullsize
https://images.openai.com/static-rsc-4/BUSqVUqE0KQ4TPODpPhKxCBfzVXv0HKTyDIMontDqRJ0XaE5pOzI4pvlzgicc1_yE5SdmrChbkwnH6VdP-EB2G8eIOwcpNFd3NYYjkNZBfkHVjwjqHGpUUkjpB04OWvHG_SPiqtU9CI3qxhDLCqnESlfqs8w3bD5ISj8yjoRWdQYMEAQ74rUHXrdURpUyAuz?purpose=fullsize
https://images.openai.com/static-rsc-4/2OMQqDDKHCvfMQU2suLViVzIhzTPAaFkZbsI1mDFA85k9RDUshZ-oiTAWaxX5qJ6Lfz0_YkZXfet9vRvHqJ8n9t6geIki-r0VWca13gKWc2TtxaZuxbqpQcAUJOevtCU6IP7TyrbMFLfsFy41AJVG1WbfLsriXpfIq1Pg_Yy7F4_9yM82p0uH9bypiBmEqS2?purpose=fullsize
4

Because there is no horizontal change, the calculation for slope would require division by zero, which is undefined.


Understanding the Y-Intercept

The y-intercept is the point where a line crosses the y-axis.

At every point on the y-axis:

x = 0

Consider:

y = 3x + 5

Set:

x = 0

Then:

y = 3(0) + 5

y = 5

Therefore, the y-intercept is:

(0, 5)

In:

y = mx + b

the value of b gives the y-intercept directly.


Graphing from Slope-Intercept Form

Consider:

y = 2x + 1

We can identify:

m = 2

and:

b = 1

Start with the y-intercept:

(0, 1)

Then use the slope:

2 = 2/1

Move:

1 right

and:

2 up

This gives another point:

(1, 3)

Repeat the pattern and draw a straight line through the points.

https://images.openai.com/static-rsc-4/BMW8tgIDjwwSmEqKuoiGzgO7uXLu9q6vqwKRmglfhEQ1haJqMWlvymrNZdmC6HyPg-4DcF5aM5wn-WwNyF7jYCaONY7rv5KQOOLziR6k3KbM5z2c297RFhNzK2XL2B7cpzTK9NY4fRyPYNKMhNGtn9sK4yHYG4MOzF7hrKc_lBs_wN7Jmtpt-IYgJKRItt5N?purpose=fullsize
https://images.openai.com/static-rsc-4/Tc7E8LE6afUNKkxMCjeC9cZNnNzAxoT3ob_la1JunC6jIaTyG79CQIVwnxwGq5qWR23e48X_lAMBybSlYAL4wpcpsZfuDYZGFq4MXpIrPd3uireDUND2QvELixP0jp1JL-ltvLHX7hsFdziV1BrVuLUy5Ehesb4LXprqUUuRz6uFWOcwRc4QrB1z_4DUEGTE?purpose=fullsize
https://images.openai.com/static-rsc-4/yTOO2FP2oQH64K2A1DMimroaKEWJDglCEvgJAWz0zhBmZK37jszyBnwlf1beKBMrh34pYzX675HL54hhHydKulGPzQ6Cm6WkiPk5LyH0TP2A1QtvWNL5VWUokDfop0_TV9XjWE7B7mJIRk-lQjm0dfOt3xJoWJJjDq4TaZRUU0NfrUIAWi4JI2PImszgVqjC?purpose=fullsize
6

Worked Example — Positive Slope

Graph:

y = 3x − 2

Identify the slope:

m = 3

Identify the y-intercept:

b = −2

Start at:

(0, −2)

Write the slope as:

3/1

Move:

1 right

and:

3 up

This gives:

(1, 1)

Move again:

1 right

and:

3 up

This gives:

(2, 4)

Draw a straight line through the points.


Worked Example — Negative Slope

Graph:

y = −1/2 x + 3

The y-intercept is:

(0, 3)

The slope is:

−1/2

This means:

2 right

and:

1 down

Starting from:

(0, 3)

we obtain:

(2, 2)

and then:

(4, 1)

Plot the points and draw a straight line through them.


Graphing Using a Table of Values

Another method is to create a table.

Consider:

y = 2x − 1

Choose several x-values.

If:

x = −1

then:

y = 2(−1) − 1 = −3

If:

x = 0

then:

y = −1

If:

x = 1

then:

y = 1

If:

x = 2

then:

y = 3

The corresponding points are:

(−1, −3)

(0, −1)

(1, 1)

(2, 3)

Plot the points and connect them with a straight line.

https://images.openai.com/static-rsc-4/HXv9UPoT4y769fgBAX_B6kP-ovsNqWPv_HqNUmi5JL0A0lD4FOGb7rNWFIUENd9TNahOCd1qaTWfu1hKCxudfhhEf-BHG72ua4CIu82N7aCmiYJ-V1wtzXFekaBkumceodCy8cz32MQ-ncEPR4i9gkbUIBWUMizUQxpDcma-g64RMH0RflEkBihDczNDdxE2?purpose=fullsize
https://images.openai.com/static-rsc-4/ZbRgjGa0RH80QLOsJXTU5zcjIR-N7E9qs4LPwectoFtO22F28QNbHyRBkEg8in2zz5ol9bQEEJvjwacl33cSLlowNQ7jxXlUcHWemsbLc8UWwg5oXuVpYdd3NDArXDh2XDu84ELKqaPpu7mwfLv1KVviIaq8KJy6-Jc2YoVDkghapk5JhMfv7p_dg7H2-zj9?purpose=fullsize
https://images.openai.com/static-rsc-4/Pzg5i-TW68kv8H3LEBKMJWoXq0zbz94ZTE6D4clI_mma17GKD4rwWTmNBrnXV5oSaQhj5n7QLoLrSwV6oZpwAAMTu6aRzhjvJT2Wo39cz7Q2AWhb_YE8QIYHGFd4KacL-ll4JFGulSTj2Qjx3W8JWMZiARcKUtJaKyuGbw7zWLfCNjoC7MIBFqeaZglGzlwr?purpose=fullsize
6

Why Two Points Are Enough

A straight line is completely determined by two different points.

If you know two points that satisfy a linear equation, you can draw the line through them.

However, when working by hand, finding a third point can be useful as a check.

If the third point does not lie on the same straight line, there may be a calculation or plotting error.


Graphing from Standard Form

Linear equations may also be written in standard form:

Ax + By = C

For example:

2x + y = 6

One method is to rearrange the equation into slope-intercept form.

Start with:

2x + y = 6

Subtract 2x:

y = −2x + 6

Now we can identify:

Slope = −2

y-intercept = 6

The equation can now be graphed using slope and intercept.


Worked Example — Rearranging First

Graph:

3x + y = 6

Solve for y:

y = −3x + 6

Therefore:

m = −3

and:

b = 6

Start at:

(0, 6)

Then use:

−3 = −3/1

Move:

1 right

and:

3 down

This produces another point.

Continue the pattern and draw the line.


Graphing Using Intercepts

Another useful method is to find the x-intercept and y-intercept.

Consider:

2x + 3y = 6

To find the x-intercept, set:

y = 0

Then:

2x = 6

x = 3

So the x-intercept is:

(3, 0)

To find the y-intercept, set:

x = 0

Then:

3y = 6

y = 2

So the y-intercept is:

(0, 2)

Plot these two points and draw the line.

https://images.openai.com/static-rsc-4/QrghwpbLddXV5ktT0MDge8G_HKf5cfO47VZwIS0O2OcA2oDR1lB25kkZ6Luaks_ozt3QVrDVlEWmo_uLHdhjazI3BQddamWYz0Hf3AATeCzSTjokkIYRJRDo78b65Ba25_u7ZfV983kiMIKwYrsyV93WtQn-DkyuwsBLCVHkJLHW13I6ILcs3uegj9r9fbm8?purpose=fullsize
https://images.openai.com/static-rsc-4/Ejyp62kPZOZb-In8V1qoMs9X5-5JmcOt1F-Jqj1QppNcYwbAXTVuoqYlZa1vdf72PbUDxQXhmXI_0J8RGCYpunz4ge6o0gwRuw1JMYP001BWIv-0dzFRh8bleb2P2JPUMJLr9VPjqXaJCeODjtju_qvlLm_4hF40UCHY3OGmUup4Zj0xfzndqZ0QFCOEI73b?purpose=fullsize
https://images.openai.com/static-rsc-4/630ojoRF3mBlnHmw-VkObhyhmnBFp6JGjBKNCtAEjJ2IzBz4v3ra9OoYhVRCqIFNa6ZwnnyuRNlwFreN4HGlakaIkEc_xaaFYdNqhqz9Vg0TiKJeXG1_iN_of4NLRSc1cNWG8-uIq91eXPYyWBashaAqNh1KCPvyiml4NNWbpk7ats1UFC4p4Ft9pRQ0Dnlh?purpose=fullsize
5

The X-Intercept

The x-intercept is where a graph crosses the x-axis.

At every point on the x-axis:

y = 0

For example:

y = 2x − 6

Set:

y = 0

Then:

0 = 2x − 6

6 = 2x

x = 3

Therefore, the x-intercept is:

(3, 0)


Different Forms of Linear Equations

The same line can be represented in different forms.

For example:

y = 2x + 4

can be rearranged to:

2x − y = −4

These equations describe exactly the same line.

Another useful form is point-slope form:

y − y₁ = m(x − x₁)

This form is useful when you know:

  • The slope
  • One point on the line

Worked Example — Point-Slope Form

Suppose a line has:

Slope = 2

and passes through:

(3, 4)

Use:

y − y₁ = m(x − x₁)

Substitute:

y − 4 = 2(x − 3)

Expand:

y − 4 = 2x − 6

Add 4:

y = 2x − 2

Now the equation is in slope-intercept form and can be graphed easily.


Determining Whether a Point Lies on a Graph

A point lies on a graph if its coordinates satisfy the equation.

Consider:

y = 2x + 3

Does:

(2, 7)

lie on the line?

Substitute:

x = 2

and:

y = 7

Then:

7 = 2(2) + 3

7 = 4 + 3

7 = 7

True.

Therefore:

(2, 7) lies on the graph.


Worked Example — Point Not on a Line

Does:

(3, 5)

lie on:

y = 2x + 1

Substitute:

x = 3

The equation predicts:

y = 2(3) + 1

y = 7

But the point has:

y = 5

Therefore:

(3, 5) does not lie on the graph.

https://images.openai.com/static-rsc-4/SttOhfq5VbZSrPR_0MbISXNfWXjaqkJRP-6LRZ9Ad-ueAizBbsWH7fag8kHZxWq2N3fJ9Tny76rssH_xcsdizYXHmRO4yjmzpQbpCrwITGSbH6G8E6BtVIeinOtZxBTS5ebwFKPvrdTs2dfiE0yzkWCTV44GNKkxvmLKsFWMGD7AGDHLYa8amHmm3Cl9zc9O?purpose=fullsize
https://images.openai.com/static-rsc-4/XxmykjBJpQApB5aXye1FDNum4A7C2iVlvQpVHT3JB171Wx2BavareyOsWo_rKs3aES6kZRVreEybzbyh5cjnBxHJxeXBZaibtiDm4qaa4ET_lWuG_ZtSiOK2r2z8qUPF6X2AqV7eOM-wTbSZg5k-Nlj4qKIw6_H-hm2PHiYOnxOP6CPEtJ-U6biA88ArNTUs?purpose=fullsize
https://images.openai.com/static-rsc-4/Xvq8EWykOUqj0HDlXIBAPhwrvhFIUKWwQMw9pE-NX9Ibh5G9Gc_CQdJ-54LnhGn235Yt6taixyDHKdZDJZdxnIrznbP-3mq5x82mQFCOF6G8A0PLQzejtFghjvep7oFZd0YD9o3oEKJ9e9Y2AtztZeWewG3mk-AtTvZjDoGbpFlcW6OFq-AkvZLaJOqwSkJR?purpose=fullsize
4

Comparing Slopes

Consider:

y = 2x + 1

and:

y = 5x + 1

Both have the same y-intercept:

1

But their slopes are different.

The first line has:

m = 2

The second has:

m = 5

The line with slope 5 rises more rapidly.

Therefore, it is steeper.

Slope allows us to compare rates of change between linear relationships.


Comparing Y-Intercepts

Consider:

y = 3x + 2

and:

y = 3x − 4

Both have slope:

3

But their y-intercepts are different:

2

and:

−4

Because the slopes are equal, the lines have the same steepness and direction.

They are parallel.

https://images.openai.com/static-rsc-4/JYCItrntZ8rBWeRsiysvwln3jXQExWov_rrLbv2LopWgSoBNIXNb6WqzDx-T_ymRQhB9D-9K8oI7DPZoTgPXuTwNX6tCaLsIJoQGGqJiyU7oNMhIaQid3KrC6rt3EYXsmLpMNL4YBQuUGiwCwgM2xRF2ghOs6g65KeYdJNq3csTNFGrLH3JEfAAdxAEHI6df?purpose=fullsize
https://images.openai.com/static-rsc-4/tSh1cAlI56UNjTlmPgR30-Ur1WfzAu0Td0B_RoLUx8Ui5tmf3Ion8HFQhP_XWojW4GPSeMjovJ81dMjOg1sCTjv-lWA6hQsezZuLfNCQtlu9QblWwihWQjio_RWouu9nh3oyyioAVz3vxiP7mI_QjcxBD2hXI8p1YATUmDaoa0lL5CCqtIFIhFXAE8he23Li?purpose=fullsize
https://images.openai.com/static-rsc-4/0VD26jLo-G6TH2XXXNeiE2fcRW56ki3PQU-q35k5hcE_m5ebV4WGz6IUmCkOvlewN0kKYNxcC1tZlqAd6RMVllJDt_x8FteUTkGiuMS3tczPrdzfjYFtfzQfSdOjRhK32IRyLr8ya5r1dzVXbrzaqgfoZ-CUzMf7Vyx7dt0XTS4fR4dQAwBD4GISkru-tQQW?purpose=fullsize
5

Parallel Lines

Parallel non-vertical lines have the same slope but different y-intercepts.

For example:

y = 2x + 1

and:

y = 2x + 5

Both have:

m = 2

but different intercepts.

They never intersect.

This becomes especially important when studying systems of equations.


Intersecting Lines

Lines with different slopes generally intersect at one point.

For example:

y = 2x + 1

and:

y = −x + 7

have different slopes.

Their intersection is the point that satisfies both equations.

This connects graphing linear equations directly to solving systems.

https://images.openai.com/static-rsc-4/93si_H0XORIty7iyn3AXtjN3RuWaQN5wpfmco3GFIYzQHUT-k9VB7CLvnCh2QqzRALk_q_7lzlluJ2p19TiUMzUl0_KDQVNzu8_BrVOxQqP0JtGLn-htc5RROFMYK-iE8KyLrJR5orzbBil4tTpv298Gq51lOidZ9stxoJnjrQRtgSE4ibG4kLZcFe45M5X7?purpose=fullsize
https://images.openai.com/static-rsc-4/KQL5FI34MasoyblREAF7gYnEfu3rQ6DgrcSHXMgM7e5poIBUUFdZQLG29YDnfFNzdmQo4aGSsMgHCuub8_0vhCr9SIaorecyeSPdmuOwdzoOO9PgftZq3eEK_x_d6RngL1XXTpHUCLVCTjpZJh0sfq9HasCp1nNeczElaHWoXeyhPAZ-KWN2e_DzjRM1lig0?purpose=fullsize
https://images.openai.com/static-rsc-4/xqCj877U8nBOqj8-fJEWF6MLQV3ue_N_NbJSDg8Ewn4iho-wiAg0t-eEV4yEZF3XE0Un66n80owN5sXxu-amlW3whYff_TJ0fSrNo0C2OmwAe0hULq6xo4E7oTmhvIFprO9u7AX0bqQGNVgZrAXes0gwvW-HcP5NoVuql_lmlgT3K5Beg0aEbr0RLsiT3OAF?purpose=fullsize
6

Comparing Linear Equations Visually

Consider:

y = x + 1

y = 2x + 1

y = 3x + 1

All three lines have the same y-intercept:

(0, 1)

Their slopes are:

1, 2, and 3

As the positive slope becomes larger, the line becomes steeper.

Graphing several equations together makes this relationship easy to see.


Negative Slopes and Steepness

Compare:

y = −x + 4

and:

y = −4x + 4

Both have the same y-intercept.

Their slopes are:

−1

and:

−4

The second line decreases more rapidly.

The magnitude of the slope helps describe steepness.

A slope of −4 is steeper than a slope of −1.


Linear Graphs in Real Life

Linear graphs are useful whenever one quantity changes at a constant rate compared with another.

Examples include:

  • Constant-speed travel
  • Hourly wages
  • Simple savings plans
  • Fixed-price services
  • Temperature conversions
  • Rental costs
  • Phone plans
  • Fuel use under simplified conditions
https://images.openai.com/static-rsc-4/akPZdS47F8NUW_4uZXhKFc74S79d2epy_qFgckkmJuC4nVkuWVUHl7dnHH2CwDhrh3sF10rTf-q_k8OTj1sxV_OMB-nmodmLHht9uThvgAdh6qf3DU6g5FTXYF_UV93a4sEiJtGAeX2aVwD3ggiDgdt_zQRMRvHi9xAYTRPKm7tQ15qDeehs6vmoLsbLPGK1?purpose=fullsize
https://images.openai.com/static-rsc-4/-a373-t2I8Rh1t7hxiDvc89aXufSh08ow9bGbBAk8aFyg27AhO0b0kGVHdLRXh0Ajmy6TImthCijewlwCsj49eqLAhKVz8l1pQXvYB8_BQa1FuVaQ9qhU80Zrlrdu-Tv8rxT_P41n5HSLWUTYhUQJBkSp4agry2UB2vqrBlUb8Aw-lI5VF2Qmc9jWDaLkcqe?purpose=fullsize
https://images.openai.com/static-rsc-4/R7keAENcnlsDrUTacJi5Ufd88rYcMkbGq8L2NObtcFvpGKDTff29c_izk9jOMEH3w8nQeIBXkqtMYajZIyOLCNVPGirjnKPBQvOqaBhMDyzcrLwyb-XfUXmwGmrwu0HBU95XYt8A9mZm0IaqMjmi8nWP6VPvRGk1HYukAHzgHoLjmj9yrgMuM4ko-nOlXA9v?purpose=fullsize
7

Worked Example — Taxi Fare

A taxi charges:

$4 starting fee

plus:

$3 per kilometre

Let:

C = cost

and:

d = distance

The equation is:

C = 3d + 4

This has the same structure as:

y = mx + b

The slope:

3

means the cost increases by $3 for each additional kilometre.

The intercept:

4

represents the starting fee.

The graph provides a visual model of the taxi fare.


Worked Example — Earnings

Suppose a worker earns:

$18 per hour

The equation is:

E = 18h

where:

E = earnings

and:

h = hours worked

The slope is:

18

This represents an earning rate of:

$18 per hour

The intercept is:

0

because before any hours are worked, earnings are $0.


Worked Example — Savings

Suppose a student already has $50 and saves $20 each week.

The equation is:

S = 20w + 50

where:

S = savings

and:

w = weeks

The slope:

20

represents:

$20 saved per week

The intercept:

50

represents the initial amount.

This shows why slope and intercept can have important real-world meanings.


Graphs Can Tell a Story

A linear graph contains information about a relationship.

The slope tells us:

How quickly one quantity changes compared with another.

The y-intercept often tells us:

The starting value when x = 0.

For example, in:

C = 5h + 12

the slope may represent:

$5 per hour

while the intercept represents:

a $12 starting fee

Graphing therefore helps us interpret equations rather than simply calculate with them.


Choosing a Graphing Method

Different equations may be easier to graph using different methods.

For:

y = 3x + 2

using slope and y-intercept is convenient.

For:

2x + 3y = 12

finding the x- and y-intercepts may be convenient.

For an unfamiliar equation, creating a table of values is often reliable.

For an equation given with a known point and slope, point-slope form may be useful.

Choosing an efficient method makes graphing faster and reduces mistakes.


Checking a Graph

After drawing a graph, you can check it algebraically.

Choose a point that appears to lie on your line.

Substitute its coordinates into the original equation.

If the equation becomes true, the point was plotted correctly.

You can also check:

  • Is the y-intercept correct?
  • Does the line rise or fall in the correct direction?
  • Does its steepness match the slope?
  • Are the axes scaled consistently?
  • Is the line straight?

Common Mistakes

Mistake: Reversing x and y

For:

(3, 5)

move to:

x = 3

then:

y = 5

not the other way around.

Mistake: Confusing slope and intercept

In:

y = 4x + 7

the slope is:

4

and the y-intercept is:

7

Mistake: Forgetting the sign of the slope

In:

y = −3x + 2

the slope is:

−3

The line should fall from left to right.

Mistake: Reading a whole number slope incorrectly

A slope of:

3

can be written:

3/1

So move 1 horizontally and 3 vertically.

Mistake: Using inconsistent scales

If one square represents 1 unit on part of an axis, it should not suddenly represent 5 units elsewhere.

Mistake: Assuming a point lies on a line because it looks close

Substitute the coordinates into the equation to verify it exactly.

Mistake: Plotting only one point

One point does not determine a unique line.

Use at least two points.


Key Terms

Linear equation – an equation whose graph is a straight line.

Coordinate plane – a plane formed by perpendicular x- and y-axes.

Ordered pair – coordinates written as (x, y).

Slope – the rate at which y changes compared with x.

Rise – vertical change.

Run – horizontal change.

Y-intercept – where a graph crosses the y-axis.

X-intercept – where a graph crosses the x-axis.

Slope-intercept form – the form y = mx + b.

Standard form – a form commonly written as Ax + By = C.

Point-slope form – the form y − y₁ = m(x − x₁).

Parallel lines – lines in the same plane that never meet.


Check Your Understanding

1. Identify the slope and y-intercept of:

y = 4x + 3

2. Identify the slope and y-intercept of:

y = −2x + 5

3. Graph:

y = 2x + 1

using its slope and y-intercept.

4. Graph:

y = −x + 4

using a table of values.

5. Rewrite in slope-intercept form:

2x + y = 8

6. Find the x- and y-intercepts of:

2x + 3y = 12

7. Does:

(2, 7)

lie on:

y = 3x + 1

Explain.

8. Does:

(4, 5)

lie on:

y = 2x − 3

Explain.

9. Compare:

y = 2x + 3

and:

y = 5x + 3

What is the same? What is different?

10. Compare:

y = 4x + 1

and:

y = 4x − 6

What can you say about their graphs?

11. What does a negative slope tell you about the direction of a line?

12. What is the slope of a horizontal line?

13. Why is the slope of a vertical line undefined?

14. A taxi fare is modeled by:

C = 2.5d + 6

Explain the meaning of the slope and intercept.

15. Explain how you can determine whether a point lies exactly on a linear graph without relying only on the picture.


Key Takeaways

  • A linear equation in two variables produces a straight-line graph.
  • Every point on the graph represents an ordered pair that satisfies the equation.
  • y = mx + b is called slope-intercept form.
  • m represents the slope.
  • b represents the y-intercept.
  • Slope measures the rate of change of y compared with x.
  • Positive slopes rise from left to right.
  • Negative slopes fall from left to right.
  • Horizontal lines have zero slope.
  • Vertical lines have undefined slope.
  • A line can be graphed using slope and intercept, a table of values, or intercepts.
  • Equations in standard form can be rearranged into slope-intercept form.
  • A point lies on a graph only if its coordinates satisfy the equation.
  • Lines with the same slope and different intercepts are parallel.
  • Different slopes produce different rates of change and usually cause lines to intersect.
  • The slope and intercept often have meaningful interpretations in real-world situations.
  • Choosing an appropriate form and graphing method can make a problem much easier to solve.

Did You Know?

The idea of using coordinates to connect algebra and geometry is strongly associated with René Descartes. The Cartesian coordinate system made it possible to represent equations as geometric shapes. This connection is one of the foundations of modern mathematics, physics, engineering, computer graphics, and data analysis.