Professional Documents
Culture Documents
x ≤ 21 or x ≥ −12
2
Graph each
solution.
Graph numbers
that make either
inequality true.
(−∞, ∞)
TRY IT : : 2.131
Solve the compound inequality. Graph the solution and write the solution in interval notation: 3 x − 7 ≤ −1 or
5
1 (x + 6) ≥ −2.
3
TRY IT : : 2.132
Solve the compound inequality. Graph the solution and write the solution in interval notation: 3 x − 3 ≤ 3 or
4
2 (x + 10) ≥ 0.
5
EXAMPLE 2.67
Due to the drought in California, many communities have tiered water rates. There are different rates for Conservation
Usage, Normal Usage and Excessive Usage. The usage is measured in the number of hundred cubic feet (hcf) the property
owner uses.
During the summer, a property owner will pay $24.72 plus $1.54 per hcf for Normal Usage. The bill for Normal Usage
would be between or equal to $57.06 and $171.02. How many hcf can the owner use if he wants his usage to stay in the
normal range?
194 Chapter 2 Solving Linear Equations
Solution
Identify what we are The number of hcf he can use and stay in the “normal usage” billing range.
looking for.
Name what we are looking Let x = the number of hcf he can use.
for.
Translate to an inequality. Bill is $24.72 plus $1.54 times the number of hcf he uses or 24.72 + 1.54x.
Answer the question. The property owner can use 21–95 hcf and still fall within the “normal
usage” billing range.
TRY IT : : 2.133
Due to the drought in California, many communities now have tiered water rates. There are different rates for
Conservation Usage, Normal Usage and Excessive Usage. The usage is measured in the number of hundred cubic
feet (hcf) the property owner uses.
During the summer, a property owner will pay $24.72 plus $1.32 per hcf for Conservation Usage. The bill for
Conservation Usage would be between or equal to $31.32 and $52.12. How many hcf can the owner use if she
wants her usage to stay in the conservation range?
TRY IT : : 2.134
Due to the drought in California, many communities have tiered water rates. There are different rates for
Conservation Usage, Normal Usage and Excessive Usage. The usage is measured in the number of hundred cubic
feet (hcf) the property owner uses.
During the winter, a property owner will pay $24.72 plus $1.54 per hcf for Normal Usage. The bill for Normal Usage
would be between or equal to $49.36 and $86.32. How many hcf will he be allowed to use if he wants his usage to
stay in the normal range?
MEDIA : :
Access this online resource for additional instruction and practice with solving compound inequalities.
• Compound inequalities (https://openstax.org/l/37compinequalit)
2.6 EXERCISES
Practice Makes Perfect
Solve Compound Inequalities with “and”
In the following exercises, solve each inequality, graph the solution, and write the solution in interval notation.
376. x < 3 and x ≥ 1 377. x ≤ 4 and x > −2 378. x ≥ −4 and x ≤ −1
379. x > −6 and x < −3 380. 5x − 2 < 8 and 6x + 9 ≥ 3 381. 4x − 1 < 7 and 2x + 8 ≥ 4
414. 1 x − 3 ≤ 4 or 415. 3 x + 2 ≤ −1 or
2 4
1 (x − 6) ≥ −2 1 (x + 8) ≥ −3
3 2
Mixed practice
In the following exercises, solve each inequality, graph the solution on the number line, and write the solution in interval notation.
416.3x + 7 ≤ 1 and 417. 6(2x − 1) > 6 and 418. 4 − 7x ≥ −3 or
2x + 3 ≥ −5 5(x + 2) ≥ 0 5(x − 3) + 8 > 3
425. −5 ≤ 3x − 2 ≤ 4
428. Andrew is creating a rectangular dog run in his 429. Elouise is creating a rectangular garden in her
back yard. The length of the dog run is 18 feet. The back yard. The length of the garden is 12 feet. The
perimeter of the dog run must be at least 42 feet and perimeter of the garden must be at least 36 feet and no
no more than 72 feet. Use a compound inequality to more than 48 feet. Use a compound inequality to find
find the range of values for the width of the dog run. the range of values for the width of the garden.
Everyday Math
430. Blood Pressure A person’s blood pressure is 431. Body Mass Index (BMI) is a measure of body fat is
measured with two numbers. The systolic blood determined using your height and weight.
pressure measures the pressure of the blood on the
arteries as the heart beats. The diastolic blood ⓐ Let x be your BMI. Research and then write the
pressure measures the pressure while the heart is compound inequality to show the BMI range for you to
resting. be considered normal weight.
ⓐ Let x be your systolic blood pressure. Research and ⓑ Research a BMI calculator and determine your BMI.
then write the compound inequality that shows you Is it a solution to the inequality in part (a)?
what a normal systolic blood pressure should be for
someone your age.
Writing Exercises
432. In your own words, explain the difference between 433. Explain the steps for solving the compound
the properties of equality and the properties of inequality 2 − 7x ≥ −5 or 4(x − 3) + 7 > 3.
inequality.
Self Check
ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
ⓑ What does this checklist tell you about your mastery of this section? What steps will you take to improve?
198 Chapter 2 Solving Linear Equations
2.7
Solve Absolute Value Inequalities
Learning Objectives
By the end of this section, you will be able to:
Solve absolute value equations
Solve absolute value inequalities with “less than”
Solve absolute value inequalities with “greater than”
Solve applications with absolute value
Be Prepared!
Absolute Value
The absolute value of a number is its distance from zero on the number line.
The absolute value of a number n is written as |n| and |n| ≥ 0 for all numbers.
Absolute values are always greater than or equal to zero.
We learned that both a number and its opposite are the same distance from zero on the number line. Since they have the
same distance from zero, they have the same absolute value. For example:
−5 is 5 units away from 0, so |−5| = 5.
5 is 5 units away from 0, so |5| = 5.
Figure 2.6 illustrates this idea.
For the equation |x| = 5, we are looking for all numbers that make this a true statement. We are looking for the numbers
whose distance from zero is 5. We just saw that both 5 and −5 are five units from zero on the number line. They are the
solutions to the equation.
If | x| = 5
then x = −5 or x = 5
The solution can be simplified to a single statement by writing x = ±5. This is read, “x is equal to positive or negative 5”.
We can generalize this to the following property for absolute value equations.
EXAMPLE 2.68
ⓑ
|y| = −6
No solution
Since an absolute value is always positive, there are no solutions to this equation.
ⓒ
|z| = 0
Write the equivalent equations. z = −0 or z = 0
Since −0 = 0, z=0
Both equations tell us that z = 0 and so there is only one solution.
To solve an absolute value equation, we first isolate the absolute value expression using the same procedures we used to
solve linear equations. Once we isolate the absolute value expression we rewrite it as the two equivalent equations.
Solve |5x − 4| − 3 = 8.
Solution
200 Chapter 2 Solving Linear Equations
The steps for solving an absolute value equation are summarized here.
EXAMPLE 2.70
Solve 2|x − 7| + 5 = 9.
Solution
2|x − 7| + 5 = 9
|x − 7| = 2
Check:
EXAMPLE 2.71
Solve:
|23 x − 4| + 11 = 3.
Solution
|23 x − 4| + 11 = 3
Isolate the absolute value term.
An absolute value cannot be negative.
|No23solution
|
x − 4 = −8
TRY IT : : 2.141
Solve:
|34 x − 5| + 9 = 4.
TRY IT : : 2.142
Solve:
|56 x + 3| + 8 = 6.
Some of our absolute value equations could be of the form |u| = |v| where u and v are algebraic expressions. For
example, |x − 3| = |2x + 1|.
How would we solve them? If two algebraic expressions are equal in absolute value, then they are either equal to each
other or negatives of each other. The property for absolute value equations says that for any algebraic expression, u, and
a positive real number, a, if |u| = a, then u = −a or u = a.
EXAMPLE 2.72
Figure 2.7
In a more general way, we can see that if |u| ≤ a, then −a ≤ u ≤ a. See Figure 2.8.
Figure 2.8
EXAMPLE 2.73
Solve |x| < 7. Graph the solution and write the solution in interval notation.
Solution
Check:
To verify, check a value in each section of the number line showing the solution. Choose numbers such as −8, 1, and 9.
TRY IT : : 2.145 Graph the solution and write the solution in interval notation: |x| < 9.
TRY IT : : 2.146 Graph the solution and write the solution in interval notation: |x| < 1.
EXAMPLE 2.74
Solve |5x − 6| ≤ 4. Graph the solution and write the solution in interval notation.
Solution
Check:
The check is left to you.
TRY IT : : 2.147 Solve |2x − 1| ≤ 5. Graph the solution and write the solution in interval notation:
TRY IT : : 2.148 Solve |4x − 5| ≤ 3. Graph the solution and write the solution in interval notation:
Figure 2.9
Now we want to look at the inequality |x| ≥ 5. Where are the numbers whose distance from zero is greater than or equal
to five?
Again both −5 and 5 are five units from zero and so are included in the solution. Numbers whose distance from zero is
greater than five units would be less than −5 and greater than 5 on the number line. See Figure 2.10.
Figure 2.10
In a more general way, we can see that if |u| ≥ a, then u ≤ −a or u ≤ a. See Figure 2.11.
Figure 2.11
EXAMPLE 2.75
Solve |x| > 4. Graph the solution and write the solution in interval notation.
Solution
| x| > 4
Check:
To verify, check a value in each section of the number line showing the solution. Choose numbers such as −6, 0, and 7.
TRY IT : : 2.149 Solve |x| > 2. Graph the solution and write the solution in interval notation.
TRY IT : : 2.150 Solve |x| > 1. Graph the solution and write the solution in interval notation.
EXAMPLE 2.76
Solve |2x − 3| ≥ 5. Graph the solution and write the solution in interval notation.
206 Chapter 2 Solving Linear Equations
Solution
|2x − 3| ≥ 5
Step 5. Write the solution using interval notation. (−∞, −1] ∪ [4, ∞)
Check:
The check is left to you.
TRY IT : : 2.151 Solve |4x − 3| ≥ 5. Graph the solution and write the solution in interval notation.
TRY IT : : 2.152 Solve |3x − 4| ≥ 2. Graph the solution and write the solution in interval notation.
The ideal diameter of a rod needed for a machine is 60 mm. The actual diameter can vary from the ideal diameter by
0.075 mm. What range of diameters will be acceptable to the customer without causing the rod to be rejected?
Solution
Let x = the actual measurement.
Use an absolute value inequality to express this situation. |actual-ideal| ≤ tolerance
|x − 60| ≤ 0.075
Rewrite as a compound inequality. −0.075 ≤ x − 60 ≤ 0.075
Solve the inequality. 59.925 ≤ x ≤ 60.075
Answer the question. The diameter of the rod can be between
59.925 mm and 60.075 mm.
TRY IT : : 2.153
The ideal diameter of a rod needed for a machine is 80 mm. The actual diameter can vary from the ideal diameter
by 0.009 mm. What range of diameters will be acceptable to the customer without causing the rod to be rejected?
TRY IT : : 2.154
The ideal diameter of a rod needed for a machine is 75 mm. The actual diameter can vary from the ideal diameter
by 0.05 mm. What range of diameters will be acceptable to the customer without causing the rod to be rejected?
MEDIA : :
Access this online resource for additional instruction and practice with solving linear absolute value equations and
inequalities.
• Solving Linear Absolute Value Equations and Inequalities (https://openstax.org/l/37solvlinabsol)
208 Chapter 2 Solving Linear Equations
2.7 EXERCISES
Practice Makes Perfect
Solve Absolute Value Equations
In the following exercises, solve.
ⓒ |z| = 0
455. |6 − x| = |3 − 2x|
In the following exercises, solve. For each inequality, also graph the solution and write the solution in interval notation.
480. 2|x + 6| + 4 = 8 481. |3x − 4| ≥ 2 482. |6x − 5| = |2x + 3|
489. |8 − x| = |4 − 3x|
492. In order to insure compliance with the law, Miguel 493. At Lilly’s Bakery, the ideal weight of a loaf of bread
routinely overshoots the weight of his tortillas by 0.5 is 24 ounces. By law, the actual weight can vary from
gram. He just received a report that told him that he the ideal by 1.5 ounces. What range of weight will be
could be losing as much as $100,000 per year using acceptable to the inspector without causing the bakery
this practice. He now plans to buy new equipment that being fined?
guarantees the thickness of the tortilla within 0.005
inches. If the ideal thickness of the tortilla is 0.04
inches, what thickness of tortillas will be guaranteed?
Writing Exercises
494. Write a graphical description of the absolute value 495. In your own words, explain how to solve the
of a number. absolute value inequality, |3x − 2| ≥ 4.
Self Check
ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
ⓑ What does this checklist tell you about your mastery of this section? What steps will you take to improve?
210 Chapter 2 Solving Linear Equations
CHAPTER 2 REVIEW
KEY TERMS
compound inequality A compound inequality is made up of two inequalities connected by the word “and” or the word
“or.”
conditional equation An equation that is true for one or more values of the variable and false for all other values of the
variable is a conditional equation.
contradiction An equation that is false for all values of the variable is called a contradiction. A contradiction has no
solution.
identity An equation that is true for any value of the variable is called an Identity. The solution of an identity is all real
numbers.
linear equation A linear equation is an equation in one variable that can be written, where a and b are real numbers and
a ≠ 0, as ax + b = 0.
solution of an equation A solution of an equation is a value of a variable that makes a true statement when substituted
into the equation.
KEY CONCEPTS
2.1 Use a General Strategy to Solve Linear Equations
• How to determine whether a number is a solution to an equation
Step 1. Substitute the number in for the variable in the equation.
Step 2. Simplify the expressions on both sides of the equation.
Step 3. Determine whether the resulting equation is true.
If it is true, the number is a solution.
If it is not true, the number is not a solution.
• How to Solve Linear Equations Using a General Strategy
Step 1. Simplify each side of the equation as much as possible.
Use the Distributive Property to remove any parentheses.
Combine like terms.
Step 2. Collect all the variable terms on one side of the equation.
Use the Addition or Subtraction Property of Equality.
Step 3. Collect all the constant terms on the other side of the equation.
Use the Addition or Subtraction Property of Equality.
Step 4. Make the coefficient of the variable term equal to 1.
Use the Multiplication or Division Property of Equality.
State the solution to the equation.
Step 5. Check the solution.
Substitute the solution into the original equation to make sure the result is a true statement.
• How to Solve Equations with Fraction or Decimal Coefficients
Step 1. Find the least common denominator (LCD) of all the fractions and decimals (in fraction form) in the
equation.
Step 2. Multiply both sides of the equation by that LCD. This clears the fractions and decimals.
Step 3. Solve using the General Strategy for Solving Linear Equations.
Step 6. Check the answer in the problem to make sure it makes sense.
Step 7. Answer the question with a complete sentence.
• How To Find Percent Change
Step 1. Find the amount of change
change = new amount − original amount
Step 2. Find what percent the amount of change is of the original amount.
change is what percent of the original amount?
• Discount
amount of discount = discount rate · original price
sale price = original amount − discount
• Mark-up
amount of mark-up = mark-up rate · original cost
list price = original cost + mark up
• Simple Interest
If an amount of money, P, called the principal, is invested or borrowed for a period of t years at an annual interest
rate r, the amount of interest, I, earned or paid is:
I = interest
I = Prt where P = principal
r = rate
t = time
• Linear Inequality
◦ A linear inequality is an inequality in one variable that can be written in one of the following forms where
a, b, and c are real numbers and a ≠ 0 :
ax + b < c, ax + b ≤ c, ax + b > c, ax + b ≥ c.
• Addition and Subtraction Property of Inequality
◦ For any numbers a, b, and c, if a < b, then
a+c<b+c a−c<b−c
a+c>b+c a−c>b−c
◦ We can add or subtract the same quantity from both sides of an inequality and still keep the inequality.
• Multiplication and Division Property of Inequality
◦ For any numbers a, b, and c,
multiply or divide by a positive
if a < b and c > 0, then ac < bc and ac < bc .
if a > b and c > 0, then ac > bc and ac > bc .
> ≥ < ≤
is greater than is greater than or equal to is less than is less than or equal to
◦ A double inequality is a compound inequality such as a< x < b . It is equivalent to a < x and x < b.
a< x<b is equivalent to a< x and x<b
a≤ x≤b is equivalent to a≤ x and x≤b
Other forms:
a> x>b is equivalent to a> x and x>b
a≥ x≥b is equivalent to a≥ x and x≥b
• How to solve a compound inequality with “or”
Step 1. Solve each inequality.
Step 2. Graph each solution. Then graph the numbers that make either inequality true.
Step 3. Write the solution in interval notation.
REVIEW EXERCISES
2.1 Use a General Strategy to Solve Linear Equations
Solve Equations Using the General Strategy for Solving Linear Equations
In the following exercises, determine whether each number is a solution to the equation.
504. 8(r − 2) = 6(r + 10) 505. 5 + 7(2 − 5x) = 2(9x + 1) − (13x − 57)
506. (9n + 5) − (3n − 7) = 20 − (4n − 2) 507. 2⎡⎣−16 + 5(8k − 6)⎤⎦ = 8(3 − 4k) − 32
Classify Equations
In the following exercises, classify each equation as a conditional equation, an identity, or a contradiction and then state the
solution.
508. 17y − 3⎛⎝4 − 2y⎞⎠ = 11⎛⎝y − 1⎞⎠ + 12y − 1 509. 9u + 32 = 15(u − 4) − 3(2u + 21)
511. 2n − 1 = 7 512. 3a − 1 = 1a + 5
5 10 10 4 3 2 6
522. The sum of two consecutive 523. Find three consecutive even 524. Find three consecutive odd
integers is −135. Find the integers whose sum is 234. integers whose sum is 51.
numbers.
532. Angel received a raise in his 533. Rowena’s monthly gasoline 534. Emmett bought a pair of
annual salary from $55,400 to bill dropped from $83.75 last shoes on sale at 40% off from an
$56,785. Find the percent change. month to $56.95 this month. Find
the percent change.
original price of $138. Find ⓐ the
amount of discount and ⓑ the sale
price.
535. Lacey bought a pair of boots 536. Nga and Lauren bought a
on sale for $95. The original price chest at a flea market for $50. They
of the boots was $200. Find ⓐ the re-finished it and then added a
350% mark-up. Find ⓐ the amount
amount of discount and ⓑ the
discount rate. (Round to the of the mark-up and ⓑ the list
nearest tenth of a percent, if price.
needed.)
547. Find the length of the 548. Find the length of the missing 549. Sergio needs to attach a wire
hypotenuse. side. Round to the nearest tenth, if to hold the antenna to the roof of
necessary. his house, as shown in the figure.
The antenna is eight feet tall and
Sergio has 10 feet of wire. How far
from the base of the antenna can
he attach the wire? Approximate to
the nearest tenth, if necessary.
550. Seong is building shelving in 551. The length of a rectangle is 552. The width of a rectangle is
his garage. The shelves are 36 12 cm more than the width. The three more than twice the length.
inches wide and 15 inches tall. He perimeter is 74 cm. Find the length The perimeter is 96 inches. Find the
wants to put a diagonal brace and the width. length and the width.
across the back to stabilize the
shelves, as shown. How long
should the brace be?
218 Chapter 2 Solving Linear Equations
565. Kyle rowed his boat upstream 566. At 6:30, Devon left her house 567. Anthony drove from New
for 50 minutes. It took him 30 and rode her bike on the flat road York City to Baltimore, which is a
minutes to row back downstream. until 7:30. Then she started riding distance of 192 miles. He left at
His speed going upstream is two uphill and rode until 8:00. She rode 3:45 and had heavy traffic until
miles per hour slower than his a total of 15 miles. Her speed on 5:30. Traffic was light for the rest
speed going downstream. Find the flat road was three miles per of the drive, and he arrived at 7:30.
Kyle’s upstream and downstream hour faster than her speed going His speed in light traffic was four
speeds. uphill. Find Devon’s speed on the miles per hour more than twice his
flat road and riding uphill. speed in heavy traffic. Find
Anthony’s driving speed in heavy
traffic and light traffic.
574. 0 ≤ x ≤ 3.5
581.
582. 3a − 1 a > 5 a + 3
5n − 15(4 − n) < 10(n − 6) + 10n 8 12 12 4
590. Renee’s car costs her $195 591. Costa is an accountant. 592. Jenna is planning a five-day
per month plus $0.09 per mile. During tax season, he charges resort vacation with three of her
How many miles can Renee drive $125 to do a simple tax return. His friends. It will cost her $279 for
so that her monthly car expenses expenses for buying software, airfare, $300 for food and
are no more than $250? renting an office, and advertising entertainment, and $65 per day for
are $6,000. How many tax returns her share of the hotel. She has
must he do if he wants to make a $550 saved towards her vacation
profit of at least $8,000? and can earn $25 per hour as an
assistant in her uncle’s
photography studio. How many
hours must she work in order to
have enough money for her
vacation?
612.
|12 x + 5| + 4 = 1 613. |6x − 5| = |2x + 3|
617. |5x + 1| ≤ −2
PRACTICE TEST
In the following exercises, solve each equation.
625. −5(2x + 1) = 45 626. 627.
1 (12m + 28) = 6 + 2(3m + 1) 8(3a + 5) − 7(4a − 3) = 20 − 3a
4
In the following exercises, graph the inequality on the number line and write in interval notation.
635. x ≥ −3.5 636. x < 11 637. −2 ≤ x < 5
4
In the following exercises, solve each inequality, graph the solution on the number line, and write the solution in interval notation.
638. 8k ≥ 5k − 120 639. 3c − 10(c − 2) < 5c + 16 640. 3 x − 5 ≥ −2 and
4
−3(x + 1) ≥ 6
647. The sum of two consecutive 648. Marcus bought a television 649. Bonita has $2.95 in dimes and
odd integers is −112. Find the on sale for $626.50 The original quarters in her pocket. If she has
numbers. price of the television was $895. five more dimes than quarters,
Find ⓐ the amount of discount and how many of each coin does she
have?
ⓑ the discount rate.
650. Kim is making eight gallons 651. The measure of one angle of 652. The length of a rectangle is
of punch from fruit juice and soda. a triangle is twice the measure of five feet more than four times the
The fruit juice costs $6.04 per the smallest angle. The measure of width. The perimeter is 60 feet.
gallon and the soda costs $4.28 per the third angle is three times the Find the dimensions of the
gallon. How much fruit juice and measure of the smallest angle. rectangle.
how much soda should she use so Find the measures of all three
that the punch costs $5.71 per angles.
gallon?
653. Two planes leave Dallas at 654. Leon drove from his house in 655. Sara has a budget of $1,000
the same time. One heads east at Cincinnati to his sister’s house in for costumes for the 18 members
a speed of 428 miles per hour. The Cleveland, a distance of 252 miles. of her musical theater group. What
other plane heads west at a speed
It took him 4 1 hours. For the first is the maximum she can spend for
of 382 miles per hour. How many 2 each costume?
hours will it take them to be 2,025 half hour, he had heavy traffic, and
miles apart? the rest of the time his speed was
five miles per hour less than twice
his speed in heavy traffic. What was
his speed in heavy traffic?
224 Chapter 2 Solving Linear Equations
Figure 3.1 This odd-looking headgear provides the user with a virtual world. (credit: fill/Pixabay)
Chapter Outline
3.1 Graph Linear Equations in Two Variables
3.2 Slope of a Line
3.3 Find the Equation of a Line
3.4 Graph Linear Inequalities in Two Variables
3.5 Relations and Functions
3.6 Graphs of Functions
Introduction
Imagine visiting a faraway city or even outer space from the comfort of your living room. It could be possible using virtual
reality. This technology creates realistic images that make you feel as if you are truly immersed in the scene and even
enable you to interact with them. It is being developed for fun applications, such as video games, but also for architects
to plan buildings, car companies to design prototypes, the military to train, and medical students to learn.
Developing virtual reality devices requires modeling the environment using graphs and mathematical relationships. In
this chapter, you will graph different relationships and learn ways to describe and analyze graphs.
3.1
Graph Linear Equations in Two Variables
Learning Objectives
By the end of this section, you will be able to:
Plot points in a rectangular coordinate system
Graph a linear equation by plotting points
Graph vertical and horizontal lines
Find the x- and y-intercepts
Graph a line using the intercepts
Be Prepared!
Figure 3.2
In the rectangular coordinate system, every point is represented by an ordered pair. The first number in the ordered pair
is the x-coordinate of the point, and the second number is the y-coordinate of the point. The phrase “ordered pair” means
that the order is important.
Ordered Pair
An ordered pair, (x, y) gives the coordinates of a point in a rectangular coordinate system. The first number is the
x-coordinate. The second number is the y-coordinate.
What is the ordered pair of the point where the axes cross? At that point both coordinates are zero, so its ordered pair is
(0, 0). The point (0, 0) has a special name. It is called the origin.
The Origin
The point (0, 0) is called the origin. It is the point where the x-axis and y-axis intersect.
We use the coordinates to locate a point on the xy-plane. Let’s plot the point (1, 3) as an example. First, locate 1 on the
x = 1. Then, locate 3 on the y-axis and sketch a horizontal line through
x-axis and lightly sketch a vertical line through
y = 3. Now, find the point where these two lines meet—that is the point with coordinates (1, 3). See Figure 3.3.
Figure 3.3
Notice that the vertical line throughx = 1 and the horizontal line through y = 3 are not part of the graph. We just used
them to help us locate the point (1, 3).
When one of the coordinate is zero, the point lies on one of the axes. In Figure 3.4 the point (0, 4) is on the y-axis and
the point (−2, 0) is on the x-axis.
Figure 3.4
Points with a y-coordinate equal to 0 are on the x-axis, and have coordinates (a, 0).
Points with an x-coordinate equal to 0 are on the y-axis, and have coordinates (0, b).
EXAMPLE 3.1
Plot each point in the rectangular coordinate system and identify the quadrant in which the point is located:
TRY IT : : 3.1
Plot each point in a rectangular coordinate system and identify the quadrant in which the point is located:
ⓐ (−2, 1) ⓑ (−3, −1) ⓒ (4, −4) ⓓ (−4, 4) ⓔ ⎛⎝−4, 32 ⎞⎠
TRY IT : : 3.2
Plot each point in a rectangular coordinate system and identify the quadrant in which the point is located:
ⓐ (−4, 1) ⓑ (−2, 3) ⓒ (2, −5) ⓓ (−2, 5) ⓔ ⎛⎝−3, 52 ⎞⎠
The signs of the x-coordinate and y-coordinate affect the location of the points. You may have noticed some patterns as
you graphed the points in the previous example. We can summarize sign patterns of the quadrants in this way:
Quadrants
⎛
⎝ + , + ⎞⎠ ⎛
⎝ − , + ⎞⎠ ⎛
⎝ − , − ⎞⎠ ⎛
⎝ + , − ⎞⎠
Up to now, all the equations you have solved were equations with just one variable. In almost every case, when you solved
the equation you got exactly one solution. But equations can have more than one variable. Equations with two variables
may be of the form Ax + By = C. An equation of this form is called a linear equation in two variables.
Linear Equation
An equation of the form Ax + By = C, where A and B are not both zero, is called a linear equation in two variables.
The equation y = −3x + 5 is also a linear equation. But it does not appear to be in the form Ax + By = C. We can use
the Addition Property of Equality and rewrite it in Ax + By = C form.
y = −3x + 5
Add to both sides. y + 3x = −3x + 5 + 3x
Simplify. y + 3x = 5
Use the Commutative Property to put it in
Ax + By = C form. 3x + y = 5
By rewriting y = −3x + 5 as 3x + y = 5, we can easily see that it is a linear equation in two variables because it is
of the form Ax + By = C. When an equation is in the form Ax + By = C, we say it is in standard form of a linear
equation.
Most people prefer to have A, B, and C be integers and A ≥ 0 when writing a linear equation in standard form, although
it is not strictly necessary.
Linear equations have infinitely many solutions. For every number that is substituted for x there is a corresponding y
value. This pair of values is a solution to the linear equation and is represented by the ordered pair (x, y). When we
substitute these values of x and y into the equation, the result is a true statement, because the value on the left side is
equal to the value on the right side.
An ordered pair (x, y) is a solution of the linear equation Ax + By = C, if the equation is a true statement when
the x- and y-values of the ordered pair are substituted into the equation.
230 Chapter 3 Graphs and Functions
Linear equations have infinitely many solutions. We can plot these solutions in the rectangular coordinate system. The
points will line up perfectly in a straight line. We connect the points with a straight line to get the graph of the equation.
We put arrows on the ends of each side of the line to indicate that the line continues in both directions.
A graph is a visual representation of all the solutions of the equation. It is an example of the saying, “A picture is worth
a thousand words.” The line shows you all the solutions to that equation. Every point on the line is a solution of the
equation. And, every solution of this equation is on this line. This line is called the graph of the equation. Points not on the
line are not solutions!
EXAMPLE 3.2
ⓑ Plot the points (0, −3), (3, 3), (2, −3), and (−1, −5).
The points (0, 3), (3, −3), and (−1, −5) are on the line y = 2x − 3, and the point (2, −3) is not on the line.
The points that are solutions to y = 2x − 3 are on the line, but the point that is not a solution is not on the line.
Solution
234 Chapter 3 Graphs and Functions
The steps to take when graphing a linear equation by plotting points are summarized here.
Step 1. Find three points whose coordinates are solutions to the equation. Organize them in a table.
Step 2. Plot the points in a rectangular coordinate system. Check that the points line up. If they do not,
carefully check your work.
Step 3. Draw the line through the three points. Extend the line to fill the grid and put arrows on both
ends of the line.
It is true that it only takes two points to determine a line, but it is a good habit to use three points. If you only plot two
points and one of them is incorrect, you can still draw a line but it will not represent the solutions to the equation. It will
be the wrong line.
If you use three points, and one is incorrect, the points will not line up. This tells you something is wrong and you need to
check your work. Look at the difference between these illustrations.
When an equation includes a fraction as the coefficient of x , we can still substitute any numbers for x. But the arithmetic
is easier if we make “good” choices for the values of x. This way we will avoid fractional answers, which are hard to graph
precisely.
EXAMPLE 3.4
choose values of x carefully. We will use zero as one choice and multiples of 2 for the other choices. Why are multiples
of two a good choice for values of x? By choosing multiples of 2 the multiplication by 1 simplifies to a whole number
2
y = 1x + 3
2
x y (x, y)
0 3 (0, 3)
2 4 (2, 4)
4 5 (4, 5)
Table 3.1
Plot the points, check that they line up, and draw the line.
TRY IT : : 3.7
Graph the equation: y = 1 x − 1.
3
TRY IT : : 3.8
Graph the equation: y = 1 x + 2.
4
−3, so its value does not depend on y. No matter what is the value of y, the value of x is always −3.
So to make a table of values, write −3 in for all the x-values. Then choose any values for y. Since x does not depend
on y, you can choose any numbers you like. But to fit the points on our coordinate graph, we’ll use 1, 2, and 3 for the
y-coordinates. See Table 3.2.
x = −3
x y (x, y)
−3 1 (−3, 1)
−3 2 (−3, 2)
−3 3 (−3, 3)
Table 3.2
Plot the points from the table and connect them with a straight line. Notice that we have graphed a vertical line.
What if the equation has y but no x? Let’s graph the equation y = 4. This time the y-value is a constant, so in this
equation, y does not depend on x. Fill in 4 for all the y’s in Table 3.3 and then choose any values for x. We’ll use 0, 2, and 4
for the x-coordinates.
y =4
x y (x, y)
0 4 (0, 4)
2 4 (2, 4)
4 4 (4, 4)
Table 3.3
In this figure, we have graphed a horizontal line passing through the y-axis at 4.
EXAMPLE 3.5
x=2
x y (x, y)
2 1 (2, 1)
2 2 (2, 2)
2 3 (2, 3)
238 Chapter 3 Graphs and Functions
ⓑ Similarly, the equation y = −1 has only one variable, y. The value of y is constant. All the ordered pairs in the next
table have the same y-coordinate. The graph is a horizontal line passing through the y-axis at −1.
y = −1
x y (x, y)
0 −1 (0, −1)
3 −1 (3, −1)
−3 −1 (−3, −1)
to the value of x. The equation y = 4 has only one variable. The value of y is constant, it does not depend on the value of
x, so the y-coordinate is always 4.
Notice, in the graph, the equation y = 4x gives a slanted line, while y = 4 gives a horizontal line.
EXAMPLE 3.6
TRY IT : : 3.11 Graph the equations in the same rectangular coordinate system: y = −4x and y = −4.
TRY IT : : 3.12 Graph the equations in the same rectangular coordinate system: y = 3 and y = 3x.
Intercepts of a Line
The points where a line crosses the x-axis and the y-axis are called the intercepts of the line.
First, notice where each of these lines crosses the x-axis. See Table 3.4.
Now, let’s look at the points where these lines cross the y-axis.
Figure The line crosses Ordered pair The line crosses Ordered pair
the x-axis at: for this point the y-axis at: for this point
Table 3.4
In each line, the x-coordinate of the point where the line crosses the y-axis is zero. The point where the line crosses the
y-axis has the form (0, b) and is called the y-intercept of the line. The y-intercept occurs when x is zero.
The x-intercept is the point (a, 0) where the line crosses the x-axis.
The y-intercept is the point (0, b) where the line crosses the y-axis.
EXAMPLE 3.7
Solution
ⓐ The graph crosses the x-axis at the point (4, 0). The x-intercept is (4, 0).
The graph crosses the y-axis at the point (0, 2). The y-intercept is (0, 2).
ⓑ The graph crosses the x-axis at the point (2, 0). (2, 0).
The x-intercept is
The graph crosses the y-axis at the point (0, −6). The y-intercept is (0, −6).
ⓒ The graph crosses the x-axis at the point (−5, 0). The x-intercept is (−5, 0).
The graph crosses the y-axis at the point (0, −5). The y-intercept is (0, −5).
Recognizing that the x-intercept occurs when y is zero and that the y-intercept occurs when x is zero, gives us a method to
find the intercepts of a line from its equation. To find the x-intercept, let y = 0 and solve for x. To find the y-intercept, let
x = 0 and solve for y.
EXAMPLE 3.8
Let y = 0.
Simplify.
Let x = 0.
Simplify.
The intercepts are the points (4, 0) and (0, 8) as shown in the table.
2x + y = 8
x y
4 0
0 8
Solution
The steps to graph a linear equation using the intercepts are summarized here.
EXAMPLE 3.10
4x − 3y = 12
x y (x, y)
3 0 (3, 0)
0 −4 (0, −4)
6 4 (6, 4)
When the line passes through the origin, the x-intercept and the y-intercept are the same point.
248 Chapter 3 Graphs and Functions
EXAMPLE 3.11
This line has only one intercept. It is the point (0, 0).
To ensure accuracy, we need to plot three points. Since the x- and y-intercepts are the same point, we need two more
points to graph the line.
y = 5x
x y (x, y)
0 0 (0, 0)
1 5 (1, 5)
−1 −5 (−1, −5)
Plot the three points, check that they line up, and draw the line.
3.1 EXERCISES
Practice Makes Perfect
Plot Points in a Rectangular Coordinate System
In the following exercises, plot each point in a rectangular coordinate system and identify the quadrant in which the point is
located.
1. ⓐ (−4, 2) ⓑ (−1, −2) ⓒ (3, −5) ⓓ (−3, 0) 2. ⓐ (−2, −3) ⓑ (3, −3) ⓒ (−4, 1) ⓓ (4, −1)
⎛5 ⎞ ⎛3 ⎞
ⓔ ⎝3 , 2⎠ ⓔ ⎝2 , 1⎠
3. ⓐ (3, −1) ⓑ (−3, 1) ⓒ (−2, 0) ⓓ (−4, −3) 4. ⓐ (−1, 1) ⓑ (−2, −1) ⓒ (2, 0) ⓓ (1, −4)
ⓔ ⎛⎝1, 14
5⎠
⎞
ⓔ ⎛ 7⎞
⎝3, 2 ⎠
ⓐ is the ordered pair a solution to the equation? ⓑ is the point on the line?
5. y = x + 2; 6. y = x − 4;
A: (0, 2); B: (1, 2); C: (−1, 1); D: (−3, −1). A: (0, −4); B: (3, −1); C: (2, 2); D: (1, −5).
7. y = 1 x − 3; 8. y = 1 x + 2;
2 3
A: (0, −3); B: (2, −2); C: (−2, −4); D: (4, 1) A: (0, 2); B: (3, 3); C: (−3, 2); D: (−6, 0).
24. y = − 5x + 4
3
28. ⓐ x = −5 ⓑ y = −2
In the following exercises, graph each pair of equations in the same rectangular coordinate system.
29. y = 2x and y = 2 30. y = 5x and y = 5 31. y = − 1 x and y = − 1
2 2
32. y = − 1 x and y = − 1
3 3
252 Chapter 3 Graphs and Functions
35. 36.
43. 2x + 5y = 10 44. 3x − 2y = 12
60. y = −x
Mixed Practice
In the following exercises, graph each equation.
Writing Exercises
69. Explain how you would choose three x-values to 70. What is the difference between the equations of a
make a table to graph the line y = 1 x − 2.
vertical and a horizontal line?
5
71. Do you prefer to use the method of plotting points 72. Do you prefer to use the method of plotting points
or the method using the intercepts to graph the or the method using the intercepts to graph the
equation 4x + y = −4 ? Why? equation y = 2 x − 2 ? Why?
3
Self Check
ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
3.2
Slope of a Line
Learning Objectives
By the end of this section, you will be able to:
Find the slope of a line
Graph a line given a point and the slope
Graph a line using its slope and intercept
Choose the most convenient method to graph a line
Graph and interpret applications of slope–intercept
Use slopes to identify parallel and perpendicular lines
Be Prepared!
2. Divide: 0, 4.
4 0
If you missed this problem, review Example 1.49.
Figure 3.5
Slope of a Line
To find the slope of a line, we locate two points on the line whose coordinates are integers. Then we sketch a right triangle
where the two points are vertices and one side is horizontal and one side is vertical.
To find the slope of the line, we measure the distance along the vertical and horizontal sides of the triangle. The vertical
distance is called the rise and the horizontal distance is called the run,
HOW TO : : FIND THE SLOPE OF A LINE FROM ITS GRAPH USING m = rise
run .
Step 1. Locate two points on the line whose coordinates are integers.
Step 2. Starting with one point, sketch a right triangle, going from the first point to the second point.
Step 3. Count the rise and the run on the legs of the triangle.
Step 4.
Take the ratio of rise to run to find the slope: m = rise
run .
EXAMPLE 3.12
Solution
Count the rise— since it goes down, it is negative. The rise is −2.
Simplify. m= −2
3
How do we find the slope of horizontal and vertical lines? To find the slope of the horizontal line, y = 4, we could graph
the line, find two points on it, and count the rise and the run. Let’s see what happens when we do this, as shown in the
graph below.
EXAMPLE 3.13
Sometimes we’ll need to find the slope of a line between two points when we don’t have a graph to count out the rise and
the run. We could plot the points on grid paper, then count out the rise and the run, but as we’ll see, there is a way to find
the slope without graphing. Before we get to it, we need to introduce some algebraic notation.
We have seen that an ordered pair(x, y) gives the coordinates of a point. But when we work with slopes, we use two
points. How can the same symbol (x, y) be used to represent two different points? Mathematicians use subscripts to
distinguish the points.
258 Chapter 3 Graphs and Functions
⎛x 1, y 1⎞ ⎛x 2, y 2⎞
Since we have two points, we will use subscript notation.
⎝ 2, 3 ⎠ ⎝ 7, 6 ⎠
m = rise
run
On the graph, we counted the rise of 3 and the run of 5. m= 3
5
Notice that the rise of 3 can be found by subtracting the
y-coordinates, 6 and 3, and the run of 5 can be found by
subtracting the x-coordinates 7 and 2.
We rewrite the rise and run by putting in the coordinates. m= 6−3
7−2
y −y
We’ve shown that m = x 2 − x 1 is really another version of m = rise
run . We can use this formula to find the slope of a line
2 1
when we have two points on the line.
Use the slope formula to find the slope of the line through the points (−2, −3) and (−7, 4).
Solution
⎛x 1, y 1 ⎞ ⎛x 2, y 2⎞
We’ll call (−2, −3) point #1 and (−7, 4) point #2. ⎝−2, −3⎠ ⎝−7, 4 ⎠
y −y
Use the slope formula. m = x2 − x1
2 1
Substitute the values.
y of the second point minus y of the first point
4 − (−3)
x of the second point minus x of the first point m=
−7 − (−2)
m= 7
−5
Simplify.
m= −7
5
Let’s verify this slope on the graph shown.
m = rise
run
m= 7
−5
m= −7
5
TRY IT : : 3.27
Use the slope formula to find the slope of the line through the pair of points: (−3, 4) and (2, −1).
TRY IT : : 3.28
Use the slope formula to find the slope of the line through the pair of points: (−2, 6) and (−3, −4).
EXAMPLE 3.15 HOW TO GRAPH A LINE GIVEN A POINT AND THE SLOPE
Graph the line passing through the point (1, −1) whose slope is m = 3 .
4
260 Chapter 3 Graphs and Functions
Solution
You can check your work by finding a third point. Since the slope ism = 3 , it can also be written as m = −3 (negative
4 −4
divided by negative is positive!). Go back to (1, −1) and count out the rise, −3, and the run, −4.
TRY IT : : 3.29
Graph the line passing through the point (2, −2) with the slope m = 4 .
3
TRY IT : : 3.30
Graph the line passing through the point (−2, 3) with the slope m = 1 .
4
See Figure 3.6. Let’s look at the graph of the equation y = 1 x + 3 and find its slope and y-intercept.
2
Figure 3.6
The red lines in the graph show us the rise is 1 and the run is 2. Substituting into the slope formula:
m = rise
run
m= 1
2
When a linear equation is solved for y, the coefficient of the x term is the slope and the constant term is the y-coordinate
262 Chapter 3 Graphs and Functions
of the y-intercept. We say that the equation y = 1 x + 3 is in slope–intercept form. Sometimes the slope–intercept form
2
is called the “y-form.”
The slope–intercept form of an equation of a line with slope m and y-intercept, (0, b) is y = mx + b.
Let’s practice finding the values of the slope and y-intercept from the equation of a line.
EXAMPLE 3.16
Identify the slope and y-intercept of the line from the equation:
ⓐ y = − 47 x − 2 ⓑ x + 3y = 9
Solution
ⓐ We compare our equation to the slope–intercept form of the equation.
Write the slope–intercept form of the equation of the line.
ⓑ When an equation of a line is not given in slope–intercept form, our first step will be to solve the equation for y.
Solve for y. x + 3y = 9
Simplify.
TRY IT : : 3.31 Identify the slope and y-intercept from the equation of the line.
ⓐ y = 25 x − 1 ⓑ x + 4y = 8
TRY IT : : 3.32 Identify the slope and y-intercept from the equation of the line.
ⓐ y = − 43 x + 1 ⓑ 3x + 2y = 12
We have graphed a line using the slope and a point. Now that we know how to find the slope and y-intercept of a line from
its equation, we can use the y-intercept as the point, and then count out the slope from there.
EXAMPLE 3.17
Graph the line of the equation y = −x + 4 using its slope and y-intercept.
Solution
y = mx + b
Count out the rise and run to mark the second point. rise −1 , run 1
TRY IT : : 3.33 Graph the line of the equation y = −x − 3 using its slope and y-intercept.
TRY IT : : 3.34 Graph the line of the equation y = −x − 1 using its slope and y-intercept.
Now that we have graphed lines by using the slope and y-intercept, let’s summarize all the methods we have used to
graph lines.
264 Chapter 3 Graphs and Functions
EXAMPLE 3.18
ⓐ y = 5 ⓑ 4x − 5y = 20 ⓒ x = −3 ⓓ y = − 59 x + 8
Solution
ⓐ y=5
This equation has only one variable, y. Its graph is a horizontal line crossing the y-axis at 5.
ⓑ 4x − 5y = 20
This equation is of the form Ax + By = C. The easiest way to graph it will be to find the intercepts and one more point.
ⓒ x = −3
There is only one variable, x. The graph is a vertical line crossing the x-axis at −3.
ⓓ y = − 59 x + 8
Since this equation is in y = mx + b form, it will be easiest to graph this line by using the slope and y-intercepts.
TRY IT : : 3.35 Determine the most convenient method to graph each line:
ⓐ 3x + 2y = 12 ⓑ y = 4 ⓒ y = 15 x − 4 ⓓ x = −7.
TRY IT : : 3.36 Determine the most convenient method to graph each line:
ⓐ x = 6 ⓑ y = − 34 x + 1 ⓒ y = −8 ⓓ 4x − 3y = −1.
EXAMPLE 3.19
The equation F = 9 C + 32 is used to convert temperatures, C, on the Celsius scale to temperatures, F, on the Fahrenheit
5
scale.
The slope, 9 , means that the temperature Fahrenheit (F) increases 9 degrees when the temperature Celsius (C)
5
increases 5 degrees.
The F-intercept means that when the temperature is 0° on the Celsius scale, it is 32° on the Fahrenheit scale.
ⓓ Graph the equation.
We’ll need to use a larger scale than our usual. Start at the F-intercept (0, 32) , and then count out the rise of 9 and the
run of 5 to get a second point as shown in the graph.
TRY IT : : 3.37
The equation h = 2s + 50 is used to estimate a woman’s height in inches, h, based on her shoe size, s.
TRY IT : : 3.38
The equation T = 1 n + 40 is used to estimate the temperature in degrees Fahrenheit, T, based on the number
4
of cricket chirps, n, in one minute.
EXAMPLE 3.20
Sam drives a delivery van. The equation C = 0.5m + 60 models the relation between his weekly cost, C, in dollars and
the number of miles, m, that he drives.
The slope, 0.5, means that the weekly cost, C, increases by $0.50 when the number of miles driven, n, increases by 1.
The C-intercept means that when the number of miles driven is 0, the weekly cost is $60.
ⓓ Graph the equation.
We’ll need to use a larger scale than our usual. Start at the C-intercept (0, 60) .
To count out the slope m = 0.5, we rewrite it as an equivalent fraction that will make our graphing easier.
268 Chapter 3 Graphs and Functions
m = 0.5
Rewrite as a fraction. m = 0.5
1
Multiply numerator and
0.5(100)
denominator by 100. m=
1(100)
Simplify. m= 50
100
So to graph the next point go up 50 from the intercept of 60 and then to the right 100. The second point will be (100, 110).
TRY IT : : 3.39
Stella has a home business selling gourmet pizzas. The equation C = 4p + 25 models the relation between her
weekly cost, C, in dollars and the number of pizzas, p, that she sells.
TRY IT : : 3.40
Loreen has a calligraphy business. The equation C = 1.8n + 35 models the relation between her weekly cost, C,
in dollars and the number of wedding invitations, n, that she writes.
Figure 3.7
Verify that both lines have the same slope, m = 2 , and different y-intercepts.
5
What about vertical lines? The slope of a vertical line is undefined, so vertical lines don’t fit in the definition above. We say
that vertical lines that have different x-intercepts are parallel, like the lines shown in this graph.
Figure 3.8
Parallel Lines
Parallel lines are lines in the same plane that do not intersect.
• Parallel lines have the same slope and different y-intercepts.
• If m 1 and m 2 are the slopes of two parallel lines then m 1 = m 2.
• Parallel vertical lines have different x-intercepts.
Since parallel lines have the same slope and different y-intercepts, we can now just look at the slope–intercept form of the
equations of lines and decide if the lines are parallel.
EXAMPLE 3.21
y = 3x − 3 y = 3x + 1
2 2
Identify the slope andy-intercept of both lines. y = mx + b y = mx + b
m =3 y =3
2 2
y-intercept is (0, −3) y-intercept is (0, 1)
The lines have the same slope and different y-intercepts and so they are parallel.
You may want to graph the lines to confirm whether they are parallel.
ⓑ
y = 2x − 3 and −6x + 3y = − 9
The first equation is already in slope–intercept form. y = 2x − 3
−6x + 3y = −9
3y = 6x − 9
Solve the second equation for y. 3y
= 6x − 9
3 3
y = 2x − 3
The second equation is now in slope–intercept form. y = 2x − 3
y = 2x − 3 y = 2x − 3
Identify the slope andy-intercept of both lines. y = mx + b y = mx + b
m =2 m =2
y-intercept is (0, −3) y-intercept is (0, −3)
The lines have the same slope, but they also have the same y-intercepts. Their equations represent the same line and we
say the lines are coincident. They are not parallel; they are the same line.
TRY IT : : 3.41 Use slopes and y-intercepts to determine if the lines are parallel:
TRY IT : : 3.42 Use slopes and y-intercepts to determine if the lines are parallel:
ⓐ 4x − 3y = 6 and y = 4x − 1
3
ⓑ y = 34 x − 3 and 3x − 4y = 12.
EXAMPLE 3.22
TRY IT : : 3.43 Use slopes and y-intercepts to determine if the lines are parallel:
TRY IT : : 3.44 Use slopes and y-intercepts to determine if the lines are parallel:
Let’s look at the lines whose equations are y = 1 x − 1 and y = −4x + 2, shown in Figure 3.9.
4
Figure 3.9
These lines lie in the same plane and intersect in right angles. We call these lines perpendicular.
If we look at the slope of the first line,m 1 = 1 , and the slope of the second line, m 2 = −4, we can see that they are
4
negative reciprocals of each other. If we multiply them, their product is −1.
m1 · m2
1 (−4)
4
−1
This is always true for perpendicular lines and leads us to this definition.
Perpendicular Lines
Perpendicular lines are lines in the same plane that form a right angle.
272 Chapter 3 Graphs and Functions
We were able to look at the slope–intercept form of linear equations and determine whether or not the lines were parallel.
We can do the same thing for perpendicular lines.
We find the slope–intercept form of the equation, and then see if the slopes are opposite reciprocals. If the product of the
slopes is −1, the lines are perpendicular.
EXAMPLE 3.23
y = − 5x − 4 y = 1x − 1
5
Identify the slope of each line. y = mx + b y = mx + b
m1 = − 5 m2 = 1
5
The slopes are negative reciprocals of each other, so the lines are perpendicular. We check by multiplying the slopes,
⎛ ⎞
Since −5⎝1 ⎠ = −1, it checks.
5
ⓑ
7x + 2y = 3 2x + 7y = 5
2y = − 7x + 3 7y = − 2x + 5
2y 7y
Solve the equations for y. = −7x + 3 = −2x + 5
2 2 7 7
y = − x+3
7 y = − x+5
2
2 2 7 7
y = mx + b y = mx + b
Identify the slope of each line.
m1 = − 7 m1 = − 2
2 7
The slopes are reciprocals of each other, but they have the same sign. Since they are not negative reciprocals, the lines
are not perpendicular.
ⓐ y = 2x − 5 and x + 2y = −6 ⓑ 2x − 9y = 3 and 9x − 2y = 1.
274 Chapter 3 Graphs and Functions
3.2 EXERCISES
Practice Makes Perfect
Find the Slope of a Line
In the following exercises, find the slope of each line shown.
73. 74.
75. 76.
77. 78.
79. 80.
84. x=4
In the following exercises, use the slope formula to find the slope of the line between each pair of points.
85. (2, 5), (4, 0) 86. (3, 6), (8, 0) 87. (−3, 3), (4, −5)
88. (−2, 4), (3, −1) 89. (−1, −2), (2, 5) 90. (−2, −1), (6, 5)
91. (4, −5), (1, −2) 92. (3, −6), (2, −2)
276 Chapter 3 Graphs and Functions
107. 5x − 2y = 6 108. 7x − 3y = 9
In the following exercises, graph the line of each equation using its slope and y-intercept.
109. y = 3x − 1 110. y = 2x − 3 111. y = −x + 3
115. 3x − 2y = 4 116. 3x − 4y = 8
128. Janelle is planning to rent a 129. Cherie works in retail and her 130. Patel’s weekly salary includes
car while on vacation. The weekly salary includes a base pay plus commission on his
equation C = 0.32m + 15 commission for the amount she sales. The equation
models the relation between the sells. The equation S = 750 + 0.09c models the
cost in dollars, C, per day and the S = 400 + 0.15c models the relation between his weekly
number of miles, m, she drives in relation between her weekly salary, S, in dollars and the
one day. salary, S, in dollars and the amount of his sales, c, in dollars.
amount of her sales, c, in dollars.
ⓐ Find the cost if Janelle drives ⓐ Find Patel’s salary for a week
the car 0 miles one day. ⓐ Find Cherie’s salary for a week when his sales were 0.
when her sales were $0.
ⓑ Find the cost on a day when ⓑ Find Patel’s salary for a week
Janelle drives the car 400 miles. ⓑ Find Cherie’s salary for a week when his sales were 18,540.
when her sales were $3,600.
ⓒ Interpret the slope and ⓒ Interpret the slope and
C-intercept of the equation. ⓒ Interpret the slope and S-intercept of the equation.
S-intercept of the equation.
ⓓ Graph the equation. ⓓ Graph the equation.
ⓓ Graph the equation.
ⓐ Find the cost if the number of ⓐ Find the cost if the number of
guests is 40. guests is 50.
ⓑ Find the cost if the number of ⓑ Find the cost if the number of
guests is 80. guests is 100.
Writing Exercises
151. How does the graph of a line with slope m=1 152. Why is the slope of a vertical line “undefined”?
2
differ from the graph of a line with slope m = 2 ?
153. Explain how you can graph a line given a point and 154. Explain in your own words how to decide which
its slope. method to use to graph a line.
Self Check
ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
ⓑ After reviewing this checklist, what will you do to become confident for all objectives?
3.3
Find the Equation of a Line
Learning Objectives
By the end of this section, you will be able to:
Find an equation of the line given the slope and y-intercept
Find an equation of the line given the slope and a point
Find an equation of the line given two points
Find an equation of a line parallel to a given line
Find an equation of a line perpendicular to a given line
Be Prepared!
1. Solve: 2 (x + 15).
5
If you missed this problem, review Example 1.50.
2. Simplify: −3⎛⎝x − (−2)⎞⎠.
If you missed this problem, review Example 1.53.
3. Solve for y: y − 3 = −2(x + 1).
If you missed this problem, review Example 2.31.
How do online companies know that “you may also like” a particular item based on something you just ordered? How
can economists know how a rise in the minimum wage will affect the unemployment rate? How do medical researchers
create drugs to target cancer cells? How can traffic engineers predict the effect on your commuting time of an increase
or decrease in gas prices? It’s all mathematics.
The physical sciences, social sciences, and the business world are full of situations that can be modeled with linear
equations relating two variables. To create a mathematical model of a linear relation between two variables, we must be
able to find the equation of the line. In this section, we will look at several ways to write the equation of a line. The specific
method we use will be determined by what information we are given.
Find an Equation of the Line Given the Slope and y-Intercept
We can easily determine the slope and intercept of a line if the equation is written in slope-intercept form, y = mx + b.
Now we will do the reverse—we will start with the slope and y-intercept and use them to find the equation of the line.
EXAMPLE 3.24
Find the equation of a line with slope −9 and y-intercept (0, −4).
Solution
Since we are given the slope and y-intercept of the line, we can substitute the needed values into the slope-intercept form,
y = mx + b.
TRY IT : : 3.47
Find the equation of a line with slope 2 and y-intercept (0, 4).
5
280 Chapter 3 Graphs and Functions
TRY IT : : 3.48 Find the equation of a line with slope −1 and y-intercept (0, −3).
Sometimes, the slope and intercept need to be determined from the graph.
EXAMPLE 3.25
Solution
We need to find the slope and y-intercept of the line from the graph so we can substitute the needed values into the
slope-intercept form, y = mx + b.
TRY IT : : 3.49 Find the equation of the line shown in the graph.
TRY IT : : 3.50 Find the equation of the line shown in the graph.
The point-slope form of an equation of a line with slope m and containing the point (x 1, y 1) is:
y − y 1 = m(x − x 1)
We can use the point-slope form of an equation to find an equation of a line when we know the slope and at least one
point. Then, we will rewrite the equation in slope-intercept form. Most applications of linear equations use the the slope-
intercept form.
EXAMPLE 3.26 HOW TO FIND AN EQUATION OF A LINE GIVEN A POINT AND THE SLOPE
Find an equation of a line with slope m = − 1 that contains the point (6, −4). Write the equation in slope-intercept
3
form.
Solution
TRY IT : : 3.51
Find the equation of a line with slope m = − 2 and containing the point (10, −5).
5
TRY IT : : 3.52
Find the equation of a line with slope m = − 3 , and containing the point (4, −7).
4
EXAMPLE 3.27
Find an equation of a horizontal line that contains the point (−2, −6). Write the equation in slope-intercept form.
Solution
Every horizontal line has slope 0. We can substitute the slope and points into the point-slope form, y − y 1 = m(x − x 1).
Simplify.
TRY IT : : 3.53 Find the equation of a horizontal line containing the point (−3, 8).
TRY IT : : 3.54 Find the equation of a horizontal line containing the point (−1, 4).
EXAMPLE 3.28 HOW TO FIND THE EQUATION OF A LINE GIVEN TWO POINTS
Find an equation of a line that contains the points (−3, −1) and (2, −2) Write the equation in slope-intercept form.
Solution
284 Chapter 3 Graphs and Functions
TRY IT : : 3.55 Find the equation of a line containing the points (−2, −4) and (1, −3).
TRY IT : : 3.56 Find the equation of a line containing the points (−4, −3) and (1, −5).
Step 1. y −y
Find the slope using the given points. m = x2 − x1
2 1
EXAMPLE 3.29
Find an equation of a line that contains the points (−3, 5) and (−3, 4). Write the equation in slope-intercept form.
Solution
Again, the first step will be to find the slope.
y −y
Find the slope of the line through (−3, 5) and (−3, 4). m = x2 − x1
2 1
m = 4 − 5
−3 − (−3)
m = −1
0
The slope is undefined.
This tells us it is a vertical line. Both of our points have an x-coordinate of −2. So our equation of the line is x = −2.
Since there is no y, we cannot write it in slope-intercept form.
You may want to sketch a graph using the two given points. Does your graph agree with our conclusion that this is a
vertical line?
TRY IT : : 3.57 Find the equation of a line containing the points (5, 1) and (5, −4).
TRY IT : : 3.58 Find the equaion of a line containing the points (−4, 4) and (−4, 3).
We have seen that we can use either the slope-intercept form or the point-slope form to find an equation of a line. Which
form we use will depend on the information we are given.
We know that parallel lines have the same slope. So the second line will have the same slope as y = 2x − 3. That slope
is m∥ = 2. We’ll use the notation m∥ to represent the slope of a line parallel to a line with slope m. (Notice that the
subscript || looks like two parallel lines.)
The second line will pass through (−2, 1) and have m = 2.
To graph the line, we start at (−2, 1) and count out the rise and run.
With m = 2 (or m = 2 ), we count out the rise 2 and the run 1. We draw the line, as shown in the graph.
1
Do the lines appear parallel? Does the second line pass through (−2, 1) ?
We were asked to graph the line, now let’s see how to do this algebraically.
286 Chapter 3 Graphs and Functions
We can use either the slope-intercept form or the point-slope form to find an equation of a line. Here we know one point
and can find the slope. So we will use the point-slope form.
EXAMPLE 3.30 HOW TO FIND THE EQUATION OF A LINE PARALLEL TO A GIVEN LINE AND A POINT
Find an equation of a line parallel to y = 2x − 3 that contains the point (−2, 1). Write the equation in slope-intercept
form.
Solution
Look at graph with the parallel lines shown previously. Does this equation make sense? What is the y-intercept of the line?
What is the slope?
TRY IT : : 3.59
Find an equation of a line parallel to the line y = 3x + 1 that contains the point (4, 2). Write the equation in
slope-intercept form.
TRY IT : : 3.60
Find an equation of a line parallel to the line y = 1 x − 3 that contains the point (6, 4).
2
Write the equation in slope-intercept form.
We know that perpendicular lines have slopes that are negative reciprocals.
We’ll use the notation m⊥ to represent the slope of a line perpendicular to a line with slope m. (Notice that the subscript
⊥ looks like the right angles made by two perpendicular lines.)
y = 2x − 3 perpendicular line
m=2 m⊥ = − 1
2
We now know the perpendicular line will pass through (−2, 1) with m⊥ = − 1 .
2
To graph the line, we will start at (−2, 1) and count out the rise −1 and the run 2. Then we draw the line.
Do the lines appear perpendicular? Does the second line pass through (−2, 1) ?
We were asked to graph the line, now, let’s see how to do this algebraically.
We can use either the slope-intercept form or the point-slope form to find an equation of a line. In this example we know
one point, and can find the slope, so we will use the point-slope form.
EXAMPLE 3.31 HOW TO FIND THE EQUATION OF A LINE PERPENDICULAR TO A GIVEN LINE AND A POINT
Find an equation of a line perpendicular to y = 2x − 3 that contains the point (−2, 1). Write the equation in slope-
intercept form.
Solution
288 Chapter 3 Graphs and Functions
TRY IT : : 3.61
Find an equation of a line perpendicular to the line y = 3x + 1 that contains the point (4, 2). Write the equation
in slope-intercept form.
TRY IT : : 3.62
Find an equation of a line perpendicular to the line y = 1 x − 3 that contains the point (6, 4). Write the equation
2
in slope-intercept form.
EXAMPLE 3.32
Find an equation of a line perpendicular to x = 5 that contains the point (3, −2). Write the equation in slope-intercept
form.
Solution
Again, since we know one point, the point-slope option seems more promising than the slope-intercept option. We
need the slope to use this form, and we know the new line will be perpendicular to x = 5. This line is vertical, so its
perpendicular will be horizontal. This tells us the m⊥ = 0.
TRY IT : : 3.63
Find an equation of a line that is perpendicular to the line x = 4 that contains the point (4, −5). . Write the
equation in slope-intercept form.
TRY IT : : 3.64
Find an equation of a line that is perpendicular to the line x = 2 that contains the point (2, −1). Write the
equation in slope-intercept form.
In Example 3.32, we used the point-slope form to find the equation. We could have looked at this in a different way.
We want to find a line that is perpendicular to x = 5 that contains the point (3, −2). This graph shows us the line x = 5
and the point (3, −2).
We know every line perpendicular to a vertical line is horizontal, so we will sketch the horizontal line through (3, −2).
290 Chapter 3 Graphs and Functions
EXAMPLE 3.33
Find an equation of a line that is perpendicular to y = −3 that contains the point (−3, 5). Write the equation in slope-
intercept form.
Solution
The line y = −3 is a horizontal line. Any line perpendicular to it must be vertical, in the form x = a. Since the
perpendicular line is vertical and passes through (−3, 5), every point on it has an x-coordinate of −3. The equation of
the perpendicular line is x = −3
You may want to sketch the lines. Do they appear perpendicular?
TRY IT : : 3.65
Find an equation of a line that is perpendicular to the line y = 1 that contains the point (−5, 1). Write the
equation in slope-intercept form.
TRY IT : : 3.66
Find an equation of a line that is perpendicular to the line y = −5 that contains the point (−4, −5). Write the
equation in slope-intercept form.
MEDIA : :
Access these online resources for additional instruction and practice with finding the equation of a line.
• Write an Equation of Line Given its slope and Y-Intercept (https://openstax.org/l/37slopeycept)
• Using Point Slope Form to Write the Equation of a Line, Find the equation given slope and point
(https://openstax.org/l/37slopepoint)
• Find the equation given two points (https://openstax.org/l/37twoptspline)
• Find the equation of perpendicular and parallel lines (https://openstax.org/l/37perpenpara)
3.3 EXERCISES
Practice Makes Perfect
Find an Equation of the Line Given the Slope and y-Intercept
In the following exercises, find the equation of a line with given slope and y-intercept. Write the equation in slope-intercept form.
155. slope 3 and 156. slope 8 and 157. slope −3 and
y -intercept (0, 5) y-intercept (0, −6) y -intercept (0, −1)
In the following exercises, find the equation of the line shown in each graph. Write the equation in slope-intercept form.
163. 164.
165. 166.
292 Chapter 3 Graphs and Functions
167. 168.
169. 170.
171. m = 5 , point (8, 3) 172. m = 5 , point (6, 7) 173. m = − 3 , point (10, −5)
8 6 5
174. m = − 3 , point (8, −5) 175. m = − 3 , point (−4, −3) 176. m = − 5 , point (−8, −2)
4 2 2
177. m = −7, point (−1, −3) 178. m = −4, point (−2, −3) 179. Horizontal line containing
(−2, 5)
180. Horizontal line containing 181. Horizontal line containing 182. Horizontal line containing
(−2, −3) (−1, −7) (4, −8)