Linear Prog
Linear Prog
MATHEMATICS
MAT 123 Finite Mathematics
This text is disseminated via the Open Education Resource (OER) LibreTexts Project (https://LibreTexts.org) and like the hundreds
of other texts available within this powerful platform, it is freely available for reading, printing and "consuming." Most, but not all,
pages in the library have licenses that may allow individuals to make changes, save, and print this book. Carefully
consult the applicable license(s) before pursuing such effects.
Instructors can adopt existing LibreTexts texts or Remix them to quickly build course-specific resources to meet the needs of their
students. Unlike traditional textbooks, LibreTexts’ web based origins allow powerful integration of advanced features and new
technologies to support learning.
The LibreTexts mission is to unite students, faculty and scholars in a cooperative effort to develop an easy-to-use online platform
for the construction, customization, and dissemination of OER content to reduce the burdens of unreasonable textbook costs to our
students and society. The LibreTexts project is a multi-institutional collaborative venture to develop the next generation of open-
access texts to improve postsecondary education at all levels of higher learning by developing an Open Access Resource
environment. The project currently consists of 14 independently operating and interconnected libraries that are constantly being
optimized by students, faculty, and outside experts to supplant conventional paper-based books. These free textbook alternatives are
organized within a central environment that is both vertically (from advance to basic level) and horizontally (across different fields)
integrated.
The LibreTexts libraries are Powered by NICE CXOne and are supported by the Department of Education Open Textbook Pilot
Project, the UC Davis Office of the Provost, the UC Davis Library, the California State University Affordable Learning Solutions
Program, and Merlot. This material is based upon work supported by the National Science Foundation under Grant No. 1246120,
1525057, and 1413739.
Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not
necessarily reflect the views of the National Science Foundation nor the US Department of Education.
Have questions or comments? For information about adoptions or adaptions contact [email protected]. More information on our
activities can be found via Facebook (https://facebook.com/Libretexts), Twitter (https://twitter.com/libretexts), or our blog
(http://Blog.Libretexts.org).
This text was compiled on 02/03/2024
TABLE OF CONTENTS
Licensing
1 https://math.libretexts.org/@go/page/50402
4: Solving Systems of Inequalities
4.1: Graphing Linear Inequalities in Two Variables
4.1E: Exercises - Graphing Linear Inequalities in Two Variables
4.2: Graphing Systems of Linear Inequalities
4.2E: Exercises - Graphing Systems of Linear Inequalities
4.3: Linear Programming - Maximization Applications
4.3E: Exercises - Linear Programming Maximization Applications
4.4: Linear Programming - Minimization Applications
4.4E: Exercises - Linear Programming Minimization Applications
4.5: Chapter 4 Review
6: Probability
6.1: Sample Spaces and Probability
6.1E: Exercises - Sample Spaces and Probability
6.2: Mutually Exclusive Events and the Addition Rule
6.2E: Exercises - Mutually Exclusive Events and the Addition Rule
6.3: Probability Using Tree Diagrams and Combinations
6.3E: Exercises - Probability Using Tree Diagrams and Combinations
6.4: Conditional Probability
6.4E: Exercises - Conditional Probability
6.5: Bayes' Formula
6.5E: Exercises - Bayes' Formula
6.6: Independent Events
6.6E: Exercises - Independent Events
6.7: Expected Value
6.7E: Exercises - Expected Value
6.8: Chapter 6 Review
2 https://math.libretexts.org/@go/page/50402
7.2: Graphs and Properties of Exponential Growth and Decay Functions
7.2E: Exercises - Graphs and Properties of Exponential Growth and Decay Functions
7.3: Logarithms and Logarithmic Functions
7.3E: Exercises - Logarithms and Logarithmic Functions
7.4: Graphs and Properties of Logarithmic Functions
7.4E: Exercises - Graphs and Properties of Logarithmic Functions
7.5: Applications of Exponential and Logarithmic Functions
7.5E: Exercises - Applications of Exponential and Logarithmic Functions
7.6: Chapter 7 Review
8: Finance Applications
8.1: Simple Interest and Discount
8.1E: Exercises - Simple Interest and Discount
8.2: Compound Interest
8.2E: Exercises - Compound Interest
8.3: Future Value of Annuities and Sinking Funds
8.3E: Exercises - Annuities and Sinking Funds
8.4: Present Value of Annuities and Installment Payment
8.4E: Exercises - Present Value of an Annuity and Installment Payment
8.5: Classification of Finance Problems
8.5E: Exercises - Classification of Finance Problems
8.6: Additional Application Problems
8.6E: Exercises - Miscellaneous Application Problems
8.7: Chapter 8 Review
Index
Glossary
Detailed Licensing
3 https://math.libretexts.org/@go/page/50402
Licensing
A detailed breakdown of this resource's licensing can be found in Back Matter/Detailed Licensing.
1 https://math.libretexts.org/@go/page/115606
CHAPTER OVERVIEW
Figure 1.1: Figure of a Bull and a graph of market prices. Standard and Poor’s Index with dividends reinvested (credit "bull":
modification of work by Prayitno Hadinata; credit "graph": modification of work by MeasuringWorth)
Notice, as we consider this example, that there is a definite relationship between the year and stock market average. For any year
we choose, we can determine the corresponding value of the stock market average. In this chapter, we will explore these kinds of
relationships and their properties.
Learning Objectives
In this chapter, you will learn to:
1. Solve linear equations
2. Solve linear inequalities, expressing solutions on a number line and in interval notation
3. Graph linear equations
4. Find the equation of a line
5. Apply linear models to data
1
1.5: Fitting Linear Models to Data
1.5E: Exercises - Fitting Linear Models to Data
1.6: Chapter 1 Review
1: Linear Equations and Lines is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.
2
1.1: Solving Linear Equations and Inequalities
Learning Objectives
Verify linear solutions.
Use the properties of equality to solve basic linear equations.
Clear fractions from equations.
Identify linear inequalities and check solutions.
Solve linear inequalities and express the solutions graphically on a number line and in interval notation.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Simplify 2 − 6(4 − 7) without using a calculator.
2
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
2. Evaluate 6x − 4 when x = −2 .
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
3. Evaluate −5x 2
−x +9 when x = −3 .
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
4. Simplify 7x − 1 − 4x + 5 .
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
131
A solution to a linear equation is any value that can replace the variable to produce a true statement. The variable in the linear
equation 3x − 12 = 0 is x and the solution is x = 4 . To verify this, substitute the value 4 in for x and check that you obtain a true
statement.
1.1.1 https://math.libretexts.org/@go/page/48347
3x − 12 = 0
3(4) − 12 = 0
12 − 12 = 0
0 =0 ✓
Alternatively, when an equation is equal to a constant, we may verify a solution by substituting the value in for the variable and
showing that the result is equal to that constant. In this sense, we say that solutions “satisfy the equation.”
Example 1.1.1:
−10(2)+5 = −25
−20 + 5 = −25
−15 ≠ 25 ✗
Answer:
No, a = 2 does not satisfy the equation and is therefore not a solution.
Developing techniques for solving various algebraic equations is one of our main goals in algebra. This section reviews the basic
techniques used for solving linear equations with one variable. We begin by defining equivalent equations132 as equations with the
same solution set.
3x − 5 = 16 ⎫
3x = 21 ⎬ Equivalent equations
⎭
x =7
Here we can see that the three linear equations are equivalent because they share the same solution set, namely, {7} . To obtain
equivalent equations, use the following properties of equality133. Given algebraic expressions A and B , where c is a nonzero
number:
c
=
B
Table 1.1.1
Note
Multiplying or dividing both sides of an equation by 0 is carefully avoided. Dividing by 0 is undefined and multiplying both
sides by 0 results in the equation 0 = 0 .
We solve algebraic equations by isolating the variable with a coefficient of 1. If given a linear equation of the form ax + b = c ,
then we can solve it in two steps. First, use the appropriate equality property of addition or subtraction to isolate the variable term.
Next, isolate the variable using the equality property of multiplication or division. Checking the solution in the following examples
is left to the reader.
1.1.2 https://math.libretexts.org/@go/page/48347
Example 1.1.2:
Solve: 7x − 2 = 19 .
Solution
7x − 2 = 19
7x = 21
7x 21
= Divide both sides by 7.
7 7
x =3
Answer:
The solution is 3.
Example 1.1.3:
Solve: 56 = 8 + 12y .
Solution
When no sign precedes the term, it is understood to be positive. In other words, think of this as 56 = +8 + 12y . Therefore, we
begin by subtracting 8 on both sides of the equal sign.
56−8 = 8 + 12y−8
48 = 12y
48 12y
=
12 12
4 =y
It does not matter on which side we choose to isolate the variable because the symmetric property134 states that 4 =y is
equivalent to y = 4 .
Answer:
The solution is 4.
Example 1.1.4:
Solve: 5
3
x + 2 = −8 .
Solution
Isolate the variable term using the addition property of equality, and then multiply both sides of the equation by the reciprocal
of the coefficient . 5
5
x + 2 = −8
3
5
x + 2−2 = −8−2 Subtract 2 on both sides.
3
5
x = −10
3
−2
3 5 3 3
⋅ x = ⋅( −10 ) M ultiply both sides by .
5 3 5 5
1x = 3 ⋅ (−2)
x = −6
Answer:
The solution is −6.
1.1.3 https://math.libretexts.org/@go/page/48347
In summary, to retain equivalent equations, we must perform the same operation on both sides of the equation.
Exercise 1.1.1
Solve: 2
3
x+
1
2
=−
5
6
.
Answer
x = −2
Note
At this point in our study of algebra the use of the properties of equality should seem routine. Therefore, displaying these steps
in this text, usually in blue, becomes optional.
Example 1.1.5:
Solve: −4a + 2 − a = 1 .
Solution
First combine the like terms on the left side of the equal sign.
−4a + 2 − a = 1 C ombine same − side like terms.
−1 1
a = =
−5 5
Always use the original equation to check to see if the solution is correct.
1 1
−4a + 2 − a = −4 ( ) +2 −
5 5
4 2 5 1
=− + ⋅ −
5 1 5 5
−4 + 10 + 1
=
5
5
= =1 ✓
5
Answer:
1.1.4 https://math.libretexts.org/@go/page/48347
The solution is 1
5
.
Given a linear equation in the form ax + b = cx + d , we begin the solving process by combining like terms on opposite sides of
the equal sign. To do this, use the addition or subtraction property of equality to place like terms on the same side so that they can
be combined. In the examples that remain, the check is left to the reader.
Example 1.1.6:
Solve: −2y − 3 = 5y + 11 .
Solution
Subtract 5y on both sides so that we can combine the terms involving y on the left side.
−2y − 3−5y=5y + 11−5y
−7y − 3 = 11
−7y = 14
14
y = Divide both sides by − 7.
−7
y = −2
Answer:
The solution is −2.
Example 1.1.7:
Solve: − 1
2
(10x − 2) + 3 = 7(1 − 2x) .
Solution
Simplify the linear expressions on either side of the equal sign first.
1
− (10x − 2) + 3 = 7(1 − 2x) Distribute
2
9x = 3 Solve.
3 1
x = =
9 3
Answer:
The solution is 1
3
.
Example 1.1.8:
15 − 5a − 10 + 4a =3
5 −a = 3
−a = −2
1.1.5 https://math.libretexts.org/@go/page/48347
Here we point out that −a is equivalent to −1a ; therefore, we choose to divide both sides of the equation by −1.
−a = −2
−1a −2
=
−1 −1
a =2
Alternatively, we can multiply both sides of −a = −2 by negative one and achieve the same result.
−a = −2
(−1)( − a) = (−1)( − 2)
a =2
Answer:
The solution is 2.
Exercise 1.1.2
Solve: 6 − 3(4x − 1) = 4x − 7 .
Answer
x =1
The coefficients of linear equations may be any real number, even decimals and fractions. When this is the case it is possible to use
the multiplication property of equality to clear the fractional coefficients and obtain integer coefficients in a single step. If given
fractional coefficients, then multiply both sides of the equation by the least common multiple of the denominators (LCD).
Example 1.1.9:
Solve: 1
3
x+
1
5
=
1
5
x −1 .
Solution
Clear the fractions by multiplying both sides by the least common multiple of the given denominators. In this case, it is the
LC D(3, 5) = 15.
1 1 1
15⋅ ( x+ ) = 15⋅ ( x − 1) M ultiply both sides by 15.
3 5 5
1 1 1
15⋅ x + 15⋅ = 15⋅ x − 15⋅1 Simplif y.
3 5 5
5x + 3 = 3x − 15 Solve.
2x = −18
−18
x = = −9
2
Answer:
The solution is −9.
It is important to know that this technique only works for equations. Do not try to clear fractions when simplifying expressions. As
a reminder:
Expression Equation
1 5 1 5
x + x + = 0
2 3 2 3
Table 1.1.2
1.1.6 https://math.libretexts.org/@go/page/48347
We simplify expressions and solve equations. If you multiply an expression by 6, you will change the problem. However, if you
multiply both sides of an equation by 6, you obtain an equivalent equation.
Incorrect Correct
5 1 5
1
x + x + = 0
2 3
2 3
1 5
≠6⋅( x + ) 1 5
6⋅( x + ) = 6⋅0
2 3
2 3
=3x + 10 ✗
3x + 10 = 0 ✓
Table 1.1.3
Table 1.1.4
When translating sentences into mathematical statements, be sure to read the sentence several times and parse out the key words
and phrases. It is important to first identify the variable, “let x represent…” and state in words what the unknown quantity is. This
step not only makes our work more readable, but also forces us to think about what we are looking for.
Example 1.1.10:
When 6 is subtracted from twice the sum of a number and 8 the result is 5. Represent this as an algebraic equation and find the
number.
Solution
Let n represent the unknown number.
Figure 1.1.1
To understand why we included the parentheses in the set up, you must study the structure of the following two sentences and
their translations:
Table 1.1.5
1.1.7 https://math.libretexts.org/@go/page/48347
The key was to focus on the phrase “twice the sum,” this prompted us to group the sum within parentheses and then multiply
by 2. After translating the sentence into a mathematical statement we then solve.
2(n + 8) − 6 =5
2n + 16 − 6 =5
2n + 10 = 5
2n = −5
−5
n =
2
Check.
5
2(n + 8) − 6 = 2 (− +8) − 6
2
11
=2( ) −6
2
= 11 − 6
=5 ✓
Answer:
The number is − . 5
Linear Inequalities
A linear inequality138 is a mathematical statement that relates a linear expression as either less than or greater than another. The
following are some examples of linear inequalities, all of which are solved in this section:
Table 1.1.5
A solution to a linear inequality139 is a real number that will produce a true statement when substituted for the variable.
Example 1.1.11:
Check x = −4 Check x = 6
Table 1.1.6
1.1.8 https://math.libretexts.org/@go/page/48347
Answer:
x = −4 is a solution and x = 6 is not
Linear inequalities have either infinitely many solutions or no solution. If there are infinitely many solutions, we graph the solution
set on a number line and/or express the solution using interval notation.
Figure 1.1.2 : The inequality x > 3 is graphed on this number line and written in interval notation.
We use the left parenthesis symbol, (, to show that the endpoint of the inequality is not included. The left bracket symbol, [, would
show that the endpoint is included.
The inequality x ≤ 1 means all numbers less than or equal to one. Here we need to show that one is a solution, too. We do that by
putting a bracket at x = 1 . We then shade in all the numbers to the left of one, to show that all numbers less than one are solutions
(Figure 1.1.3). There is no lower end to those numbers. We write x ≤ 1x ≤ 1 in interval notation as (−∞, 1]. The symbol −∞ is
read as “negative infinity.”
Figure 1.1.3 : The inequality x ≤ 1 is graphed on this number line and written in interval notation.
Figure 1.1.4 shows both the number line and interval notation.
The notation for inequalities on a number line and in interval notation use the same symbols to express the endpoints of
intervals. Notice that ∞ and −∞ always use parentheses in interval notation, never brackets.
Example 1.1.12
Graph each inequality on the number line and write in interval notation.
a. x ≥ −3
b. x < 2.5
c. x ≤ − 3
Answer
a.
1.1.9 https://math.libretexts.org/@go/page/48347
x ≥ −3
b.
x < 2.5
c.
3
x ≤ −
5
5
3
3
Write in interval notation. ( − ∞, ]
5
Exercise 1.1.3
Graph each inequality on the number line and write in interval notation:
a. x ≤ −4
b. x ≥ 0.5
c. x < − . 2
Answer
1.1.10 https://math.libretexts.org/@go/page/48347
10 > −5
10 > −5
10 −5
> Divide both sides by 5.
5 5
2 > −1 ✓ T rue
Subtracting 7 from each side and dividing each side by positive 5 results in an inequality that is true.
Example 1.1.13:
5x + 7−7< 22−7
5x < 15
5x 15
<
5 5
x <3
Figure 1.1.5
It is helpful to take a minute and choose a few values in and out of the solution set, substitute them into the original inequality,
and then verify the results. As indicated, you should expect x = 0 to solve the original inequality and that x = 5 should not.
Check x = 0 Check x = 5
5(5) + 7 < 22
5(0) + 7 < 22
25 + 7 < 22
7 < 22 ✓
32 < 22 ✗
Table 1.1.7
Checking in this manner gives us a good indication that we have solved the inequality correctly.
We can express this solution in two ways: using set notation and interval notation.
{x|x < 3} Set notation
When working with linear inequalities, a different rule applies when multiplying or dividing by a negative number. To illustrate the
problem, consider the true statement 10 > −5 and divide both sides by −5.
10 > −5
10 −5
> Divide both sides by − 5.
−5 −5
−2>1 ✗F alse
Dividing by −5 results in a false statement. To retain a true statement, the inequality must be reversed.
1.1.11 https://math.libretexts.org/@go/page/48347
10>−5
10 −5
< Reverse the inequality.
−5 −5
−2<1 ✓T rue
The same problem occurs when multiplying by a negative number. This leads to the following new rule: when multiplying or
dividing by a negative number, reverse the inequality. It is easy to forget to do this so take special care to watch for negative
coefficients. In general, given algebraic expressions A and B , where c is a positive nonzero real number, we have the following
properties of inequalities140:
If A < B, then A
−c
>
B
−c
Table 1.1.8
141
We use these properties to obtain an equivalent inequality , one with the same solution set, where the variable is isolated. The
process is similar to solving linear equations.
Example 1.1.14:
−2x − 10 ≥ 20 Solve f or x.
−2x 30
≤ Reverse the inequality.
−2 −2
x ≤ −15
Figure 1.1.6
Answer:
Interval notation (−∞, −15]
Example 1.1.15:
−8x + 10 < 9 − 2x + 4
−8x + 10 < 13 − 2x
−6x < 3
−6x 3
> Reverse the inequality.
−6 −6
1
x >−
2
1.1.12 https://math.libretexts.org/@go/page/48347
Figure 1.1.7
Answer:
Interval notation (− 1
2
, ∞)
Example 1.1.16:
2
x −2 ≥
1
2
(
7
4
x − 9) + 1 .
Solution
1 1 7
x −2 ≥ ( x − 9) + 1
2 2 4
1 7 9
x −2 ≥ x− +1
2 8 2
1 7 7
x− x ≥− +2
2 8 2
3 3
− x ≥−
8 2
8 3 8 3
(− ) (− x) ≤ (− ) (− ) Reverse the inequality.
3 8 3 2
x ≤4
Figure 1.1.8
Answer:
Interval notation: (−∞, 4]
Exercise 1.1.4
Answer
[−3, ∞) ;
Figure 1.1.9
Video Solution: www.youtube.com/v/COLLNtwYFm8
A number is at least 5. x ≥ 5
A number is at most 3. x ≤ 3
1.1.13 https://math.libretexts.org/@go/page/48347
Key Phrases Translation
Table 1.1.9
Key Takeaways
Solving general linear equations involves isolating the variable, with coefficient 1, on one side of the equal sign. To do this, first
use the appropriate equality property of addition or subtraction to isolate the variable term on one side of the equal sign. Next,
isolate the variable using the equality property of multiplication or division. Finally, check to verify that your solution solves the
original equation.
If solving a linear equation leads to a true statement like 0 = 0 , then the equation is an identity and the solution set consists of
all real numbers, R.
If solving a linear equation leads to a false statement like 0 = 5 , then the equation is a contradiction and there is no solution, Ø .
Clear fractions by multiplying both sides of an equation by the least common multiple of all the denominators. Distribute and
multiply all terms by the LCD to obtain an equivalent equation with integer coefficients.
Simplify the process of solving real-world problems by creating mathematical models that describe the relationship between
unknowns. Use algebra to solve the resulting equations.
Inequalities typically have infinitely many solutions. The solutions are presented graphically on a number line or using interval
notation or both.
All but one of the rules for solving linear inequalities are the same as solving linear equations. If you divide or multiply an
inequality by a negative number, reverse the inequality to obtain an equivalent inequality.
Footnotes
129
Statement indicating that two algebraic expressions are equal.
130
An equation that can be written in the standard form ax + b = 0 , where a and b are real numbers and a ≠ 0 .
131Any value that can replace the variable in an equation to produce a true statement.
132
Equations with the same solution set.
133
Properties that allow us to obtain equivalent equations by adding, subtracting, multiplying, and dividing both sides of an
equation by nonzero real numbers.
134Allows you to solve for the variable on either side of the equal sign, because x = 5 is equivalent to 5 = x .
135
Equations that are true for particular values.
136
An equation that is true for all possible values.
137
An equation that is never true and has no solution.
1.1: Solving Linear Equations and Inequalities is shared under a CC BY-NC-SA license and was authored, remixed, and/or curated by LibreTexts.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
1.1.14 https://math.libretexts.org/@go/page/48347
1.1E: Exercises - Solving Linear Equations and Inequalities
Exercise 1.1E. 1
4. −2y + 7 = 12; y = − 5
5. 3a − 6 = 18 − a; a = −3
6. 5(2t − 1) = 2 − t; t = 2
7. ax − b = 0; x = b
8. ax + b = 2b; x = b
Answer
1. No
3. Yes
5. No
7. Yes
Exercise 1.1E. 2
Solve.
1. 5x − 3 = 27
2. 6x − 7 = 47
3. 4x + 13 = 35
4. 6x − 9 = 18
5. 9a + 10 = 10
6. 5 − 3a = 5
7. −8t + 5 = 15
8. −9t + 12 = 33
9. x + = 1
2
3
1
10. x + = 3
8
5
4
3
2
1−3y
11. 5
=2
2−5y
12. = −8
6
13. 7 − y = 22
14. 6 − y = 12
15. Solve for x : ax − b = c
16. Solve for x : ax + b = 0
Answer
1. 6
3. 11
5. 0
7. − 5
9. 3
1.1E.1 https://math.libretexts.org/@go/page/48348
11. −3
13. −15
b+c
15. x = a
Exercise 1.1E. 3
Solve.
1. 6x − 5 + 2x = 19
2. 7 − 2x + 9 = 24
3. 12x − 2 − 9x = 5x + 8
4. 16 − 3x − 22 = 8 − 4x
5. 5y − 6 − 9y = 3 − 2y + 8
6. 7 − 9y + 12 = 3y + 11 − 11y
7. 3 + 3a − 11 = 5a − 8 − 2a
8. 2 − 3a = 5a + 7 − 8a
9. x − + x = x +
1
3
3
2
5
2
5
6
1
10. + x − = x −
5
8
1
5
3
4
3
10
1
3
1
24. x − (6x − 3) =
2
5
1
2
4
5
1
2
1
3
1
10
30. a = (1 + 2a) − (a + 5)
3
2
3
4
1
4
2
34. − (4y − 3) = (y − 1)
5
4
1
2
2
2
2
1.1E.2 https://math.libretexts.org/@go/page/48348
44. Solve for h : V = π r h 1
3
2
Answer
1. 3
3. −5
5. − 17
7. R
9. 7
11. 2.5
13. Ø
15. 3
17. 2
19. Ø
21. − 5
23. −81
25. 1.2
27. R
29. 0
31. Ø
33. 6
35. R
P −2l
37. w = 2
39. t = D
41. b = 2A
43. a = 2A
h
−b
45. F =
9
5
C + 32
Exercise 1.1E. 4
1.1E.3 https://math.libretexts.org/@go/page/48348
9. The sum of three consecutive integers is 339. Find the integers.
10. The sum of four consecutive integers is 130. Find the integers.
11. The sum of three consecutive even integers is 174. Find the integers.
12. The sum of four consecutive even integers is 116. Find the integers.
13. The sum of three consecutive odd integers is 81. Find the integers.
14. The sum of four consecutive odd integers is 176. Find the integers.
Answer
1. −5
3. 9
5. 14, 43
7. 46, 89
9. 112, 113, 114
11. 56, 58, 60
13. 25, 27, 29
Exercise 1.1E. 5
Geometry Problems
1. The length of a rectangle is 5 centimeters less than twice its width. If the perimeter is 134 centimeters, find the length
and width.
2. The length of a rectangle is 4 centimeters more than 3 times its width. If the perimeter is 64 centimeters, find the
length and width.
3. The width of a rectangle is one-half that of its length. If the perimeter measures 36 inches, find the dimensions of the
rectangle.
4. The width of a rectangle is 4 inches less than its length. If the perimeter measures 72 inches, find the dimensions of
the rectangle.
5. The perimeter of a square is 48 inches. Find the length of each side.
6. The perimeter of an equilateral triangle is 96 inches. Find the length of each side.
7. The circumference of a circle measures 80π units. Find the radius.
8. The circumference of a circle measures 25 centimeters. Find the radius rounded off to the nearest hundredth.
Answer
1. Width: 24 centimeters; length: 43 centimeters
3. Width: 6 inches; length: 12 inches
5. 12 inches
7. 40 units
Exercise 1.1E. 6
2. For how many years must $20, 000 be invested at 6 % to earn $3, 125 in simple interest?
1
3. At what annual interest rate must $6500 be invested for 2 years to yield $1, 040 in simple interest?
4. At what annual interest rate must $5, 750 be invested for 1 year to yield $333.50 in simple interest?
5. If the simple interest earned for 5 years was $1, 860 and the annual interest rate was 6%, what was the principal?
6. If the simple interest earned for 2 years was $543.75 and the annual interest rate was 3 %, what was the principal?
3
1.1E.4 https://math.libretexts.org/@go/page/48348
7. How many years will it take $600 to double earning simple interest at a 5% annual rate? (Hint: To double, the
investment must earn $600 in simple interest.)
8. How many years will it take $10, 000 to double earning simple interest at a 5% annual rate? (Hint: To double, the
investment must earn $10, 000 in simple interest.)
9. Jim invested $4, 200 in two accounts. One account earns 3% simple interest and the other earns 6%. If the interest
after 1 year was $159, how much did he invest in each account?
10. Jane has her $6, 500 savings invested in two accounts. She has part of it in a CD at 5% annual interest and the rest in
a savings account that earns 4% annual interest. If the simple interest earned from both accounts is $303 for the year,
then how much does she have in each account?
11. Jose put last year’s bonus of $8, 400 into two accounts. He invested part in a CD with 2.5% annual interest and the
rest in a money market fund with 1.5% annual interest. His total interest for the year was $198. How much did he
invest in each account?
12. Mary invested her total savings of $3, 300 in two accounts. Her mutual fund account earned 6.2% last year and her
CD earned 2.4%. If her total interest for the year was $124.80, how much was in each account?
13. Alice invests money into two accounts, one with 3% annual interest and another with 5% annual interest. She invests
3 times as much in the higher yielding account as she does in the lower yielding account. If her total interest for the
2
1
He invested twice as much in the higher yielding bank account than he did in the other. If his total simple interest for
1 year was $5, 760, then what was the amount of his inheritance?
Answer
1. 3 years
3. 8%
5. $6, 200
7. 20 years
9. He invested $3, 100at 3% and $1, 100at 6%.
11. Jose invested $7, 200in the CD and $1, 200in the money market fund.
13. Alice invested $700at 3% and $2, 100at 5%.
Exercise 1.1E. 7
Answer
1. Answer may vary
3. Answer may vary
5. Answer may vary
1.1E.5 https://math.libretexts.org/@go/page/48348
Exercise 1.1E. 8
8. 25a − 2 ≤ −22; a = − 4
Answer
1. Yes
3. No
5. Yes
7. No
9. Yes
Exercise 1.1E. 9
Graph all solutions on a number line and provide the corresponding interval notation.
1. 3x + 5 > −4
2. 2x + 1 > −1
3. 5 − 6y < −1
4. 7 − 9y > 43
5. 6 − a ≤ 6
6. −2a + 5 > 5
7. 5x+6
≤7
3
8. 4x+11
≤
6
1
9. y + ≥
1
2
5
4
1
10. y + ≤
1
12
2
3
5
2
5
6
4
20. + (2x − 3) ≥
2
5
1
6
1
15
1.1E.6 https://math.libretexts.org/@go/page/48348
26. −7(3t − 4) > 2(3 − 10t) − t
27. 1
2
(x + 5) −
1
3
(2x + 3) >
7
6
x+
3
28. −
1
3
(2x − 3) +
1
4
(x − 6) ≥
1
12
x−
5
Answer
1. (−3, ∞) ;
Figure 1.8.12
3. (1, ∞) ;
Figure 1.8.13
5. [0, ∞);
Figure 1.8.14
7. (−∞, 3] ;
Figure 1.8.15
9. [−2, ∞);
Figure 1.8.16
11. (−∞, −5) ;
Figure 1.8.17
13. [−8, ∞);
Figure 1.8.18
15. [5, ∞);
Figure 1.8.19
17. (−∞, 7) ;
Figure 1.8.20
19. (−1, ∞) ;
Figure 1.8.21
1.1E.7 https://math.libretexts.org/@go/page/48348
21. (3, ∞) ;
Figure 1.8.22
23. (−∞, − 3
2
] ;
Figure 1.8.23
25. ∅;
Figure 1.8.24
27. (−∞, 0) ;
Figure 1.8.25
29. R ;
Figure 1.8.26
31. [−2, ∞);
Figure 1.8.27
Exercise 1.1E. 10
Graph all solutions on a number line and provide the corresponding interval notation.
1. −1 < 2x + 1 < 9
2. −4 < 5x + 11 < 16
3. −7 ≤ 6y − 7 ≤ 17
4. −7 ≤ 3y + 5 ≤ 2
5. −7 < ≤8
3x+1
6. −1 ≤ <1
2x+7
7. −4 ≤ 11 − 5t < 31
8. 15 < 12 − t ≤ 16
9. − ≤ a + ≤
1
3
1
6
1
3
1
6
1
3
5
6
3
3
1
21. 9 − 2x ≤ 15 and 5x − 3 ≤ 7
1.1E.8 https://math.libretexts.org/@go/page/48348
22. 5 − 4x > 1 and 15 + 2x ≥ 5
25. 5 − 4x ≤ 9 and 3x + 13 ≤ 1
27. 9y + 20 ≤ 2 and 7y + 15 ≥ 1
28. 21 − 6y ≤ 3 and − 7 + 2y ≤ −1
37. −
1
2
<
1
30
(x − 10) <
1
38. −
1
5
≤
1
15
(x − 7) ≤
1
3
a+2(a−2)
39. −1 ≤
5
≤0
5+2(a−1)
40. 0 <
6
<2
Answer
1. (−1, 4);
Figure 1.8.28
3. [0, 4];
Figure 1.8.29
5. (−5, 5];
Figure 1.8.30
7. (−4, 3];
Figure 1.8.31
9. [−4, 1];
Figure 1.8.32
11. (−∞, −1) ∪ (3, ∞) ;
Figure 1.8.33
13. (−∞, 12] ∪ [52, ∞);
Figure 1.8.34
15. R ;
1.1E.9 https://math.libretexts.org/@go/page/48348
Figure 1.8.35
17. (−∞, 5) ;
Figure 1.8.36
19. (−∞, −10) ;
Figure 1.8.37
21. [−3, 2];
Figure 1.8.38
23. (−∞, 5) ;
Figure 1.8.39
25. Ø ;
Figure 1.8.40
27. −2 ;
Figure 1.8.41
29. (−12, 32);
Figure 1.8.42
31. [−1, 3);
Figure 1.8.43
33. (−8, −4) ;
Figure 1.8.44
35. (−15, −5];
Figure 1.8.45
37. (−5, 20);
Figure 1.8.46
39. [−13, 43] ;
1.1E.10 https://math.libretexts.org/@go/page/48348
Figure 1.8.47
Exercise 1.1E. 11
Answer
1. (−∞, 2]
3. [−2, ∞)
5. (−2, 4)
7. (0, 6)
Exercise 1.1E. 12
10. A certain antifreeze is effective for a temperature range of −35°C to 120°C. Find the equivalent range in degrees
Fahrenheit.
Answer
1. Members may play 4 rounds or fewer.
3. Mark must earn at least 9 points on the fourth quiz.
5. He must score a 15.1 on the sixth event.
1.1E.11 https://math.libretexts.org/@go/page/48348
7. The angle is between 90 degrees and 135 degrees.
9. The computer will shut down when the temperature exceeds 113°F.
Exercise 1.1E. 13
1. Often students reverse the inequality when solving 5x + 2 < −18 ? Why do you think this is a common error?
Explain to a beginning algebra student why we do not.
2. Conduct a web search for “solving linear inequalities.” Share a link to website or video tutorial that you think is
helpful.
3. Write your own 5 key takeaways for this entire chapter. What did you find to be review and what did you find to be
new? Share your thoughts on the discussion board.
Answer
1. Answer may vary
3. Answer may vary
Footnotes
138
Linear expressions related with the symbols ≤, <, ≥, and > .
139
A real number that produces a true statement when its value is substituted for the variable.
140
Properties used to obtain equivalent inequalities and used as a means to solve them.
141Inequalities that share the same solution set.
142
Two or more inequalities in one statement joined by the word “and” or by the word “or.”
1.1E: Exercises - Solving Linear Equations and Inequalities is shared under a CC BY-NC-SA license and was authored, remixed, and/or curated
by LibreTexts.
1.1E.12 https://math.libretexts.org/@go/page/48348
1.2: Graphing Linear Equations
Learning Objectives
In this section, you will learn to:
Graph a line when you know its equation.
Graph a line by finding its intercepts.
Graph and find equations of vertical and horizontal lines.
Find the slope of a line.
Graph the line if a point and the slope are given.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. On a piece of graph paper, plot and label these points: A(1, 4), B(-3, 2), C(2, -5), D(0, -3), E(4, 0).
If you missed any part of this problem, review here. (Note that this will open a different textbook in a new window.)
1.2.1 https://math.libretexts.org/@go/page/40105
C(-3, -1)
D(-4, 0)
E(3, -4)
If you missed any part of this problem, review here. (Note that this will open a different textbook in a new window.)
A line is completely determined by two points. Therefore, to graph a linear equation we need to find the coordinates of two points.
This can be accomplished by choosing an arbitrary value for x or y and then solving for the other variable.
Example 1.2.1
x -1 0 1
y -1 2 5
1.2.2 https://math.libretexts.org/@go/page/40105
Example 1.2.2
x -1 0 1
y 6 4 2
Intercepts
The points at which a line crosses the coordinate axes are called the intercepts.
When graphing a line by plotting two points, using the intercepts is often preferred because they are easy to find.
To find the value of the x-intercept, we let y = 0
To find the value of the y-intercept, we let x = 0.
Example 1.2.3
2x − 0 = 6
2x = 6
x =3
1.2.3 https://math.libretexts.org/@go/page/40105
Therefore, the x-intercept is the point (3,0).
To find the y-intercept, let x = 0 in the equation, and solve for y.
2(0) − 3y = 6
0 − 3y = 6
−3y = 6
y = −2
Example 1.2.4
Note: Most students feel that the coordinates of points must always be integers. This is not true, and in real life situations, not
always possible. Do not be intimidated if your points include numbers that are fractions or decimals.
1.2.4 https://math.libretexts.org/@go/page/40105
Graphing Using Slope
A graph of a line can also be determined if one point and the "steepness" of the line is known. The number that refers to the
steepness or inclination of a line is called the slope of the line.
From previous math courses, many of you remember slope as the "rise over run," or "the vertical change over the horizontal
change" and have often seen it expressed as:
rise vertical change Δy
, , etc.
run horizontal change Δx
Definition: Slope
If (x , y ) and (x , y ) are two different points on a line, the slope of the line is
1 1 2 2
y2 − y1
slope = m = (1.2.1)
x2 − x1
Example 1.2.5
Find the slope of the line passing through points (−2, 3) and (4, −1), and graph the line.
Solution
Let (x , y ) = (−2, 3) and (x , y ) = (4, −1), then the slope (via Equation 1.2.1) is
1 1 2 2
−1−3 −4 2
m = = = −
4−(−2) 6 3
To give the reader a better understanding, both the vertical change, -4, and the horizontal change, 6, are shown in the above
figure.
When two points are given, it does not matter which point is denoted as (x , y ) and which (x , y ). The value for the slope will be
1 1 2 2
the same.
In Example 1.2.1, if we instead choose (x , y ) = (4, −1) and (x , y ) = (−2, 3), then we will get the same value for the slope as we
1 1 2 2
obtained earlier.
The steps involved are as follows.
3 − (−1) 4 2
m = = =−
−2 − 4 −6 3
Example 1.2.6
Find the slope of the line that passes through the points (−1, −4) and (3, −4) and graph the line.
Solution
Let (x , y ) = (−1, −4) and (x , y ) = (3, −4), then the slope is
1 1 2 2
−4 − (−4) 0
m = = =0
3 − (−1) 4
1.2.5 https://math.libretexts.org/@go/page/40105
Note: The slope of any horizontal line is 0
Example 1.2.7
Find the slope of the line that passes through the points (2, 3) and (2, −1), and graph the line.
Solution
Let (x , y ) = (2, 3) and (x , y ) = (2, −1) then the slope is
1 1 2 2
−1 − 3 4
m = = = undefined.
2 −2 0
Example 1.2.8
Graph the line that passes through the point (1, 2) and has slope − . 3
Solution
Slope equals . The fact that the slope is
rise
run
, means that for every rise of -3 units (fall of 3 units) there is a run of 4. So if
−3
from the given point (1, 2) we go down 3 units and go right 4 units, we reach the point (5, -1). The graph is obtained by
connecting these two points.
1.2.6 https://math.libretexts.org/@go/page/40105
Alternatively, since 3
−4
represents the same number, the line can be drawn by starting at the point (1,2) and choosing a rise of 3
units followed by a run of -4 units. So from the point (1, 2), we go up 3 units, and to the left 4, thus reaching the point (-3, 5)
which is also on the same line. See figure below.
Example 1.2.9
Find the slope of the line 2x + 3y = 6 by finding two points on the line.
Solution
In order to find the slope of this line, we will choose any two points on this line.
Again, the selection of x and y intercepts seems to be a good choice. The x-intercept is (3, 0), and the y -intercept is (0, 2).
Therefore, the slope is
2 −0 2
m = =− .
0 −3 3
The graph below shows the line and the x-intercepts and y -intercepts:
Example 1.2.10
1.2.7 https://math.libretexts.org/@go/page/40105
5 −2 3
m = = = 3.
1 −0 1
y = 3x + 2 3 2
y = −2x + 5 -2 5
y =
3
2
x −4
3
2
-4
It is no coincidence that when an equation of the line is solved for y , the coefficient of the x term represents the slope, and the
constant term represents the y -intercept.
In other words, for the line y = mx + b , m is the slope, and b is the y -intercept.
Example 1.2.11
3y = −2x + 6
y = (−2/3)x + 2
This page titled 1.2: Graphing Linear Equations is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder
Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is
available upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
1.2.8 https://math.libretexts.org/@go/page/40105
1.2E: Exercises - Graphing Linear Equations
PROBLEM SET: GRAPHING A LINEAR EQUATION
Work the following problems.
1) Is the point (2, 3) on the line 5x - 2y = 4? 2) Is the point (1, - 2) on the line 6x - y = 4?
3) For the line 3x - y = 12, complete the following ordered pairs. 4) For the line 4x + 3y = 24, complete the following ordered pairs.
(2,___) (___, 6) (3,___) (___, 4)
(0,___) (___, 0) (0,___) (___, 0)
5) Graph 2x + 4 = 0 6) Graph 2y - 6 = 0
7) Graph the following three equations on the same set of coordinate 8) Graph the following three equations on the same set of coordinate
axes. axes.
y = x +1 y = 2x + 1 y = −x + 1 y = 2x + 1 y = 2x y = 2x − 1
Find the slope of the line passing through the following pair of points.
Determine the slope of the line from the given equation of the line.
18) y = - 2x + 1 19) y = 3x - 2
20) 2x - y = 6 21) x + 3y = 6
Graph the line that passes through the given point and has the given slope.
This page titled 1.2E: Exercises - Graphing Linear Equations is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by
Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit
history is available upon request.
1.2E.1 https://math.libretexts.org/@go/page/40106
1.3: Determining the Equation of a Line
Learning Objectives
In this section, you will learn to:
Find an equation of a line if a point and the slope are given.
Find an equation of a line if two points are given.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Simplify each expression:
a. 3(2x − 5)
b. −7(4x − 2)
2. Find the slope of the line containing the points (1, 4) and (5, -2).
If you missed this problem, review Section 1.2. (Note that this will open in a new window.)
3. Find the slope of the line containing the points (-2, 5) and (10, -4).
If you missed this problem, review Section 1.2. (Note that this will open in a new window.)
So far, we were given an equation of a line and were asked to give information about it. For example, we were asked to find points
on the line, find its slope and even find intercepts. Now we are going to reverse the process. That is, we will be given either two
points, or a point and the slope of a line, and we will be asked to find its equation.
An equation of a line can be written in three forms, the slope-intercept form, the point-slope form, or the standard form. We
will discuss each of them in this section.
A line is completely determined by two points, or by a point and slope. The information we are given about a particular line will
influence which form of the equation is most convenient to use. Once we know any form of the equation of a line, it is easy to re-
express the equation in the other forms if needed.
y = mx + b. (1.3.1)
1.3.1 https://math.libretexts.org/@go/page/40109
This is called the slope-intercept form of the line and is the most commonly used form.
Example 1.3.1
Example 1.3.2
Find the equation of the line that passes through the point (2, 7) and has slope 3.
Solution
Since m = 3 , the partial equation is y = 3x + b .
Now b can be determined by substituting the point (2, 7) in the equation y = 3x + b .
7 = 3(2) + b
b =1
Example 1.3.3
Find an equation of the line that passes through the points (-1, 2), and (1, 8).
Solution
We need to find the slope of the line containing these points first. Remember that if (x , 1 y1 ) and (x ,
2 y2 ) are two different
points on a line, the slope of the line is
y2 − y1
slope = m =
x2 − x1
8−2
m =
1−(−1)
=
6
2
=3 . So the partial equation is y = 3x + b .
We can use either of the two points (-1, 2) or (1, 8), to find b . Substituting (-1, 2) gives
2 = 3(−1) + b
5 =b
So the equation is y = 3x + 5 .
Example 1.3.4
3
x +4 .
The point-slope form is useful when we know two points on the line and want to find the equation of the line.
1.3.2 https://math.libretexts.org/@go/page/40109
The definition of a slope leads us to the point-slope formula. Using two points (x , 1 y1 ) and any other (x, y), the slope is
y−y1
= m.
x−x1
y − y1 = m(x − x1 ). (1.3.2)
Example 1.3.5
Find the point-slope form of the equation of the line given in Example 1.3.2. (Find the equation of the line that passes through
the point (2, 7) and has slope 3.) Show that the two forms of the equations are equivalent.
Solution
Substituting the point (x1, y1 ) = (2, 7) and m = 3 in the point-slope formula, we get
y − y1 = m(x − x1 )
y − 7 = 3(x − 2)
We can show that the forms are equivalent by solving this equation for y .
y − 7 = 3(x − 2)
y − 7 = 3x − 6
y = 3x + 1
This is the slope-intercept form of the equation that we found in Example 1.3.2.
Example 1.3.6
Find the point-slope form of the equation of a line that has slope 1
2
and passes through the point (12,4). Then write the
equation in slope-intercept form.
Solution
Substituting the point (x1, y1 ) = (12, 4) and m = 1
2
in the point-slope formula, we get
y − y1 = m(x − x1 )
1
y −4 = (x − 12)
2
1
y −4 = x −6
2
1
y = x −2
2
intercept form y = mx + b , we can simplify the formula to have all terms for the x and y variables on one side of the equation,
and the constant on the other side of the equation.
The result is referred to as the standard form of the line:
Ax + By = C. (1.3.3)
We should always be able to convert from one form of an equation to another. For example, if we are given a line in the slope-
intercept form, we should be able to express it in the standard form, and vice versa.
1.3.3 https://math.libretexts.org/@go/page/40109
Example 1.3.7
3
x +3 in the standard form.
Solution
Multiplying both sides of the equation by 3, we get
3y = −2x + 9
2x + 3y = 9 Standard Form
Example 1.3.8
− 4y = −3x + 10
3 5
y = x− Standard Form
4 2
Example 1.3.9
Using the point-slope formula, find the standard form of an equation of the line that passes through the point (2, 3) and has
slope −3/5.
Solution: Substituting the point (2, 3) and m = −3/5 in the point-slope formula, we get
y − 3 = −3/5(x − 2)
5y − 15 = −3x + 6
3x + 5y = 21 Standard Form
Example 1.3.10
Find the standard form of the line that passes through the points (1, -2), and (4, 0).
Solution
0−(−2)
First we find the slope: m = 4−1
=
2
3
(x − 1)
3y + 6 = 2x − 2
− 2x + 3y = −8
2x − 3y = 8 Standard Form
Finally, we learn a very quick and easy way to write an equation of a line in the standard form. But first we must learn to find the
slope of a line in the standard form by inspection.
By solving for y , it can easily be shown that the slope of the line Ax + By = C is −A/B.
The reader should verify this.
1.3.4 https://math.libretexts.org/@go/page/40109
Example 1.3.11
−5
=
3
b. A = 2 , B = 7 , therefore, m = − 2
c. m = 4
−3
=
4
Now that we know how to find the slope of a line in the standard form by inspection, our job in finding the equation of a line is
going to be easy.
Example 1.3.12
Find an equation of the line that passes through (2, 3) and has slope - 4/5.
Solution
Since the slope of the line is - 4/5, we know that the left side of the equation is 4x + 5y , and the partial equation is going to be
4x + 5y = c
23 = c
4x + 5y = 23.
If you use this method often enough, you can do these problems very quickly.
Standard form: Ax + By = C
Horizontal Line: y = b
where b = y -intercept
Vertical Line: x = a
where a = x-intercept
This page titled 1.3: Determining the Equation of a Line is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by
Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit
history is available upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
1.3.5 https://math.libretexts.org/@go/page/40109
1.3E: Exercises - Determining the Equation of a Line
PROBLEM SET: DETERMINING THE EQUATION OF A LINE
Write an equation of the line satisfying the following conditions.
Write the equation in the form y = mx + b.
3) It passes through (3, 5) and (2, - 1). 4) It has slope 3, and its y-intercept equals 2.
5) It passes through (5, - 2) and m = 2/5. 6) It passes through (- 5, - 3) and (10, 0).
7) It passes through (4, - 4) and (5, 3). 8) It passes through (7, - 2) ; its y-intercept is 5.
11) It passes through (5, - 4) and (1, - 4). 12) It is a vertical line through the point (3, - 2).
13) It passes through (3, - 4) and (3, 4). 14) It has x-intercept = 3 and y-intercept = 4.
15) It passes through (3, - 1) and m = 2. 16) It passes through (- 2, 1) and m = - 3/2.
17) It passes through (- 4, - 2) and m = 3/4. 18) Its x-intercept equals 3, and m = - 5/3.
19) It passes through (2, - 3) and (5, 1). 20) It passes through (1, - 3) and (- 5, 5).
21) It passes through (2, - 3) and (5, 1). 22) It passes through (1, - 3) and (- 5, 2).
23) It passes through (6, -2) and (0, 2). 24) It passes through (8, 2) and (-7, -4).
25) It passes through (-12, 7) and has slope = -1/3. 26) It passes through (8, - 7) and has slope 3/4.
This page titled 1.3E: Exercises - Determining the Equation of a Line is shared under a CC BY 4.0 license and was authored, remixed, and/or
curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a
detailed edit history is available upon request.
1.3E.1 https://math.libretexts.org/@go/page/40110
1.4: Linear Applications
Learning Objectives
In this section, you will learn to use linear functions to model real-world applications.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Find the slope of the line containing the points (3, 10) and (5, 40).
If you missed this problem, review Section 1.2. (Note that this will open in a new window.)
2. Find the equation of the line containing the points (3, 10) and (5, 40). Write the equation in slope-intercept form.
If you missed this problem, review Section 1.3. (Note that this will open in a new window.)
Now that we have learned to determine equations of lines, we get to apply these ideas in a variety of real-life situations.
Read the problem carefully. Highlight important information. Keep track of which values correspond to the independent variable
(x) and which correspond to the dependent variable (y).
Example 1.4.1
A taxi service charges $0.50 per mile plus a $5 flat fee. What will be the cost of traveling 20 miles? What will be cost of
traveling x miles?
Solution
x = distance traveled, in miles and y = cost in dollars
The cost of traveling 20 miles is
y = (0.50)(20) + 5 = 10 + 5 = 15
y = (0.50)(x) + 5 = 0.50x + 5
In this problem, $0.50 per mile is referred to as the variable cost, and the flat charge $5 as the fixed cost. Now if we look at
our cost equation y = .50x + 5 , we can see that the variable cost corresponds to the slope and the fixed cost to the y -intercept.
We will also call this our cost function as the equation isolates and expresses the value of the total cost.
Example 1.4.2
The variable cost to manufacture a product is $10 per item and the fixed cost $2500. If x represents the number of items
manufactured and y represents the total cost, write the cost function.
Solution
The variable cost of $10 per item tells us that m = 10 .
The fixed cost represents the y -intercept. So b = 2500.
1.4.1 https://math.libretexts.org/@go/page/40111
Therefore, the cost equation is y = 10x + 2500.
Example 1.4.3
It costs $750 to manufacture 25 items, and $1000 to manufacture 50 items. Assuming a linear relationship holds, find the cost
equation, and use this function to predict the cost of 100 items.
Solution
We let x = the number of items manufactured, and let y = the cost.
Solving this problem is equivalent to finding an equation of a line that passes through the points (25, 750) and (50, 1000).
1000 − 750
m = = 10
50 − 25
Example 1.4.4
The freezing temperature of water in Celsius is 0 degrees and in Fahrenheit 32 degrees. And the boiling temperatures of water
in Celsius, and Fahrenheit are 100 degrees, and 212 degrees, respectively. Write a conversion equation from Celsius to
Fahrenheit and use this equation to convert 30 degrees Celsius into Fahrenheit.
Solution
Let us look at what is given.
Celsius Fahrenheit
0 32
100 212
Again, solving this problem is equivalent to finding an equation of a line that passes through the points (0, 32) and (100, 212).
Since we are finding a linear relationship, we are looking for an equation y = mx + b , or in this case F = mC + b , where x
or C represent the temperature in Celsius, and y or F the temperature in Fahrenheit.
312 − 32 9
slope m = =
100 − 0 5
The equation is F =
9
5
C +b
1.4.2 https://math.libretexts.org/@go/page/40111
Example 1.4.5
The population of Canada in the year 1980 was 24.5 million, and in the year 2010 it was 34 million. The population of Canada
over that time period can be approximately modelled by a linear function. Let x represent time as the number of years after
1980 and let y represent the size of the population.
a. Write the linear function that gives a relationship between the time and the population.
b. Assuming the population continues to grow linearly in the future, use this equation to predict the population of Canada in
the year 2025.
Solution
The problem can be made easier by using 1980 as the base year, that is, we choose the year 1980 as the year zero. This will
mean that the year 2010 will correspond to year 30. Now we look at the information we have:
Year Population
30 (2010) 34 million
a. Solving this problem is equivalent to finding an equation of a line that passes through the points (0, 24.5) and (30, 34). We
use these two points to find the slope:
34 − 24.5 9.5
m = = = 0.32
30 − 0 30
y = 0.32x + 24.5
b. Now to predict the population in the year 2025, we let x = 2025 − 1980 = 45
y = 0.32x + 24.5
In the year 2025, we predict that the population of Canada will be 38.9 million people.
Note that we assumed the population trend will continue to be linear. Therefore if population trends change and this
assumption does not continue to be true in the future, this prediction may not be accurate.
This page titled 1.4: Linear Applications is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and
Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon
request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
1.4.3 https://math.libretexts.org/@go/page/40111
1.4E: Exercises - Linear Applications
PROBLEM SET: LINEAR APPLICATIONS
In the following application problems, assume a linear relationship holds.
1) The variable cost to manufacture a product is $25 per item, and the
2) It costs $90 to rent a car driven 100 miles and $140 for one driven 200
fixed costs are $1200.
miles. If x is the number of miles driven and y the total cost of the rental,
If x is the number of items manufactured and
write the cost function.
y is the cost, write the cost function.
5) To manufacture 100 items, it costs $32,000, and to manufacture 200 6) It costs $1900 to manufacture 60 items, and the fixed costs are $700.
items, it costs $40,000. If x is the number of items manufactured and If x represents the number of items manufactured and y the cost, write
y is the cost, write the cost function. the cost function.
9). A male college student who is 64 inches tall weighs 110 pounds. 10) EZ Clean company has determined that if it spends $30,000 on
Another student who is 74 inches tall weighs 180 pounds. Assuming the advertising, it can hope to sell 12,000 of its Minivacs a year, but if it
relationship between male students' heights (x), and weights (y) is linear, spends $50,000, it can sell 16,000. Write an equation that gives a
write a function to express weights in terms of heights, and use this relationship between the number of dollars spent on advertising (x) and
function to predict the weight of a student who is 68 inches tall. the number of minivacs sold(y).
11) The freezing temperatures for water for Celsius and Fahrenheit
scales are 0ºC and 32ºF. The boiling temperatures for water are 100 ºC 12) By reversing the coordinates in the previous problem, find a
and 212 ºF. Let C denote the temperature in Celsius and F in Fahrenheit. conversion function that converts Fahrenheit into Celsius, and use this
Write the conversion function from Celsius to Fahrenheit. Use the conversion function to convert 72 ºF into an equivalent Celsius measure.
function to convert 25 ºC into ºF.
13) California’s population was 29.8 million in the year 1990, and 37.3
million in 2010. Assume that the population trend was and continues to
14) Use the population function for California in the previous problem to
be linear, write the population function. Use this function to predict the
find the year in which the population will be 40 million people.
population in 2025. Hint: Use 1990 as the base year (year 0); then 2010
and 2025 are years 20, and 35, respectively.)
15) A college’s enrollment was 13,200 students in the year 2000, and
15,000 students in 2015. Enrollment has followed a linear pattern.
16) If the college’s enrollment continues to follow this pattern, in what
Write the function that models enrollment as a function of time. Use the
year will the college have 16,000 students enrolled.
function to find the college’s enrollment in the year 2010.
Hint: Use year 2000 as the base year.
1.4E.1 https://math.libretexts.org/@go/page/40112
19) At ABC Co., sales revenue is $170,000 when it spends $5000 on
advertising. 20) For problem 19, explain the following:
Sales revenue is $254,000 when $12,000 is spent on advertising.
a. Explain what the slope of the line tells us about the effect on sales
a) Find a linear function for
revenue of money spent on advertising. Be specific, explaining both
y = amount of sales revenue as a function of
the number and the sign of the slope in the context of this problem.
x = amount spent on advertising.
b. Explain what the y intercept of the line tells us about the sales
b) Find revenue if $10,000 is spent on advertising.
revenue in the context of this problem
c) Find the amount that should be spent on advertising to achieve
$200,000 in revenue.
21) Mugs Café sells 1000 cups of coffee per week if it does not
advertise. For every $50 spent in advertising per week, it sells an 22) Party Sweets makes baked goods that can be ordered for special
additional 150 cups of coffee. occasions. The price is $24 to order one dozen (12 cupcakes) and $9 for
a) Find a linear function that gives each additional 6 cupcakes.
y = number of cups of coffee sold per week a. Find a linear function that gives the total price of a cupcake order as
x = amount spent on advertising per week. a function of the number of cupcakes ordered
b) How many cups of coffee does Mugs Café expect to sell if $100 per b. Find the price for an order of 5 dozen (60) cupcakes
week is spent on advertising?
This page titled 1.4E: Exercises - Linear Applications is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by
Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit
history is available upon request.
1.4E.2 https://math.libretexts.org/@go/page/40112
1.5: Fitting Linear Models to Data
Learning Objectives
Draw and interpret scatter plots.
Use a graphing utility to find the line of best fit.
Fit a regression line to a set of data and use the linear model to make predictions.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. On a piece of graph paper, plot and label these points: A(1, 4), B(-3, 2), C(2, -5), D(0, -3), E(4, 0).
If you missed any part of this problem, review here. (Note that this will open a different textbook in a new window.)
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
If you missed this problem, review Section 1.1. (Note that this will open in a new window.)
A professor is attempting to identify trends among final exam scores. His class has a mixture of students, so he wonders if there is
any relationship between age and final exam scores. One way for him to analyze the scores is by creating a diagram that relates the
age of each student to the exam score received. In this section, we will examine one such diagram known as a scatter plot.
Figure 1.5.1 : A scatter plot of age and final exam score variables
Notice this scatter plot does not indicate a linear relationship. The points do not appear to follow a trend. In other words, there
does not appear to be a relationship between the age of the student and the score on the final exam.
To create a scatter plot on a calculator
1. Press STAT ENTER to enter your data; enter your X data into list L1 and your Y data into list L2.
2. Press 2nd STATPLOT ENTER to use Plot 1. On the input screen for PLOT 1, highlight On and press ENTER. (Make sure
the other plots are OFF.)
3. For TYPE: highlight the very first icon, which is the scatter plot, and press ENTER.
4. For Xlist:, enter L1 ENTER and for Ylist: L2 ENTER.
5. For Mark: it does not matter which symbol you highlight, but the square is often the easiest to see. Press ENTER.
6. Make sure there are no other equations that could be plotted. Press Y = and clear any equations out.
7. Press the ZOOM key and then the number 9 (for menu item "ZoomStat"); the calculator will fit the window to the data. You
can press WINDOW to see the scaling of the axes.
The table below shows the number of cricket chirps in 15 seconds, for several different air temperatures, in degrees Fahrenheit.
Plot this data in your calculator, and determine whether the data appears to be linearly related.
Table 1.5.1
Chirps 44 35 20.4 33 31 35 18.5 37 26
Temperatu
80.5 70.5 57 66 68 72 52 73.5 53
re
Solution
Plotting this data, as depicted in Figure 1.5.2 suggests that there may be a trend. We can see from the trend in the data that the
number of chirps increases as the temperature increases. The trend appears to be roughly linear, though certainly not perfectly
so.
run
Find a linear function that fits the data in Table 1.5.1 by “eyeballing” a line that seems to fit.
Solution
On a graph, we could try sketching a line.
Using the starting and ending points of our hand drawn line, points (0, 30) and (50, 90), this graph has a slope of
60
m = = 1.2
50
T (c) = 1.2c + 30
where c is the number of chirps in 15 seconds, and T (c) is the temperature in degrees Fahrenheit. The resulting equation is
represented in Figure 1.5.3.
Exercise 1.5.1
According to the data from Table 1.5.1, what temperature can we predict it is if we counted 20 chirps in 15 seconds?
Solution
54°F
Given data of input and corresponding outputs from a linear function, find the best fit line using linear regression.
Find the line of best fit using the cricket-chirp data in Table 1.5.1.
Solution
Enter the input (chirps) in List 1 (L1).
Enter the output (temperature) in List 2 (L2). See Table 1.5.2.
Table 1.5.2
L1 44 35 20.4 33 31 35 18.5 37 26
y = 30.281 + 1.143x
or
T = 30.281 + 1.143c
Analysis
To graph the best-fit line, press the "Y = " key and type the equation 30.281 + 1.143X into equation Y1. (The X key is
immediately left of the STAT key). Press ZOOM 9 again to graph it.
Notice that this line is quite similar to the equation we “eyeballed” but should fit the data better. Notice also that using this
equation would change our prediction for the temperature when hearing 30 chirps in 15 seconds from 66 degrees to:
T (30) = 30.281 + 1.143(30)
= 64.571
≈ 64.6 degrees
The graph of the scatter plot with the line of best fit is shown in Figure 1.5.4.
Will there ever be a case where two different lines will serve as the best fit for the data?
No. There is only one best fit line.
Gasoline consumption in the United States has been steadily increasing. Consumption data from 1994 to 2004 is shown in
Table 1.5.3. Graph the data and determine whether the trend is linear. If so, find a model for
the data and use the model to predict the consumption in 2008.
Table 1.5.3
Year '94 '95 '96 '97 '98 '99 '00 '01 '02 '03 '04
Consum
ption
(billions 113 116 118 119 123 125 126 128 131 133 136
of
gallons)
The scatter plot of the data, including the least squares regression line, is shown in Figure 1.5.5.
= 144.244
Exercise 1.5.2
Use the model we created using technology in Example 1.5.4 to predict the gas consumption in 2011.
Answer
150.871 billion gallons
Key Concepts
Scatter plots show the relationship between two sets of data.
Scatter plots may represent linear or non-linear models.
The line of best fit may be estimated or calculated, using a calculator or statistical software.
The correlation coefficient, r, indicates the degree of linear relationship between data.
A regression line best fits the data.
This page titled 1.5: Fitting Linear Models to Data is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax
via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
Exercise 1.5E. 1
In Europe and Asia, m-commerce is popular. M-commerce users have special mobile phones that work like electronic wallets as
well as provide phone and Internet services. Users can do everything from paying for parking to buying a TV set or soda from a
machine to banking to checking sports scores on the Internet. For the years 2000 through 2004, what was the relationship
between the year and the number of m-commerce users? Construct a scatter plot and find the linear regression model that best
fits the data. Let x = the year and let y = the number of m-commerce users, in millions.
Table 1.5E. 1:: Table showing the number of m-commerce users (in millions) by year.
x (year) y (# of users)
2000 0.5
2002 20.0
2003 33.0
2004 47.0
Exercise 1.5E. 2
A random sample of 11 statistics students produced the following data, where x is the Unit 1 Exam score out of 80, and y is
the Final Exam score out of 200.
Table showing the scores on the Final Exam based on scores from the Unit 1 Exam.
x (Unit 1 Exam score) y (Final Exam score)
65 151
67 133
71 185
71 163
66 126
75 198
67 153
70 163
71 159
69 151
69 159
A random student earned a 58 on the Unit 1 Exam. If that student follows the class trend, what would you expect this
student to earn on the final exam?
Exercise 1.5E. 3
SCUBA divers have maximum dive times they cannot exceed when going to different depths. The data in Table show
different depths with the maximum dive times in minutes. Use your calculator to find the linear regression line and predict
the maximum dive time for 110 feet.
50 80
60 55
70 45
80 35
90 25
100 22
Exercise 1.5E. 4
Amelia plays basketball for her high school. She notices that the number of points she scores in a game goes up in response to
the number of hours she practices her jump shot each week. She records the following data. She has a goal of playing in college
and needs to score 40 points in a game to be considered for the college team. Based on the trend, how many hours each week
should she practice her jump shot?
4 13
6 18
7 22
9 27
11 30
Contributors
Template:ContribOpenStax
This page titled 1.5E: Exercises - Fitting Linear Models to Data is shared under a CC BY license and was authored, remixed, and/or curated by
OpenStax.
5. Solve 7 − 9y + 12 = 3y + 11 − 11y
6. Solve x − + x = x +
1
3
3
2
5
2
5
6
1
18. −4 ≤ 11 − 5t < 31
Linear Applications
34. A female college student who is 60 inches tall weighs 100 pounds. Another female student who is 66 inches tall weighs 124
pounds. Assume the relationship between the female students' weights and heights is linear. Find an equation for weight as a
1.6.1 https://math.libretexts.org/@go/page/40116
function of height. Use this relationship to predict the weight of a female student who is 70 inches tall.
35. In deep-sea diving, the pressure exerted by water plays a great role in designing underwater equipment. If at a depth of 10 feet
there is a pressure of 21 lb/in2, and at a depth of 50 ft there is a pressure of 75 lb/in2, write a linear equation giving a
relationship between depth and pressure. Use this relationship to predict pressure at a depth of 100 ft.
36. The variable cost to manufacture an item is $30 per item; the fixed costs are $2750. Find the cost function.
37. The variable cost to manufacture an item is $10 per item, and it costs $2,500 to produce 100 items. Write the cost function, and
use this function to estimate the cost of manufacturing 300 items.
38. It costs $2,700 to manufacture 100 items of a product, and $4,200 to manufacture 200 items. Let x= the number of items; y=
cost. Find the cost function; use it to predict the cost to produce 1000 items.
39. In 1990, the average house in Emerald City cost $280,000 and in 2007 the same house cost $365,000. Assuming a linear
relationship, write an equation that will give the price of the house in any year, and use this equation to predict the price of a
similar house in the year 2020.
40. The population of Mexico in 1995 was 95.4 million and in 2010 it was 117.9 million. Assuming a linear relationship, write an
equation that will give the population of Mexico in any year, and use this equation to predict the population of Mexico in the
year 2025.
41. At Nuts for Soup Lunch Bar, they sell 150 bowls of soup if the high temperature for the day is 40 ºF. For every 5 ºF increase in
high temperature for the day, they sell 10 fewer bowls of soup.
a. Assuming a linear relationship, write an equation that will give y = the number of bowls of soup sold as a function of x = the
daily high temperature.
b. How many bowls of soup are sold when the temperature is 75 ºF?
c. What is the temperature when 100 bowls of soup are sold?
42. Two-hundred items are demanded at a price of $5, and 300 items are demanded at a price of $3. If x represents the price, and y
the number of items, write the demand function.
43. A supply curve for a product is the number of items of the product that can be made available at different prices. A doll
manufacturer can supply 2000 dolls if the dolls are sold for $30 each, but he can supply only 400 dolls if the dolls are sold for
$10 each. If x represents the price of dolls and y the number of items, write an equation for the supply curve.
44. Suppose you are trying to decide on a price for your latest creation - a coffee mug that never tips. Through a survey, you have
determined that at a price of $2, you can sell 2100 mugs, but at a price of $12 you can only sell 100 mugs. Furthermore, your
supplier can supply you 3100 mugs if you charge your customers $12, but only 100 mugs if you charge $2. What price should
you charge so that the supply equals demand, and at that price how many coffee mugs will you be able to sell?
45. A car rental company offers two plans. Plan I charges $16 a day and 25 cents a mile, while Plan II charges $45 a day but no
charge for miles. If you were to drive 200 miles in a day, which plan is better? For what mileage are both rates the same?
46. The supply curve for a product is y = 250x - 1000. The demand curve for the same product is
a. y = - 350x + 8,000, where x is the price and y the number of items produced. Find the following.
b. At a price of $10, how many items will be in demand?
c. At what price will 4,000 items be supplied?
d. What is the equilibrium price for this product?
e. How many items will be manufactured at the equilibrium price?
47. The supply curve for a product is y = 625x - 600 and the demand curve for the same product is y = - 125x + 8,400, where x is
the price and y the number of items produced. Find the equilibrium price and determine the number of items that will be
produced at that price.
48. Both Jenny and Masur work in the sales department for Sports Supply. Jenny gets paid $120 per day plus 4% commission on
the sales. Masur gets paid $132 per day plus 8% commission on the sales in excess of $1,000. For what sales amount would
they both earn the same daily amounts?
49. A company's revenue and cost in dollars are given by R = 25x and C = 10x + 9,000, where x represents the number of items.
Find the number of items that must be produced to break-even.
50. A firm producing a certain type of CFL lightbulb has fixed costs of $6,800, and a variable cost of $2.30 per bulb. The bulbs sell
for $4 each. How many bulbs must be produced to break-even?
51. A company producing tire pressure gauges has fixed costs of $7,500, and variable cost of $1.50 cents per item. If the gauges
sell for $4.50, how many must be produced to break-even?
52. A company is introducing a new cordless travel shaver before the Christmas holidays. It hopes to sell 15,000 of these shavers in
December. The variable cost is $11 per item and the fixed costs $100,000. If the shavers sell for $19 each, how many must be
1.6.2 https://math.libretexts.org/@go/page/40116
produced and sold to break-even?
65 151
67 133
71 185
71 163
66 126
75 198
67 153
70 163
71 159
69 151
69 159
54. SCUBA divers have maximum dive times they cannot exceed when going to different depths. The data in Table show different
depths with the maximum dive times in minutes. Use your calculator to find the linear regression line and predict the maximum
dive time for 110 feet.
50 80
60 55
70 45
80 35
90 25
100 22
This page titled 1.6: Chapter 1 Review is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and
Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon
request.
1.6.3 https://math.libretexts.org/@go/page/40116
CHAPTER OVERVIEW
2: More About Functions is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.
1
2.1: Relations and Functions
Learning Objectives
By the end of this section, you will be able to:
Find the domain and range of a relation
Determine if a relation is a function
Find the value of a function
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Evaluate 2x 2
− 5x + 3 when x = 4 .
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
2. Evaluate 2x 2
− 5x + 3 when x = −4 .
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
3. Solve y 2
=9 .
The set of all the names of the students in the class is called the domain of the relation and the set of all student ID numbers paired
with these students is the range of the relation.
There are many similar situations where one variable is paired or matched with another. The set of ordered pairs that records this
matching is a relation.
Definition: Relation
A relation is any set of ordered pairs, (x, y). All the x-values in the ordered pairs together make up the domain. All the y-
values in the ordered pairs together make up the range.
Note that if the relation consists of a finite number of ordered pairs, then the domain and range will be listed in set notation,
with {braces} around the list. If the relation consists of an infinite number of ordered pairs, then the domain and range will be
expressed in interval notation, described in Section 1.1.
Example 2.1.1
For the relation {(1, 1), (2, 4), (3, 9), (4, 16), (5, 25)}
:
a. Find the domain of the relation.
b. Find the range of the relation.
Answer
{(1, 1), (2, 4), (3, 9), (4, 16), (5, 25)}
The range is the set of all y-values of the relation. {1, 4, 9, 16, 25}
Example 2.1.2
For the relation {(1, 1), (2, 8), (3, 27), (4, 64), (5, 125)}
:
a. Find the domain of the relation.
b. Find the range of the relation.
Answer a
{1, 2, 3, 4, 5}
Answer b
{1, 8, 27, 64, 125}
Example 2.1.3
For the relation {(1, 3), (2, 6), (3, 9), (4, 12), (5, 15)}
:
a. Find the domain of the relation.
b. Find the range of the relation.
Answer b
{3, 6, 9, 12, 15}
MAPPING
A mapping is sometimes used to show a relation. The arrows show the pairing of the elements of the domain with the
elements of the range.
Example 2.1.4
Answer
The arrow shows the matching of the person to their birthday. We create ordered pairs with the person’s name as the x-
value and their birthday as the y-value.
{(Alison, April 25), (Penelope, May 23), (June, August 2), (Gregory, September 15), (Geoffrey, January 12), (Lauren, May
10), (Stephen, July 24), (Alice, February 3), (Liz, August 2), (Danny, July 24)}
The domain is the set of all x-values of the relation.
{Alison, Penelope, June, Gregory, Geoffrey, Lauren, Stephen, Alice, Liz, Danny}
The range is the set of all y-values of the relation.
{January 12, February 3, April 25, May 10, May 23, July 24, August 2, September 15}
Example 2.1.5
Example 2.1.6
Answer
(Maria, November 6), (Armando, January 18), (Cynthia, December 8), (Kelly, March 15), (Rachel, November 6)
{Maria, Armando, Cynthia, Kelly, Rachel}
{November 6, January 18, December 8, March 15}
A graph is yet another way that a relation can be represented. The set of ordered pairs of all the points plotted is the relation. The
set of all x-coordinates is the domain of the relation and the set of all y-coordinates is the range. Generally we write the numbers in
ascending order for both the domain and range.
Example 2.1.7
{(1, 5), (−3, −1), (4, −2), (0, 3), (2, −2), (−3, 4)}.
Example 2.1.8
Example 2.1.9
Answer
Definition: Function
A function is a relation that assigns to each element in its domain exactly one element in the range.
The birthday example from Example 2.1.6 helps us understand this definition. Every person has a birthday but no one has two
birthdays. It is okay for two people to share a birthday. It is okay that Danny and Stephen share July 24th as their birthday and that
June and Liz share August 2nd. Since each person has exactly one birthday, the relation in Example 2.1.6 is a function.
The relation shown by the graph in Example 2.1.7 includes the ordered pairs (−3, −1) and (−3, 4). Is that okay in a function? No,
as this is like one person having two different birthdays.
Example 2.1.10
Use the set of ordered pairs to (i) determine whether the relation is a function (ii) find the domain of the relation (iii) find the
range of the relation.
a. {(−3, 27), (−2, 8), (−1, 1), (0, 0), (1, 1), (2, 8), (3, 27)}
b. {(9, −3), (4, −2), (1, −1), (0, 0), (1, 1), (4, 2), (9, 3)}
Answer
{(−3, 27), (−2, 8), (−1, 1), (0, 0), (1, 1), (2, 8), (3, 27)}
(i) Each x-value is matched with only one y-value. So this relation is a function.
(ii) The domain is the set of all x-values in the relation.
The domain is: {−3, −2, −1, 0, 1, 2, 3}.
(iii) The range is the set of all y-values in the relation. Notice we do not list range values twice.
The range is: {27, 8, 1, 0}.
{(9, −3), (4, −2), (1, −1), (0, 0), (1, 1), (4, 2), (9, 3)}
(i) The x-value 9 is matched with two y-values, both 3 and −3 . So this relation is not a function.
(ii) The domain is the set of all x-values in the relation. Notice we do not list domain values twice.
The domain is: {0, 1, 2, 4, 9}.
(iii) The range is the set of all y-values in the relation.
The range is: {−3, −2, −1, 0, 1, 2, 3}.
Example 2.1.11
Use the set of ordered pairs to (i) determine whether the relation is a function (ii) find the domain of the relation (iii) find the
range of the function.
a. {(−3, −6), (−2, −4), (−1, −2), (0, 0), (1, 2), (2, 4), (3, 6)}
b. {(8, −4), (4, −2), (2, −1), (0, 0), (2, 1), (4, 2), (8, 4)}
Answer
Example 2.1.12
Use the set of ordered pairs to (i) determine whether the relation is a function (ii) find the domain of the relation (iii) find the
range of the relation.
a. {(27, −3), (8, −2), (1, −1), (0, 0), (1, 1), (8, 2), (27, 3)}
b. {(7, −3), (−5, −4), (8, 0), (0, 0), (−6, 4), (−2, 2), (−1, 3)}
Answer
No; {0, 1, 8, 27};
{−3, −2, −1, 0, 2, 2, 3}
Example 2.1.13
Answer
Both Lydia and Marty have two phone numbers. So each x-value is not matched with only one y-value. So this relation is
not a function.
The domain is the set of all x-values in the relation. The domain is: {Lydia, Eugene, Janet, Rick, Marty}
The range is the set of all y-values in the relation. The range is:
{321 − 549 − 3327, 427 − 658 − 2314, 321 − 964 − 7324, 684 − 358 − 7961, 684 − 369 − 7231, 798 − 367 − 8541}
Example 2.1.14
Use the mapping to determine whether the relation is a function find the domain of the relation find the range of the
relation.
Example 2.1.15
Answer
No {Neal, Krystal, Kelvin, George, Christa, Mike} {123-567-4839 work, 231-378-5941 cell, 743-469-9731 cell, 567-
534-2970 work, 684-369-7231 cell, 798-367-8541 cell, 639-847-6971 cell}
In algebra, more often than not, functions will be represented by an equation. It is easiest to see if the equation is a function when it
is solved for y. If each value of x results in only one value of y, then the equation defines a function.
Example 2.1.16
Determine whether each equation is a function. We will explore domain and range of these relations in the upcoming sections.
a. 2x + y = 7
b. y = x + 1
2
c. x + y = 3
2
Answer
2x + y = 7
For each value of x, we multiply it by −2 and then add 7 to get the y-value
We have that when x = 3 , then y = 1 . It would work similarly for any value of x. Since each value of x, corresponds to
only one value of y the equation defines a function.
2
y =x +1
For each value of x, we square it and then add 1 to get the y-value.
For example, if x = 2 :
We have that when x = 2 , then y = 5 . It would work similarly for any value of x. Since each value of x, corresponds to
only one value of y the equation defines a function.
Let’s substitute x = 2 .
We have shown that when x = 2 , then y = 1 and y = −1 . It would work similarly for any value of x. Since each value of x
does not corresponds to only one value of y the equation does not define a function.
Example 2.1.17
c. y − x = 2
2
Answer
yes no yes
Example 2.1.18
b. y = x − 7
2
c. y = 5x − 4
Answer
no yes yes
We call x the independent variable as it can be any value in the domain. We call y the dependent variable as its value depends on x.
Much as when you first encountered the variable x, function notation may be rather unsettling. It seems strange because it is new.
You will feel more comfortable with the notation as you use it.
Let’s look at the equation y = 4x − 5 . To find the value of y when x = 2 , we know to substitute x = 2 into the equation and then
simplify.
Let x=2.
Let x=2.
Example 2.1.19
Answer
Simplify.
Simplify.
Simplify. .
Example 2.1.20
Answer
2
f (3) = 22 f (−1) = 6 f (t) = 3 t − 2t + 1
Example 2.1.21
Answer
(2) = 13 f (−3) = 3
f (h) = 2h2 + 4h − 3
In the last example, we found f (x) for a constant value of x. In the next example, we are asked to find g(x) with values of x that
are variables. We still follow the same procedure and substitute the variables in for the x.
b. g(x + 2)
c. g(x) + g(2)
Answer
.
for x.
Simplify. .
. .
Simplify.
Notice the difference between part and . We get g(x + 2) = 3x + 1 and g(x) + g(2) = 3x − 4 . So we see that
g(x + 2) ≠ g(x) + g(2) .
Example 2.1.23
b. g(x − 3)
c. g(x) − g(3)
Answer
2
4m −7 4x − 19
x − 12
b. h(x + 1)
c. h(x) + h(1)
Answer
2
2k +1 2x + 3
2x + 4
Example 2.1.25
The number of unread emails in Sylvia’s account is 75. This number grows by 10 unread emails a day. The function
N (t) = 75 + 10t represents the relation between the number of emails, N, and the time, t, measured in days.
Answer
The number of unread emails is a function of the number of days. The number of unread emails, N, depends on the
number of days, t. Therefore, the variable N, is the dependent variable and the variable tt is the independent variable.
Find N (5). Explain what this result means.
Substitute in t=5.t=5. .
Simplify.
Since 5 is the number of days, N (5), is the number of unread emails after 5 days. After 5 days, there are 125 unread emails
in the account.
Example 2.1.26
The number of unread emails in Bryan’s account is 100. This number grows by 15 unread emails a day. The function
N (t) = 100 + 15t represents the relation between the number of emails, N, and the time, t, measured in days.
Answer
t IND; N DEP 205; the number of unread emails in Bryan’s account on the seventh day.
Access this online resource for additional instruction and practice with relations and functions.
Introduction to Functions
Key Concepts
Function Notation: For the function y = f (x)
f is the name of the function
Glossary
domain of a relation
The domain of a relation is all the x-values in the ordered pairs of the relation.
function
A function is a relation that assigns to each element in its domain exactly one element in the range.
mapping
A mapping is sometimes used to show a relation. The arrows show the pairing of the elements of the domain with the elements
of the range.
range of a relation
The range of a relation is all the y-values in the ordered pairs of the relation.
relation
A relation is any set of ordered pairs,(x,y).(x,y). All the x-values in the ordered pairs together make up the domain. All the y-
values in the ordered pairs together make up the range.
This page titled 2.1: Relations and Functions is shared under a CC BY license and was authored, remixed, and/or curated by OpenStax.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
1. {(1, 4), (2, 8), (3, 12), (4, 16), (5, 20)}
Answer
a. {1, 2, 3, 4, 5}b. {4, 8, 12, 16, 20}
2. {(1, −2), (2, −4), (3, −6), (4, −8), (5, −10)}
3. {(1, 7), (5, 3), (7, 9), (−2, −3), (−2, 8)}
Answer
a. {1, 5, 7, −2}b. {7, 3, 9, −3, 8}
4. {(11, 3), (−2, −7), (4, −8), (4, 17), (−6, 9)}
In the following exercises, use the mapping of the relation to a. list the ordered pairs of the relation, b. find the domain of the
relation, and c. find the range of the relation.
5.
Answer
a. (Rebecca, January 18), (Jennifer, April 1), (John, January 18), (Hector, June 23), (Luis, February 15), (Ebony, April 7),
(Raphael, November 6), (Meredith, August 19), (Karen, August 19), (Joseph, July 30)
b. {Rebecca, Jennifer, John, Hector, Luis, Ebony, Raphael, Meredith, Karen, Joseph}
c. {January 18, April 1, June 23, February 15, April 7, November 6, August 19, July 30}
6.
a measurement of body fat based on height and weight. A BMI of 18.5– 24.9is considered healthy.
Answer
a. (+100, 17.2), (110, 18.9), (120, 20.6), (130, 22.3), (140, 24.0), (150, 25.7), (160, 27.5) b.
c.
{+100, 110, 120, 130, 140, 150, 160,}{17.2, 18.9, 20.6, 22.3, 24.0, 25.7, 27.5}
8. For a man of height 5 11 the mapping below shows the corresponding Body Mass Index (BMI). The body mass index is a
′ ′′
measurement of body fat based on height and weight. A BMI of 18.5– 24.9is considered healthy.
In the following exercises, use the graph of the relation to a. list the ordered pairs of the relation b. find the domain of the relation c.
find the range of the relation.
9.
Answer
a. (2, 3), (4, −3), (−2, −1), (−3, 4), (4, −1), (0, −3)b. {−3, −2, 0, 2, 4}
c. {−3, −1, 3, 4}
11.
Answer
a. (1, 4), (1, −4), (−1, 4), (−1, −4), (0, 3), (0, −3)b. {−1, 0, 1} c. {−4, −3, 3, 4}
12.
13. {(−3, 9), (−2, 4), (−1, 1), (0, 0), (1, 1), (2, 4), (3, 9)}
Answer
a. yes b. {−3, −2, −1, 0, 1, 2, 3}c. {9, 4, 1, 0}
15. {(−3, 27), (−2, 8), (−1, 1), (0, 0), (1, 1), (2, 8), (3, 27)}
Answer
a. yes b. {−3, −2, −1, 0, 1, 2, 3}c. {0, 1, 8, 27}
16. {(−3, −27), (−2, −8), (−1, −1), (0, 0), (1, 1), (2, 8), (3, 27)}
In the following exercises, use the mapping to a. determine whether the relation is a function, b. find the domain of the function,
and c. find the range of the function.
17.
Answer
a. yes b. {−3, −2, −1, 0, 1, 2, 3}c. {0, 1, 2, 3}
18.
19.
Answer
a. no b. {Jenny, R and y, Dennis, Emily, Raul} c. {RHern and [email protected], [email protected], [email protected],
[email protected], [email protected], [email protected], R and [email protected]}
21. a. 2x + y = −3
b. y = x 2
c. x + y = −5
2
Answer
a. yes b. yes c. no
22. a. y = 3x − 5
b. y = x 3
c. 2x + y = 4 2
23. a. y − 3x = 2 3
b. x + y = 3
2
c. 3x − 2y = 6
Answer
a. yes b. no c. yes
24. a. 2x − 4y = 8
b. −4 = x − y 2
c. y = −x + 5
2
25. f (x) = 5x − 3
Answer
a. f (2) = 7 b. f (−1) = −8 c. f (a) = 5a − 3
26. f (x) = 3x + 4
Answer
a. f (2) = −6 b. f (−1) = 6 c. f (a) = −4a + 2
29. f (x) = x 2
−x +3
30. f (x) = x 2
+x −2
31. f (x) = 2x 2
−x +3
Answer
a. f (2) = 9 b. f (−1) = 6
c. f (a) = 2a − a + 3
2
32. f (x) = 3x 2
+x −2
33. g(x) = 2x + 1
Answer
a. g(h ) = 2h + 1
2 2
b. g(x + 2) = 4x + 5
c. g(x) + g(2) = 2x + 6
34. g(x) = 5x − 8
Answer
a. g(h ) = −3h − 2
2 2
b. g(x + 2) = −3x − 8
c. g(x) + g(2) = −3x − 10
37. g(x) = 3 − x
Answer
a. g(h ) = 3 − h
2 2
b. g(x + 2) = 1 − x
c. g(x) + g(2) = 4 − x
38. g(x) = 7 − 5x
39. f (x) = 3x 2
− 5x ; f (2)
Answer
2
41. F (x) = 2x 2
− 3x + 1 ; F (−1)
Answer
6
42. G(x) = 3x 2
− 5x + 2 ; G(−2)
Answer
22
Answer
4
47. The number of unwatched shows in Sylvia’s DVR is 85. This number grows by 20 unwatched shows per week. The
function N (t) = 85 + 20t represents the relation between the number of unwatched shows, N, and the time, t, measured in
weeks.
a. Determine the independent and dependent variable.
b. Find N (4). Explain what this result means
Answer
a. t IND; N DEP
b. N (4) = 165 the number of unwatched shows in Sylvia’s DVR at the fourth week.
48. Every day a new puzzle is downloaded into Ken’s account. Right now he has 43 puzzles in his account. The function
N (t) = 43 + t represents the relation between the number of puzzles, N, and the time, t, measured in days.
49. The daily cost to the printing company to print a book is modeled by the function C (x) = 3.25x + 1500 where C is the
total daily cost and x is the number of books printed.
a. Determine the independent and dependent variable.
b. Find N (0). Explain what this result means.
c. Find N (1000). Explain what this result means.
Answer
50. The daily cost to the manufacturing company is modeled by the function C (x) = 7.25x + 2500 where C (x) is the total
daily cost and x is the number of items manufactured.
a. Determine the independent and dependent variable.
b. Find C (0). Explain what this result means.
c. Find C (1000). Explain what this result means.
Writing Exercises
51. In your own words, explain the difference between a relation and a function.
52. In your own words, explain what is meant by domain and range.
Self Check
a. After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
b. After looking at the checklist, do you think you are well-prepared for the next section? Why or why not?
This page titled 2.1E: Exercises - Relations and Functions is shared under a CC BY license and was authored, remixed, and/or curated by
OpenStax.
3.6E: Exercises by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-2e.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Simplify (−3) without using a calculator.
2
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
3. Simplify | − 3| .
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
–
4. Simplify √4.
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
1
5. Simplify .
1/3
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
6. On a piece of graph paper, plot and label these points: A(3, -1), B(-2, -4), C(0, 0), D(-4, 0), E(0, 3).
2.2.1 https://math.libretexts.org/@go/page/48333
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
Basic Functions
In this section we graph seven basic functions that will be used throughout this course. Each function is graphed by plotting points.
Remember that f (x) = y and thus f (x) and y can be used interchangeably.
Any function of the form f (x) = c , where c is any real number, is called a constant function43. Constant functions are linear and
can be written f (x) = 0x + c . In this form, it is clear that the slope is 0 and the y -intercept is (0, c). Evaluating any value for x,
such as x = 2 , will result in c .
Figure 2.4.1
The graph of a constant function is a horizontal line. The domain is (−∞, ∞) and the range consists of the single value {c}.
We next define the identity function44 f (x) = x. Evaluating any value for x will result in that same value. For example, f (0) = 0
and f (2) = 2 . The identity function is linear, f (x) = 1x + 0 , with slope m = 1 and y -intercept (0, 0).
Figure 2.4.2
2.2.2 https://math.libretexts.org/@go/page/48333
The domain and range both consist of all real numbers, (−∞, ∞).
The squaring function45, defined by f (x) = x
2
, is the function obtained by squaring the values in the domain. For example,
f (2) = (2 ) = 4 and f (−2) = (−2 ) .The result of squaring nonzero values in the domain will always be positive.
2 2
=4
Figure 2.4.3
46
The resulting curved graph is called a parabola . The domain is (−∞, ∞) and the range is [0, ∞). We will look at parabolas
more in depth in Section 2.4.
The cubing function47, defined by f (x) = x , raises all of the values in the domain to the third power. The results can be either
3
negative, zero, or positive. For example, f (−1) = (−1) = −1, f (0) = (0) = 0 , and f (1) = (1) = 1 .
3 3 3
Figure 2.4.4
The domain and range both consist of all real numbers, (−∞, ∞).
Note that the constant, identity, squaring, and cubing functions are all examples of basic polynomial functions. The next three basic
functions are not polynomials.
The absolute value function48, defined by f (x) = |x|, is a function where the output represents the distance to the origin on a
number line. The result of evaluating the absolute value function for any nonzero value of x will always be positive. For example,
f (−2) = | − 2| = 2 and f (2) = |2| = 2 .
2.2.3 https://math.libretexts.org/@go/page/48333
Figure 2.4.5
Like the parabola, the domain is (−∞, ∞) and the range is [0, ∞).
The square root function49, defined by f (x) = √− x , is not defined to be a real number if the x-values are negative. Therefore, the
– –
smallest value in the domain is zero. For example, f (0) = √0 = 0 and f (4) = √4 = 2 .
Figure 2.4.6
The domain and range both consist of real numbers greater than or equal to zero [0, ∞).
The reciprocal function50, defined by f (x) = , is a rational function with one restriction on the domain, namely
1
x
x ≠0 . The
reciprocal of an x-value very close to zero is very large. For example,
1 10
f (1/10) = =1⋅ = 10
1
( ) 1
10
1 100
f (1/100) = =1⋅ = 100
1
( ) 1
100
1 1, 000
f (1/1, 000) = =1⋅ = 1, 000
1 1
( )
1,000
In other words, as the x-values approach zero their reciprocals will tend toward either positive or negative infinity. This describes a
vertical asymptote51 at the y -axis. Furthermore, where the x-values are very large the result of the reciprocal function is very
small.
1
f (10) = = 0.1
10
1
f (100) = = 0.01
100
1
f (1000) = = 0.001
1, 000
In other words, as the x-values become very large the resulting y -values tend toward zero. This describes a horizontal
asymptote52 at the x-axis. After plotting a number of points the general shape of the reciprocal function can be determined.
2.2.4 https://math.libretexts.org/@go/page/48333
Figure 2.4.7
Both the domain and range of the reciprocal function consists of all real numbers except 0,or (−∞, 0) ∪ (0, ∞) . We will look at
the reciprocal function more in depth in Section 2.6.
In summary, the basic polynomial functions are:
Figure 2.4.8
The basic nonpolynomial functions are:
Figure 2.4.9
2.2.5 https://math.libretexts.org/@go/page/48333
x if x ≥ 0
f (x) = |x| = {
−x if x < 0
In this case, the definition used depends on the sign of the x-value. If the x-value is positive, x ≥ 0 , then the function is defined by
f (x) = x . And if the x-value is negative, x < 0 , then the function is defined by f (x) = −x .
Figure 2.4.10
Following is the graph of the two pieces on the same rectangular coordinate plane:
Figure 2.4.11
Example 2.2.1:
2
x if x <0
Graph: g(x) = { − .
√x if x ≥0
Solution
In this case, we graph the squaring function over negative x-values and the square root function over positive x-values.
2.2.6 https://math.libretexts.org/@go/page/48333
Figure 2.4.12
Notice the open dot used at the origin for the squaring function and the closed dot used for the square root function. This was
determined by the inequality that defines the domain of each piece of the function. The entire function consists of each piece
graphed on the same coordinate plane.
Answer:
Figure 2.4.13
When evaluating, the value in the domain determines the appropriate definition to use.
Example 2.2.2:
7t + 3 if t < 0
Given the function h(t) = { 2
, find h(−5), h(0), and h(3).
−16 t + 32t if t ≥ 0
Solution
Use h(t) = 7t + 3 where t is negative, as indicated by t < 0 .
h(t) = 7t + 5
h(−5) = 7(−5) + 3
= −35 + 3
= −32
2.2.7 https://math.libretexts.org/@go/page/48333
2
h(0) = −16(0) + 32(0) and h(3) = 16(3 ) + 32(3)
= 0 +0 = −144 + 96
=0 = −48
Answer:
h(−5) = −32, h(0) = 0, and h(3) = −48
Exercise 2.2.1
2
x +1 if x < 0
Graph: f (x) = { 3
.
2
x if x ≥ 0
Answer
Figure 2.4.14
www.youtube.com/v/0hEUnSN5Blw
The definition of a function may be different over multiple intervals in the domain.
Example 2.2.3:
3
⎪x
⎧ if x < 0
Graph: f (x) = ⎨ x if 0 ≤ x ≤ 4 .
⎩
⎪
6 if x > 4
Solution
In this case, graph the cubing function over the interval (−∞, 0). Graph the identity function over the interval [0, 4]. Finally,
graph the constant function f (x) = 6 over the interval (4, ∞). And because f (x) = 6 where x > 4 , we use an open dot at the
point (4, 6). Where x = 4 , we use f (x) = x and thus (4, 4) is a point on the graph as indicated by a closed dot.
Answer:
2.2.8 https://math.libretexts.org/@go/page/48333
Figure 2.4.15
Key Takeaways
Plot points to determine the general shape of the basic functions. The shape, as well as the domain and range, of each should be
memorized.
The basic polynomial functions are: f (x) = c, f (x) = x, f (x) = x , and f (x) = x .
2 3
−
The basic nonpolynomial functions are: f (x) = |x|, f (x) = √x, and f (x) = . 1
A function whose definition changes depending on the value in the domain is called a piecewise function. The value in the
domain determines the appropriate definition to use.
Footnotes
43Any function of the form f (x) = c where c is a real number.
44
The linear function defined by f (x) = x.
45
The quadratic function defined by f (x) = x . 2
46
The curved graph formed by the squaring function.
47
The cubic function defined by f (x) = x . 3
50
The function defined by f (x) = 1
x
.
51A vertical line to which a graph becomes infinitely close.
52
A horizontal line to which a graph becomes infinitely close where the x-values tend toward ±∞ .
53
A function whose definition changes depending on the values in the domain.
54
A term used when referring to a piecewise function.
55
The function that assigns any real number x to the greatest integer less than or equal to x denoted f (x) = [x]].
56A term used when referring to the greatest integer function.
2.2: Graphing the Basic Functions is shared under a CC BY-NC-SA license and was authored, remixed, and/or curated by LibreTexts.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
2.2.9 https://math.libretexts.org/@go/page/48333
2.2E: Exercises - Graphing the Basic Functions
Exercise 2.2E. 1
Figure 2.4.17
Figure 2.4.18
Figure 2.4.19
2.2E.1 https://math.libretexts.org/@go/page/48339
Figure 2.4.20
Figure 2.4.21
Figure 2.4.22
1. f (x) = x
2. f (x) = x 2
3. f (x) = x 3
4. f (x) = |x|
5. f (x) = √−x
6. f (x) =1
Answer
1. b
3. c
5. a
2.2E.2 https://math.libretexts.org/@go/page/48339
Exercise 2.2E. 2
Evaluate.
1. f (x) = x; find f (−10), f (0), and f (a).
2. f (x) = x ; find f (−10), f (0), and f (a).
2
x
1
Answer
1. f (−10) = −10, f (0) = 0, f (a) = a
3. f (−10) = −1, 000, f (0) = 0, f (a) = a 3
Figure 2.4.23
Exercise 2.2E. 3
2. Find points on the graph of the function defined by f (x) = √−x with x-values in the set {−3, −2, 1, 2, 3}. Use a
3
Answer
1. {(−8, −2), (−1, −1), (0, 0), (1, 1), (8, 2)}
3.
2.2E.3 https://math.libretexts.org/@go/page/48339
Figure 2.4.24
Exercise 2.2E. 4
Figure 2.4.25
2.
Figure 2.4.26
2.2E.4 https://math.libretexts.org/@go/page/48339
3.
Figure 2.4.27
4.
Figure 2.4.28
Answer
1. ( 3
2
,
27
8
)
3. (− 5
2
,−
5
2
)
Exercise 2.2E. 5
x if x < 0
3. h(x) = { −
√x if x ≥ 0
|x| if x < 0
4. h(x) = { 3
x if x ≥ 0
2.2E.5 https://math.libretexts.org/@go/page/48339
|x| if x < 2
5. f (x) = {
4 if x ≥ 2
x if x < 1
6. f (x) = { −
√x if x ≥ 1
2
x if x ≤ −1
7. g(x) = {
x if x > −1
−3 if x ≤ −1
8. g(x) = { 3
x if x > −1
0 if x ≤ 0
9. h(x) = { 1
if x > 0
x
1
if x < 0
10. h(x) = {
x
2
x if x ≥ 0
2
⎧x
⎪
if x < 0
⎧x
⎪
if x < −1
12. f (x) = ⎨ x
3
if − 1 ≤ x < 1
⎩
⎪
3 if x ≥ 1
⎧ 5 if x < −2
⎪
13. g(x) = ⎨ x
2
if − 2 ≤ x < 2
⎩
⎪
x if x ≥ 2
⎧ x if x < −3
⎪
⎧ 0 if x < 0
⎪
16. 3
h(x) = ⎨ x if 0 < x ≤ 2
⎩
⎪
8 if x > 2
17. f (x) = [[
[ x + 0.5]
]
18. f (x) = [ x]
] +1
20. f (x) = 2 [ x]
]
Answer
1.
Figure 2.4.29
2.2E.6 https://math.libretexts.org/@go/page/48339
3.
Figure 2.4.50
5.
Figure 2.4.51
7.
Figure 2.4.52
9.
2.2E.7 https://math.libretexts.org/@go/page/48339
Figure 2.4.53
11.
Figure 2.4.54
13.
2.2E.8 https://math.libretexts.org/@go/page/48339
Figure 2.4.55
15.
Figure 2.4.56
17.
Figure 2.4.57
2.2E.9 https://math.libretexts.org/@go/page/48339
19.
Figure 2.4.58
Exercise 2.2E. 6
Evaluate.
2
x if x ≤ 0
1. f (x) = {
x +2 if x > 0
5. h(x) = ⎨ 2x − 3 if 0 ≤ x < 2
⎩
⎪ 2
x if x ≥ 2
6. h(x) = ⎨ x 3
if 0 < x ≤ 4
⎩
⎪ −
√x if x > 4
2.2E.10 https://math.libretexts.org/@go/page/48339
Answer
1. f (−5) = 25, f (0) = 0 , and f (3) = 5
3. g(−1) = −7, g(1) = 1 , and g(4) = 2
5. h(−2) = −5, h(0) = −3 , and h(4) = 16
7. f (−2) = −3, f (0) = −1 , and f (3) = 2
Exercise 2.2E. 7
Figure 2.4.59
2. Find f (−3), f (0), and f (1).
Figure 2.4.60
3. Find f (0), f (2), and f (4).
2.2E.11 https://math.libretexts.org/@go/page/48339
Figure 2.4.61
4. Find f (−5), f (−2), and f (2).
Figure 2.4.62
5. Find f (−3), f (−2), and f (2).
Figure 2.4.63
6. Find f (−3), f (0), and f (4).
2.2E.12 https://math.libretexts.org/@go/page/48339
Figure 2.4.64
7. Find f (−2), f (0), and f (2).
Figure 2.4.65
8. Find f (−3), f (1), and f (2).
Figure 2.4.66
9. The value of an automobile in dollars is given in terms of the number of years since it was purchased new in 1975:
2.2E.13 https://math.libretexts.org/@go/page/48339
Figure 2.4.67
(1) Determine the value of the automobile in the year 1980.
(2) In what year is the automobile valued at $9, 000?
10. The cost per unit in dollars of custom lamps depends on the number of units produced according to the following
graph:
Figure 2.4.68
(1) What is the cost per unit if 250 custom lamps are produced?
(2) What level of production minimizes the cost per unit?
11. An automobile salesperson earns a commission based on total sales each month x according to the function:
⎧ 0.03x if 0 ≤ x < $20, 000
⎪
(1) If the salesperson’s total sales for the month are $35, 500, what is her commission according to the function?
(2) To reach the next level in the commission structure, how much more in sales will she need?
12. A rental boat costs $32 for one hour, and each additional hour or partial hour costs $8. Graph the cost of the rental
boat and determine the cost to rent the boat for 4 hours.
1
Answer
1. f (−4) = 1, f (−2) = 1 , and f (0) = 0
3. f (0) = 0, f (2) = 8 , and f (4) = 0
5. f (−3) = 5, f (−2) = 4 , and f (2) = 2
2.2E.14 https://math.libretexts.org/@go/page/48339
7. f (−2) = −1, f (0) = 0 , and f (2) = 1
9. (1) $3, 000; (2) 2005
11. (1) $1, 775; (2) $14, 500
2.2E: Exercises - Graphing the Basic Functions is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.
2.2E.15 https://math.libretexts.org/@go/page/48339
2.3: Using Transformations to Graph Functions
Learning Objectives
Define the rigid transformations and use them to sketch graphs.
Define the non-rigid transformations and use them to sketch graphs.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Sketch a graph of each of the following functions. Include at least 3 key points on each graph.
a. y = x
b. y = x 2
c. y = x3
2.3.1 https://math.libretexts.org/@go/page/48334
d. y = |x|
e. y = √−
x
1
f. y =
x
2.3.2 https://math.libretexts.org/@go/page/48334
If you missed any part of this problem, review Section 2.2. (Note that this will open in a new window.)
When the graph of a function is changed in appearance and/or location we call it a transformation. There are two types of
transformations. A rigid transformation57 changes the location of the function in a coordinate plane, but leaves the size and shape
of the graph unchanged. A non-rigid transformation58 changes the size and/or shape of the graph.
Figure 2.5.1
Now plot the points and compare the graphs of the functions g and h to the basic graph of f (x) = x
2
, which is shown using a
dashed grey curve below.
2.3.3 https://math.libretexts.org/@go/page/48334
Figure 2.5.2
The function g shifts the basic graph down 3 units and the function h shifts the basic graph up 3 units. In general, this describes the
vertical translations; if k is any positive real number:
Table 2.5.1
Example 2.3.1:
Solution
Begin with the basic function defined by f (x) = √−
x and shift the graph up 4 units.
Answer:
Figure 2.5.3
A horizontal translation60 is a rigid transformation that shifts a graph left or right relative to the original graph. This occurs when
we add or subtract constants from the x-coordinate before the function is applied. For example, consider the functions defined by
g(x) = (x + 3)
2
and h(x) = (x − 3) and create the following tables:
2
2.3.4 https://math.libretexts.org/@go/page/48334
Figure 2.5.4
Here we add and subtract from the x-coordinates and then square the result. This produces a horizontal translation.
Figure 2.5.5
Note that this is the opposite of what you might expect. In general, this describes the horizontal translations; if h is any positive
real number:
Table 2.5.2
Example 2.3.2:
Solution
Begin with a basic cubing function defined by f (x) = x and shift the graph 4 units to the right.
3
Answer:
2.3.5 https://math.libretexts.org/@go/page/48334
Figure 2.5.6
Example 2.3.3:
Answer:
Figure 2.5.7
The order in which we apply horizontal and vertical translations does not affect the final graph.
Example 2.3.4:
x−5
+3 .
Solution
2.3.6 https://math.libretexts.org/@go/page/48334
Begin with the reciprocal function and identify the translations.
1
y = Basic f unction
x
1
y = H orizontal shif t right 5 units
x−5
1
y = +3 V ertical shif t up 3 units
x−5
Take care to shift the vertical asymptote from the y-axis 5 units to the right and shift the horizontal asymptote from the x-axis
up 3 units.
Answer:
Figure 2.5.8
Exercise 2.3.1
Answer
Figure 2.5.9
www.youtube.com/v/6F6zKaogxTE
2.3.7 https://math.libretexts.org/@go/page/48334
Reflections
A reflection61 is a transformation in which a mirror image of the graph is produced about an axis. In this section, we will consider
reflections about the x- and y -axis. The graph of a function is reflected about the x-axis if each y -coordinate is multiplied by −1.
The graph of a function is reflected about the y -axis if each x-coordinate is multiplied by −1 before the function is applied. For
example, consider g(x) = √−− −
−x and h(x) = −√x .
−
Figure 2.5.10
Compare the graph of g and h to the basic square root function defined by f (x) = √−
x , shown dashed in grey below:
Figure 2.5.11
The first function g has a negative factor that appears “inside” the function; this produces a reflection about the y -axis. The second
function h has a negative factor that appears “outside” the function; this produces a reflection about the x-axis. In general, it is true
that:
Table 2.5.3
When sketching graphs that involve a reflection, consider the reflection first and then apply the vertical and/or horizontal
translations.
Example 2.3.5:
2
y = −x Relf ection about the x − axis.
2
y = −(x + 5 ) H orizontal shif t lef t 5 units.
2
y = −(x + 5 ) +3 V ertical shif t up 3 units.
2.3.8 https://math.libretexts.org/@go/page/48334
Use these translations to sketch the graph.
Answer:
Figure 2.5.12
Exercise 2.3.2
Answer
Figure 2.5.13
www.youtube.com/v/XsbLkFWWzBc
Dilations
Horizontal and vertical translations, as well as reflections, are called rigid transformations because the shape of the basic graph is
left unchanged, or rigid. Functions that are multiplied by a real number other than 1, depending on the real number, appear to be
stretched vertically or stretched horizontally. This type of non-rigid transformation is called a dilation62. For example, we can
multiply the squaring function f (x) = x by 4 and to see what happens to the graph.
2 1
2.3.9 https://math.libretexts.org/@go/page/48334
Figure 2.5.14
Compare the graph of g and h to the basic squaring function defined by f (x) = x , shown dashed in grey below:
2
Figure 2.5.15
The function g is steeper than the basic squaring function and its graph appears to have been stretched vertically. The function h is
not as steep as the basic squaring function and appears to have been stretched horizontally.
In general, we have:
Table 2.5.4
If the factor a is a nonzero fraction between −1 and 1, it will stretch the graph horizontally. Otherwise, the graph will be stretched
vertically. If the factor a is negative, then it will produce a reflection as well.
Example 2.3.6:
2.3.10 https://math.libretexts.org/@go/page/48334
Figure 2.5.16
Use the points {(−1, −2), (0, 0), (1, −2)} to graph the reflected and dilated function y = −2|x| . Then translate this graph 5
Answer:
Figure 2.5.17
Table 2.5.1
Table 2.5.2
Table 2.5.3
2.3.11 https://math.libretexts.org/@go/page/48334
Table 2.5.4
Key Takeaways
Identifying transformations allows us to quickly sketch the graph of functions. This skill will be useful as we progress in our
study of mathematics. Often a geometric understanding of a problem will lead to a more elegant solution.
If a positive constant is added to a function, f (x) + k , the graph will shift up. If a positive constant is subtracted from a
function, f (x) − k , the graph will shift down. The basic shape of the graph will remain the same.
If a positive constant is added to the value in the domain before the function is applied, f (x + h) , the graph will shift to the left.
If a positive constant is subtracted from the value in the domain before the function is applied, f (x − h) , the graph will shift
right. The basic shape will remain the same.
Multiplying a function by a negative constant, −f (x), reflects its graph in the x-axis. Multiplying the values in the domain by
−1 before applying the function, f (−x), reflects the graph about the y -axis.
horizontally.
Footnotes
57A set of operations that change the location of a graph in a coordinate plane but leave the size and shape unchanged.
58
A set of operations that change the size and/or shape of a graph in a coordinate plane.
59
A rigid transformation that shifts a graph up or down.
60A rigid transformation that shifts a graph left or right.
61
A transformation that produces a mirror image of the graph about an axis.
62
A non-rigid transformation, produced by multiplying functions by a nonzero real number, which appears to stretch the graph
either vertically or horizontally.
2.3: Using Transformations to Graph Functions is shared under a CC BY-NC-SA license and was authored, remixed, and/or curated by
LibreTexts.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
2.3.12 https://math.libretexts.org/@go/page/48334
2.3E: Exercises - Using Transformations to Graph Functions
Exercise 2.3E. 3
Figure 2.5.18
Figure 2.5.19
Figure 2.5.20
2.3E.1 https://math.libretexts.org/@go/page/48344
Figure 2.5.21
Figure 2.5.22
Figure 2.5.23
−−−−−
1.f (x) = √x + 4
2. f (x) = |x − 2| − 2
−−−−−
3. f (x) = √x + 1 − 1
4. f (x) = |x − 2| + 1
−−−−−
5. f (x) = √x + 4 + 1
6. f (x) = |x + 2| − 2
Answer
1. e
3. d
5. f
2.3E.2 https://math.libretexts.org/@go/page/48344
Exercise 2.3E. 4
Graph the given function. Identify the basic function and translations used to sketch the graph. Then state the domain and
range.
1. f (x) = x + 3
2. f (x) = x − 2
3. g(x) = x + 1
2
4. g(x) = x − 4
2
5. g(x) = (x − 5) 2
6. g(x) = (x + 1) 2
7. g(x) = (x − 5) + 2
2
8. g(x) = (x + 2) − 5
2
9. h(x) = |x + 4|
10. h(x) = |x − 4|
11. h(x) = |x − 1| − 3
12. h(x) = |x + 2| − 5
13. g(x) = √− x −5
− −−−−
14. g(x) = √x − 5
− −−−−
15. g(x) = √x − 2 + 1
− −−−−
16. g(x) = √x + 2 + 3
17. h(x) = (x − 2) 3
18. h(x) = x + 4 3
19. h(x) = (x − 1) − 4
3
20. h(x) = (x + 1) + 3
3
23. f (x) = + 5
1
24. f (x) = − 3
1
27. g(x) = −4
28. g(x) = 2
−−−−−
29. f (x) = √x − 2 + 6
3
−−−−−
30. f (x) = √x + 8 − 4
3
Answer
1. y = x ; Shift up 3 units; domain: R ; range: R
Figure 2.5.24
2.3E.3 https://math.libretexts.org/@go/page/48344
3. y = x ; Shift up 1 unit; domain: R ; range: [1, ∞)
2
Figure 2.5.25
5. y = x ; Shift right 5 units; domain: R ; range: [0, ∞)
2
Figure 2.5.26
7. y = x ; Shift right 5 units and up 2 units; domain: R ; range: [2, ∞)
2
Figure 2.5.27
9. y = |x| ; Shift left 4 units; domain: R ; range: [0, ∞)
2.3E.4 https://math.libretexts.org/@go/page/48344
Figure 2.5.28
11. y = |x| ; Shift right 1 unit and down 3 units; domain: R ; range: [−3, ∞)
Figure 2.5.29
13. y = √−
x ; Shift down 5 units; domain: [0, ∞); range: [−5, ∞)
Figure 2.5.30
−
15. y = √x ; Shift right 2 units and up 1 unit; domain: [2, ∞); range: [1, ∞)
2.3E.5 https://math.libretexts.org/@go/page/48344
Figure 2.5.31
17. y = x ; Shift right 2 units; domain: R ; range: R
3
Figure 2.5.32
19. y = x ; Shift right 1 unit and down 4 units; domain: R ; range: R
3
Figure 2.5.33
21. y = 1
x
; Shift right 2 units; domain: (−∞, 2) ∪ (2, ∞) ; range: (−∞, 0) ∪ (0, ∞)
2.3E.6 https://math.libretexts.org/@go/page/48344
Figure 2.5.34
23. y = 1
x
; Shift up 5 units; domain: (−∞, 0) ∪ (0, ∞) ; range: (−∞, 1) ∪ (1, ∞)
Figure 2.5.35
25. y = 1
x
; Shift left 1 unit and down 2 units; domain: (−∞, −1) ∪ (−1, ∞) ; range: (−∞, −2) ∪ (−2, ∞)
2.3E.7 https://math.libretexts.org/@go/page/48344
Figure 2.5.36
27. Basic graph y = −4 ; domain: R ; range: {−4}
Figure 2.5.37
29. 3 −
y = √x ; Shift up 6 units and right 2 units; domain: R ; range: R
Figure 2.5.38
2.3E.8 https://math.libretexts.org/@go/page/48344
Exercise 2.3E. 5
x +2 if x < 0
6. h(x) = { 2
(x − 2) if x ≥ 0
2
⎧ (x + 10 )
⎪
−4 if x < −8
7. h(x) = ⎨ x + 4 if − 8 ≤ x < −4
⎩
⎪ −−−−−
√x + 4 if x ≥ −4
⎧ x + 10
⎪
if x ≤ −10
8. f (x) = ⎨ |x − 5| − 15 if − 10 < x ≤ 20
⎩
⎪
10 if x > 20
Answer
1.
Figure 2.5.39
3.
2.3E.9 https://math.libretexts.org/@go/page/48344
Figure 2.5.40
5.
Figure 2.5.41
7.
Figure 2.5.42
Exercise 2.3E. 6
2.3E.10 https://math.libretexts.org/@go/page/48344
Figure 2.5.43
2.
Figure 2.5.44
3.
2.3E.11 https://math.libretexts.org/@go/page/48344
Figure 2.5.45
4.
Figure 2.5.46
5.
2.3E.12 https://math.libretexts.org/@go/page/48344
Figure 2.5.47
6.
Figure 2.5.48
7.
Figure 2.5.49
8.
2.3E.13 https://math.libretexts.org/@go/page/48344
Figure 2.5.50
Answer
−−−−−
1. f (x) = √x − 5
3. f (x) = (x − 15) 2
− 10
5. f (x) = 1
x+8
+4
−−−− −
7. f (x) = √x + 16 − 4
Exercise 2.3E. 6
Figure 2.5.51
Figure 2.5.52
2.3E.14 https://math.libretexts.org/@go/page/48344
Figure 2.5.53
Figure 2.5.54
Figure 2.5.55
Figure 2.5.56
1. f (x) = −3|x|
2. f (x) = −(x + 3) − 1
2
3. f (x) = −|x + 1| + 2
4. f (x) = −x + 1
2
5. f (x) = − |x|
1
6. f (x) = −(x − 2) + 2
2
2.3E.15 https://math.libretexts.org/@go/page/48344
Answer
1. b
3. d
5. f
Exercise 2.3E. 7
−−
−
5. h(x) = √−x + 2
6. g(x) = −√− x +2
7. g(x) = −(x + 2) 3
−−−−−
8. h(x) = −√x − 2 + 1
9. g(x) = −x + 4 3
10. f (x) = −x + 6 2
13. h(x) = (x − 1)
1
2
2
14. h(x) = (x + 2)
1
3
2
−−−−−
15. g(x) = − √x − 3
1
2
−−−−−
16. f (x) = −5√x + 2
−− −−−
17. f (x) = 4√x − 1 + 2
18. h(x) = −2x + 1
19. g(x) = − (x + 3) − 1
1
4
3
Answer
1.
Figure 2.5.57
2.3E.16 https://math.libretexts.org/@go/page/48344
3.
Figure 2.5.58
5.
Figure 2.5.59
7.
2.3E.17 https://math.libretexts.org/@go/page/48344
Figure 2.5.60
9.
Figure 2.5.61
11.
2.3E.18 https://math.libretexts.org/@go/page/48344
Figure 2.5.62
13.
Figure 2.5.63
15.
Figure 2.5.64
17.
2.3E.19 https://math.libretexts.org/@go/page/48344
Figure 2.5.65
19.
Figure 2.5.66
21.
Figure 2.5.67
23.
2.3E.20 https://math.libretexts.org/@go/page/48344
Figure 2.5.68
Exercise 2.3E. 8
1. Use different colors to graph the family of graphs defined by y = kx , where k ∈ {1, , , } . What happens to
2 1
2
1
3
1
the graph when the denominator of k is very large? Share your findings on the discussion board.
2. Graph f (x) = √− −
x and g(x) = −√x on the same set of coordinate axes. What does the general shape look like? Try
to find a single equation that describes the shape. Share your findings.
3. Explore what happens to the graph of a function when the domain values are multiplied by a factor a before the
function is applied, f (ax). Develop some rules for this situation and share them on the discussion board.
Answer
1. Answer may vary
3. Answer may vary
2.3E: Exercises - Using Transformations to Graph Functions is shared under a not declared license and was authored, remixed, and/or curated by
LibreTexts.
2.3E.21 https://math.libretexts.org/@go/page/48344
2.4: Graphing Quadratic Functions Using Properties
Learning Objectives
By the end of this section, you will be able to:
Recognize the graph of a quadratic function
Find the axis of symmetry and vertex of a parabola
Find the intercepts of a parabola
Graph quadratic functions using properties
Identify domain and range of quadratic functions
Solve maximum and minimum applications
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Sketch a graph of y = x . Include at least 3 key points on the graph.
2
If you missed this problem, review Section 2.2. (Note that this will open in a new window.)
2. If f (x) = 2x2
−x +1 , find each of the following:
a. f (3)
b. f (−2)
functions we looked at. Now we will graph functions of the form f (x) = ax + bx + c if a ≠ 0 . We call this kind of function a
2
quadratic function.
2.4.1 https://math.libretexts.org/@go/page/48335
Definition 2.4.1
A quadratic function, where a, b, and c are real numbers and a ≠ 0 , is a function of the form
2
f (x) = ax + bx + c
Figure 9.6.1
Every quadratic function has a graph that looks like this. We call this figure a parabola. Let’s practice graphing a parabola by
plotting a few points.
Example 2.4.1
Graph: f (x) = x 2
−1 .
Solution:
We will graph the function by plotting points.
Exercise 2.4.1
Graph f (x) = −x . 2
Answer
2.4.2 https://math.libretexts.org/@go/page/48335
Exercise 2.4.2
Graph f (x) = x 2
+2 .
Answer
Notice that the only difference in the two equations is the negative sign in the quadratic term (ax . When the quadratic term (ax is
2 2
positive, the parabola opens upward. When the quadratic term (ax is negative, the parabola opens downward.
2
2.4.3 https://math.libretexts.org/@go/page/48335
Definition 2.4.2
Parabola Orientation
For the graph of the quadratic function f (x) = ax2
+ bx + c , if
Example 2.4.2
b. f (x) = 6x + 7x − 9
2
Solution:
a. Find the value of a .
Exercise 2.4.3
Determine whether the graph of each function is a parabola that opens upward or downward:
a. f (x) = 2x + 5x − 2
2
b. f (x) = −3x − 4x + 7
2
Answer
a. up
b. down
Exercise 2.4.4
Determine whether the graph of each function is a parabola that opens upward or downward:
a. f (x) = −2x − 2x − 3
2
b. f (x) = 5x − 2x − 1
2
Answer
a. down
b. up
2.4.4 https://math.libretexts.org/@go/page/48335
The equation of the axis of symmetry can be derived by using the Quadratic Formula. We will omit the derivation here and proceed
directly to using the result. The equation of the axis of symmetry of the graph of f (x) = ax + bx + c is x = − . 2 b
2a
So to find the equation of symmetry of each of the parabolas we graphed above, we will substitute into the formula x = − b
2a
.
Notice that these are the equations of the dashed blue lines on the graphs.
The point on the parabola that is the lowest (parabola opens up), or the highest (parabola opens down), lies on the axis of
symmetry. This point is called the vertex of the parabola.
We can easily find the coordinates of the vertex, because we know it is on the axis of symmetry. This means its
x-coordinate is − . To find the y -coordinate of the vertex we substitute the value of the x-coordinate into the quadratic function.
b
2a
For the function f of x equals x squared plus 4 x plus 3, the axis of symmetry is x equals negative 2. The vertex is the point on the parabola with x-coordinate negative 2. Substitute x equals negative 2 into the function
f of x equals x squared plus 4 x plus 3. F of x equals the square of negative 2 plus 4 times negative 2 plus 3, so f of x equals negative 1. The vertex is the point (negative 2, negative 1). For the function f of x equals
negative x squared plus 4 x plus 3, the axis of symmetry is x equals 2. The vertex is the point on the parabola with x-coordinate 2. Substitute x equals 2 into the function f of x equals x squared plus 4 x plus 3. F of x
equals 2 squared plus 4 times 2 plus 3, so f of x equals 7. The vertex is the point (2, 7).
2a
2a
the y -coordinate of the vertex is found by substituting x = − into the quadratic function. b
2a
The range, however, will depend on the a value and the vertex. If a > 0 , then the y-values will include the y-value of the vertex
and everything higher. It will be expressed as [f (− ), ∞). If a < 0 , then the y-values will include everything lower than the
b
2a
maximum value, up to and including the maximum value. It will be expressed as (−∞, f (− )] . b
2a
2.4.5 https://math.libretexts.org/@go/page/48335
Example 2.4.3
2a
.
−6
Substitute the values a, b into the equation. x = −
2⋅3
Simplify. x = 1
b.
2
f (x) = 3 x − 6x + 2
Simplify.
c.
2
f (x) = 3 x − 6x + 2
The range depends on the a value and the vertex. a = 3 , so a is positive and the parabola opens upward.
The vertex is (1, −1), so the parabola has a minimum y-value of −1.
Exercise 2.4.5
Answer
a. x = 2
b. (2, 9)
c. Domain: (−∞, ∞) , Range: (−∞, 9]
2.4.6 https://math.libretexts.org/@go/page/48335
Exercise 2.4.6
Answer
a. x = 1
b. (1, −5)
c. Domain: (−∞, ∞) , Range: [−5, ∞)
An x-intercept results when the value of f (x) is zero. To find an x-intercept, we let f (x) = 0 . In other words, we will need to
solve the equation 0 = ax + bx + c for x. 2
2
f (x) = ax + bx + c
2
0 = ax + bx + c
While several methods exist to solve quadratic equations like this, we will rely on the quadratic formula for the purposes of this
course.
Definition 2.4.3
We can now find the x-intercepts of the two parabolas we looked at. First we will find the x-intercepts of the parabola whose
function is f (x) = x + 4x + 3 . 2
2
f (x) = x + 4x + 3
Let f (x) = 0. 0 = x
2
+ 4x + 3
2a
2
−4±√4 −4(1)(3)
a = 1, b = 4, c = 3
x =
2(1)
Simplify. x =
−4±√4
−4±2
x =
2
x = −2 ± 1
x = −1andx = −3
2.4.7 https://math.libretexts.org/@go/page/48335
Now we will find the x-intercepts of the parabola whose function is f (x) = −x 2
+ 4x + 3 .
2
f (x) = −x + 4x + 3
Let f (x) = 0. 0 = −x
2
+ 4x + 3
2a
2
−4±√4 −4(−1)(3)
a = −1, b = 4, c = 3
x =
2(−1)
Simplify. x =
−4±√28
−2
−4±2√7
x =
−2
−2(2±√7)
x =
−2
–
x = 2 ± √7
– –
The x -intercepts are (2 + √7, 0) and (2 − √7, 0) .
We will use the decimal approximations of the x-intercepts, so that we can locate these points on the graph,
– –
(2 + √7, 0) ≈ (4.6, 0) (2 − √7, 0) ≈ (−0.6, 0)
2.4.8 https://math.libretexts.org/@go/page/48335
Example 2.4.4
2
f (0) = 0 −2 ⋅0 −8
f (0) = −8
When x = 0 , then f (0) = −8. The y -intercept is the point (0, −8).
2
0 = x − 2x − 8
2a
2
2±√(−2) −4(1)(−8)
a = 1, b = −2, c = −8
x =
2(1)
2±√36
Simplify. x =
2
2±6
x =
2
x = 1 ±3
x = 4 or x = −2
Exercise 2.4.7
Answer
y -intercept: (0, −8)x -intercepts (−4, 0), (2, 0)
Exercise 2.4.8
Answer
y -intercept: (0, −12)x -intercepts (−2, 0), (6, 0)
2.4.9 https://math.libretexts.org/@go/page/48335
Example 2.4.6 How to Graph a Quadratic Function Using Properties
Graph f (x) = x 2
− 6x + 8 by using its properties.
Solution:
Axis of Symmetry
b
x = −
2 2a
f (x) = x − 6x + 8
Step 2: Find the axis of symmetry. x = −
(−6)
2a
. 2⋅1
x = 3
f (0) = 8
x -intercepts
2
f (x) = x − 6x + 8
2
0=x − 6x + 8
We solve f (x) = 0 . 2
6±√(−6) −4(1)(8)
Step 6: Find the x -intercepts. We can solve this quadratic equation by using x =
2(1)
the quadratic formula. 6±2
x =
2
x = 2 or x = 4
The x -intercepts are (2, 0) and (4, 0) .
2.4.10 https://math.libretexts.org/@go/page/48335
Exercise 2.4.11
Graph f (x) = x 2
+ 2x − 8 by using its properties.
Answer
Exercise 2.4.12
Graph f (x) = x 2
− 8x + 12 by using its properties.
Answer
This figure shows an upward-opening parabola graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 10 to 10. The y-axis of the plane runs from negative 10 to 15. The axis of
symmetry, x equals 4, is graphed as a dashed line. The parabola has a vertex at (4, negative 4). The y-intercept of the parabola is the point (0, 12). The x-intercepts of the parabola are the points (2, 0) and (6,
0).
Exercise 2.4.13
Answer
Figure 9.6.124
2.4.11 https://math.libretexts.org/@go/page/48335
Minimum or Maximum Values of a Quadratic Function
The y-coordinate of the vertex of the graph of a quadratic function is the
minimum value of the quadratic equation if the parabola opens upward.
maximum value of the quadratic equation if the parabola opens downward.
Example 2.4.10
2
x = −
2×1
x = −1
Find f (−1).
f (−1) = 1 − 2 − 8
f (−1) = −9
Exercise 2.4.14
Answer
The minimum value of the quadratic function is −4 and it occurs when x = 4 .
2.4.12 https://math.libretexts.org/@go/page/48335
Exercise 2.4.15
Find the maximum or minimum value of the quadratic function f (x) = −4x 2
+ 16x − 11 .
Answer
The maximum value of the quadratic function is 5 and it occurs when x = 2 .
The maximum or minimum values have many business applications. For example, businesses may want to find their maximum
profit or minimum cost.
Example 2.4.11
A company that sells televisions has found their revenue to be determined by R(t) = −50t 2
+ 2000t , where t is the number
of televisions sold.
a. Find the value of t that will produce the maximum revenue.
b. What is the maximum revenue?
Solution:
2
R(t) = −50 t + 2000t
2000
t =−
2(−50)
t = 20
2
R(t) = −50(20 ) + 2000(20)
Exercise 2.4.16
Answer
The bakery will earn a maximum profit of $245 if 76 cupcakes are baked each day.
2.4.13 https://math.libretexts.org/@go/page/48335
Example 2.4.12
The television company from example 11 has found their profit to be determined by P (t) = −50t 2
+ 1500t − 4000 , where t
is the number of televisions sold.
a. Find the break-even points, rounding to the nearest whole number if necessary.
b. What range of television sales will result in a profit? A loss?
Solution:
2
P (t) = −50 t + 1500t − 4000
a. The break-even points exist when the profit is $0. On the parabola, this exists when y is zero, or at the x-intercepts.
Substitute 0 in for P (t).
2
P (t) = −50 t + 1500t − 4000
2
0 = −50 t + 1500t − 4000
2
−1500±√(1500 ) −4(−50)(−4000)
t =
2(−50)
−1500±√1450000
t =
−100
−1500±1204.2
t ≈
−100
−295.8 −2704.2
t ≈
−100
or t ≈ −100
t ≈ 2.958 or t ≈ 27.042
The x-intercepts of the parabola are approximately (0, 3) and (0, 27).
The company will break even, or make a profit of $0, when either 3 or 27 televisions are sold.
b. Since the a value of the function is negative, the parabola will open downward. This means that the profit will be positive
between the two x-intercepts and will be negative outside of the x-intercepts.
The company will make a profit by selling more than 3 and less than 27 televisions.
The company will lose money by selling less than than 3 or more than 27 televisions.
Exercise 2.4.17
The bakery from exercise 16 has found their profit to be determined by P (c) = −2c 2
+ 304c − 11307 , where c is the number
of cupcakes baked each day.
a. Find the break-even points, rounding to the nearest whole number if necessary.
b. What range of cupcake production will result in a profit? A loss?
Answer
a. The break-even points occur if the bakery makes 65 or 87 cupcakes each day.
b. The bakery will earn a profit if it bakes more than 65 and less than 87 cupcakes each day; it will lose money if it bakes
less than 65 or more than 87 cupcakes each day.
Key Concepts
Parabola Orientation
For the graph of the quadratic function f (x) = ax 2
+ bx + c , if
2.4.14 https://math.libretexts.org/@go/page/48335
a >0 , the parabola opens upward.
a <0 , the parabola opens downward.
Axis of Symmetry and Vertex of a Parabola The graph of the function f (x) = ax 2
+ bx + c is a parabola where:
the axis of symmetry is the vertical line x = − .b
2a
2a
the y -coordinate of the vertex is found by substituting x = − into the quadratic equation.
b
2a
Glossary
quadratic function
A quadratic function, where a, b, and c are real numbers and a ≠ 0 , is a function of the form f (x) = ax 2
+ bx + c .
2.4: Graphing Quadratic Functions Using Properties is shared under a not declared license and was authored, remixed, and/or curated by
LibreTexts.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
2.4.15 https://math.libretexts.org/@go/page/48335
2.4E: Exercises - Graphing Quadratic Functions Using Properties
Practice Makes Perfect
2. f (x) = x 2
−3
3. y = −x 2
+1
4. f (x) = −x 2
−1
Answer
1.
3.
6. a. f (x) = 4x 2
+x −4 b. f (x) = −9x 2
− 24x − 16
8. a. f (x) = x 2
+ 3x − 4 b. f (x) = −4x 2
− 12x − 9
Answer
5. a. down b. up
7. a. down b. up
10. f (x) = x 2
+ 10x + 25
11. f (x) = −x 2
+ 2x + 5
Answer
9. a. Axis of symmetry: x = −4 b. Vertex: (−4, −17)
11. a. Axis of symmetry: x = 1 b. Vertex: (1, 2)
In the following exercises, find the intercepts of the parabola whose function is given.
13. f (x) = x 2
+ 7x + 6
14. f (x) = x 2
+ 10x − 11
15. f (x) = x 2
+ 8x + 12
16. f (x) = x 2
+ 5x + 6
17. f (x) = −x 2
+ 8x − 19
19. f (x) = x 2
+ 6x + 13
20. f (x) = x 2
+ 8x + 12
21. f (x) = 4x 2
− 20x + 25
22. f (x) = −x 2
− 14x − 49
23. f (x) = −x 2
− 6x − 9
24. f (x) = 4x 2
+ 4x + 1
Answer
13. y-intercept: (0, 6); x -intercept(s): (−1, 0), (−6, 0)
15. y-intercept: (0, 12); x -intercept(s): (−2, 0), (−6, 0)
17. y-intercept: (0, −19); x -intercept(s): none
19. y-intercept: (0, 13); x -intercept(s): none
21. y-intercept: (0, −16); x -intercept(s): ( 5
2
, 0)
26. f (x) = x2
+ 4x − 12
27. f (x) = x2
+ 4x + 3
28. f (x) = x2
− 6x + 8
29. f (x) = 9x 2
+ 12x + 4
30. f (x) = −x 2
+ 8x − 16
31. f (x) = −x 2
+ 2x − 7
32. f (x) = 5x 2
+2
33. f (x) = 2x 2
− 4x + 1
34. f (x) = 3x 2
− 6x − 1
35. f (x) = 2x 2
− 4x + 2
37. f (x) = −x 2
− 4x + 2
38. f (x) = x2
+ 6x + 8
39. f (x) = 5x 2
− 10x + 8
41. f (x) = 3x 2
+ 18x + 20
Answer
25.
Figure 9.6.136
27.
Figure 9.6.138
31.
Figure 9.6.139
33.
Figure 9.6.140
35.
Figure 9.6.142
39.
Figure 9.6.143
41.
Figure 9.6.144
In the following exercises, find the maximum or minimum value of each function.
43. f (x) = 2x 2
+x −1
44. y = −4x 2
+ 12x − 5
45. y = x2
− 6x + 15
46. y = −x 2
+ 4x − 5
47. y = −9x 2
+ 16
48. y = 4x 2
− 49
Answer
43. The minimum value is − 9
8
when x = − .1
height.
50. A stone is thrown vertically upward from a platform that is 20 feet height at a rate of 160 ft/sec. Use the quadratic function
h(t) = −16 t + 160t + 20 to find how long it will take the stone to reach its maximum height, and then find the maximum
2
height.
51. A ball is thrown vertically upward from the ground with an initial velocity of 109 ft/sec. Use the quadratic function
h(t) = −16 t + 109t + 0 to find how long it will take for the ball to reach its maximum height, and then find the maximum
2
height.
52. A ball is thrown vertically upward from the ground with an initial velocity of 122 ft/sec. Use the quadratic function
h(t) = −16 t + 122t + 0 to find how long it will take for the ball to reach its maximum height, and then find the maximum
2
height.
53. A computer store owner estimates that by charging x dollars each for a certain computer, he can sell 40 − x computers
each week. The quadratic function R(x) = −x + 40x is used to find the revenue, R , received when the selling price of a
2
computer is x, Find the selling price that will give him the maximum revenue, and then find the amount of the maximum
revenue.
54. A retailer who sells backpacks estimates that by selling them for x dollars each, he will be able to sell 100 − x backpacks a
month. The quadratic function R(x) = −x + 100x is used to find the R , received when the selling price of a backpack is x.
2
Find the selling price that will give him the maximum revenue, and then find the amount of the maximum revenue.
55. A retailer who sells fashion boots estimates that by selling them for x dollars each, he will be able to sell 70 − x boots a
week. Use the quadratic function R(x) = −x + 70x to find the revenue received when the average selling price of a pair of
2
fashion boots is x. Find the selling price that will give him the maximum revenue, and then find the amount of the maximum
revenue per day.
56. A cell phone company estimates that by charging x dollars each for a certain cell phone, they can sell 8 − x cell phones per
day. Use the quadratic function R(x) = −x + 8x to find the revenue received per day when the selling price of a cell phone
2
is x. Find the selling price that will give them the maximum revenue per day, and then find the amount of the maximum
revenue.
57. A rancher is going to fence three sides of a corral next to a river. He needs to maximize the corral area using 240 feet of
fencing. The quadratic equation A(x) = x(240 − 2x) gives the area of the corral, A , for the length, x, of the corral along the
river. Find the length of the corral along the river that will give the maximum area, and then find the maximum area of the
corral.
58. A veterinarian is enclosing a rectangular outdoor running area against his building for the dogs he cares for. He needs to
maximize the area using 100 feet of fencing. The quadratic function A(x) = x(100 − 2x) gives the area, A , of the dog run for
the length, x, of the building that will border the dog run. Find the length of the building that should border the dog run to give
the maximum area, and then find the maximum area of the dog run.
59. A land owner is planning to build a fenced in rectangular patio behind his garage, using his garage as one of the “walls.”
He wants to maximize the area using 80 feet of fencing. The quadratic function A(x) = x(80 − 2x) gives the area of the
patio, where x is the width of one side. Find the maximum area of the patio.
60. A family of three young children just moved into a house with a yard that is not fenced in. The previous owner gave them
300 feet of fencing to use to enclose part of their backyard. Use the quadratic function A(x) = x(300 − 2x) to determine the
Answer
What is the difference between their graphs? How are their graphs the same?
62. Explain the process of finding the vertex of a parabola.
63. Explain how to find the intercepts of a parabola.
64. How can you use the discriminant when you are graphing a quadratic function?
Answer
1. Answers will vary.
3. Answers will vary.
Self Check
a. After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
Figure 9.6.145
b. After looking at the checklist, do you think you are well-prepared for the next section? Why or why not?
This page titled 2.4E: Exercises - Graphing Quadratic Functions Using Properties is shared under a CC BY license and was authored, remixed,
and/or curated by OpenStax.
9.7E: Graph Quadratic Functions Using Properties (Exercises) by OpenStax is licensed CC BY 4.0. Original source:
https://openstax.org/details/books/intermediate-algebra-2e.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Sketch a graph of y = x . Include at least 3 key points on the graph.
2
If you missed this problem, review Section 2.2. (Note that this will open in a new window.)
2. Use transformations to sketch a graph of each of the following functions. Include at least 3 key points on each graph.
1
a. y = 2
x
2
b. y = 2x 2
c. y = −2x 2
2.5.1 https://math.libretexts.org/@go/page/48337
b. y = 2x 2
c. y = −2x 2
If you missed part a or b of this problem, review dilations in Section 2.3. (Note that this will open in a new window.)
If you missed part c of this problem, review reflections in Section 2.3. (Note that this will open in a new window.)
2.5.2 https://math.libretexts.org/@go/page/48337
If you missed this problem, review Section 2.2. (Note that this will open in a new window.)
4. Use transformations to sketch a graph of each of the following functions. Include at least 3 key points on each graph.
1
a. y = 3
x
2
b. y = 2x 3
c. y = −2x 3
b. y = 2x 3
2.5.3 https://math.libretexts.org/@go/page/48337
c. y = −2x 3
If you missed part a or b of this problem, review dilations in Section 2.3. (Note that this will open in a new window.)
If you missed part c of this problem, review reflections in Section 2.3. (Note that this will open in a new window.)
The root word “poly” means “many,” as in polygon (many sides) or polyglot (speaking many languages—multilingual). In algebra,
the word polynomial means “many terms,” where the phrase “many terms” can be construed to mean anywhere from one to an
arbitrary, but finite, number of terms. Consequently, a monomial could be considered a polynomial, as could binomials and
trinomials. In our work, we will concentrate for the most part on polynomials of a single variable. What follows is a more formal
definition of a polynomial in a single variable x.
Definition: Polynomials
The function p, defined by
n n−1 n−2 2
p(x) = an x + an−1 x + an−2 x + ⋯ + a2 x + a1 x + a0 (2.5.1)
is called a polynomial in x.
Note
1. The numbers a , a , a , … , a are called the coefficients of the polynomial p.
0 1 2 n
2.5.4 https://math.libretexts.org/@go/page/48337
Example 2.5.1
The highest exponent is 3; therefore the degree of the polynomial is 3. The leading term of the polynomial is the term with the
highest exponent, 5x . 3
Example 2.5.2
3
x+
2
5
2
x − 9x
3 4
+ 12 x
Example 2.5.3
– 2
Consider the polynomial p(x) = 3 − 4
3
3
x + √2x − 9 x + π x
5
The Graph of y = x n
The primary goal in this section is to discuss the end-behavior of arbitrary polynomials. By “end-behavior,” we mean the behavior
of the polynomial for very small values of x (like −1000, −10000, −100000, etc.) or very large values of x (like 1000, 10000,
100000, etc.). Before we can explore the end-behavior of arbitrary polynomials, we must first examine the end-behavior of some
very basic monomials. Specifically, we need to investigate the end-behavior of the graphs of y = x , where n = 1, 2, 3, . . ..
n
Let’s first examine the graph of y = x , when n is even. The graphs are simple enough to draw, either by creating a table of points
n
or by using your graphing calculator. In Figure 2.5.1(a), (b), and (c), we’ve drawn the graphs of y = x , y = x , and y = x ,
2 4 6
respectively.
2.5.5 https://math.libretexts.org/@go/page/48337
Figure 2.5.1 . Examples of the graph of y = x , when n is an even integer.
n
The graphs in Figure 2.5.1 share an important trait. As you sweep your eyes from left to right, each graph falls from positive
infinity, wiggles through the origin, then rises back to positive infinity.
Next, let’s examine the graph of y = x , when n is odd. Again, a table of points or a graphing calculator will help produce the
n
The graphs in Figure 2.5.2 share an important trait. As you sweep your eyes from left to right, each graph rises from negative
infinity, wiggles through the origin, then rises up to positive infinity.
The behavior shown in Figure 2.5.1 and Figure 2.5.2 is typical.
Property 9
When n is an even natural number, the graph of y = x will look like that shown in Figure
n
2.5.3 (a). If n is an odd natural
number, then the graph of y = x will be similar to that shown in Figure 2.5.3(b).
n
1. When n is even, as you sweep your eyes from left to right, the graph of y = x falls from positive infinity, wiggles through
n
2.5.6 https://math.libretexts.org/@go/page/48337
Figure 2.5.3
The Graph of y = ax n
Now that we know the general shape of the graph of y = x , let’s scale this function by multiplying by a constant, as in y = ax .
n n
In our study of the parabola, we learned that if we multiply by a factor of a, where a > 1, then we will stretch the graph in the
vertical direction by a factor of a. Conversely, if we multiply the graph by a factor of a, where 0 < a < 1, then we will compress the
graph in the vertical direction by a factor of 1/a. If a < 0, then not only will we scale the graph, but multiplying by this factor will
also reflect the graph across the horizontal axis.
Let’s look at a few examples.
Example 2.5.4
Solution
We know what the graph of y = x looks like. As we sweep our eyes from left to right, the graph rises from negative infinity,
3
wiggles through the origin, then rises to positive infinity. This behavior is shown in Figure 2.5.4(a).
If we multiply by a factor of 2, then we stretch the original graph by a factor of 2 in the vertical direction. The graph of
y = 2x is shown in Figure 2.5.4(b). Note the stretching in the vertical direction.
3
Finally, if we negate by multiplying by −2, this will stretch the graph by a factor of 2, as in Figure 2.5.4 (b), but it will also
reflect the graph across the x-axis. The graph of y = −2x is shown in Figure 2.5.4(c).
3
Figure 2.5.4 . Scaling by −2 stretches vertically by a factor of 2, then reflects the graph across the x-axis.
2.5.7 https://math.libretexts.org/@go/page/48337
Example 2.5.5
2
4
x
Solution
We know what the graph of y = x looks like. As we sweep our eyes from left to right, the graph falls from positive infinity,
4
wiggles through the origin, then rises back to positive infinity. This behavior is shown in Figure 2.5.5(a).
If we multiply by 1/2, then we will compress the graph by a factor of 2. Note that the graph of y = 1
2
4
x in Figure 2.5.5(b) is
compressed by a factor of 2 in the vertical direction.
Finally, if we multiply by −1/2, not only will we compress the graph by a factor of 2, we will also reflect the graph across the
x-axis. The graph of y = − x is shown in Figure 2.5.5(c).
1
2
4
Figure 2.5.5 . Scaling by −1/2 compresses vertically by a factor of 2, then reflects the graph across the x-axis.
Hopefully, at this point you can now sketch the graph of y = ax for any real number a and any natural number n, either even or
n
odd, without the use of a calculator. Let’s put this new-found knowledge to use in investigating the end-behavior of polynomials.
End Behavior
Consider the polynomial p(x) = x 3
− 7x
2
+ 7x + 15 .
Here’s a key fact that we will use to determine the end-behavior of any polynomial.
Property 13
A polynomial’s end-behavior is completely determined by its leading term. That is, the end-behavior of the graph of the
polynomial will match the end-behavior of the graph of its leading term.
In a moment, we will show why this property is true. In the meantime, let’s accept the veracity of this statement and apply it to the
polynomial defined by equation (12). The leading term of the polynomial p(x) = x − 7x + 7x + 15 is x . We know the end
3 2 3
behavior of graph of y = x . As we sweep our eyes from left to right, the graph of y = x will rise from negative infinity, wiggle
3 3
through the origin, then continue to rise to positive infinity. We pictured this behavior earlier in Figure 2.5.4(a).
Property 13 tells us that the graph of the polynomial p(x) = x − 7x + 7x + 15 will exhibit the same end-behavior as the graph
3 2
of its leading term, y = x . We can predict that, as we sweep our eyes from left to right, the graph of the polynomial
3
3 2
p(x) = x − 7 x + 7x + 15 will rise from negative infinity, wiggle a bit, then rise to positive infinity. We don’t know what
happens in-between, but we do know what happens at far left- and right-hand ends.
Our conjecture is verified by drawing the graph (use a graphing calculator). The graph of the polynomial
p(x) = x − 7 x + 7x + 15 is shown in Figure 2.5.6. Sure enough, as we sweep our eyes from left to right, the graph in Figure
3 2
2.5.6 rises from negative infinity as predicted, wiggles a bit, then continues its rise to positive infinity.
2.5.8 https://math.libretexts.org/@go/page/48337
Figure 2.5.6 . Note that this graph of p(x) = x
3
− 7x
2
+ 7x + 15 has the same end-behavior as the graph of y = x . 3
Why Does it Work? Why does Property 13 predict so accurately the end-behavior of this polynomial?
3 2
p(x) = x − 7x + 7x + 15
Now, ask the following question. What happens to the polynomial as we move to the right end? That is, what happens to the
polynomial as we use large values of x, such as 1 000, 10 000, or even 100 000?
7
Consider the fraction . Because the numerator is fixed at 7, and the denominator is getting bigger and bigger (growing without
x
bound), the fraction is getting closer and closer to zero. Calculus students would use the notation
7
lim =0
x→∞ x
Don’t be put off by the notation. We’re using sophisticated mathematical notation for a very simple idea that says “As x approaches
infinity, the fraction 7/x approaches zero.”
Using similar reasoning, each of the fractions in equation (14) go to zero as x goes to infinity (increases without bound). Thus, as x
gets larger and larger (as we move further and further to the right),
3
7 7 15 3 3
lim p(x) = lim x (1 − + + ) ≈ x (1 − 0 + 0 + 0 + 0) ≈ x
x→∞ x→∞ x x2 x3
Using similar reasoning, each of the fractions in equation (14) go to zero as x goes to minus infinity. That is, if you are putting in
numbers for x such as −1 000, −10 000, −100 000, and the like, the fractions in equation (14) will go to zero. Hence, the
polynomial p(x) must still approach its leading term x 3 for very small values of x (as x approaches −∞ ).
If you superimpose the graph of y = x on the graph of p(x) = x − 7x + 7x + 15 , as in Figure
3 3 2
2.5.7 , it’s clear that the
polynomial p has the same end-behavior as the graph of its leading term y = x . 3
2.5.9 https://math.libretexts.org/@go/page/48337
Figure 2.5.7 . As you move to the extreme left or right, the graph of p(x) = x
3
− 7x
2
+ 7x + 15 approaches the graph of its
leading term y = x . 3
You can provide a more striking demonstration of the validity of the claim in equation (15) by plotting both the polynomial p and
its leading term y = x on your calculator, then zooming out by adjusting the window parameters as shown in Figure 2.5.8(b).
3
Note how the graph of p(x) = x − 7x + 7x + 15 more closely resembles the graph of its leading term y = x , at least at the
3 2 3
right and left edges of the viewing window. When we zoom further out, by adjusting the window parameters as shown in Figure
2.5.8(d), note how that graph of p approaches the graph of its leading term y = x even more closely at each edge of the viewing
3
window.
Figure 2.5.8 . Zooming out clearly demonstrates that the end-behavior of p(x) = x
3
− 7x
2
+ 7x + 15 matches that of its leading
term y = x .
3
Example 2.5.6
term. As we sweep our eyes from left to right, the graph of y = −x rises from negative infinity, wiggles through the origin,
4
then falls back to minus infinity. The graph of p should exhibit the same end-behavior. Indeed, in Figure 2.5.9, note that the
graph of y = −x and y = −x + 37x + 24x − 180 both share the same end-behavior.
4 4 2
2.5.10 https://math.libretexts.org/@go/page/48337
Figure 2.5.9 . The polynomial 4
p(x) = −x
2
+ 37x + 24x − 180 has the same end-behavior as the graph of its leading term
y = −x .
4
This page titled 2.5: Polynomial Functions is shared under a CC BY-NC-SA license and was authored, remixed, and/or curated by David Arnold.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
2.5.11 https://math.libretexts.org/@go/page/48337
2.5E: Exercises - Polynomial Functions
Exercise
In Exercises 1-8, arrange each polynomial in descending powers of x, state the degree of the polynomial, identify the leading term,
then make a statement about the coefficients of the given polynomial.
Exercise 2.5E. 1
2 3
p(x) = 3x − x +4 −x
Answer
p(x) = −x
3
−x , degree = 3, leading term =
2
+ 3x + 4
3
−x , “p is a polynomial with integer coefficients, polynomial
with rational coefficients,” or “p is
a polynomial with real coefficients.”
Exercise 2.5E. 2
2 3
p(x) = 4 + 3 x − 5x + x
Exercise 2.5E. 3
2 4
p(x) = 3 x +x −x −4
Answer
p(x) = x
4
+ 3x , degree = 4, leading term = x , “p is a polynomial with integer coefficients,” “p is a polynomial
2
−x −4
4
Exercise 2.5E. 4
2 3 4
p(x) = −3 + x −x + 5x
Exercise 2.5E. 5
3 3 2 5
p(x) = 5x − x +4 − x
2 3
Answer
p(x) = −
2
3
x
5
− , degree = 5, leading term = −
3
2
x
3
+ 5x + 4
2
3
x
5
, “p is a polynomial with rational coefficients,” or p is a
polynomial with real coefficients.”
Exercise 2.5E. 6
3 7 5 4 3
p(x) = − x +5 − x + x
2 3 3
Exercise 2.5E. 7
2 3
– 2 6
p(x) = −x + x − √2x + π x
3
Answer
– 2
p(x) = π x
6
+
2
3
x
3
− √2x − x , degree = 6, leading term = πx , “p is a polynomial with real coefficients.”
6
2.5E.1 https://math.libretexts.org/@go/page/48345
Exercise 2.5E. 8
– 4 – 2
– 6
p(x) = 3 + √2x + √3x − 2 x + √5x
Exercise 2.5E. 9
Answer
y = ax
n
, n odd, a < 0.
Exercise 2.5E. 10
2.5E.2 https://math.libretexts.org/@go/page/48345
Exercise 2.5E. 11
Answer
y = ax
n
, n even, a > 0.
2.5E.3 https://math.libretexts.org/@go/page/48345
Exercise 2.5E. 12
Exercise 2.5E. 13
Answer
y = ax
n
, n odd, a < 0.
2.5E.4 https://math.libretexts.org/@go/page/48345
Exercise 2.5E. 14
In Exercises 15-20, you are presented with the graph of the polynomial p(x) = a x + ⋅ ⋅ ⋅ + a x + a . In each case, state
n
n
1 0
whether the degree of the polynomial is even or odd, then state whether the leading coefficient a is positive or negative.
n
Exercise 2.5E. 15
Answer
2.5E.5 https://math.libretexts.org/@go/page/48345
odd, positive
Exercise 2.5E. 16
Exercise 2.5E. 17
Answer
even, negative
2.5E.6 https://math.libretexts.org/@go/page/48345
Exercise 2.5E. 18
Exercise 2.5E. 19
Answer
odd, positive
2.5E.7 https://math.libretexts.org/@go/page/48345
Exercise 2.5E. 20
For each polynomial in Exercises 21-30, perform each of the following tasks.
1. Predict the end-behavior of the polynomial by drawing a very rough sketch of the polynomial. Do this without the assistance of
a calculator. The only concern here is that your graph show the correct end-behavior.
2. Draw the graph on your calculator, adjust the viewing window so that all “turning points” of the polynomial are visible in the
viewing window, and copy the result onto your homework paper. As usual, label and scale each axis with xmin, xmax, ymin,
and ymax. Does the actual end-behavior agree with your predicted end-behavior?
Exercise 2.5E. 21
3 2
p(x) = −3 x + 2x + 8x − 4
Answer
Note that the leading term −3x (dashed) has the same end-behavior as the polynomial p.
3
2.5E.8 https://math.libretexts.org/@go/page/48345
Exercise 2.5E. 22
3 2
p(x) = 2 x − 3x + 4x − 8
Exercise 2.5E. 23
3 2
p(x) = x +x − 17x + 15
Answer
Note that the leading term x (dashed) has the same end-behavior as the polynomial p.
3
2.5E.9 https://math.libretexts.org/@go/page/48345
Exercise 2.5E. 24
4 2
p(x) = −x + 2x + 29x − 30
Exercise 2.5E. 25
4 2
p(x) = x − 3x +4
Answer
Note that the leading term x (dashed) has the same end-behavior as the polynomial p.
4
2.5E.10 https://math.libretexts.org/@go/page/48345
Exercise 2.5E. 26
4 2
p(x) = −x + 8x − 12
Exercise 2.5E. 27
5 4 3
p(x) = −x + 3x −x + 2x
Answer
Note that the leading term −x (dashed) has the same end-behavior as the polynomial p.
5
2.5E.11 https://math.libretexts.org/@go/page/48345
Exercise 2.5E. 28
4 3
p(x) = 2 x − 3x + x − 10
Exercise 2.5E. 29
6 5 4 3 2
p(x) = −x − 4x + 27 x + 78 x + 4x + 376x − 480
Answer
Note that the leading term −x (dashed) has the same end-behavior as the polynomial p.
6
2.5E.12 https://math.libretexts.org/@go/page/48345
Exercise 2.5E. 30
5 3 2
p(x) = x − 27 x + 30 x − 124x + 120
2.5E: Exercises - Polynomial Functions is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.
2.5E.13 https://math.libretexts.org/@go/page/48345
2.6: Rational Functions
Learning Objectives
By the end of this section, you will be able to:
Identify rational functions
Graph rational functions using transformations
Identify horizontal and vertical asymptotes in rational functions
Identify domain and range of rational functions
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1
1. Sketch a graph of y = . Include at least 4 key points on the graph.
x
If you missed this problem, review Section 2.2. (Note that this will open in a new window.)
2. Use transformations to sketch a graph of each of the following functions. Include at least 3 key points on each graph.
a. y = |x − 2| + 4
b. y = (x + 3) 3
−1
2.6.1 https://math.libretexts.org/@go/page/48338
b. y = (x + 3) 3
−1
If you missed any part of this problem, review translations in Section 2.3. (Note that this will open in a new window.)
The leading term of the polynomial is a x , the term with the highest power of x. The degree of the polynomial is the highest
n
n
2 2
1 +x x − 2x − 3 3 − 2x − x
For example, f (x) = , g(x) = , and h(x) =
3 2
are rational functions because in
x +2 x +4 x + 2x − 3x − 5
each case, the numerator and denominator of the given expression is a valid polynomial.
−−−−−−−−−−−
− 2 2
1 + √x x + 2x − 3 x − 2x − 3
However, f (x) = 2
, g(x) = , and h(x) = √
2
are not rational functions:
1/2 2
x +1 1 +x − 3x x + 4x − 12
The numerator of f (x) is not a polynomial (polynomials do not allow the square root of the independent variable). Therefore, f
is not a rational function.
Similarly, the denominator of g(x) is not a polynomial. Fractions are not allowed as exponents in polynomials. Thus, g is not a
rational function.
Finally, in the case of function h , although the radicand (the expression inside the radical) is a rational function, the square root
prevents h from being a rational function.
An important skill to develop is the ability to draw the graph of a rational function. Let’s begin by drawing the graph of one of the
simplest (but most fundamental) rational functions.
The Graph of y = 1
We begin the process of drawing the graph of y = by creating a table of points that satisfy the equation. It’s important to
1
remember that the graph of an equation is the set of all points that satisfy the equation. We note that zero is not in the domain of
2.6.2 https://math.libretexts.org/@go/page/48338
y =
1
x
(division by zero in mathematically impossible and is not defined), and create a table of points satisfying the equation
shown in Figure 2.6.1.
x
. These points are plotted as solid dots on the graph at
the left.
At this point (Figure 2.6.1), it’s pretty clear what the graph is doing between x = −3 and x = −1 . Likewise, it’s clear what is
happening between x = 1 and x = 3. However, there are some open areas of concern.
1. What happens to the graph as x increases without bound? That is, what happens to the graph as x moves toward ∞?
2. What happens to the graph as x decreases without bound? That is, what happens to the graph as x moves toward −∞ ?
3. What happens to the graph for 0 < x < 1 , or as x approaches zero from the right?
4. What happens to the graph for −1 < x < 0 , or as x approaches zero from the left?
Let’s answer each of these questions in turn. We’ll begin by discussing the “end behavior” of the rational function defined by
y =
1
x
. First, the right end. What happens as x increases without bound? That is, what happens as x increases toward ∞? In Table
2.6.1a, we computed y = for x equaling 100, 1000, and 10000. Note how the y-values in Table 2.6.1a are all positive and
1
approach zero.
Students in calculus use the following notation for this idea.
1
lim y = lim =0
x→∞ x→∞ x
They say “the limit of y as x approaches infinity is zero.” That is, as x approaches infinity, y approaches zero.
Table 2.6.1a : Examining the end-behavior of y = x
1
.
x y =
1
100 0.01
1000 0.001
10000 0.0001
A completely similar event happens at the left end. As x decreases without bound, that is, as x decreases toward −∞ , note that the
y-values in Table 2.6.1(b) are all negative and approach zero. Calculus students have a similar notation for this idea.
1
lim y = lim =0
x→−∞ x→−∞ x
They say “the limit of y as x approaches negative infinity is zero.” That is, as x approaches negative infinity, y approaches zero.
Table 2.6.1b : Examining the end-behavior of y = 1
x
.
x y =
1
x
2.6.3 https://math.libretexts.org/@go/page/48338
x y =
1
-100 -0.01
-1000 -0.001
-10000 -0.0001
These numbers in Tables 2.6.1a and 2.6.1b, and the ideas described above, predict the correct end-behavior of the graph of y = . 1
At each end of the x-axis, the y-values must approach zero. This means that the graph of y = must approach the x-axis for x-
1
values at the far right- and left-ends of the graph. In this case, we say that the x-axis acts as a horizontal asymptote for the graph of
y =
1
x
. As x approaches either positive or negative infinity, the graph of y = approaches the x-axis. This behavior is shown in
1
Figure 2.6.2.
x
approaches the x-axis as x increases or decreases without bound.
Our last investigation will be on the interval from x = −1 to x = 1 . Readers are again reminded that the function y = is 1
undefined at x = 0. Consequently, we will break this region in half, first investigating what happens on the region between x = 0
and x = 1. We evaluate y = at x = , x = , and x = , as shown in the table in Figure 2.6.3, then plot the resulting points.
1
x
1
2
1
4
1
Figure 2.6.3 : At the right is a table of points satisfying the equation y = . These points are plotted as solid dots on the graph at
1
the left.
Note that the x-values in the table in Figure 2.6.3 approach zero from the right, then note that the corresponding y-values are
getting larger and larger. We could continue in this vein, adding points. For example, if x = , then y = 16. If x = , then
1
16
1
32
y = 32 . If x = , then y = 64. Each time we halve our value of x, the resulting value of x is closer to zero, and the corresponding
1
64
y-value doubles in size. Calculus students describe this behavior with the notation
2.6.4 https://math.libretexts.org/@go/page/48338
1
lim y = lim =∞
x→0
+
x→0
+
x
That is, as “x approaches zero from the right, the value of y grows to infinity.” This is evident in the graph in Figure 2.6.3, where
we see the plotted points move closer to the vertical axis while at the same time moving upward without bound. A similar thing
happens on the other side of the vertical axis, as shown in Figure 2.6.4.
x
. These points are plotted as solid dots on the graph at
the left.
Again, calculus students would write
1
lim y = lim = −∞
x→0
−
x→0
−
x
That is, “as x approaches zero from the left, the values of y decrease to negative infinity.” In Figure 2.6.4, it is clear that as points
move closer to the vertical axis (as x approaches zero) from the left, the graph decreases without bound.
The evidence gathered to this point indicates that the vertical axis is acting as a vertical asymptote. As x approaches zero from
either side, the graph approaches the vertical axis, either rising to infinity, or falling to negative infinity. The graph cannot cross the
vertical axis because the function is undefined there. The completed graph is shown in Figure 2.6.5.
x
. Note how the x-axis acts as a horizontal asymptote, while the y-axis acts as a vertical
asymptote.
The complete graph of y = 1
x
in Figure 2.6.5 is called a hyperbola and serves as a fundamental starting point for all subsequent
discussion in this section.
We noted earlier that the domain of the function defined by the equation y = is the interval (−∞, 0) ∪ (0, ∞) . Zero is excluded
1
from the domain because division by zero is undefined. It’s no coincidence that the graph has a vertical asymptote at x = 0. We’ll
2.6.5 https://math.libretexts.org/@go/page/48338
see this relationship reinforced in further examples.
Translations
In this section, we will translate the graph of y = in both the horizontal and vertical directions. It may help you to refresh your
1
memory of our previous section on transformations as those skills will be applied here.
Example 2.6.1
Solution
Technically, the function defined by y = − 4 does not have the general form (3) of a rational function. However, in later
1
x+3
x+3
− 4 can be manipulated into the general form of a rational function.
We know what the graph of y = looks like. If we replace x with x + 3, this will shift the graph of y = three units to the
1
x
1
left, as shown in Figure 2.6.6(a). Note that the vertical asymptote has also shifted 3 units to the left of its original position (the
y-axis) and now has equation x = −3. By tradition, we draw the vertical asymptote as a dashed line.
If we subtract 4 from the result in Figure 2.6.6(a), this will shift the graph in Figure 2.6.6(a) four units downward to produce
the graph shown in Figure 2.6.6(b). Note that the horizontal asymptote also shifted 4 units downward from its original position
(the x-axis) and now has equation y = −4.
x
.
If you examine equation (11), you note that you cannot use x = −3 as this will make the denominator of equation (11) equal to
zero. In Figure 2.6.6(b), note that there is a vertical asymptote in the graph of equation (11) at x = −3. This is a common
occurrence, which will be a central theme of this chapter.
Example 2.6.2
What are the domain and range of the rational function presented in Example 2.6.1?
Solution
You can glance at the equation
1
y = −4
x +3
2.6.6 https://math.libretexts.org/@go/page/48338
of Example 2.6.1 and note that x = −3 makes the denominator zero and must be excluded from the domain. Hence, the domain
of this function is (−∞, −3) ∪ (−3, ∞) .
However, you can also determine the domain by examining the graph of the function in Figure 2.6.6(b). Note that the graph
extends indefinitely to the left and right. One might first guess that the domain is all real numbers if it were not for the vertical
asymptote at x = −3 interrupting the continuity of the graph. Because the graph of the function gets arbitrarily close to this
vertical asymptote (on either side) without actually touching the asymptote, the graph does not contain a point having an x-
value equaling −3. Hence, the domain is as above, (−∞, −3) ∪ (−3, ∞) . This is comforting that the graphical analysis agrees
with our earlier analytical determination of the domain.
The graph is especially helpful in determining the range of the function. Note that the graph rises to positive infinity and falls
to negative infinity. One would first guess that the range is all real numbers if it were not for the horizontal asymptote at y = −4
interrupting the continuity of the graph. Because the graph gets arbitrarily close to the horizontal asymptote (on either side)
without actually touching the asymptote, the graph does not contain a point having a y-value equaling −4. Hence, −4 is
excluded from the range. That is, the range is (−∞, −4) ∪ (−4, ∞) .
Exercise 2.6.1
x
. For extra measure, we also throw in translations in the horizontal
and vertical directions.
Example 2.6.3
Solution
First, we multiply the equation y = 1
x
by −2 to get
2
y =−
x
Multiplying by 2 should stretch the graph in the vertical directions (both positive and negative) by a factor of 2. Note that
points that are very near the x-axis, when doubled, are not going to stray too far from the x-axis, so the horizontal asymptote
will remain the same. Finally, multiplying by −2 will not only stretch the graph, it will also reflect the graph across the x-axis,
as shown in Figure 2.6.7(b).
2.6.7 https://math.libretexts.org/@go/page/48338
Figure 2.6.7 : Scaling and reflecting the graph of y = 1
x
.
Replacing x with x − 4 will shift the graph 4 units to the right, then adding 3 will shift the graph 3 units up, as shown in Figure
2.6.8. Note again that x = 4 makes the denominator of y = + 3 equal to zero and there is a vertical asymptote at x = 4.
−2
x−4
x−4
asymptote y = 3 but never touch it. Therefore, there is no point on the graph that has a y-value of 3. Thus, the range of the
function is the interval (−∞, −3) ∪ (−3, ∞) .
x−4
+3 is shifted 4 units right and 3 units up.
A continuous function is one that can be drawn in one continuous stroke, never lifting pen or pencil from the paper during the
drawing.
2.6.8 https://math.libretexts.org/@go/page/48338
Figure 2.6.9 : A polynomial is a continuous function.
Unfortunately, a rational function with vertical asymptote(s) is not a continuous function. First, you have to lift your pen at points
where the denominator is zero, because the function is undefined at these points. Secondly, it’s not uncommon to have to jump
from positive infinity to negative infinity (or vice-versa) when crossing a vertical asymptote. When this happens, we have to lift our
pen and shift it before continuing with our drawing.
However, the graphing calculator does not know how to do this “lifting” of the pen near vertical asymptotes. The graphing
calculator only knows one technique, plot a point, then connect it with a segment to the last point plotted, move an incremental
distance and repeat. Consequently, when the graphing calculator crosses a vertical asymptote where there is a shift from one type of
infinity to another (e.g., from positive to negative), the calculator draws a “false line” of connection, one that it should not draw.
Let’s demonstrate this aberration with an example.
Example 2.6.4
Use a graphing calculator to draw the graph of the rational function in Example 2.6.3.
Solution
Load the equation into your calculator, as shown in Figure 2.6.10(a). Set the window as shown in Figure 2.6.10(b), then push
the GRAPH button to draw the graph shown in Figure 2.6.10(c). Results may differ on some calculators, but in our case, note
the “false line” drawn from the top of the screen to the bottom, attempting to “connect” the two branches of the hyperbola.
Some might rejoice and claim, “Hey, my graphing calculator draws vertical asymptotes.” However, before you get too excited,
note that in Figure 2.6.8 the vertical asymptote should occur at exactly x = 4. If you look very carefully at the “vertical line” in
Figure 2.6.10(c), you’ll note that it just misses the tick mark at x = 4. This “vertical line” is a line that the calculator should not
draw. The calculator is attempting to draw a continuous function where one doesn’t exist.
Figure 2.6.10 . The calculator attempts to draw a continuous function when it shouldn’t.
One possible workaround is to press the MODE button on your keyboard, which opens the menu shown in Figure 2.6.11(a).
Use the arrow keys to highlight DOT instead of CONNECTED and press the ENTER key to make the selection permanent.
Press the GRAPH button to draw the graph in Figure 2.6.11(b).
2.6.9 https://math.libretexts.org/@go/page/48338
Figure 2.6.11 . The same graph in “dot mode.”
This “dot mode” on your calculator calculates the next point on the graph and plots the point, but it does not connect it with a
line segment to the previously plotted point. This mode is useful in demonstrating that the vertical line in Figure 2.6.10(c) is
not really part of the graph, but we lose some parts of the graph we’d really like to see. Compromise is in order.
This example clearly shows that intelligent use of the calculator is a required component of this course. The calculator is not
simply a “black box” that automatically does what you want it to do. In particular, when you are drawing rational functions, it
helps to know ahead of time the placement of the vertical asymptotes. Knowledge of the asymptotes, coupled with what you
see on your calculator screen, should enable you to draw a graph as accurate as that shown in Figure 2.6.8.
Gentle reminder. You’ll want to set your calculator back in “connected mode.” To do this, press the MODE button on your
keyboard to open the menu in Figure 2.6.10(a) once again. Use your arrow keys to highlight CONNECTED, then press the
ENTER key to make the selection permanent.
This page titled 2.6: Rational Functions is shared under a CC BY-NC-SA license and was authored, remixed, and/or curated by David Arnold.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
2.6.10 https://math.libretexts.org/@go/page/48338
2.6E: Exercises - Rational Functions
Exercise
In Exercises 1-14, perform each of the following tasks for the given rational function.
1. Set up a coordinate system on a sheet of graph paper. Label and scale each axis.
2. Use geometric transformations as in Examples 10, 12, and 13 to draw the graphs of each of the following rational functions.
Draw the vertical and horizontal asymptotes as dashed lines and label each with its equation. You may use your calculator to
check your solution, but you should be able to draw the rational function without the use of a calculator.
3. Use interval notation to describe the domain and range of the given rational function.
Exercise 2.6E. 1
2
f (x) = −
x
Answer
D = (−∞, 0) ∪ (0, ∞) , R = (−∞, 0) ∪ (0, ∞)
Exercise 2.6E. 2
3
f (x) =
x
Exercise 2.6E. 3
1
f (x) =
x−4
Answer
D = (−∞, 4) ∪ (4, ∞) , R = (−∞, 0) ∪ (0, ∞)
2.6E.1 https://math.libretexts.org/@go/page/48346
Exercise 2.6E. 4
1
f (x) =
x+3
Exercise 2.6E. 5
2
f (x) =
x−5
Answer
D = (−∞, 5) ∪ (5, ∞) , R = (−∞, 0) ∪ (0, ∞)
2.6E.2 https://math.libretexts.org/@go/page/48346
Exercise 2.6E. 6
3
f (x) = −
x+6
Exercise 2.6E. 7
1
f (x) = −2
x
Answer
D = (−∞, 0) ∪ (0, ∞) , R = (−∞, −2) ∪ (−2, ∞)
2.6E.3 https://math.libretexts.org/@go/page/48346
Exercise 2.6E. 8
1
f (x) = − +4
x
Exercise 2.6E. 9
2
f (x) = − −5
x
Answer
D = (−∞, 0) ∪ (0, ∞) , R = (−∞, −5) ∪ (−5, ∞)
2.6E.4 https://math.libretexts.org/@go/page/48346
Exercise 2.6E. 10
3
f (x) = −5
x
Exercise 2.6E. 11
1
f (x) = −3
x−2
Answer
D = (−∞, 2) ∪ (2, ∞) , R = (−∞, −3) ∪ (−3, ∞)
2.6E.5 https://math.libretexts.org/@go/page/48346
Exercise 2.6E. 12
1
f (x) = − +5
x+1
Exercise 2.6E. 13
2
f (x) = − −4
x−3
Answer
D = (−∞, 3) ∪ (3, ∞) , R = (−∞, −4) ∪ (−4, ∞)
2.6E.6 https://math.libretexts.org/@go/page/48346
Exercise 2.6E. 14
3
f (x) = −2
x+5
In Exercises 15-22, find all vertical asymptotes, if any, of the graph of the given function.
Exercise 2.6E. 15
5
f (x) = − −3
x+1
Answer
Vertical asymptote: x = −1
Exercise 2.6E. 16
6
f (x) = +2
x+8
Exercise 2.6E. 17
9
f (x) = − −6
x+2
Answer
Vertical asymptote: x = −2
Exercise 2.6E. 18
8
f (x) = − −5
x−4
2.6E.7 https://math.libretexts.org/@go/page/48346
Exercise 2.6E. 19
2
f (x) = +1
x+5
Answer
Vertical asymptote: x = −5
Exercise 2.6E. 20
3
f (x) = − +2
x+9
Exercise 2.6E. 21
7
f (x) = −9
x+8
Answer
Vertical asymptote: x = −8
Exercise 2.6E. 22
6
f (x) = −8
x−5
In Exercises 23-30, find all horizontal asymptotes, if any, of the graph of the given function.
Exercise 2.6E. 23
5
f (x) = +9
x+7
Answer
Horizontal asymptote: y = 9
Exercise 2.6E. 24
8
f (x) = − −4
x+7
Exercise 2.6E. 25
8
f (x) = −1
x+5
Answer
Horizontal asymptote: y = −1
Exercise 2.6E. 26
2
f (x) = − +8
x+3
Exercise 2.6E. 27
7
f (x) = −9
x+1
Answer
Horizontal asymptote: y = −9
2.6E.8 https://math.libretexts.org/@go/page/48346
Exercise 2.6E. 28
2
f (x) = − +5
x−1
Exercise 2.6E. 29
5
f (x) = −4
x+2
Answer
Horizontal asymptote: y = −4
Exercise 2.6E. 30
6
f (x) = − −2
x−1
In Exercises 31-38, state the domain of the given rational function using interval notation.
Exercise 2.6E. 31
4
f (x) = − +5
x+5
Answer
Domain = (−∞, −5) ∪ (−5, ∞)
Exercise 2.6E. 32
7
f (x) = − +1
x−6
Exercise 2.6E. 33
6
f (x) = +1
x−5
Answer
Domain = (−∞, 5) ∪ (5, ∞)
Exercise 2.6E. 34
5
f (x) = − −9
x−3
Exercise 2.6E. 35
1
f (x) = +2
x+7
Answer
Domain = (−∞, −7) ∪ (−7, ∞)
Exercise 2.6E. 36
2
f (x) = − +4
x−5
2.6E.9 https://math.libretexts.org/@go/page/48346
Exercise 2.6E. 37
4
f (x) = − +2
x+2
Answer
Domain = (−∞, −2) ∪ (−2, ∞)
Exercise 2.6E. 38
2
f (x) = +9
x+6
In Exercises 39-46, find the range of the given function, and express your answer in interval notation.
Exercise 2.6E. 39
2
f (x) = +8
x−3
Answer
Range = (−∞, 8) ∪ (8, ∞)
Exercise 2.6E. 40
4
f (x) = +5
x−3
Exercise 2.6E. 41
5
f (x) = − −5
x−8
Answer
Range = (−∞, −5) ∪ (5, ∞)
Exercise 2.6E. 42
2
f (x) = − +6
x+1
Exercise 2.6E. 43
7
f (x) = +5
x+7
Answer
Range = (−∞, 5) ∪ (5, ∞)
Exercise 2.6E. 44
8
f (x) = − +9
x+3
Exercise 2.6E. 45
4
f (x) = −2
x+3
Answer
Range = (−∞, −2) ∪ (2, ∞)
2.6E.10 https://math.libretexts.org/@go/page/48346
Exercise 2.6E. 46
5
f (x) = − +9
x−4
2.6E: Exercises - Rational Functions is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.
2.6E.11 https://math.libretexts.org/@go/page/48346
1.1: Chapter 2 Review
1.1: Chapter 2 Review is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.
1.1.1 https://math.libretexts.org/@go/page/50097
CHAPTER OVERVIEW
Figure 3.1: Enigma machines like this one, once owned by Italian dictator Benito Mussolini, were used by government and
military officials for enciphering and deciphering top-secret communications during World War II. (credit: Dave Addey, Flickr)
By 1943, it was obvious to the Nazi regime that defeat was imminent unless it could build a weapon with unlimited destructive
power, one that had never been seen before in the history of the world. In September, Adolf Hitler ordered German scientists to
begin building an atomic bomb. Rumors and whispers began to spread from across the ocean. Refugees and diplomats told of the
experiments happening in Norway. However, Franklin D. Roosevelt wasn’t sold, and even doubted British Prime Minister Winston
Churchill’s warning. Roosevelt wanted undeniable proof. Fortunately, he soon received the proof he wanted when a group of
mathematicians cracked the “Enigma” code, proving beyond a doubt that Hitler was building an atomic bomb. The next day,
Roosevelt gave the order that the United States begin work on the same.
The Enigma is perhaps the most famous cryptographic device ever known. It stands as an example of the pivotal role cryptography
has played in society. Now, technology has moved cryptanalysis to the digital world.
Many ciphers are designed using invertible matrices as the method of message transference, as finding the inverse of a matrix is
generally part of the process of decoding. In addition to knowing the matrix and its inverse, the receiver must also know the key
that, when used with the matrix inverse, will allow the message to be read.
In this chapter, we will investigate matrices and their inverses, and various ways to use matrices to solve systems of equations.
First, however, we will study systems of equations on their own: linear and nonlinear, and then partial fractions. We will not be
breaking any secret codes here, but we will lay the foundation for future courses.
Learning Objectives
In this chapter, you will learn to:
1. Use graphs, substitution, and elimination to solve systems of equations
2. Represent data in matrices
3. Use Gaussian Elimination to solve systems of equations
4. Use Matrix Inverses to solve systems of equations
5. Apply systems of equations
1
3.4: Solving Systems with Inverses
3.4E: Exercises - Solving Systems with Inverses
3.5: Chapter 3 Review
3: Solving Systems of Equations is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.
2
3.1: Solving Systems with Algebra
Learning Objectives
In this section, you will learn to:
Determine if a given ordered pair is a solution to a system of equations.
Solve a system of linear equations in two variables by graphing, substitution, and elimination by addition.
Find the equilibrium point when a demand and a supply equation are given.
Find the break-even point when the revenue and the cost functions are given.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Graph the function y = 3x − 4 .
If you missed this problem, review Section 1.2. (Note that this will open in a new window.)
If you missed this problem, review Section 1.2. (Note that this will open in a new window.)
3. Is (2, 5) a solution to x − 5y = 2 ?
3.1.1 https://math.libretexts.org/@go/page/40113
Click here to check your answer
No, because −23 ≠ 2 .
If you missed this problem, review Section 1.1. (Note that this will open in a new window.)
A skateboard manufacturer introduces a new line of boards. The manufacturer tracks its costs, which is the amount it spends to
produce the boards, and its revenue, which is the amount it earns through sales of its boards. How can the company determine if it
is making a profit with its new line? How many skateboards must be produced and sold before a profit is possible? In this section,
we will consider linear equations with two variables to answer these and similar questions.
Figure 3.1.1
3x– y = 5
The solution to a system of linear equations in two variables is any ordered pair that satisfies each equation independently. In this
example, the ordered pair (4, 7) is the solution to the system of linear equations. We can verify the solution by substituting the
values into each equation to see if the ordered pair satisfies both equations. Shortly we will investigate methods of finding such a
solution if it exists.
2(4) + (7) = 15 True
Given a system of linear equations and an ordered pair, determine whether the ordered pair is a solution
1. Substitute the ordered pair into each equation in the system.
2. Determine whether true statements result from the substitution in both equations; if so, the ordered pair is a solution.
Determine whether the ordered pair (5, 1) is a solution to the given system of equations.
x + 3y = 8
2x − 9 = y
3.1.2 https://math.libretexts.org/@go/page/40113
Solution
Substitute the ordered pair (5, 1) into both equations.
(5) + 3(1) = 8
8 = 8 True
2(5) − 9 = (1)
1 = 1 True
The ordered pair (5, 1) satisfies both equations, so it is is the solution to the system.
Analysis
We can see the solution clearly by plotting the graph of each equation. Since the solution is an ordered pair that satisfies both
equations, it is a point on both of the lines and thus the point of intersection of the two lines. See Figure 3.1.2.
Figure 3.1.2
Exercise 3.1.1
Determine whether the ordered pair (8, 5) is a solution to the following system.
5x − 4y = 20
2x + 1 = 3y
Answer
Not a solution.
Generally, we aren't given the coordinates of a possible solution. Instead, we need to find it. There are three main methods for
finding a solution to a system of equations: graphing, substitution, and elimination by addition.
How to: Given a system of two equations in two variables, solve using the graphing method.
1. Carefully and accurately graph each equation on the same set of axes.
2. Identify the point at which the lines intersect.
3. Check the solution in both equations.
3.1.3 https://math.libretexts.org/@go/page/40113
Example 3.1.2: Solving a System of Equations in Two Variables by Graphing
2x + y = −8
x − y = −1
Solution
Solve the first equation for y .
2x + y = −8
y = −2x − 8
= x +1
Figure 3.1.3
The lines appear to intersect at the point (−3, −2). We can check to make sure that this is the solution to the system by
substituting the ordered pair into both equations.
2(−3) + (−2) = −8
−8 − 8 True
(−3) − (−2) = −1
−1 = −1 True
Exercise 3.1.2
2x − 5y = −25
−4x + 5y = 35
Answer
The solution to the system is the ordered pair (−5, 3).
3.1.4 https://math.libretexts.org/@go/page/40113
Figure 3.1.4
How to: Given a system of two equations in two variables, solve using the substitution method.
1. Solve one of the two equations for one of the variables in terms of the other.
2. Substitute the expression for this variable into the other equation, then solve for the remaining variable.
3. Substitute that solution into either of the original equations to find the value of the first variable. If possible, write the
solution as an ordered pair.
4. Check the solution in both equations.
2x − 5y = 1
Solution
First, we will solve the first equation for y .
−x + y = −5
y = x −5
2x − 5(x − 5) = 1
2x − 5x + 25 = 1
−3x = −24
x =8
3.1.5 https://math.libretexts.org/@go/page/40113
−(8) + y = −5
y =3
2x − 5y = 1
Exercise 3.1.3
4 = 3x − 2y
Answer
(−2, −5)
How to: Given a system of equations, solve using the elimination by addition method.
1. Write both equations with x- and y-variables on the left side of the equal sign and constants on the right. Write one
equation above the other, lining up corresponding variables.
2. If one of the variables in the top equation has the opposite coefficient of the same variable in the bottom equation, add the
equations together, eliminating one variable. If not, use multiplication by a nonzero number so that one of the variables in
the top equation has the opposite coefficient of the same variable in the bottom equation, then add the equations to
eliminate the variable.
3. Solve the resulting equation for the remaining variable.
4. Substitute that value into one of the original equations and solve for the second variable.
5. Check the solution by substituting the values into the other equation.
−x + y = 3
Solution
Both equations are already set equal to a constant. Notice that the coefficient of x in the second equation, – 1, is the opposite of
the coefficient of x in the first equation, 1. We can add the two equations to eliminate x without needing to multiply by a
constant.
x + 2y = −1
−x + y = 3
––––––– –
3y = 2
3.1.6 https://math.libretexts.org/@go/page/40113
Now that we have eliminated x, we can solve the resulting equation for y .
3y = 2
2
y =
3
Then, we substitute this value for y into one of the original equations and solve for x.
−x + y = 3
2
−x + =3
3
2
−x = 3 −
3
7
−x =
3
7
x =−
3
7 2
The solution to this system is (− , .
)
3 3
7 2
(− ) +2 ( ) = −1
3 3
7 4
− + = −1
3 3
3
− = −1
3
−1 = −1 True
Analysis
We gain an important perspective on systems of equations by looking at the graphical representation. See Figure 3.1.5 to find
that the equations intersect at the solution. We do not need to ask whether there may be a second solution because observing
the graph confirms that the system has exactly one solution.
Figure 3.1.5
Example 3.1.5: Using the Elimination by Addition Method When Multiplication of One Equation Is Required
x − 2y = 11
Solution
3.1.7 https://math.libretexts.org/@go/page/40113
Adding these equations as presented will not eliminate a variable. However, we see that the first equation has 3x in it and the
second equation has x. So if we multiply the second equation has x. So if we multiply the second equation by −3,the x-terms
will add to zero.
x − 2y = 11
−3x + 6y = −33
––––––––– ––––
11y = −44
y = −4
For the last step, we substitute y = −4 into one of the original equations and solve for x.
3x + 5y = −11
3x + 5(−4) = −11
3x − 20 = −11
3x = 9
x =3
Our solution is the ordered pair (3, −4). See Figure 3.1.6. Check the solution in the original second equation.
x − 2y = 11
(3) − 2(−4) = 3 + 8
= 11 True
Figure 3.1.6
Exercise 3.1.5
3x + y = −20
Answer
(−6, −2)
3.1.8 https://math.libretexts.org/@go/page/40113
Example 3.1.6: Using the Elimination by Addition Method When Multiplication of Both Equations Is Required
2x + 3y = −16
5x − 10y = 30
Solution
One equation has 2x and the other has 5x. The least common multiple is 10x so we will have to multiply both equations by a
constant in order to eliminate one variable. Let’s eliminate x by multiplying the first equation by −5 and the second equation
by 2.
−5(2x + 3y) = −5(−16)
−10x − 15y = 80
10x − 20y = 60
10x − 20y = 60
–––––––––– ––
–
−35y = 140
y = −4
2x − 12 = −16
2x = −4
x = −2
5(−2) − 10(−4) = 30
−10 + 40 = 30
30 = 30
Figure 3.1.7
3.1.9 https://math.libretexts.org/@go/page/40113
SUPPLY, DEMAND AND THE EQUILIBRIUM MARKET PRICE
In a free market economy the supply curve for a commodity is the number of items of a product that can be made available at
different prices, and the demand curve is the number of items the consumer will buy at different prices.
As the price of a product increases, its demand decreases and supply increases. On the other hand, as the price decreases the
demand increases and supply decreases. The equilibrium price is reached when the demand equals the supply.
Example 3.1.7
The supply curve for a product is y = 3.5x − 14 and the demand curve for the same product is y = −2.5x + 34 , where x is
the price and y the number of items produced. Find the following.
a. How many items will be supplied at a price of $10?
b. How many items will be demanded at a price of $10?
c. Determine the equilibrium price.
d. How many items will be produced at the equilibrium price?
Solution
a) We substitute x = 10 in the supply equation, y = 3.5x − 14 ; the answer is y = 3.5(10) − 14 = 21 .
b) We substitute x = 10 in the demand equation, y = −2.5x + 34 ; the answer is y = −2.5(10) + 34 = 9 .
c) By letting the supply equal the demand, we get
6x = 480
x = $80
The graph shows the intersection of the supply and the demand functions and their point of intersection, (8,14).
Interpretation: At equilibrium, the price is $8 per item, and 14 items are produced by suppliers and purchased by consumers.
3.1.10 https://math.libretexts.org/@go/page/40113
Figure 3.1.11
The point at which the two lines intersect is called the break-even point. We can see from the graph that if 700 units are produced,
the cost is $3, 300 and the revenue is also $3, 300. In other words, the company breaks even if they produce and sell 700 units.
They neither make money nor lose money.
The shaded region to the right of the break-even point represents quantities for which the company makes a profit. The shaded
region to shaded region to the left represents quantities for which the company suffers a loss. The profit function is the revenue
function minus the cost function, written as P (x) = R(x) − C (x) . Clearly, knowing the quantity for which the cost equals the
revenue is of great importance to businesses.
Example 3.1.8: Finding the Break-Even Point and the Profit Function Using Substitution
Given the cost function C (x) = 0.85x + 35, 000 and the revenue function function R(x) = 1.55x , find the break-even point
and the profit function.
Solution
Write the system of equations using y to replace function notation.
y = 0.85x + 35, 000
y = 1.55x
Substitute the expression 0.85x + 35, 000 from the first equation into the second equation and solve for x.
0.85x + 35, 000 = 1.55x
50, 000 = x
Then, we substitute x = 50, 000 into either the cost function or or the revenue function.
1.55(50, 000) = 77, 500
3.1.11 https://math.libretexts.org/@go/page/40113
Figure 3.1.12
We see from the graph in Figure 3.1.13 that the profit function has a negative value until x = 50, 000, when the graph crosses
the x-axis. Then, the graph emerges into positive y -values and continues on this path as the profit function is a straight line.
This illustrates that function is a straight line. This illustrates that the break-even point for businesses occurs when for
businesses occurs when the profit function is 0. The area to the left of the break-even point represents operating at a loss.
Figure 3.1.13
This page titled 3.1: Solving Systems with Algebra is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder
Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is
available upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
3.1.12 https://math.libretexts.org/@go/page/40113
3.1E: Exercises - Solving Systems with Algebra
Solve the following problems.
1) Determine if (0, 5) is a solution to the system. 2) Determine if (-3, 2) is a solution to the system.
6x - 2y = -10 -4x - 3y = 6
3x + y = 8 2x + 5y = 4
3) Solve this system using graphing. 4) Solve this system using graphing.
y = 3x + 4 x - 2y = -6
y = 5x - 2 y = -2x - 7
5) Solve this system using substitution. 6) Solve this system using substitution.
y = 3x - 1 2x + y = 9
2x + y = 4 3x - 2y = -4
7) Solve this system using elimination by addition. 8) Solve this system using elimination by addition.
3x - 7y = -1 2x - 3y = 4
2x + 7y = -24 3x - 4y = 5
9) The supply and demand curves for a product are: Supply y = 2000x - 10) The supply and demand curves for a product are
6500 Supply y = 300x - 18000 and
Demand y = - 1000x + 28000, Demand y = - 100x + 14000,
where x is price and y is the number of items. At what price will supply where x is price and y is the number of items. At what price will supply
equal demand and how many items will be produced at that price? equal demand, and how many items will be produced at that price?
11) A car rental company offers two plans for one way rentals.
Plan I charges $36 per day and 17 cents per mile. Plan II charges $24 per day and 25 cents per mile.
a. If you were to drive 300 miles in a day, which plan is better?
b. For what mileage are both rates equal?
12) A demand curve for a product is the number of items the consumer 13) A supply curve for a product is the number of items that can be
will buy at different prices. At a price of $2 a store can sell 2400 of a made available at different prices. A manufacturer of toy trucks can
particular type of toy truck. At a price of $8 the store can sell 600 such supply 2000 trucks if they are sold for $8 each; it can supply only 400
trucks. If x represents the price of trucks and y the number of items sold, trucks if they are sold for $4 each. If x is the price and y the number of
write an equation for the demand curve. items, write an equation for the supply curve.
15) A break-even point is the intersection of the cost function and the
14) The equilibrium price is the price where the supply equals the
revenue function, that is, where total cost equals revenue, and profit is
demand. From the demand and supply curves obtained in the previous
zero. Mrs. Jones Cookies Store's cost and revenue, in dollars, for x
two problems, find the equilibrium price, and determine the number of
number of cookies is given by C = .05x + 3000 and R = .80x. Find the
items that can be sold at that price.
number of cookies that must be sold to break even.
This page titled 3.1E: Exercises - Solving Systems with Algebra is shared under a CC BY 4.0 license and was authored, remixed, and/or curated
by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit
history is available upon request.
3.1E.1 https://math.libretexts.org/@go/page/40114
3.2: Matrices and Matrix Operations
Learning Objectives
Find the sum and difference of two matrices.
Find scalar multiples of a matrix.
Find the product of two matrices.
Use a graphing calculator for matrix calculations.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Simplify each expression.
a. −2(3x − 7)
b. −5(3a + 4b − 2c)
Two club soccer teams, the Wildcats and the Mud Cats, are hoping to obtain new equipment for an upcoming season. Table 3.2.1
shows the needs of both teams.
Table 3.2.1
Wildcats Mud Cats
Goals 6 10
Balls 30 24
Jerseys 14 20
A goal costs $300; a ball costs $10; and a jersey costs $30. How can we find the total cost for the equipment needed for each team?
In this section, we discover a method in which the data in the soccer equipment table can be displayed and used for calculating
other information. Then, we will be able to calculate the cost of the equipment.
1 2
A =[ ]
3 4
1 2 7
⎡ ⎤
B =⎢0 −5 6⎥
⎣ ⎦
7 8 2
−1 3
⎡ ⎤
C =⎢ 0 2⎥
⎣ ⎦
3 1
A matrix is often referred to by its size or dimensions: m × n indicating m rows and n columns. Matrix entries are defined first by
row and then by column. For example, to locate the entry in matrix A identified as a ,we look for the entry in row i,column j . In
ij
A square matrix is a matrix with dimensions n × n , meaning that it has the same number of rows as columns. The 3 × 3
matrix above is an example of a square matrix.
A row matrix is a matrix consisting of one row with dimensions 1 × n .
a11
⎡ ⎤
⎢ a21 ⎥
⎣ ⎦
a31
Definition: MATRICES
A matrix is a rectangular array of numbers that is usually named by a capital letter: A , B , C ,and so on. Each entry in a matrix
is referred to as a ,such that i represents the row and j represents the column. Matrices are often referred to by their
ij
Given matrix A :
a. What are the dimensions of matrix A ?
b. What are the entries at a and a ?
31 22
2 1 0
⎡ ⎤
A =⎢2 4 7 ⎥
⎣ ⎦
3 1 −2
Solution
a. The dimensions are 3 × 3 because there are three rows and three columns.
b. Entry a is the number at row 3, column 1, which is 3. The entry a is the number at row 2, column 2, which is 4.
31 22
A matrix may be used to represent a system of equations. In these cases, the numbers represent the coefficients of the variables in
the system. Matrices often make solving systems of equations easier because they are not encumbered with variables. We will
investigate this idea further in the next section, but first we will look at basic matrix operations.
Given matrices A and B of like dimensions, addition and subtraction of A and B will produce matrix C or matrix D of the
same dimension.
A+B = C (3.2.1)
A−B = D (3.2.2)
It is also associative.
(A + B) + C = A + (B + C ) (3.2.4)
a b
A =[ ]
c d
and
e f
B =[ ]
g h
Solution
a+e b +f
=[ ]
c +g d+h
4 1
A =[ ]
3 2
and
5 9
B =[ ]
0 7
Solution
Add corresponding entries. Add the entry in row 1, column 1, a11 , of matrix A to the entry in row 1, column 1, b11 , of B .
Continue the pattern until all entries have been added.
4 1 5 9
A+B = [ ]+[ ]
3 2 0 7
4 +5 1 +9
=[ ]
3 +0 2 +7
9 10
=[ ]
3 9
Solution
We subtract the corresponding entries of each matrix.
−2 3 8 1
A−B = [ ]−[ ]
0 1 5 4
−2 − 8 3 −1
=[ ]
0 −5 1 −4
−10 2
=[ ]
−5 −3
Given A and B :
a. Find the sum.
b. Find the difference.
and
6 10 −2
⎡ ⎤
B =⎢ 0 −12 −4 ⎥
⎣ ⎦
−5 2 −2
Solution
a. Add the corresponding entries.
2 −10 −2 6 10 −2
⎡ ⎤ ⎡ ⎤
A + B = ⎢ 14 12 10 ⎥ + ⎢ 0 −12 −4 ⎥
⎣ ⎦ ⎣ ⎦
4 −2 2 −5 2 −2
2 +6 −10 + 10 −2 − 2
⎡ ⎤
= ⎢ 14 + 0 12 − 12 10 − 4 ⎥
⎣ ⎦
4 −5 −2 + 2 2 −2
8 0 −4
⎡ ⎤
= ⎢ 14 0 6 ⎥
⎣ ⎦
−1 0 0
2 −6 −10 − 10 −2 + 2
⎡ ⎤
= ⎢ 14 − 0 12 + 12 10 + 4 ⎥
⎣ ⎦
4 +5 −2 − 2 2 +2
−4 −20 0
⎡ ⎤
= ⎢ 14 24 14 ⎥
⎣ ⎦
9 −4 4
Exercise 3.2.1
2 6
⎡ ⎤
A =⎢1 0 ⎥
⎣ ⎦
1 −3
and
3 −2
⎡ ⎤
B =⎢ 1 5 ⎥
⎣ ⎦
−4 3
Answer
A+B = ⎢ 1 0 ⎥+⎢ 1 5 ⎥
⎣ ⎦ ⎣ ⎦
1 −3 −4 3
2 +3 6 + (−2)
⎡ ⎤
=⎢ 1 +1 0 +5 ⎥
⎣ ⎦
1 + (−4) −3 + 3
5 4
⎡ ⎤
=⎢ 2 5⎥
⎣ ⎦
−3 0
Computers 15 27
Computer Tables 16 34
Chairs 16 34
To calculate how much computer equipment will be needed, we multiply all entries in matrix C by 0.15.
(0.15)15 (0.15)27 2.25 4.05
⎡ ⎤ ⎡ ⎤
(0.15)C2013 = ⎢ (0.15)16 (0.15)34 ⎥ = ⎢ 2.4 5.1 ⎥
⎣ ⎦ ⎣ ⎦
(0.15)16 (0.15)34 2.4 5.1
We must round up to the next integer, so the amount of new equipment needed is
3 5
⎡ ⎤
⎢3 6⎥
⎣ ⎦
3 6
Adding the two matrices as shown below, we see the new inventory amounts.
15 27 3 5 18 32
⎡ ⎤ ⎡ ⎤ ⎡ ⎤
⎢ 16 34 ⎥ + ⎢ 3 6 ⎥ = ⎢ 19 40 ⎥
⎣ ⎦ ⎣ ⎦ ⎣ ⎦
16 34 3 6 19 40
This means
Thus, Lab A will have 18 computers, 19 computer tables, and 19 chairs; Lab B will have 32 computers, 40 computer tables, and 40
chairs.
SCALAR MULTIPLICATION
Scalar multiplication involves finding the product of a constant by each entry in the matrix. Given
a11 a12
A =[ ]
a21 a22
ca11 ca12
=[ ]
ca21 ca22
Scalar multiplication is distributive. For the matrices A , B ,and C with scalars a and b ,
a(A + B) = aA + aB (3.2.5)
(a + b)A = aA + bA (3.2.6)
Solution
Multiply each entry in A by the scalar 3.
8 1
3A = 3 [ ]
5 4
3⋅8 3⋅1
=[ ]
3⋅5 3⋅4
24 3
=[ ]
15 12
Exercise 3.2.2
4 1
B =[ ]
3 2
Answer
−8 −2
−2B = [ ]
−6 −4
1 −2 0
⎡ ⎤
A =⎢0 −1 2 ⎥
⎣ ⎦
4 3 −6
and
−1 2 1
⎡ ⎤
B =⎢ 0 −3 2 ⎥
⎣ ⎦
0 1 −4
Solution
First, find 3A, then 2B.
3⋅1 3(−2) 3⋅0
⎡ ⎤
3A = ⎢ 3 ⋅ 0 3(−1) 3⋅2 ⎥
⎣ ⎦
3⋅4 3⋅3 3(−6)
3 −6 0
⎡ ⎤
=⎢ 0 −3 6 ⎥
⎣ ⎦
12 9 −18
−2 4 2
⎡ ⎤
=⎢ 0 −6 4 ⎥
⎣ ⎦
0 2 −8
Now, add 3A + 2B .
3 −6 0 −2 4 2
⎡ ⎤ ⎡ ⎤
3A + 2B = ⎢ 0 −3 6 ⎥+⎢ 0 −6 4 ⎥
⎣ ⎦ ⎣ ⎦
12 9 −18 0 2 −8
3 −2 −6 + 4 0 +2
⎡ ⎤
= ⎢ 0 +0 −3 − 6 6 +4 ⎥
⎣ ⎦
12 + 0 9 +2 −18 − 8
1 −2 2
⎡ ⎤
=⎢ 0 −9 10 ⎥
⎣ ⎦
12 11 −26
In addition to multiplying a matrix by a scalar, we can multiply two matrices. Finding the product of two matrices is only possible
when the inner dimensions are the same, meaning that the number of columns of the first matrix is equal to the number of rows of
the second matrix. If A is an m × r matrix and B is an r × n matrix, then the product matrix AB is an m × n matrix. For
example, the product AB is possible because the number of columns in A is the same as the number of rows in B . If the inner
dimensions do not match, the product is not defined.
and
b11 b12 b13
⎡ ⎤
B = ⎢ b21 b22 b23 ⎥
⎣ ⎦
b31 b32 b33
Multiply and add as follows to obtain the first entry of the product matrix AB.
1. To obtain the entry in row 1, column 1 of AB,multiply the first row in A by the first column in B ,and add.
b11
⎡ ⎤
[ a11 a12 a13 ] ⋅ ⎢ b21 ⎥ = a11 ⋅ b11 + a12 ⋅ b21 + a13 ⋅ b31
⎣ ⎦
b31
2. To obtain the entry in row 1, column 2 of AB,multiply the first row of A by the second column in B ,and add.
b12
⎡ ⎤
[ a11 a12 a13 ] ⋅ ⎢ b22 ⎥ = a11 ⋅ b12 + a12 ⋅ b22 + a13 ⋅ b32
⎣ ⎦
b32
3. To obtain the entry in row 1, column 3 of AB,multiply the first row of A by the third column in B ,and add.
b13
⎡ ⎤
[ a11 a12 a13 ] ⋅ ⎢ b23 ⎥ = a11 ⋅ b13 + a12 ⋅ b23 + a13 ⋅ b33
⎣ ⎦
b33
We proceed the same way to obtain the second row of AB. In other words, row 2 of A times column 1 of B ; row 2 of A times
column 2 of B ; row 2 of A times column 3 of B . When complete, the product matrix will be
a11 ⋅ b11 + a12 ⋅ b21 + a13 ⋅ b31 a11 ⋅ b12 + a12 ⋅ b22 + a13 ⋅ b32 a11 ⋅ b13 + a12 ⋅ b23 + a13 ⋅ b33
AB = [ ]
a21 ⋅ b11 + a22 ⋅ b21 + a23 ⋅ b31 a21 ⋅ b12 + a22 ⋅ b22 + a23 ⋅ b32 a21 ⋅ b13 + a22 ⋅ b23 + a23 ⋅ b33
(A + B)C = AC + BC . (3.2.9)
Solution
First, we check the dimensions of the matrices. Matrix A has dimensions 2 × 2 and matrix B has dimensions 2 × 2 . The inner
dimensions are the same so we can perform the multiplication. The product will have the dimensions 2 × 2 .
We perform the operations outlined previously.
Given A and B :
a. Find AB.
b. Find BA.
−1 2 3
A =[ ]
4 0 5
and
5 −1
⎡ ⎤
B = ⎢ −4 0 ⎥
⎣ ⎦
2 3
Solution
a. As the dimensions of A are 2 × 3 and the dimensions of B are 3 × 2 ,these matrices can be multiplied together because the
number of columns in A matches the number of rows in B . The resulting product will be a 2 × 2 matrix, the number of
rows in A by the number of columns in B .
5 −1
⎡ ⎤
−1 2 3
AB = [ ] ⎢ −4 0 ⎥
4 0 5
⎣ ⎦
2 3
−7 10
=[ ]
30 11
b. The dimensions of B are 3 × 2 and the dimensions of A are 2 × 3 . The inner dimensions match so the product is defined
and will be a 3 × 3 matrix.
⎣ ⎦
2(−1) + 3(4) 2(2) + 3(0) 2(3) + 3(5)
−9 10 10
⎡ ⎤
=⎢ 4 −8 −12 ⎥
⎣ ⎦
10 4 21
Analysis
Notice that the products AB and BA are not equal.
−9 10 10
⎡ ⎤
−7 10
AB = [ ] ≠⎢ 4 −8 −12 ⎥ = BA
30 11
⎣ ⎦
10 4 21
Let’s return to the problem presented at the opening of this section. We have Table 3.2.3, representing the equipment needs of
two soccer teams.
Table 3.2.3
Wildcats Mud Cats
Goals 6 10
Balls 30 24
Jerseys 14 20
We are also given the prices of the equipment, as shown in Table 3.2.4.
Table 3.2.4
Goal $300
Ball $10
Jersey $30
We will convert the data to matrices. Thus, the equipment need matrix is written as
6 10
⎡ ⎤
E = ⎢ 30 24 ⎥
⎣ ⎦
14 20
C = [ 300 10 30 ]
= [ 2, 520 3, 840 ]
The total cost for equipment for the Wildcats is $2, 520, and the total cost for equipment for the Mud Cats is $3, 840.
Find AB − C given
45 21
⎡ ⎤
−15 25 32 −100 −89
A =[ ] , B = ⎢ −24 52 ⎥ , and C =[ ]
41 −7 −28 25 −56
⎣ ⎦
6 −48
Solution
On the matrix page of the calculator, we enter matrix A above as the matrix variable [A] , matrix B above as the matrix
variable [B], and matrix C above as the matrix variable [C ].
On the home screen of the calculator, we type in the problem and call up each matrix variable as needed.
[A] × [B] − [C ]
Key Concepts
A matrix is a rectangular array of numbers. Entries are arranged in rows and columns.
The dimensions of a matrix refer to the number of rows and the number of columns. A 3 × 2 matrix has three rows and two
columns. See Example 3.2.1.
We add and subtract matrices of equal dimensions by adding and subtracting corresponding entries of each matrix. See Example
3.2.2, Example 3.2.3, Example 3.2.4, and Example 3.2.5.
Scalar multiplication involves multiplying each entry in a matrix by a constant. See Example 3.2.6.
Scalar multiplication is often required before addition or subtraction can occur. See Example 3.2.7.
Multiplying matrices is possible when inner dimensions are the same—the number of columns in the first matrix must match
the number of rows in the second.
The product of two matrices, A and B ,is obtained by multiplying each entry in row 1 of A by each entry in column 1 of B ;
then multiply each entry of row 1 of A by each entry in columns 2 of B ,and so on. See Example 3.2.8 and Example 3.2.9.
Many real-world problems can often be solved using matrices. See Example 3.2.10.
We can use a calculator to perform matrix operations after saving each matrix as a matrix variable. See Example 3.2.11.
This page titled 3.2: Matrices and Matrix Operations is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax
via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
1) A + B
2) C + D
Answer
11 19
⎡ ⎤
⎢ 15 94 ⎥
⎣ ⎦
17 67
3) A + C
4) B − E
Answer
−4 2
[ ]
8 1
5) C + F
6) D − B
Answer
Undefined; dimensions do not match
For the exercises 7-12, use the matrices below to perform scalar multiplication.
3 9 18 12 13
⎡ ⎤ ⎡ ⎤
4 6 16 3 7 18
A =[ ] , B = ⎢ 21 12 ⎥ , C = [ ],D = ⎢ 8 14 6 ⎥
13 12 90 5 3 29
⎣ ⎦ ⎣ ⎦
0 64 7 4 21
7) 5A
8) 3B
Answer
9 27
⎡ ⎤
⎢ 63 36 ⎥
⎣ ⎦
0 192
9) −2B
10) −4C
Answer
−64 −12 −28 −72
[ ]
−360 −20 −12 −116
3.2E.1 https://math.libretexts.org/@go/page/49624
1
11) C
2
12) 100D
Answer
1, 800 1, 200 1, 300
⎡ ⎤
For the exercises 13-18, use the matrices below to perform matrix multiplication.
4 10 2 −3 12
⎡ ⎤ ⎡ ⎤
−1 5 3 6 4
A =[ ],B = [ ] , C = ⎢ −2 6 ⎥,D = ⎢9 3 1 ⎥
3 2 −8 0 12 ⎣ ⎦ ⎣ ⎦
5 9 0 8 −10
13) AB
14) BC
Answer
20 102
[ ]
28 28
15) C A
16) BD
Answer
60 41 2
[ ]
−16 120 −216
17) DC
18) C B
Answer
−68 24 136
⎡ ⎤
⎢ −54 −12 64 ⎥
⎣ ⎦
−57 30 128
For the exercises 19-24, use the matrices below to perform the indicated operation if possible. If not possible, explain why
the operation cannot be performed.
−8 7 −5 4 5 3
⎡ ⎤ ⎡ ⎤
2 −5 −9 6 0 9
A =[ ],B = [ ],C = [ ],D = ⎢ 4 3 2 ⎥,E = ⎢7 −6 −5 ⎥
6 7 −4 2 7 1
⎣ ⎦ ⎣ ⎦
0 9 2 1 0 9
19) A + B − C
20) 4A + 5D
Answer
Undefined; dimensions do not match.
21) 2C + B
3.2E.2 https://math.libretexts.org/@go/page/49624
22) 3D + 4E
Answer
−8 41 −3
⎡ ⎤
⎢ 40 −15 −14 ⎥
⎣ ⎦
4 27 42
23) C − 0.5D
24) 100D − 10E
Answer
−840 650 −530
⎡ ⎤
3.2E: Exercises - Matrices and Matrix Operations is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.
3.2E.3 https://math.libretexts.org/@go/page/49624
3.3: Solving Systems with Gauss-Jordan Elimination
Learning Objectives
Write the augmented matrix of a system of equations.
Write the system of equations from an augmented matrix.
Solve a system of linear equations using matrices and a graphing calculator.
Solve financial applications using matrices and a graphing calculator.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
Enter the following matrices in your calculator and then perform the indicated operations. If the operation cannot be done,
give a reason.
5 1 −2 3 −7 9 4
⎡ ⎤ ⎡ ⎤ ⎡ ⎤
a. A ⋅ B
b. B ⋅ A
c. 4B − 2C
d. A + C
a. ⎢ 20 −64 ⎥
⎣ ⎦
2 13
b. Undefined since the number of columns in matrix B do not match the number of rows in matrix A.
−6 −36
⎡ ⎤
c. ⎢ −12 14 ⎥
⎣ ⎦
−6 −30
d. Undefined since the dimension of matrix A do not match the dimensions of matrix C .
If you missed any part of this problem, review Section 3.2. (Note that this will open in a new window.)
Carl Friedrich Gauss lived during the late 18 century and early 19 century, but he is still considered one of the most prolific
th th
mathematicians in history. His contributions to the science of mathematics and physics span fields such as algebra, number theory,
analysis, differential geometry, astronomy, and optics, among others. His discoveries regarding matrix theory changed the way
mathematicians have worked for the last two centuries.
Augmented Matrices
A matrix can serve as a device for representing and solving a system of equations. To express a system in matrix form, we extract
the coefficients of the variables and the constants, and these become the entries of the matrix. We use a vertical line to separate the
coefficient entries from the constants, essentially replacing the equal signs. When a system is written in this form, we call it an
augmented matrix.
For example, consider the following 2 × 2 system of equations.
3x + 4y = 7
4x − 2y = 5
3 4 7
[ ]
4 −2 5
We can also write a matrix containing just the coefficients. This is called the coefficient matrix.
3 4
[ ]
4 −2
3x − y − z = 0
x +y = 5
2x − 3z = 2
⎢1 1 0 ⎥
⎣ ⎦
2 0 −3
⎡ 3 −1 −1 0 ⎤
⎢ 1 1 0 5 ⎥
⎢ ⎥
⎣ 2 0 −3 2 ⎦
Notice that the matrix is written so that the variables line up in their own columns: x-terms go in the first column, y -terms in the
second column, and z -terms in the third column. It is very important that each equation is written in standard form
ax + by + cz = d so that the variables line up. When there is a missing variable term in an equation, the coefficient is 0 .
2x − y + 2z = 6
x − 3y + 3z = 4
Solution
The augmented matrix displays the coefficients of the variables, and an additional column for the constants.
⎡ 1 2 −1 3 ⎤
⎢ 2 −1 2 6 ⎥
⎢ ⎥
⎣ 1 −3 3 4 ⎦
Exercise 3.3.1
3x + 2y = 4
Answer
4 −3 11
[ ]
3 2 4
⎡ 1 −3 −5 −2 ⎤
⎢ 2 −5 −4 5 ⎥
⎢ ⎥
⎣ −3 5 4 6 ⎦
Solution
When the columns represent the variables x, y , and z ,
⎡ 1 −3 −5 −2 ⎤ x − 3y − 5z = −2
⎢ 2 −5 −4 5 ⎥ → 2x − 5y − 4z = 5
⎢ ⎥
⎣ −3 5 4 6 ⎦ −3x + 5y + 4z = 6
⎡ 1 −1 1 5 ⎤
⎢ 2 −1 3 1 ⎥
⎢ ⎥
⎣ 0 1 1 −9 ⎦
Answer
x −y +z = 5
2x − y + 3z = 1
y + z = −9
⎡ 1 0 0 4 ⎤
1 0 −2
[ ] ,⎢
⎢ 0 1 0 3 ⎥
⎥
0 1 5
⎣ 0 0 1 2 ⎦
⎡ 0 2 3 3 ⎤
2 4 −6
[ ] , ⎢
⎢ 1 5 0 2 ⎥
⎥
4 0 7
⎣ 0 0 1 0 ⎦
Write the system of equations from each of the matrices in reduced row-echelon form from above. What is the advantage of
this form?
1 0 −2
a. [ ]
0 1 5
⎡ 1 0 0 4 ⎤
b. ⎢
⎢ 0 1 0 3 ⎥
⎥
⎣ 0 0 1 2 ⎦
Solution
x = −2
a.
y =5
x =4
b. y =3
z =2
The advantage of reduced row-echelon form is that the solution to the system of equations is given in the right column.
We can perform row operations on a matrix, such as addition, multiplication by a constant, and interchanging rows, to
create reduced row-echelon form. The process of performing these steps by hand is beyond the scope of this class. However, you
are welcome and encouraged to find more information about the Gauss-Jordan Method HERE.
How to: Given a system of equations, solve with matrices using a calculator
1. Save the augmented matrix as a matrix variable [A], [B], [C ], . . .
a. Press 2nd MATRIX. The screen will display the Matrix menu. Use the right arrow key twice to select the EDIT menu.
From the EDIT menu, use the down arrow to move the cursor to select the matrix name desired from the menu, and
press ENTER. The matrix input screen will appear.
b. Enter the dimensions of the total matrix size as rows × columns. Type the number of rows, press ENTER, type the
number of columns, and press ENTER again. The shape of the matrix adjusts on the screen to show the requested
number of rows and columns. Check that the shape matches the desired matrix; if it does not, then return to the top row
and adjust the dimensions. If the matrix is too large to fit the screen, use the arrow keys to scroll right or down to see the
remaining rows and columns.
c. Input the matrix entries, press ENTER after each. The cursor scrolls through the matrix by moving across each row
from left to right and then down to the next row. Using the arrow keys to move the cursor instead of pressing ENTER
may result in a value not being stored in the calculator memory.
d. Press 2nd QUIT to complete the saving process and return to the home screen.
2. Use the rref( function in the calculator to find the reduced row-echelon form of the matrix.
a. From the home screen, press 2nd MATRIX. Use the right arrow once to go to the MATH menu.
b. Scroll down (or up) to rref(, being careful not to select ref(, and press ENTER.
c. Press 2nd MATRIX again and use the down arrow (if necessary) to select the name of the matrix and press ENTER.
d. Press ENTER to complete the operation.
3. If the reduced row-echelon form of the matrix exists, the calculator will display it on the home screen.
6x + 4y + 3z = −6
1
x + 2y + z =
3
−12x − 10y − 7z = 11
Solution
Write the augmented matrix for the system of equations.
⎢ 1 ⎥
⎢ 1 2 1 ⎥
⎢ ⎥
⎢ 3 ⎥
⎣ −12 −10 −7 11 ⎦
On the matrix page of the calculator, enter the augmented matrix above as the matrix variable [A].
⎡ 6 4 3 −6 ⎤
⎢ 1 ⎥
[A] = ⎢
⎢ 1 2 1
⎥
⎥
⎢ 3 ⎥
⎣ −12 −10 −7 11 ⎦
Use the rref( function in the calculator, calling up the matrix variable [A].
rref([A])
Use the MATH --> FRAC option in the calculator to express the matrix elements as fractions.
Evaluate
2 2
⎡ ⎤
1 0 0 − x + 0y + 0z = −
⎢ 3 ⎥ 3
⎢ ⎥
⎢ 5 ⎥ → 5
⎢ 0 1 0 ⎥ y + 0z =
⎢ 2 ⎥ 2
⎣ 0 0 1 −4 ⎦ z = −4
Thus the solution, which can easily be read from the right column of the reduced row-echelon form of the matrix, is
2 5
(− , .
, −4)
3 2
Exercise 3.3.3
−x + 3y − 8z = −10
−5x − 4y + 6z = 19
Answer
Write the augmented matrix for the system of equations.
⎡ 4 −7 2 −5 ⎤
⎢ −1 3 −8 −10 ⎥
⎢ ⎥
⎣ −5 −4 6 19 ⎦
On the matrix page of the calculator, enter the augmented matrix above as the matrix variable [A].
⎡ 4 −7 2 −5 ⎤
[A] = ⎢
⎢ −1 3 −8 −10 ⎥
⎥
⎣ −5 −4 6 19 ⎦
Use the rref( function in the calculator, calling up the matrix variable [A].
rref([A])
Use the MATH --> FRAC option in the calculator to express the matrix elements as fractions.
Evaluate
⎢ 0 1 0 0 ⎥ y + 0z = 0
⎢ ⎥ →
⎢ ⎥
⎢ 3 ⎥ 3
0 0 1 z =
⎣ ⎦
2 2
Thus the solution, which can easily be read from the right column of the reduced row-echelon form of the matrix, is
3
(−2, 0, .
)
2
Carolyn invests a total of $12, 000 in two municipal bonds, one paying 10.5% interest and the other paying 12% interest. The
annual interest earned on the two investments last year was $1, 335. How much was invested at each rate?
Solution
We have a system of two equations in two variables. Let x = the amount invested at 10.5% interest, and y = the amount
invested at 12% interest.
x + y = 12, 000
As a matrix, we have
1 1 12, 000
[ ]
0.105 0.12 1, 335
Enter this matrix as matrix variable [A]. Use the rref( function, calling up the matrix variable [A].
rref([A])
1 0 7000
[ ]
0 1 5000
Thus, $7, 000 was invested at 10.5% interest and $5, 000 at 12% interest.
Ava invests a total of $10, 000 in three accounts, one paying 5% interest, another paying 8% interest, and the third paying
9% interest. The annual interest earned on the three investments last year was $770. The amount invested at 9% was twice the
amount invested at 5%. How much was invested at each rate?
Solution
We have a system of three equations in three variables. Let x be the amount invested at 5% interest, let y be the amount
invested at 8% interest, and let z be the amount invested at 9% interest. Thus,
x + y + z = 10, 000
2x − z = 0
As a matrix, we have
⎡ 1 1 1 10, 000 ⎤
Enter this matrix as matrix variable [A]. Use the rref( function, calling up the matrix variable [A].
rref([A])
⎢ 0 1 0 1000 ⎥
⎢ ⎥
⎣ ⎦
0 0 1 6000
The answer is $3, 000 invested at 5% interest, $1, 000 invested at 8%, and $6, 000 invested at 9% interest.
Exercise 3.3.4
A small shoe company took out a loan of $1, 500, 000 to expand their inventory. Part of the money was borrowed at 7%, part
was borrowed at 8%, and part was borrowed at 10%. The amount borrowed at 10% was four times the amount borrowed at
7%, and the annual interest on all three loans was $130, 500. Use matrices to find the amount borrowed at each rate.
Answer
$150, 000 at 7%, $750, 000at 8%, $600, 000at 10%
Media
Access these online resources for additional instruction and practice with solving systems of linear equations using Gaussian
elimination.
Solve a System of Two Equations Using an Augmented Matrix
Solve a System of Three Equations Using an Augmented Matrix
Augmented Matrices on the Calculator
Key Concepts
An augmented matrix is one that contains the coefficients and constants of a system of equations. See Example 3.3.1.
A matrix augmented with the constant column can be represented as the original system of equations. See Example 3.3.2.
We can use Gauss-Jordan elimination to solve a system of equations. See Example 3.3.4.
Many real-world problems can be solved using augmented matrices. See Example 3.3.5 and Example 3.3.6.
This page titled 3.3: Solving Systems with Gauss-Jordan Elimination is shared under a CC BY 4.0 license and was authored, remixed, and/or
curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available
upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
−3x − 5y = 13
2)
−x + 4y = 10
3x + 7y = 1
3)
2x + 4y = 0
−4 3 5
4) [ ]
2 −1 1
⎡ 1 5 2 4 ⎤
5) ⎢
⎢ −2 9 0 −4 ⎥
⎥
⎣ 2 −1 1 5 ⎦
⎡ 1 0 0 −2 ⎤
6) ⎢
⎢ 0 1 0 3 ⎥
⎥
⎣ 0 0 1 7 ⎦
1 1 2
x+ y =
8) 3 9 9
1 4 1
− x+ y =−
2 5 3
3x + 6y = 11
10)
2x + 4y = 9
x + y + z = 197
11) −2x + y = 6
x + y − z = 37
2x − y + 3z = 17
2y + 5z = −7
Write a system of equations to represent each scenario. Then use Gaussian elimination to solve for the desired quantity.
13) A cell phone factory has a cost of production C (x) = 150x + 10, 000 and a revenue function R(x) = 200x . What is the
break-even point?
14) The startup cost for a restaurant is $120, 000, and each meal costs $10 for the restaurant to make. If each meal is then sold for
$15, after how many meals does the restaurant break even?
3.3E.1 https://math.libretexts.org/@go/page/49623
7
15) If an investor invests a total of $25, 000 into two bonds, one that pays 3% simple interest, and the other that pays 2 %
8
interest, and the investor earns $737.50 annual interest, how much was invested in each account?
3.3E: Exercises - Solving Systems with Gauss-Jordan Elimination is shared under a not declared license and was authored, remixed, and/or
curated by LibreTexts.
3.3E.2 https://math.libretexts.org/@go/page/49623
3.4: Solving Systems with Inverses
Learning Objectives
Find the inverse of a matrix.
Solve a system of linear equations using an inverse matrix
Prerequisite Skills
Before you get started, take this prerequisite quiz.
2 1 3 −1
1. Use your calculator to find A ⋅ B if A = [ ] ,B=[ ] .
5 3 −5 2
If you missed any part of this problem, review Section 3.2. (Note that this will open in a new window.)
1
2. Simplify 5 ⋅ without using a calculator.
5
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
3 2
3. Simplify ⋅ without using a calculator.
2 3
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
3 5
4. Solve − x = by isolating the x first. (Do not multiply both sides by the LCD.)
2 8
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
Nancy plans to invest $10, 500 into two different bonds to spread out her risk. The first bond has an annual return of 10, and the
second bond has an annual return of 6. To receive an 8.5 return from the two bonds, how much should Nancy invest in each bond?
What is the best method to solve this problem? There are several ways we can solve this problem. As we have seen in previous
sections, systems of equations and matrices are useful in solving real-world problems involving finance. After studying this section,
we will have the tools to solve the bond problem using the inverse of a matrix.
respectively:
1 0
I2 = [ ]
0 1
1 0 0
⎡ ⎤
I3 = ⎢ 0 1 0⎥
⎣ ⎦
0 0 1
AI = I A = A
1 0
I2 = [ ]
0 1
Solution
Use matrix multiplication to show that the product of A and the identity matric is equal to the product of the identity matrix
and A .
3 4 1 0
AI = [ ][ ]
−2 5 0 1
3 ⋅ 1 +4 ⋅ 0 3 ⋅ 0 +4 ⋅ 1
=[ ]
−2 ⋅ 1 + 5 ⋅ 0 −2 ⋅ 0 + 5 ⋅ 1
3 4
=[ ]
−2 5
1 0 3 4
AI = [ ][ ]
0 1 −2 5
1 ⋅ 3 + 0 ⋅ (−2) 1 ⋅ 4 +0 ⋅ 5
=[ ]
0 ⋅ 3 + 1 ⋅ (−2) 0 ⋅ 4 +1 ⋅ 5
3 4
=[ ]
−2 5
−1 −1
1
aa =a a =( )a =1
a
As a multiplication problem,
1 1
2( ) =( )2 =1
2 2
1
therefore 2 and ( ) are multiplicative inverses.
2
The multiplicative inverse of a matrix is similar in concept, except that the product of matrix A and its inverse −1
A equals the
identity matrix.
A matrix that has a multiplicative inverse has the properties
−1
AA =I
−1
A A =I
A matrix that has a multiplicative inverse is called an invertible matrix. Only a square matrix may have a multiplicative inverse,
as the reversibility,
−1 −1
AA =A A =I
is a requirement. Not all square matrices have an inverse, but if A is invertible, then A is unique. We will look at two methods −1
for finding the inverse of a 2 × 2 matrix and a third method that can be used on both 2 × 2 and 3 × 3 matrices.
How to: Given two matrices, show that one is the multiplicative inverse of the other
Given matrix A of order n × n and matrix B of order n × n multiply AB.
If AB = I , then find the product BA. If BA = I , then B = A and A = B −1 −1
.
Show that the given matrices are multiplicative inverses of each other.
1 5
A =[ ]
−2 −9
and
−9 −5
B =[ ]
2 1
Solution
1 0
=[ ]
0 1
and
−9 −5 1 5
BA = [ ]⋅[ ]
2 1 −2 −9
1 0
=[ ]
0 1
Since both AB and BA equal the identity matrix, A and B are inverses of each other.
Exercise 3.4.1
Show that the following two matrices are inverses of each other.
1 4
A =[ ]
−1 −3
and
−3 −4
B =[ ]
1 1
Answer
1 4 −3 −4
AB = [ ][ ]
−1 −3 1 1
1 0
=[ ]
0 1
−3 −4 1 4
BA = [ ][ ]
1 1 −1 −3
1 0
=[ ]
0 1
2 1 1 0
[ ]
5 3 0 1
Perform row operations with the goal of turning A into the identity.
1. Switch row 1 and row 2.
5 3 0 1
[ ]
2 1 1 0
1 1 −2 1
[ ]
0 −1 5 −2
1 0 3 −1
[ ]
0 −1 5 −2
1 0 3 −1
[ ]
0 1 −5 2
1 d −b
−1
A = [ ]
ad − bc −c a
Example 3.4.4: Using the Formula to Find the Multiplicative Inverse of Matrix A
1 −2
A =[ ]
2 −3
Solution
We can check that our formula works by using one of the other methods to calculate the inverse. Let’s augment A with the
identity.
1 −2 1 0
[ ]
2 −3 0 1
Perform row operations with the goal of turning A into the identity.
1. Multiply row 1 by −2 and add to row 2.
1 −2 1 0
[ ]
0 1 −2 1
1 0 −3 2
[ ]
0 1 −2 1
Exercise 3.4.2
Use the formula to find the inverse of matrix A . Verify your answer by augmenting with the identity matrix.
1 −1
A =[ ]
2 3
Answer
3 1
⎡ ⎤
⎢ 5 5 ⎥
−1
A =⎢ ⎥
⎢ ⎥
2 1
⎣− ⎦
5 5
A = ⎢ −1 11 −7
⎥
⎢ ⎥
⎣ ⎦
0 3 −2
Answer
1 1 2
⎡ ⎤
−1
A =⎢2 4 −3
⎥
⎢ ⎥
⎣ ⎦
3 6 −5
Then we will multiply both sides of the equation by the inverse of A to obtain the solution for X .
For example, look at the following system of equations.
a1 x + b1 y = c1
a2 x + b2 y = c2
1
Recall the discussion earlier in this section regarding multiplying a real number by its inverse, −1
(2 )2 = ( )2 =1 . To solve a
2
single linear equation ax = b for x, we would simply multiply both sides of the equation by the multiplicative inverse (reciprocal)
of a . Thus,
1 1
( ) ax = ( )b
a a
−1 −1
(a ) ax = (a )b
−1 −1
[(a ) a] x = (a )b
−1
1x = (a )b
−1
x = (a )b
The only difference between a solving a linear equation and a system of equations written in matrix form is that finding the inverse
of a matrix is more complicated, and matrix multiplication is a longer process. However, the goal is the same—to isolate the
variable.
−1 −1
[(A ) A] X = (A )B
−1
I X = (A )B
−1
X = (A )B
Q&A: If the coefficient matrix does not have an inverse, does that mean the system has no solution?
No, if the coefficient matrix is not invertible, the system could be inconsistent and have no solution, or be dependent and have
infinitely many solutions.
3x + 8y = 5
4x + 11y = 7
Solution
Write the system in terms of a coefficient matrix, a variable matrix, and a constant matrix.
3 8 x 5
A =[ ] ,X=[ ] ,B=[ ]
4 11 y 7
Then
3 8 x 5
[ ][ ] =[ ]
4 11 y 7
or
[A][X] = [B]
−1
X = (A )B
Entering [A] −1
[B] into the calculator gives the product of
−1
[ ]
1
−1 −1
[(A ) A] X = (A )B
−1
I X = (A )B
−1
X = (A )B
Notice in the first step we multiplied both sides of the equation by A , but the A was to the left of A on the left side and to
−1 −1
the left of B on the right side. Because matrix multiplication is not commutative, order matters.
Exercise 3.4.4
−x + 11y − 7z = 8
3y − 2z = −2
Answer
4
⎡ ⎤
X = ⎢ 38 ⎥
⎢ ⎥
⎣ ⎦
58
Media
Access these online resources for additional instruction and practice with solving systems with inverses.
The Identity Matrix
Determining Inverse Matrices
Using a Matrix Equation to Solve a System of Equations
Key Equations
1 0
Identity matrix for a 2 × 2 matrix I2 = [ ]
0 1
1 0 0
⎡ ⎤
⎣ ⎦
0 0 1
Key Concepts
An identity matrix has the property AI = I A = A . See Example 3.4.1.
An invertible matrix has the property AA = A A = I . See Example 3.4.2.
−1 −1
Use matrix multiplication and the identity to find the inverse of a 2 × 2 matrix. See Example 3.4.3.
The multiplicative inverse can be found using a formula. See Example 3.4.4.
Another method of finding the inverse is by augmenting with the identity. See Example 3.4.5.
We can augment a 3 × 3 matrix with the identity on the right and use row operations to turn the original matrix into the identity,
and the matrix on the right becomes the inverse. See Example 3.4.6.
Write the system of equations as AX = B , and multiply both sides by the inverse of A : A AX = A B . See Example 3.4.7
−1 −1
This page titled 3.4: Solving Systems with Inverses is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax
via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
2.
0 1
A =[ ]
5 3
3.
2 1
A =[ ]
4 2
4.
1 0 3
⎡ ⎤
A = ⎢2 3 4⎥
⎣ ⎦
1 0 2
6.
3x + y = 2
10x + 7y = −8
7.
x + 6y + 3z = 4
2x + y + 2z = 3
3x − 2y + z = 0
Write a system of equations to represent each scenario. Then use inverses to solve for the desired quantity.
8) A fast-food restaurant has a cost of production C (x) = 11x + 120 and a revenue function R(x) = 5x . When does the company
start to turn a profit?
9) A musician charges C (x) = 64x + 20, 000, where x is the total number of attendees at the concert. The venue charges $80 per
ticket. After how many people buy tickets does the venue break even, and what is the value of the total tickets sold at that point?
10) If an investor invests $23, 000 into two bonds, one that pays 4% in simple interest, and the other paying 2% simple interest,
and the investor earns $710.00 annual interest, how much was invested in each account?
This page titled 3.4E: Exercises - Solving Systems with Inverses is shared under a CC BY license and was authored, remixed, and/or curated by
Ken Kuttler (Lyryx) .
3.4E.1 https://math.libretexts.org/@go/page/49619
3.5: Chapter 3 Review
Systems of Equations
For the exercises 1-4, determine whether the given ordered pair is a solution to the system of equations.
−3x − 5y = 13
1) and (−6, 1)
−x + 4y = 10
Answer
Yes
3x + 7y = 1
2) and (2, 3)
2x + 4y = 0
6x − y + 3z = 6
x +y = 0
Answer
No
6x − 7y + z = 2
2x + y − z = 1
Answer
(3, −1)
1
y =− x −1
6) 2
y = 3x + 6
Answer
(−1, 2)
x − 0.2y = 1
8)
−10x + 2y = 5
Answer
(4, 5)
For the exercises 11-14, use the matrices below and perform the matrix addition or subtraction. Indicate if the operation is
undefined.
1 5 10 14 0 9
⎡ ⎤ ⎡ ⎤ ⎡ ⎤
1 3 2 14 6 12
A =[ ],B = [ ],C = ⎢ 8 92 ⎥ , D = ⎢ 7 2 ⎥,E = [ ] , F = ⎢ 78 17 ⎥
0 7 22 6 14 5
⎣ ⎦ ⎣ ⎦ ⎣ ⎦
12 6 5 61 15 4
11) C + D
Answer
11 19
⎡ ⎤
⎢ 15 94 ⎥
⎣ ⎦
17 67
12) A + C
13) B − E
Answer
−4 2
[ ]
8 1
14) C + F
For the exercises 15-18, use the matrices below to perform scalar multiplication.
3 9
⎡ ⎤
4 6 16 3 7 18
A =[ ] , B = ⎢ 21 12 ⎥ , C = [ ]
13 12 90 5 3 29
⎣ ⎦
0 64
15) 3B
Answer
9 27
⎡ ⎤
⎢ 63 36 ⎥
⎣ ⎦
0 192
16) −2A
17) −4C
Answer
−64 −12 −28 −72
[ ]
−360 −20 −12 −116
1
18) C
2
19) BC
Answer
20 102
[ ]
28 28
20) C A
For the exercises 21-24, use the matrices below to perform the indicated operation if possible. If not possible, explain why
the operation cannot be performed.
−8 7 −5 4 5 3
⎡ ⎤ ⎡ ⎤
2 −5 −9 6 0 9
A =[ ],B = [ ],C = [ ],D = ⎢ 4 3 2 ⎥,E = ⎢7 −6 −5 ⎥
6 7 −4 2 7 1 ⎣ ⎦ ⎣ ⎦
0 9 2 1 0 9
21) 4A + 5D
Answer
Undefined; dimensions do not match.
22) 2C + B
23) 3D + 4E
Answer
−8 41 −3
⎡ ⎤
⎢ 40 −15 −14 ⎥
⎣ ⎦
4 27 42
24) C − 0.5D
For the exercises 25-28, write the augmented matrix for the linear system.
8x − 37y = 8
25)
2x + 12y = 3
16y = 4
26)
9x − y = 2
Answer
0 16 4
[ ]
9 −1 2
3x + 2y + 10z = 3
27) −6x + 2y + 5z = 13
4x + z = 18
28) 12x + 3y = 4
3x + 4y + 9z = −7
Answer
⎡ 1 5 8 16 ⎤
⎢ 12 3 0 4 ⎥
⎢ ⎥
⎣ 3 4 9 −7 ⎦
For the exercises 29-32, write the linear system from the augmented matrix.
−2 5 5
29) [ ]
6 −18 26
Answer
−2x + 5y = 5
6x − 18y = 26
3 4 10
30) [ ]
10 17 439
⎡ 3 2 0 3 ⎤
31) ⎢
⎢ −1 −9 4 −1 ⎥
⎥
⎣ 8 5 7 8 ⎦
Answer
3x + 2y = 13
−x − 9y + 4z = 53
8x + 5y + 7z = 80
⎡ 8 29 1 43 ⎤
32) ⎢
⎢ −1 7 5 38 ⎥
⎥
⎣ 0 0 3 10 ⎦
Answer
(6, 7)
6x + 2y = −4
34)
3x + 4y = −17
−60x + 45y = 12
35)
20x − 15y = −4
Answer
4
(x, (5x + 1))
15
4 7 1
x− y+ z =1
5 8 2
4 3 1
37) − x− y+ z = −8
5 4 3
2 7 1
− x− y+ z = −5
5 8 2
Answer
(5, 12, 15)
x + y + z = 14
38) 2y + 3z = −14
Answer
1 0
AB = BA = [ ] =I
0 1
1 2 −2 1
40) A = [ ],B = [
3 1
]
3 4 −
2 2
For the exercises 41-44, find the multiplicative inverse of each matrix, if it exists.
3 −2
41) [ ]
1 9
Answer
9 2
⎡ ⎤
1 29 29
⎢ ⎥
⎢ ⎥
29 −1 3
⎣ ⎦
29 29
1 1
42) [ ]
2 2
1 1 1
⎡ 2 2 2 ⎤
43) ⎢
⎢
1
3
1
4
1
5
⎥
⎥
⎣ 1 1 1 ⎦
6 7 8
Answer
1 2 3
⎡ ⎤
44) ⎢ 4 5 6⎥
⎣ ⎦
7 8 9
For the exercises 45-48, solve the system using the inverse of a matrix.
5x − 6y = −61
45)
4x + 3y = −2
Answer
(−5, 6)
8x + 4y = −100
46)
3x − 4y = 1
3x − 2y + 5z = 21
47) 5x + 4y = 37
x − 2y − 5z = 5
Answer
1 1
(7, , )
2 5
4x + 4y + 4z = 40
48) 2x − 3y + 4z = −12
−x + 3y + 4z = 9
Real-World Applications
For the exercises 49-63, write a system of equations to represent the scenario. Then use any method to solve for the desired
quantity.
49) A fast-food restaurant has a cost of production C (x) = 11x + 120 and a revenue function R(x) = 5x . When does the
company start to turn a profit?
Answer
They never turn a profit.
50) A cell phone factory has a cost of productiona C (x) = 150x + 10, 000 and a revenue function R(x) = 200x . What is the
break-even point?
51) A musician charges C (x) = 64x + 20, 000, where x is the total number of attendees at the concert. The venue charges $80 per
ticket. After how many people buy tickets does the venue break even, and what is the value of the total tickets sold at that point?
Answer
(1, 250, 100, 000)
52) A guitar factory has a cost of production C (x) = 75x + 50, 000. If the company needs to break even after 150 units sold, at
what price should they sell each guitar? Round up to the nearest dollar, and write the revenue function.
53) The startup cost for a restaurant is $120, 000, and each meal costs $10 for the restaurant to make. If each meal is then sold for
$15, after how many meals does the restaurant break even?
54) A moving company charges a flat rate of $150, and an additional $5 for each box. If a taxi service would charge $20 for each
box, how many boxes would you need for it to be cheaper to use the moving company, and what would be the total cost?
55) There were 130 faculty at a conference. If there were 18 more women than men attending, how many of each gender attended
the conference?
Answer
56 men, 74 women
56) An investor earned triple the profits of what she earned last year. If she made $500, 000.48total for both years, how much did
she earn in profits each year?
57) An investor who dabbles in real estate invested 1.1 million dollars into two land investments. On the first investment, Swan
Peak, her return was a 110% increase on the money she invested. On the second investment, Riverside Community, she earned
50% over what she invested. If she earned $1 million in profits, how much did she invest in each of the land deals?
Answer
Swan Peak: $750, 000, Riverside: $350, 000
7
58) If an investor invests a total of $25, 000 into two bonds, one that pays 3% simple interest, and the other that pays 2 %
8
interest, and the investor earns $737.50 annual interest, how much was invested in each account?
59) If an investor invests $23, 000 into two bonds, one that pays 4% in simple interest, and the other paying 2% simple interest,
and the investor earns $710.00 annual interest, how much was invested in each account?
Answer
$12, 500 in the first account, $10, 500in the second account.
60) A concert manager counted 350 ticket receipts the day after a concert. The price for a student ticket was $12.50, and the price
for an adult ticket was $16.00. The register confirms that $5, 075 was taken in. How many student tickets and adult tickets were
sold?
61) A local band sells out for their concert. They sell all 1, 175 tickets for a total purse of $28, 112.50. The tickets were priced at
$20 for student tickets, $22.50 for children, and $29 for adult tickets. If the band sold twice as many adult as children tickets, how
Answer
500 students, 225 children, and 450 adults
62) You invested $10, 000 into two accounts: one that has simple 3% interest, the other with 2.5% interest. If your total interest
payment after one year was $283.50, how much was in each account after the year passed?
63) You invested $2, 300 into account 1, and $2, 700 into account 2. If the total amount of interest after one year is $254 , and
account 2 has 1.5 times the interest rate of account 1, what are the interest rates? Assume simple interest rates.
Answer
4% for account 1, 6% for account 2
This page titled 3.5: Chapter 3 Review is shared under a CC BY-NC-SA license and was authored, remixed, and/or curated by OpenStax.
4: Solving Systems of Inequalities is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.
1
4.1: Graphing Linear Inequalities in Two Variables
Learning Objectives
By the end of this section, you will be able to:
Verify solutions to an inequality in two variables.
Recognize the relation between the solutions of an inequality and its graph.
Graph linear inequalities in two variables.
Solve applications using linear inequalities in two variables.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Is (3, 7) a solution to 4x − y = 5 ?
If you missed this problem, review Section 1.1. (Note that this will open in a new window.)
If you missed this problem, review Section 1.1. (Note that this will open in a new window.)
LINEAR INEQUALITY
A linear inequality is an inequality that can be written in one of the following forms:
Ax + By > C Ax + By ≥ C Ax + By < C Ax + By ≤ C
Recall that an inequality with one variable had many solutions. For example, the solution to the inequality x > 3 is any number
greater than 3. We showed this on the number line by shading in the number line to the right of 3, and putting an open parenthesis
at 3.
4.1.1 https://math.libretexts.org/@go/page/40129
Figure 4.1.1
Similarly, linear inequalities in two variables have many solutions. Any ordered pair (x, y) that makes an inequality true when we
substitute in the values is a solution to a linear inequality.
An ordered pair (x, y) is a solution to a linear inequality if the inequality is true when we substitute the values of x and y.
Example 4.1.1
Answer
a.
(0, 0)
Simplify.
b.
(1, 6)
Simplify.
c.
(2, 6)
Simplify.
d.
(−5, −15)
Simplify. .
e.
(−8, 12)
4.1.2 https://math.libretexts.org/@go/page/40129
Simplify.
Example 4.1.2
Answer
a. yes b. yes c. yes d. yes e. no
Example 4.1.3
Answer
a. yes b. yes c. no d. no e. yes
Recognize the Relation Between the Solutions of an Inequality and its Graph
Now, we will look at how the solutions of an inequality relate to its graph. Consider the inequality x > 3 .
Let’s think about the number line in shown previously again. The point x = 3 separated that number line into two parts. On one
side of 3 are all the numbers less than 3, which make the inequality false. On the other side of 3 all the numbers are greater than 3,
which make the inequality true.
Figure 4.1.2 :The solution to x > 3 is the shaded part of the number line to the right of x = 3 .
Similarly, the line y = x + 4 separates the plane into two regions. On one side of the line are points with y < x + 4 . On the other
side of the line are the points with y > x + 4 . We call the line y = x + 4 a boundary line.
BOUNDARY LINE
The line with equation Ax + By = C is the boundary line that separates the region where Ax + By > C from the region
where Ax + By < C .
For an inequality in one variable, the endpoint is shown with a parenthesis or a bracket depending on whether or not the endpoint is
included in the solution:
Similarly, for an inequality in two variables, the boundary line is shown with a solid or dashed line to show whether or not the line
is included in the solution.
Ax + By < C Ax + By ≤ C
Ax + By > C Ax + By ≥ C
Boundary line is not included in solution. Boundary line is not included in solution.
4.1.3 https://math.libretexts.org/@go/page/40129
Now, let’s take a look at what we found in Example 4.1.1. We’ll start by graphing the line y = x + 4 , and then we’ll plot the five
points we tested, as shown in the graph.
Figure 4.1.3
In Example 4.1.1 we found that some of the points were solutions to the inequality y > x + 4 and some were not.
Which of the points we plotted are solutions to the inequality y > x + 4 ?
The points (1, 6) and (−8, 12) are solutions to the inequality y > x + 4 . Notice that they are both on the same side of the boundary
line y = x + 4 .
The two points (0, 0) and (−5, −15) are on the other side of the boundary line y = x +4 , and they are not solutions to the
inequality y > x + 4 . For those two points, y < x + 4 .
What about the point (2, 6)? Because 6 = 2 + 4 , the point is a solution to the equation y = x +4 , but not a solution to the
inequality y > x + 4 . So the point (2, 6) is on the boundary line.
Let’s take another point above the boundary line and test whether or not it is a solution to the inequality y > x +4 . The point
(0, 10)clearly looks to above the boundary line, doesn’t it? Is it a solution to the inequality?
y > x +4
10 > 0 +4
10 > 4
4.1.4 https://math.libretexts.org/@go/page/40129
Figure 4.1.4
Example 4.1.4
The boundary line shown in this graph is y = 2x − 1 . Write the inequality shown by the graph.
4.1.5 https://math.libretexts.org/@go/page/40129
Answer
The line y = 2x − 1 is the boundary line. On one side of the line are the points with y > 2x − 1 and on the other side of
the line are the points with y < 2x − 1 .
Let’s test the point (0, 0) and see which inequality describes its position relative to the boundary line.
At (0, 0), which inequality is true: y > 2x − 1 or y < 2x − 1 ?
y > 2x − 1 y < 2x − 1
? ?
0 > 2 ⋅ 0 −1 0 < 2 ⋅ 0 −1
Since, y > 2x − 1 is true, the side of the line with (0, 0) , is the solution. The shaded region shows the solution of the
inequality y > 2x − 1 .
Since the boundary line is graphed with a dotted line, the inequality does not include the equal sign.
The graph shows the inequality y > 2x − 1 .
We could use any point as a test point, provided it is not on the line. Why did we choose (0, 0)? Because it’s the easiest to
evaluate. You may want to pick a point on the other side of the boundary line and check that y < 2x − 1 .
Example 4.1.5
Write the inequality shown by the graph with the boundary line y = −2x + 3 .
4.1.6 https://math.libretexts.org/@go/page/40129
Answer
y ≥ −2x + 3
Example 4.1.6
Write the inequality shown by the graph with the boundary line y = 1
2
x −4 .
Answer
1
y ≤ x −4
2
Example 4.1.7
The boundary line shown in this graph is 2x + 3y = 6 . Write the inequality shown by the graph.
Answer
The line 2x + 3y = 6 is the boundary line. On one side of the line are the points with 2x + 3y > 6 and on the other side of
the line are the points with 2x + 3y < 6 .
Let’s test the point (0, 0) and see which inequality describes its side of the boundary line.
At (0, 0), which inequality is true: 2x + 3y > 6 or 2x + 3y < 6 ?
4.1.7 https://math.libretexts.org/@go/page/40129
2x + 3y > 6 2x + 3y < 6
? ?
2(0) + 3(0) > 6 2(0) + 3(0) < 6
Example 4.1.8
Write the inequality shown by the shaded region in the graph with the boundary line x − 4y = 8 .
Answer
x − 4y ≤ 8
Example 4.1.9
Write the inequality shown by the shaded region in the graph with the boundary line 3x − y = 6 .
Answer
4.1.8 https://math.libretexts.org/@go/page/40129
3x − y ≥ 6
4
x −2 .
Solution
Step 2 is to test a point that is not on the boundary line. Is it a solution of the inequality? We will test (0, 0). At (0, 0) is y greater than or equal to 3 divided by 4 times x minus 2? Is 0 greater than or equal to 3
divided by 4 times 0 minus 2? 0 is greater than or equal to negative 2 so (0, 0) is a solution.
4.1.9 https://math.libretexts.org/@go/page/40129
Example 4.1.11
2
x −4 .
Answer
All points in the shaded region and on the boundary line, represent the solutions to y > 5
2
x −4 .
Example 4.1.12
3
x −5 .
Answer
This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A straight dashed line is drawn through the points (0, negative 5), (3, negative
3), and (5, negative 1). The line divides the x y-coordinate plane into two halves. The top left half is shaded red to indicate that this is where the solutions of the inequality are.
All points in the shaded region, but not those on the boundary line, represent the solutions to y < 2
3
x −5 .
Example 4.1.13
Answer
First, we graph the boundary line x − 2y = 5 . The inequality is < so we draw a dashed line.
Then, we test a point. We’ll use (0, 0) again because it is easy to evaluate and it is not on the boundary line.
Is (0, 0) a solution of x − 2y < 5 ?
4.1.10 https://math.libretexts.org/@go/page/40129
The point (0, 0) is a solution of x − 2y < 5 , so we shade in that side of the boundary line.
This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 8 to 8. A straight dashed line is drawn through the points (negative 3, negative 4), (1,
negative 2), and (5, 0). The line divides the x y-coordinate plane into two halves. The top left half is shaded red to indicate that this is where the solutions of the inequality are.
All points in the shaded region, but not those on the boundary line, represent the solutions to x − 2y < 5 .
Example 4.1.14
Answer
This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A straight dashed line is drawn through the points (0, negative 2), (3, 0), and
(6, 2). The line divides the x y-coordinate plane into two halves. The top left half is shaded red to indicate that this is where the solutions of the inequality are.
All points in the shaded region, but not those on the boundary line, represent the solutions to 2x − 3y < 6 .
Example 4.1.15
Answer
This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A straight dashed line is drawn through the points (0, negative 3), (1, negative
1), and (2, 1). The line divides the x y-coordinate plane into two halves. The bottom right half is shaded red to indicate that this is where the solutions of the inequality are.
All points in the shaded region, but not those on the boundary line, represent the solutions to 2x − y > 3 .
What if the boundary line goes through the origin? Then, we won’t be able to use (0, 0) as a test point. No problem—we’ll just
choose some other point that is not on the boundary line.
Example 4.1.16
Answer
First, we graph the boundary line y = −4x . It is in slope–intercept form, with m = −4 and b = 0 . The inequality is ≤ so
we draw a solid line.
This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from negative 8 to 8. A straight is drawn through the points (0, 0), (1, negative 4), and (negative 1, 4).
Now we need a test point. We can see that the point (1,0)(1,0) is not on the boundary line.
Is (1, 0) a solution of y ≤ −4x ?
.
The point (1, 0) is not a solution to y ≤ −4x , so we shade in the opposite side of the boundary line.
Is 0 less than or equal to negative 4 times 1? 0 is not less than or equal to negative 4.
All points in the shaded region and on the boundary line represent the solutions to y ≤ −4x .
Example 4.1.17
Answer
4.1.11 https://math.libretexts.org/@go/page/40129
All points in the shaded region, but not those on the boundary line, represent the solutions to y > −3x .
Example 4.1.18
Answer
This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A straight dashed line is drawn through the points (negative 1, 2), (0, 0), and
(1, negative 2). The line divides the x y-coordinate plane into two halves. The top right half is shaded red to indicate that this is where the solutions of the inequality are.
All points in the shaded region and on the boundary line, represent the solutions to y ≥ −2x .
Some linear inequalities have only one variable. They may have an x but no y, or a y but no x. In these cases, the boundary line will
be either a vertical or a horizontal line.
Recall that:
x =a vertical line
y =b horizontal line
Example 4.1.19
Answer
First, we graph the boundary line y = 3 . It is a horizontal line. The inequality is > so we draw a dashed line.
We test the point (0, 0).
y >3
0\slashed>3
All points in the shaded region, but not those on the boundary line, represent the solutions to y > 3 .
Example 4.1.20
Answer
This figure has the graph of a straight horizontal dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A horizontal dashed line is drawn through the points (negative 1, 5),
(0, 5), and (1, 5). The line divides the x y-coordinate plane into two halves. The bottom half is shaded red to indicate that this is where the solutions of the inequality are.
All points in the shaded region, but not those on the boundary line, represent the solutions to y < 5 .
4.1.12 https://math.libretexts.org/@go/page/40129
Example 4.1.21
Answer
All points in the shaded region and on the boundary line represent the solutions to y ≤ −1 .
Example 4.1.22
Hilaria works two part time jobs in order to earn enough money to meet her obligations of at least $240 a week. Her job in food
service pays $10 an hour and her tutoring job on campus pays $15 an hour. How many hours does Hilaria need to work at each
job to earn at least $240?
a. Let x be the number of hours she works at the job in food service and let y be the number of hours she works tutoring. Write
an inequality that would model this situation.
b. Graph the inequality.
c. Find three ordered pairs (x, y) that would be solutions to the inequality. Then, explain what that means for Hilaria.
Answer
a. We let x be the number of hours she works at the job in food service and let y be the number of hours she works tutoring.
She earns $10 per hour at the job in food service and $15 an hour tutoring. At each job, the number of hours multiplied by
the hourly wage will gives the amount earned at that job.
2
y ≥− x + 16 (4.1.3)
3
4.1.13 https://math.libretexts.org/@go/page/40129
c. From the graph, we see that the ordered pairs ,
(15, 10) (0, 16) , (24, 0) represent three of infinitely many solutions.
Check the values in the inequality.
First we test the point (15, 10) in the inequality 10 x plus 15 y greater than or equal to 240. Is 10 times 15 plus 15 times 10 greater than or equal to 240? Since 300 is greater than or equal to 240 (15, 10) is
a solution. Next we test the point (0, 16) in the inequality 10 x plus 15 y greater than or equal to 240. Is 10 times 0 plus 15 times 16 greater than or equal to 240? Since 240 is greater than or equal to 240 (0,
16) is a solution. Then we test the point (24, 0) in the inequality 10 x plus 15 y greater than or equal to 240. Is 10 times 24 plus 15 times 0 greater than or equal to 240? Since 240 is greater than or equal to
240 (24, 0) is a solution.
For Hilaria, it means that to earn at least $240, she can work 15 hours tutoring and 10 hours at her fast-food job, earn all her
money tutoring for 16 hours, or earn all her money while working 24 hours at the job in food service.
Example 4.1.23
Hugh works two part time jobs. One at a grocery store that pays $10 an hour and the other is babysitting for $13 hour. Between
the two jobs, Hugh wants to earn at least $260 a week. How many hours does Hugh need to work at each job to earn at least
$260?
a. Let x be the number of hours he works at the grocery store and let y be the number of hours he works babysitting. Write an
inequality that would model this situation.
b. Graph the inequality.
c. Find three ordered pairs (x, y) that would be solutions to the inequality. Then, explain what that means for Hugh.
Answer
a. 10x + 13y ≥ 260
b.
4.1.14 https://math.libretexts.org/@go/page/40129
Example 4.1.24
Veronica works two part time jobs in order to earn enough money to meet her obligations of at least $280 a week. Her job at
the day spa pays $10 an hour and her administrative assistant job on campus pays $17.50 an hour. How many hours does
Veronica need to work at each job to earn at least $280?
a. Let x be the number of hours she works at the day spa and let y be the number of hours she works as administrative assistant.
Write an inequality that would model this situation.
b. Graph the inequality.
c. Find three ordered pairs (x, y) that would be solutions to the inequality. Then, explain what that means for Veronica
Answer
a. 10x + 17.5y ≥ 280
b.
Access this online resource for additional instruction and practice with graphing linear inequalities in two variables.
Graphing Linear Inequalities in Two Variables
Key Concepts
How to graph a linear inequality in two variables.
1. Identify and graph the boundary line.
If the inequality is ≤ or ≥, the boundary line is solid.
If the inequality is < or >, the boundary line is dashed.
2. Test a point that is not on the boundary line. Is it a solution of the inequality?
3. Shade in one side of the boundary line.
If the test point is a solution, shade in the side that includes the point.
If the test point is not a solution, shade in the opposite side.
Glossary
boundary line
The line with equation Ax + By = C is the boundary line that separates the region where Ax + By > C from the region
where Ax + By < C .
linear inequality
A linear inequality is an inequality that can be written in one of the following forms: Ax + By > C , Ax + By ≥ C ,
Ax + By < C , or Ax + By ≤ C , where A and B are not both zero.
4.1.15 https://math.libretexts.org/@go/page/40129
4.1: Graphing Linear Inequalities in Two Variables is shared under a not declared license and was authored, remixed, and/or curated by
LibreTexts.
3.5: Graph Linear Inequalities in Two Variables by OpenStax is licensed CC BY 4.0. Original source:
https://openstax.org/details/books/intermediate-algebra-2e.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
4.1.16 https://math.libretexts.org/@go/page/40129
4.1E: Exercises - Graphing Linear Inequalities in Two Variables
Practice Makes Perfect
Verify Solutions to an Inequality in Two Variables
In the following exercises, determine whether each ordered pair is a solution to the given inequality.
Answer
a. yes b. yes c. no d. no e. no
Answer
a. no b. no c. yes d. yes e. no
4. Determine whether each ordered pair is a solution to the inequality y < −2x + 5 :
a. (−3, 0)(−3, 0)
b. (1, 6)
c. (−6, −2)
d. (0, 1)
e. (5, −4)
Answer
a. yes b. no c. no d. no e. no
Recognize the Relation Between the Solutions of an Inequality and its Graph
In the following exercises, write the inequality shown by the shaded region.
7. Write the inequality shown by the graph with the boundary line y = 3x − 4 .
Answer
y ≤ 3x − 4
8. Write the inequality shown by the graph with the boundary line y = 2x − 4 .
9. Write the inequality shown by the graph with the boundary line y = − 1
2
x +1 .
Answer
1
y ≤− x +1
2
10. Write the inequality shown by the graph with the boundary line y = − 1
3
x −2 .
Answer
x +y ≥ 5
12. Write the inequality shown by the shaded region in the graph with the boundary line x + y = 3 .
13. Write the inequality shown by the shaded region in the graph with the boundary line 3x − y = 6 .
Answer
3x − y ≤ 6
14. Write the inequality shown by the shaded region in the graph with the boundary line 2x − y = 4 .
3
x −1 .
Answer
5
x +2 .
2
x +4 .
Answer
3
x −2 .
Answer
Answer
Answer
Answer
Answer
Answer
Answer
2
x .
Answer
4
x .
Answer
Answer
Answer
41. Harrison works two part time jobs. One at a gas station that pays $11 an hour and the other is IT troubleshooting for
$16.50$16.50an hour. Between the two jobs, Harrison wants to earn at least $330 a week. How many hours does Harrison need
to work at each job to earn at least $330?
a. Let x be the number of hours he works at the gas station and let y be the number of (hours he works troubleshooting. Write
an inequality that would model this situation.
b. Graph the inequality.
c. Find three ordered pairs (x, y) that would be solutions to the inequality. Then, explain what that means for Harrison.
Answer
a. 11x + 16.5y ≥ 330
b.
This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from 0 to 35. A line is drawn through the points (0, 20), (15, 10), and (30, 0). The line divides the x y-
coordinate plane into two halves. The line and the top right half are shaded red to indicate that this is where the solutions of the inequality are.
42. Elena needs to earn at least $450 a week during her summer break to pay for college. She works two jobs. One as a
swimming instructor that pays $9 an hour and the other as an intern in a genetics lab for $22.50 per hour. How many hours
does Elena need to work at each job to earn at least $450 per week?
a. Let x be the number of hours she works teaching swimming and let y be the number of hours she works as an intern. Write
an inequality that would model this situation.
b. Graph the inequality.
c. Find three ordered pairs (x,y)(x,y) that would be solutions to the inequality. Then, explain what that means for Elena.
43. The doctor tells Laura she needs to exercise enough to burn 500 calories each day. She prefers to either run or bike and
burns 15 calories per minute while running and 10 calories a minute while biking.
a. If x is the number of minutes that Laura runs and y is the number minutes she bikes, find the inequality that models the
situation.
b. Graph the inequality.
c. List three solutions to the inequality. What options do the solutions provide Laura?
Answer
a. 15x + 10y ≥ 500
b.
44. Armando’s workouts consist of kickboxing and swimming. While kickboxing, he burns 10 calories per minute and he
burns 7 calories a minute while swimming. He wants to burn 600 calories each day.
a. If x is the number of minutes that Armando will kickbox and y is the number minutes he will swim, find the inequality that
will help Armando create a workout for today.
b. Graph the inequality.
c. List three solutions to the inequality. What options do the solutions provide Armando?
Writing Exercises
45. Lester thinks that the solution of any inequality with a >> sign is the region above the line and the solution of any
inequality with a << sign is the region below the line. Is Lester correct? Explain why or why not.
Answer
Answers will vary.
46. Explain why, in some graphs of linear inequalities, the boundary line is solid but in other graphs it is dashed.
Self Check
a. After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
b. On a scale of 1–10, how would you rate your mastery of this section in light of your responses on the checklist? How can you
improve this?
This page titled 4.1E: Exercises - Graphing Linear Inequalities in Two Variables is shared under a CC BY license and was authored, remixed,
and/or curated by OpenStax.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Is (3, 12) a solution to y > 2x + 3 ?
If you missed this problem, review Section 4.1. (Note that this will open in a new window.)
If you missed this problem, review Section 3.1. (Note that this will open in a new window.)
A system of linear inequalities looks like a system of linear equations, but it has inequalities instead of equations. A system of two
linear inequalities is shown here.
4.2.1 https://math.libretexts.org/@go/page/40131
x + 4y ≥ 10
{
3x − 2y < 12
To solve a system of linear inequalities, we will find values of the variables that are solutions to both inequalities. We solve the
system by using the graphs of each inequality and show the solution as a graph. We will find the region on the plane that contains
all ordered pairs (x, y) that make both inequalities true.
To determine if an ordered pair is a solution to a system of two inequalities, we substitute the values of the variables into each
inequality. If the ordered pair makes both inequalities true, it is a solution to the system.
Example 4.2.1
x + 4y ≥ 10
Determine whether the ordered pair is a solution to the system {
3x − 2y < 12
a. (−2, 4)
b. (3, 1)
Answer
a. Is the ordered pair (−2, 4) a solution?
The ordered pair (−2, 4) made both inequalities true. Therefore (−2, 4) is a solution to this system.
b. Is the ordered pair (3, 1) a solution?
The ordered pair (3, 1) made one inequality true, but the other one false. Therefore (3, 1) is not a solution to this system.
Example 4.2.2
x − 5y > 10
Determine whether the ordered pair is a solution to the system: {
2x + 3y > −2
a. (3, −1)
b. (6, −3)
Answer
a. no b. yes
4.2.2 https://math.libretexts.org/@go/page/40131
Example 4.2.3
y > 4x − 2
Determine whether the ordered pair is a solution to the system: {
4x − y < 20
a. (−2, 1)
b. (4, −1)
Answer
a. yes b. no
y ≥ 2x − 1
Solve the system by graphing: {
y < x +1
Solution
4.2.3 https://math.libretexts.org/@go/page/40131
Example 4.2.5
y < 3x + 2
Solve the system by graphing: {
y > −x − 1
Answer
4.2.4 https://math.libretexts.org/@go/page/40131
The solution is the darkest shaded region.
Example 4.2.6
⎧ 1
y <− x +3
Solve the system by graphing: ⎨ 2
⎩
y < 3x − 4
Answer
Example 4.2.7
x −y > 3
Solve the system by graphing: {
y < −15x + 4
Answer
x −y > 3
{
y < −15x + 4
4.2.5 https://math.libretexts.org/@go/page/40131
Graph x − y > 3, by graphing x − y = 3
and testing a point.
The point of intersection of the two lines is not included as both boundary lines were dashed. The solution is the area
shaded twice—which appears as the darkest shaded region.
Example 4.2.8
x +y ≤ 2
Solve the system by graphing: { 2
y ≥ x −1
3
Answer
4.2.6 https://math.libretexts.org/@go/page/40131
The solution is the darkest shaded region.
Example 4.2.9
3x − 2y ≤ 6
Solve the system by graphing: { 1
y >− x +5
4
Answer
Example 4.2.10
x − 2y < 5
Solve the system by graphing: {
y > −4
Answer
x − 2y < 5
{
y > −4
4.2.7 https://math.libretexts.org/@go/page/40131
Graph y > −4, by graphing y = −4 and
recognizing that it is a horizontal line
through y = −4. The boundary line will
be dashed.
The point (0, 0) is in the solution and we have already found it to be a solution of each inequality. The point of intersection
of the two lines is not included as both boundary lines were dashed.
The solution is the area shaded twice—which appears as the darkest shaded region.
Example 4.2.11
y ≥ 3x − 2
Solve the system by graphing: {
y < −1
Answer
Example 4.2.12
x > −4x − 2
Solve the system by graphing: {
y ≥ −4
Answer
4.2.8 https://math.libretexts.org/@go/page/40131
The solution is the darkest shaded region.
Systems of linear inequalities where the boundary lines are parallel might have no solution. We’ll see this in the next example.
Example 4.2.13
4x + 3y ≥ 12
Solve the system by graphing: { 4
y <− x +1
3
Answer
4x + 3y ≥ 12
{
4
y < − x +1
3
4.2.9 https://math.libretexts.org/@go/page/40131
Graph y < − x + 1 by graphing y = −
4
3
4
3
x +1
Example 4.2.14
3x − 2y ≥ 12
Solve the system by graphing: { 3
y ≥ x +1
2
Answer
No solution.
Example 4.2.15
x + 3y > 8
Solve the system by graphing: { 1
y <− x −2
3
Answer
4.2.10 https://math.libretexts.org/@go/page/40131
No solution.
Some systems of linear inequalities where the boundary lines are parallel will have a solution. We’ll see this in the next example.
Example 4.2.16
1
y > x −4
Solve the system by graphing: { 2
x − 2y < −4
Answer
1
y > x −4
2
{
x − 2y < −4
Graph y >
1
2
x −4 by graphing y =
1
2
x −4
No point on the boundary lines is included in the solution as both lines are dashed.
The solution is the region that is shaded twice which is also the solution to x − 2y < −4 .
4.2.11 https://math.libretexts.org/@go/page/40131
Example 4.2.17
y ≥ 3x + 1
Solve the system by graphing: {
−3x + y ≥ −4
Answer
Example 4.2.18
1
y ≤− x +2
Solve the system by graphing: { 4
x + 4y ≤ 4
Answer
Example 4.2.19
Christy sells her photographs at a booth at a street fair. At the start of the day, she wants to have at least 25 photos to display at
her booth. Each small photo she displays costs her $4 and each large photo costs her $10. She doesn’t want to spend more than
$200 on photos to display.
a. Write a system of inequalities to model this situation.
b. Graph the system.
c. Could she display 10 small and 20 large photos?
d. Could she display 20 large and 10 small photos?
Answer
4.2.12 https://math.libretexts.org/@go/page/40131
a.
Let x = the number of small photos.
The number of small plus the number of large should be at least 25.
x + y ≥ 25
$4 for each small and $10 for each large must be no more than $200
4x + 10y ≤ 200
x ≥0
y ≥0
b.
Since x ≥ 0 and y ≥ 0 (both are greater than or equal to) all solutions will be in the first quadrant. As a result, our graph
shows only quadrant one.
The solution of the system is the region of the graph that is shaded the darkest. The boundary line sections that border the
darkly-shaded section are included in the solution as are the points on the x-axis from (25, 0) to (55, 0).
c. To determine if 10 small and 20 large photos would work, we look at the graph to see if the point (10, 20) is in the
solution region. We could also test the point to see if it is a solution of both equations.
It is not, Christy would not display 10 small and 20 large photos.
d. To determine if 20 small and 10 large photos would work, we look at the graph to see if the point (20, 10) is in the
solution region. We could also test the point to see if it is a solution of both equations.
It is, so Christy could choose to display 20 small and 10 large photos.
Notice that we could also test the possible solutions by substituting the values into each inequality.
4.2.13 https://math.libretexts.org/@go/page/40131
Example 4.2.20
A trailer can carry a maximum weight of 160 pounds and a maximum volume of 15 cubic feet. A microwave oven weighs 30
pounds and has 2 cubic feet of volume, while a printer weighs 20 pounds and has 3 cubic feet of space.
a. Write a system of inequalities to model this situation.
b. Graph the system.
c. Could 4 microwaves and 2 printers be carried on this trailer?
d. Could 7 microwaves and 3 printers be carried on this trailer?
Answer
30m + 20p ≤ 160
a. {
2m + 3p ≤ 15
b.
c. yes
d. no
Example 4.2.21
Mary needs to purchase supplies of answer sheets and pencils for a standardized test to be given to the juniors at her high
school. The number of the answer sheets needed is at least 5 more than the number of pencils. The pencils cost $2 and the
answer sheets cost $1. Mary’s budget for these supplies allows for a maximum cost of $400.
a. Write a system of inequalities to model this situation.
b. Graph the system.
c. Could Mary purchase 100 pencils and 100 answer sheets?
d. Could Mary purchase 150 pencils and 150 answer sheets?
Answer
a ≥ p +5
a. {
a + 2p ≤ 400
b.
4.2.14 https://math.libretexts.org/@go/page/40131
c. no
d. no
When we use variables other than x and y to define an unknown quantity, we must change the names of the axes of the graph as
well.
Example 4.2.22
Omar needs to eat at least 800 calories before going to his team practice. All he wants is hamburgers and cookies, and he
doesn’t want to spend more than $5. At the hamburger restaurant near his college, each hamburger has 240 calories and costs
$1.40. Each cookie has 160 calories and costs $0.50.
a. Write a system of inequalities to model this situation.
b. Graph the system.
c. Could he eat 3 hamburgers and 1 cookie?
d. Could he eat 2 hamburgers and 4 cookies?
Answer
a.
\(\begin{array} {ll} \text{Let} &{h=\text{the number of hamburgers.} \\ &{c=\text{the number of cookies}\end{array}\)
To find the system of equations translate the information.
The calories from hamburgers at 240 calories each, plus the calories from cookies at 160 calories each must be more that
800.
240h + 160c ≥ 800
The amount spent on hamburgers at $1.40 each, plus the amount spent on cookies
1.40h + 0.50c ≤ 5
h ≥0
c ≥0
b.
Since h ≥ 0 and c ≥ 0 (both are greater than or equal to) all solutions will be in the first quadrant. As a result, our graph
shows only quadrant one.
Choose (0, 0) as a test point. Since it does not make the inequality
true, shade (red) the side that does not include the point (0, 0).
4.2.15 https://math.libretexts.org/@go/page/40131
Graph 1.40h + 0.50c ≤ 5. The boundary line is 1.40h + 0.50c = 5 . We test (0, 0) and it makes the inequality true. We
shade the side of the line that includes (0, 0).
The solution of the system is the region of the graph that is shaded the darkest. The boundary line sections that border the
darkly shaded section are included in the solution as are the points on the x-axis from (5, 0) to (10, 0).
c. To determine if 3 hamburgers and 2 cookies would meet Omar’s criteria, we see if the point (3, 2) is in the solution
region. It is, so Omar might choose to eat 3 hamburgers and 2 cookies.
d. To determine if 2 hamburgers and 4 cookies would meet Omar’s criteria, we see if the point (2, 4) is in the solution
region. It is, Omar might choose to eat 2 hamburgers and 4 cookies.
We could also test the possible solutions by substituting the values into each inequality.
Example 4.2.23
Tension needs to eat at least an extra 1,000 calories a day to prepare for running a marathon. He has only $25 to spend on the
extra food he needs and will spend it on $0.75 donuts which have 360 calories each and $2 energy drinks which have 110
calories.
a. Write a system of inequalities that models this situation.
b. Graph the system.
c. Can he buy 8 donuts and 4 energy drinks and satisfy his caloric needs?
d. Can he buy 1 donut and 3 energy drinks and satisfy his caloric needs?
Answer
0.75d + 2e ≤ 25
a. {
360d + 110e ≥ 1000
b.
The graph of two intersecting lines, one red and one blue, is shown. The area bound by the two lines is shown in grey.
c. yes
d. no
Example 4.2.24
Philip’s doctor tells him he should add at least 1,000 more calories per day to his usual diet. Philip wants to buy protein bars
that cost $1.80 each and have 140 calories and juice that costs $1.25 per bottle and have 125 calories. He doesn’t want to spend
more than $12.
a. Write a system of inequalities that models this situation.
b. Graph the system.
c. Can he buy 3 protein bars and 5 bottles of juice?
d. Can he buy 5 protein bars and 3 bottles of juice?
Answer
140p + 125j ≥ 1000
a. {
1.80p + 1.25j ≤ 12
b.
4.2.16 https://math.libretexts.org/@go/page/40131
c. yes
d. no
Access these online resources for additional instruction and practice with solving systems of linear inequalities by graphing.
Solving Systems of Linear Inequalities by Graphing
Systems of Linear Inequalities
Key Concepts
Solutions of a System of Linear Inequalities: Solutions of a system of linear inequalities are the values of the variables that
make all the inequalities true. The solution of a system of linear inequalities is shown as a shaded region in the x, ycoordinate
system that includes all the points whose ordered pairs make the inequalities true.
How to solve a system of linear inequalities by graphing.
1. Graph the first inequality.
Graph the boundary line.
Shade in the side of the boundary line where the inequality is true.
2. On the same grid, graph the second inequality.
Graph the boundary line.
Shade in the side of that boundary line where the inequality is true.
3. The solution is the region where the shading overlaps.
4. Check by choosing a test point.
Glossary
system of linear inequalities
Two or more linear inequalities grouped together form a system of linear inequalities.
4.2: Graphing Systems of Linear Inequalities is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.
4.8: Graphing Systems of Linear Inequalities by OpenStax is licensed CC BY 4.0. Original source:
https://openstax.org/details/books/intermediate-algebra-2e.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
4.2.17 https://math.libretexts.org/@go/page/40131
4.2E: Exercises - Graphing Systems of Linear Inequalities
Practice Makes Perfect
Determine Whether an Ordered Pair is a Solution of a System of Linear Inequalities
In the following exercises, determine whether each ordered pair is a solution to the system.
3x + y > 5
1. {
2x − y ≤ 10
(3, −3)
(7, 1)
4x − y < 10
2. {
−2x + 2y > −8
(5, −2)
(−1, 3)
Answer
false true
2
y > x −5
3. { 3
1
x+ y ≤4
2
(6, −4)
(3, 0)
3
y < x +3
4. { 3
2
x − 2y < 5
4
(−4, −1)
(8, 3)
Answer
false true
7x + 2y > 14
5. {
5x − y ≤ 8
(2, 3)
(7, −1)
6x − 5y < 20
6. {
−2x + 7y > −8
(1, −3)
(−4, 4)
Answer
false true
y < −2x + 2
8. {
y ≥ −x − 1
Answer
y < 2x − 1
9. { 1
y ≤− x +4
2
2
y ≥− x +2
10. { 3
y > 2x − 3
Answer
x −y > 1
11. { 1
y <− x +3
4
x + 2y < 4
12. {
y < x −2
Answer
3x − y ≥ 6
13. { 1
y ≥− x
2
x + 4y ≥ 8
14. { 3
y ≤ x
4
Answer
2x − 5y < 10
15. {
3x + 4y ≥ 12
3x − 2y ≤ 6
16. {
−4x − 2y > 8
Answer
2x + 2y > −4
17. {
−x + 3y ≥ 9
Answer
x − 2y < 3
19. {
y ≤1
x − 3y > 4
20. {
y ≤ −1
Answer
1
y ≥− x −3
21. { 2
x ≤2
2
y ≤− x +5
22. { 3
x ≥3
Answer
y <2
1
y ≤− x +3
24. { 2
y <1
Answer
3x − 4y < 8
25. {
x <1
−3x + 5y > 10
26. {
x > −1
Answer
x ≥3
27. {
y ≤2
x ≤ −1
28. {
y ≥3
Answer
2x + 4y > 4
29. { 1
y ≤− x −2
2
x − 3y ≥ 6
30. { 1
y > x +1
3
Answer
No solution.
−2x + 6y < 0
31. {
6y > 2x + 4
−3x + 6y > 12
32. {
4y ≤ 2x − 4
Answer
No solution.
y ≥ −3x + 2
33. {
3x + y > 5
−2x + 4y ≥ 4
Answer
1
y ≤− x −2
35. { 4
x + 4y < 6
y ≥ 3x − 1
36. {
−3x + y > −4
Answer
The figure shows the graph of the inequalities y greater than or equal to three times x minus one and minus three times x plus y greater than minus four. Two non intersecting lines, one in blue and the
other in red, are shown. The solution area is shown in grey.
3y > x + 2
37. {
−2x + 6y > 8
3
y < x −2
38. { 4
−3x + 4y < 7
Answer
39. Caitlyn sells her drawings at the county fair. She wants to sell at least 60 drawings and has portraits and landscapes. She
sells the portraits for $15 and the landscapes for $10. She needs to sell at least $800 worth of drawings in order to earn a profit.
40. Jake does not want to spend more than $50 on bags of fertilizer and peat moss for his garden. Fertilizer costs $2 a bag and
peat moss costs $5 a bag. Jake’s van can hold at most 20 bags.
Write a system of inequalities to model this situation.
Graph the system.
Can he buy 15 bags of fertilizer and 4 bags of peat moss?
Can he buy 10 bags of fertilizer and 10 bags of peat moss?
Answer
⎧f ≥0
⎪
⎪
⎪
p ≥0
⎨
⎪ f + p ≤ 202
⎪
⎩
⎪
f + 5p ≤ 50
yes
no
41. Reiko needs to mail her Christmas cards and packages and wants to keep her mailing costs to no more than $500. The
number of cards is at least 4 more than twice the number of packages. The cost of mailing a card (with pictures enclosed) is $3
and for a package the cost is $7.
Write a system of inequalities to model this situation.
Graph the system.
Can she mail 60 cards and 26 packages?
Can she mail 90 cards and 40 packages?
42. Juan is studying for his final exams in chemistry and algebra. he knows he only has 24 hours to study, and it will take him
at least three times as long to study for algebra than chemistry.
Write a system of inequalities to model this situation.
Graph the system.
Can he spend 4 hours on chemistry and 20 hours on algebra?
Can he spend 6 hours on chemistry and 18 hours on algebra?
Answer
⎧ c ≥0
⎪
⎪
⎪
a ≥0
⎨
⎪ c + a ≤ 24
⎪
⎩
⎪
a ≥ 3c
43. Jocelyn is pregnant and so she needs to eat at least 500 more calories a day than usual. When buying groceries one day with
a budget of $15 for the extra food, she buys bananas that have 90 calories each and chocolate granola bars that have 150
calories each. The bananas cost $0.35 each and the granola bars cost $2.50 each.
Write a system of inequalities to model this situation.
Graph the system.
Could she buy 5 bananas and 6 granola bars?
Could she buy 3 bananas and 4 granola bars?
44. Mark is attempting to build muscle mass and so he needs to eat at least an additional 80 grams of protein a day. A bottle of
protein water costs $3.20 and a protein bar costs $1.75. The protein water supplies 27 grams of protein and the bar supplies 16
gram. If he has $10 dollars to spend
Write a system of inequalities to model this situation.
Graph the system.
Could he buy 3 bottles of protein water and 1 protein bar?
Could he buy no bottles of protein water and 5 protein bars?
Answer
⎧w ≥0
⎪
⎪
⎪
b ≥0
⎨
⎪ 27w + 16b > 80
⎪
⎩
⎪
3.20w + 1.75b ≤ 10
no
yes
45. Jocelyn desires to increase both her protein consumption and caloric intake. She desires to have at least 35 more grams of
protein each day and no more than an additional 200 calories daily. An ounce of cheddar cheese has 7 grams of protein and 110
calories. An ounce of parmesan cheese has 11 grams of protein and 22 calories.
Write a system of inequalities to model this situation.
Graph the system.
Could she eat 1 ounce of cheddar cheese and 3 ounces of parmesan cheese?
Could she eat 2 ounces of cheddar cheese and 1 ounce of parmesan cheese?
Answer
⎧w ≥0
⎪
⎪
⎪
r ≥0
⎨
⎪ w +r ≥ 4
⎪
⎩
⎪
270w + 650r ≥ 1500
no
yes
Writing Exercises
47. Graph the inequality x − y ≥ 3 . How do you know which side of the line x − y = 3 should be shaded?
x + 2y ≤ 6
48. Graph the system { 1
. What does the solution mean?
y ≥− x −4
2
Answer
Answers will vary.
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?
This page titled 4.2E: Exercises - Graphing Systems of Linear Inequalities is shared under a CC BY license and was authored, remixed, and/or
curated by OpenStax.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Graph this system of inequalities:
2x + 4y ≤ 10
{
3x − 5y < 15
If you missed this problem, review Section 4.2. (Note that this will open in a new window.)
4.3.1 https://math.libretexts.org/@go/page/40134
(The solution is in the center region.)
If you missed this problem, review Section 4.2. (Note that this will open in a new window.)
Application problems in business, economics, and social and life sciences often ask us to make decisions on the basis of certain
conditions. The conditions or constraints often take the form of inequalities. In this section, we will begin to formulate, analyze,
and solve such problems, at a simple level, to understand the many components of such a problem.
A typical linear programming problem consists of finding an extreme value of a linear function subject to certain constraints. We
are either trying to maximize or minimize the value of this linear function, such as to maximize profit or revenue, or to minimize
cost. That is why these linear programming problems are classified as maximization or minimization problems, or just
optimization problems. The function we are trying to optimize is called an objective function, and the conditions that must be
satisfied are called constraints.
When we graph all constraints, the area of the graph that satisfies all constraints is called the feasible region. The Fundamental
Theorem of Linear Programming states that the maximum (or minimum) value of the objective function always takes place at
the vertices of the feasible region. We call these vertices critical points. These are found using any methods from Chapter 3 as we
are looking for the points where any two of the boundary lines intersect.
A typical example is to maximize profit from producing several products, subject to limitations on materials or resources needed
for producing these items; the problem requires us to determine the amount of each item produced. Another type of problem
involves scheduling; we need to determine how much time to devote to each of several activities in order to maximize income from
(or minimize cost of) these activities, subject to limitations on time and other resources available for each activity.
In this chapter, we will work with problems that involve only two variables, and therefore, can be solved by graphing. Here are the
steps we'll follow:
Example 4.3.1
Niki holds two part-time jobs, Job I and Job II. She never wants to work more than a total of 12 hours a week. She has
determined that for every hour she works at Job I, she needs 2 hours of preparation time, and for every hour she works at Job
II, she needs one hour of preparation time, and she cannot spend more than 16 hours for preparation.
If Niki makes $40 an hour at Job I, and $30 an hour at Job II, how many hours should she work per week at each job to
maximize her income?
Solution
We start by defining our unknowns.
Let the number of hours per week Niki will work at Job I = x.
Let the number of hours per week Niki will work at Job II = y .
Now we write the objective function. Since Niki gets paid $40 an hour at Job I, and $30 an hour at Job II, her total income I is
given by the following equation.
I = 40x + 30y
4.3.2 https://math.libretexts.org/@go/page/40134
Our next task is to find the constraints. The second sentence in the problem states, "She never wants to work more than a total
of 12 hours a week." This translates into the following constraint:
x + y ≤ 12
The third sentence states, "For every hour she works at Job I, she needs 2 hours of preparation time, and for every hour she
works at Job II, she needs one hour of preparation time, and she cannot spend more than 16 hours for preparation." The
translation follows.
2x + y ≤ 16
The fact that x and y can never be negative is represented by the following two constraints:
x ≥ 0, and y ≥ 0.
Subject to: x + y ≤ 12
2x + y ≤ 16
x ≥ 0; y ≥ 0
In order to solve the problem, we graph the constraints and shade the region that satisfies all the inequality constraints.
Any appropriate method can be used to graph the lines for the constraints. However often the easiest method is to graph the
line by plotting the x-intercept and y-intercept.
The line for a constraint will divide the plane into two region, one of which satisfies the inequality part of the constraint. A test
point is used to determine which portion of the plane to shade to satisfy the inequality. Any point on the plane that is not on the
line can be used as a test point.
If the test point satisfies the inequality, then the region of the plane that satisfies the inequality is the region that contains the
test point.
If the test point does not satisfy the inequality, then the region that satisfies the inequality lies on the opposite side of the
line from the test point.
In the graph below, after the lines representing the constraints were graphed, the point (0,0) was used as a test point to
determine that
(0,0) satisfies the constraint x + y ≤ 12 because 0 + 0 < 12
(0,0) satisfies the constraint 2x + y ≤ 16 because 2(0) + 0 < 16
Therefore, in this example, we shade the region that is below and to the left of both constraint lines, but also above the x axis
and to the right of the y axis, in order to further satisfy the constraints x ≥ 0 and y ≥ 0 .
The shaded region where all conditions are satisfied is the feasible region or the feasible polygon.
The Fundamental Theorem of Linear Programming states that the maximum (or minimum) value of the objective function
always takes place at the vertices of the feasible region.
Therefore, we will identify all the vertices (corner points) of the feasible region. These are found using any methods from
Chapter 3 as we are looking for the points where any two of the boundary lines intersect. They are listed as (0, 0), (0, 12), (4,
4.3.3 https://math.libretexts.org/@go/page/40134
8), (8, 0). To maximize Niki's income, we will substitute these points in the objective function to see which point gives us the
highest income per week. We list the results below.
Example 4.3.2
A factory manufactures two types of gadgets, regular and premium. Each gadget requires the use of two operations, assembly
and finishing, and there are at most 12 hours available for each operation. A regular gadget requires 1 hour of assembly and 2
hours of finishing, while a premium gadget needs 2 hours of assembly and 1 hour of finishing. Due to other restrictions, the
company can make at most 7 gadgets a day. If a profit of $20 is realized for each regular gadget and $30 for a premium gadget,
how many of each should be manufactured to maximize profit?
Solution
We define our unknowns:
Let the number of regular gadgets manufactured each day = x.
and the number of premium gadgets manufactured each day = y .
The objective function is
P = 20x + 30y
We now write the constraints. The fourth sentence states that the company can make at most 7 gadgets a day. This translates as
x +y ≤ 7
Since the regular gadget requires one hour of assembly and the premium gadget requires two hours of assembly, and there are
at most 12 hours available for this operation, we get
x + 2y ≤ 12
Similarly, the regular gadget requires two hours of finishing and the premium gadget one hour. Again, there are at most 12
hours available for finishing. This gives us the following constraint.
2x + y ≤ 12
The fact that x and y can never be negative is represented by the following two constraints:
x ≥ 0, and y ≥ 0.
x + 2y ≤ 12
2x + y ≤ 12
x ≥ 0; y ≥ 0
In order to solve the problem, we next graph the constraints and feasible region.
4.3.4 https://math.libretexts.org/@go/page/40134
Again, we have shaded the feasible region, where all constraints are satisfied.
Since the extreme value of the objective function always takes place at the vertices of the feasible region, we identify all the
critical points. They are listed as (0, 0), (0, 6), (2, 5), (5, 2), and (6, 0). To maximize profit, we will substitute these points in the
objective function to see which point gives us the maximum profit each day. The results are listed below.
(6,0)
20(6) + 30(0) = $120
The point (2, 5) gives the most profit, and that profit is $190.
Therefore, we conclude that we should manufacture 2 regular gadgets and 5 premium gadgets daily to obtain the maximum
profit of $190.
Example 4.3.3
x + 2y ≤ 6
2x + y ≤ 6
x ≥ 0; y ≥ 0
Solution
The graph is shown below.
4.3.5 https://math.libretexts.org/@go/page/40134
The five critical points are listed in the above figure. The reader should observe that the first constraint x + y ≥ 1 requires that
the feasible region must be bounded below by the line x + y = 1 ; the test point (0,0) does not satisfy x + y ≥ 1 , so we shade
the region on the opposite side of the line from test point (0,0).
Clearly, the point (2, 2) maximizes the objective function to a maximum value of 50.
It is important to observe that that if the point (0,0) lies on the line for a constraint, then (0,0) could not be used as a test point. We
would need to select any other point we want that does not lie on the line to use as a test point in that situation.
Finally, we address an important question. Is it possible to determine the point that gives the maximum value without calculating
the value at each critical point?
The answer is yes.
We summarize:
This page titled 4.3: Linear Programming - Maximization Applications is shared under a CC BY 4.0 license and was authored, remixed, and/or
curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a
detailed edit history is available upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
4.3.6 https://math.libretexts.org/@go/page/40134
4.3E: Exercises - Linear Programming Maximization Applications
For the following maximization problems, choose your variables, write the objective function and the constraints, graph the
constraints, shade the feasibility region, label all critical points, and determine the solution that optimizes the objective function.
1) A farmer has 100 acres of land on which she plans to grow wheat and corn. Each acre of wheat requires 4 hours of labor and $20
of capital, and each acre of corn requires 16 hours of labor and $40 of capital. The farmer has at most 800 hours of labor and $2400
of capital available. If the profit from an acre of wheat is $80 and from an acre of corn is $100, how many acres of each crop
should she plant to maximize her profit?
2) Mr. Tran has $24,000 to invest, some in bonds and the rest in stocks. He has decided that the money invested in bonds must be at
least twice as much as that in stocks. But the money invested in bonds must not be greater than $18,000. If the bonds earn 6%, and
the stocks earn 8%, how much money should he invest in each to maximize profit?
3) A factory manufactures chairs and tables, each requiring the use of three operations: Cutting, Assembly, and Finishing. The first
operation can be used at most 40 hours; the second at most 42 hours; and the third at most 25 hours. A chair requires 1 hour of
cutting, 2 hours of assembly, and 1 hour of finishing; a table needs 2 hours of cutting, 1 hour of assembly, and 1 hour of finishing.
If the profit is $20 per unit for a chair and $30 for a table, how many units of each should be manufactured to maximize profit?
4) The Silly Nut Company makes two mixtures of nuts: Mixture A and Mixture B. A pound of Mixture A contains 12 oz of
peanuts, 3 oz of almonds and 1 oz of cashews and sells for $4. A pound of Mixture B contains 12 oz of peanuts, 2 oz of almonds
and 2 oz of cashews and sells for $5. The company has 1080 lb. of peanuts, 240 lb. of almonds, 160 lb. of cashews. How many
pounds of each of mixtures A and B should the company make to maximize profit?
(Hint: Use consistent units. Work the entire problem in pounds by converting all values given in ounces into fractions of pounds).
5)
Maximize: Z = 4x + 10y
Subject to: x +y ≤ 5
2x + y ≤ 8
x + 2y ≤ 8
x ≥ 0, y ≥ 0
6) This maximization linear programming problem is not in “standard” form. It has mixed constraints, some involving ≤
inequalities and some involving ≥ inequalities. However with careful graphing, we can solve this using the techniques we have
learned in this section.
Maximize: Z = 5x + 7y
Subject to: x + y ≤ 30
2x + y ≤ 50
4x + 3y ≥ 60
2x ≥ y
x ≥ 0, y ≥ 0
This page titled 4.3E: Exercises - Linear Programming Maximization Applications is shared under a CC BY 4.0 license and was authored,
remixed, and/or curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts
platform; a detailed edit history is available upon request.
4.3E.1 https://math.libretexts.org/@go/page/40135
4.4: Linear Programming - Minimization Applications
Learning Objectives
In this section, you will learn to:
Formulate minimization linear programming problems.
Graph feasible regions for minimization linear programming problems.
Determine optimal solutions for minimization linear programming problems.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Graph this system of inequalities:
⎧ x + 3y ≥ 6
⎨ 1
⎩y > x −1
3
If you missed this problem, review Section 4.2. (Note that this will open a different textbook in a new window.)
4.4.1 https://math.libretexts.org/@go/page/40136
If you missed this problem, review Section 4.2. (Note that this will open a different textbook in a new window.)
Minimization linear programming problems are solved in much the same way as the maximization problems.
For the standard minimization linear program, the constraints are of the form ax + by ≥ c , as opposed to the form ax + by ≤ c
for the standard maximization problem. As a result, the feasible solution extends indefinitely to the upper right of the first quadrant,
and is unbounded. But that is not a concern, since in order to minimize the objective function, the line associated with the objective
function is moved towards the origin, and the critical point that minimizes the function is closest to the origin.
However, one should be aware that in the case of an unbounded feasible region, the possibility of no optimal solution exists.
Example 4.4.1
At a university, Professor Symons wishes to employ two people, John and Mary, to grade papers for his classes. John is a
graduate student and can grade 20 papers per hour; John earns $15 per hour for grading papers. Mary is a post-doctoral
associate and can grade 30 papers per hour; Mary earns $25 per hour for grading papers. Each must be employed at least one
hour a week to justify their employment.
If Prof. Symons has at least 110 papers to be graded each week, how many hours per week should he employ each person to
minimize the cost?
Solution
We define the unknowns as follows:
Let the number of hours per week John is employed = x.
and the number of hours per week Mary is employed = y .
The objective function is
C = 15x + 25y
The fact that each must work at least one hour each week results in the following two constraints:
x ≥1
y ≥1
Since John can grade 20 papers per hour and Mary 30 papers per hour, and there are at least 110 papers to be graded per week,
we get
x ≥ 0, and y ≥ 0.
4.4.2 https://math.libretexts.org/@go/page/40136
Minimize C = 15x + 25y
Subject to: x ≥1
y ≥1
x ≥ 0; y ≥ 0
Again, we have shaded the feasible region, where all constraints are satisfied.
If we used test point (0,0) that does not lie on any of the constraints, we observe that (0, 0) does not satisfy any of the
constraints x ≥ 1 , y ≥ 1 , 20x + 30y ≥ 110. Thus all the shading for the feasible region lies on the opposite side of the
constraint lines from the point (0,0).
Alternatively we could use test point (4,6), which also does not lie on any of the constraint lines. We’d find that (4,6) does
satisfy all of the inequality constraints. Consequently all the shading for the feasible region lies on the same side of the
constraint lines as the point (4,6).
Since the extreme value of the objective function always takes place at the vertices of the feasible region, we identify the two
critical points, (1, 3) and (4, 1). To minimize cost, we will substitute these points in the objective function to see which point
gives us the minimum cost each week. The results are listed below.
The point (4, 1) gives the least cost, and that cost is $85. Therefore, we conclude that in order to minimize grading costs,
Professor Symons should employ John 4 hours a week, and Mary 1 hour a week at a cost of $85 per week.
Example 4.4.2
Professor Hamer is on a low cholesterol diet. During lunch at the college cafeteria, he always chooses between two meals:
pasta or tofu. The table below lists the amount of protein, carbohydrates, and vitamins each meal provides along with the
amount of cholesterol he is trying to minimize. Mr. Hamer needs at least 200 grams of protein, 960 grams of carbohydrates,
and 40 grams of vitamins for lunch each month. Over this time period, how many days should he have the pasta meal, and how
many days the tofu meal so that he gets the adequate amount of protein, carbohydrates, and vitamins and at the same time
minimizes his cholesterol intake?
PASTA TOFU
PROTEIN 8g 16g
VITAMIN C 2g 2g
Solution
We define the unknowns as follows.
4.4.3 https://math.libretexts.org/@go/page/40136
Let the number of days Mr. Hamer eats pasta = x.
and the number of days Mr. Hamer eats tofu = y .
Since he is trying to minimize his cholesterol intake, our objective function represents the total amount of cholesterol C
provided by both meals.
C = 60x + 50y
The constraint associated with the total amount of protein provided by both meals is
8x + 16y ≥ 200
Similarly, the two constraints associated with the total amount of carbohydrates and vitamins are obtained, and they are
60x + 40y ≥ 960
2x + 2y ≥ 40
x ≥ 0, and y ≥ 0.
2x + 2y ≥ 40
x ≥ 0; y ≥ 0
To solve the problem, we graph the constraints and shade the feasible region.
We have shaded the unbounded feasible region, where all constraints are satisfied.
To minimize the objective function, we find the vertices of the feasible region. These vertices are (0, 24), (8, 12), (15, 5) and
(25, 0). To minimize cholesterol, we will substitute these points in the objective function to see which point gives us the
smallest value. The results are listed below.
The point (8, 12) gives the least cholesterol, which is 1080 mg. This states that for every 20 meals, Professor Hamer should eat
pasta 8 days, and tofu 12 days.
We must be aware that in some cases, a linear program may not have an optimal solution.
A linear program can fail to have an optimal solution is if there is not a feasible region. If the inequality constraints are not
compatible, there may not be a region in the graph that satisfies all the constraints. If the linear program does not have a feasible
4.4.4 https://math.libretexts.org/@go/page/40136
solution satisfying all constraints, then it can not have an optimal solution.
A linear program can fail to have an optimal solution if the feasible region is unbounded.
The two minimization linear programs we examined had unbounded feasible regions. The feasible region was bounded by
constraints on some sides but was not entirely enclosed by the constraints. Both of the minimization problems had optimal
solutions.
However, if we were to consider a maximization problem with a similar unbounded feasible region, the linear program
would have no optimal solution. No matter what values of x and y were selected, we could always find other values of x and
y that would produce a higher value for the objective function. In other words, if the value of the objective function can be
increased without bound in a linear program with an unbounded feasible region, there is no optimal maximum solution.
Although the method of solving minimization problems is similar to that of the maximization problems, we still feel that we should
summarize the steps involved.
This page titled 4.4: Linear Programming - Minimization Applications is shared under a CC BY 4.0 license and was authored, remixed, and/or
curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a
detailed edit history is available upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
4.4.5 https://math.libretexts.org/@go/page/40136
4.4E: Exercises - Linear Programming Minimization Applications
For each of the following minimization problems, choose your variables, write the objective function and the constraints, graph the
constraints, shade the feasibility region, label all critical points, and determine the solution that optimizes the objective function.
1) A diet is to contain at least 2400 units of vitamins, 1800 units of minerals, and 1200 calories. Two foods, Food A and Food B are
to be purchased. Each unit of Food A provides 50 units of vitamins, 30 units of minerals, and 10 calories. Each unit of Food B
provides 20 units of vitamins, 20 units of minerals, and 40 calories. Food A costs $2 per unit and Food B cost $1 per unit. How
many units of each food should be purchased to keep costs at a minimum?
2) A computer store sells two types of computers, laptops and desktops. The supplier demands that at least 150 computers be sold a
month. Experience shows that most consumers prefer laptops, but some business customers require desktops. The result is that the
number of laptops sold is at least twice of the number of desktops. The store pays its sales staff a $60 commission for each laptop,
and a $40 commission for each desktop. Let x = the number of laptops and y = the number of desktop computers. How many of
each type must be sold to minimize commission to its sales people?
What is the minimum commission?
3) An oil company has two refineries. Each day, Refinery A produces 200 barrels of high-grade oil, 300 barrels of medium-grade
oil, and 200 barrels of low-grade oil and costs $12,000 to operate. Each day, Refinery B produces 100 barrels of high-grade oil, 100
barrels of medium-grade oil, and 200 barrels of low-grade oil and costs $10,000 to operate. The company must produce at least 800
barrels of high-grade oil, 900 barrels of medium-grade oil, and 1,000 barrels of low-grade oil.
How many days should each refinery be operated to meet the goals at a minimum cost?
4) A print shop at a community college in Cupertino, California, employs two different contractors to maintain its copying
machines. The print shop needs to have 12 IBM, 18 Xerox, and 20 Canon copying machines serviced. Contractor A can repair 2
IBM, 1 Xerox, and 2 Canon machines at a cost of $800 per month, while Contractor B can repair 1 IBM, 3 Xerox, and 2 Canon
machines at a cost of $1000 per month. How many months should each of the two contractors be employed to minimize the cost?
This page titled 4.4E: Exercises - Linear Programming Minimization Applications is shared under a CC BY 4.0 license and was authored,
remixed, and/or curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts
platform; a detailed edit history is available upon request.
3.2.1: Minimization Applications (Exercises) by Rupinder Sekhon and Roberta Bloom is licensed CC BY 4.0. Original source:
https://www.deanza.edu/faculty/bloomroberta/math11/afm3files.html.html.
4.4E.1 https://math.libretexts.org/@go/page/40137
4.5: Chapter 4 Review
Graphing Linear Inequalities
1. Graph the linear inequality: y < x + 2 .
3
(2, 3)
(7, −1)
y < 2x − 1
6. Graph { 1
y ≤− x +4
2
3x − y ≥ 6
7. Graph { 1
y ≥− x
2
2x + 2y > −4
8. Graph {
−x + 3y ≥ 9
1
y ≤− x −2
9. Graph { 4
x + 4y < 6
4.5.1 https://math.libretexts.org/@go/page/40138
Pro model takes 11 hours. The Basic phone requires one hour and the Pro phone needs 3 hours for finishing, which includes
loading software. Both phones require one hour for testing. On a particular production run the company has available 1,540
work hours on the assembly line, 360 work hours for finishing, and 200 work hours in the testing department. How many cell
phones of each type should be produced to maximize profit, and what is that maximum profit?
16. John wishes to choose a combination of two types of cereals for breakfast - Cereal A and Cereal B. A small box (one serving)
of Cereal A costs $0.50 and contains 10 units of vitamins, 5 units of minerals, and 15 calories. A small box(one serving) of
Cereal B costs $0.40 and contains 5 units of vitamins, 10 units of minerals, and 15 calories. John wants to buy enough boxes to
have at least 500 units of vitamins, 600 units of minerals, and 1200 calories. How many boxes of each food should he buy to
minimize his cost, and what is the minimum cost?
17. Jessica needs at least 60 units of vitamin A, 40 units of vitamin B, and 140 units of vitamin C each week. She can choose
between Costless brand or Savemore brand tablets. A Costless tablet costs 5 cents and contains 3 units of vitamin A, 1 unit of
vitamin B, and 2 units of vitamin C. A Savemore tablet costs 7 cents and contains 1 unit of A, 1 of B, and 5 of C. How many
tablets of each kind should she buy to minimize cost, and what is the minimum cost?
18. A small company manufactures two products: A and B. Each product requires three operations: Assembly, Finishing and
Testing. Product A requires 1 hour of Assembly, 3 hours of Finishing, and 1 hour of Testing. Product B requires 3 hours of
Assembly, 1 hour of Finishing, and 1 hour of Testing. The total work-hours available per week in the Assembly division is 60,
in Finishing is 60, and in Testing is 24. Each item of product A has a profit of $50, and each item of Product B has a profit of
$75. How many of each should be made to maximize profit? What is the maximum profit?
19. A factory manufactures two products, A and B. Each product requires the use of three machines, Machine I, Machine II, and
Machine III. The time requirements and total hours available on each machine are listed below.
Product A 1 2 4
Product B 2 2 2
If product A generates a profit of $60 per unit and product B a profit of $50 per unit, how many units of each product should be
manufactured to maximize profit, and what is the maximum profit?
20. A company produces three types of shoes, formal, casual, and athletic, at its two factories, Factory I and Factory II. The
company must produce at least 6000 pairs of formal shoes, 8000 pairs of casual shoes, and 9000 pairs of athletic shoes. Daily
production of each factory for each type of shoe is:
Factory I Factory II
Operating Factory I costs $1500 per day and it costs $2000 per day to operate Factory II. How many days should each factory
operate to complete the order at a minimum cost, and what is the minimum cost?
21. A professor gives two types of quizzes, objective and recall. He plans to give at least 15 quizzes this quarter. The student
preparation time for an objective quiz is 15 minutes and for a recall quiz 30 minutes. The professor would like a student to
spend at least 5 hours (300 minutes) preparing for these quizzes above and beyond the normal study time. The average score on
an objective quiz is 7, and on a recall type 5, and the professor would like the students to score at least 85 points on all quizzes.
It takes the professor one minute to grade an objective quiz, and 1.5 minutes to grade a recall type quiz. How many of each type
should he give in order to minimize his grading time?
22. A company makes two mixtures of nuts: Mixture A and Mixture B. Mixture A contains 30% peanuts, 30% almonds and 40%
cashews and sells for $5 per pound. Mixture B contains 30% peanuts, 60% almonds and 10% cashews and sells for $3 a pound.
The company has 540 pounds of peanuts, 900 pounds of almonds, 480 pounds of cashews. How many pounds of each of
mixtures A and B should the company make to maximize profit, and what is the maximum profit?
4.5.2 https://math.libretexts.org/@go/page/40138
This page titled 4.5: Chapter 4 Review is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and
Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon
request.
4.5.3 https://math.libretexts.org/@go/page/40138
CHAPTER OVERVIEW
This page titled 5: Sets and Counting is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and
Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon
request.
1
5.1: Sets and Counting
Learning Objectives
In this section, you will learn to:
Use set notation to represent unions, intersections, and complements of sets.
Use Venn diagrams to solve counting problems.
Introduction to Sets
In this section, we will familiarize ourselves with set operations and notations, so that we can apply these concepts to both counting
and probability problems. We begin by defining some terms.
We name the set by using capital letters, and enclose its members in braces. Suppose we need to list the members of the chess club.
We use the following set notation.
C = { Ken, Bob, Tran, Shanti, Eric }
Definition: Subset
Set A is a subset of a set B if every member of A is also a member of B .
Suppose C = { Al, Bob, Chris, David, Ed } and A = { Bob, David }. Then A is a subset of C, written as A ⊆ C.
Every set is a subset of itself, and the empty set is a subset of every set.
5.1.1 https://math.libretexts.org/@go/page/40141
Two sets A and B are called disjoint sets if their intersection is an empty set. Clearly, a set and its complement are disjoint;
however two sets can be disjoint and not be complements.
Example 5.1.1
List all the subsets of the set of primary colors { red, yellow, blue }.
Solution
The subsets are ∅, {red}, {yellow}, {blue}, {red, yellow}, {red, blue}, {yellow, blue}, {red, yellow, blue}
Note that the empty set is a subset of every set, and a set is a subset of itself.
Example 5.1.2
Let F = { Aikman, Jackson, Rice, Sanders, Young }, and let B = { Griffey, Jackson, Sanders, Thomas }.
Find the intersection of the sets F and B.
Solution
The intersection of the two sets is the set whose elements belong to both sets. Therefore, F ∩ B = { Jackson, Sanders }
Example 5.1.3
Example 5.1.4
Let the universal set U = { red, orange, yellow, green, blue, indigo, violet }, and P = { red, yellow, blue }. Find the complement
of P.
Solution
The complement of a set P is the set consisting of elements in the universal set U that are not in P. Therefore,
¯
¯¯¯
P = { orange, green, indigo, violet }
To achieve a better understanding, let us suppose that the universal set U represents the colors of the spectrum, and P the
¯
¯¯¯
primary colors, then P represents those colors of the spectrum that are not primary colors.
Example 5.1.5
Let the universal set U = { red, orange, yellow, green, blue, indigo, violet }, and P = { red, yellow, blue } . Find a set R so that
R is not the complement of P but R and P are disjoint.
Solution
R = { orange, green } and P = { red, yellow, blue } are disjoint because the intersection of the two sets is the empty set. The
sets have no elements in common. However they are not complements because their union P ∪ R = { red, yellow, blue, orange,
green } is not equal to the universal set U.
5.1.2 https://math.libretexts.org/@go/page/40141
Example 5.1.6
Let U = { red, orange, yellow, green, blue, indigo, violet }, P = { red, yellow, blue }, Q = { red, green }, and R = { orange,
¯¯¯¯¯¯¯¯¯¯¯¯
¯ ¯
¯¯¯
green, indigo }. Find P ∪Q ∩R .
Solution
We do the problems in steps:
P ∪ Q = { red, yellow, blue, green }
¯¯¯¯¯¯¯¯¯¯¯¯
¯
P ∪Q = { orange, indigo, violet }
¯
¯¯¯
R = { red, yellow, blue, violet }
¯¯¯¯¯¯¯¯¯¯¯¯
¯
P ∪ Q ∩ R = {violet}
¯
¯¯¯
Venn Diagrams
We now use Venn diagrams to illustrate the relations between sets. In the late 1800s, an English logician named John Venn
developed a method to represent relationship between sets. He represented these relationships using diagrams, which are now
known as Venn diagrams.
A Venn diagram represents a set as the interior of a circle. Often two or more circles are enclosed in a rectangle where the rectangle
represents the universal set. An overlapping area of the circles represents the intersection of those sets. In this section, we will
mainly use Venn diagrams to sort various populations and count objects.
Most often, a Venn Diagram represents too many objects to list specific elements. Instead, it will show the number of elements
within each set. The notation n(set) is used to identify the number of items within each set. Using U = { red, orange, yellow,
green, blue, indigo, violet } as an example, n(U)=7 since there are 7 elements within set U.
Example 5.1.7
Suppose a survey of car enthusiasts showed that over a certain time period, 30 drove cars with automatic transmissions, 20
drove cars with standard transmissions, and 12 drove cars of both types. Draw a Venn diagram to represent this scenario. If
everyone in the survey drove cars with one of these transmissions, how many people participated in the survey?
Solution
We will use Venn diagrams to solve this problem.
Let the set A represent those car enthusiasts who drove cars with automatic transmissions, and set S represent the car
enthusiasts who drove the cars with standard transmissions. Now we use Venn diagrams to sort out the information given in
this problem.
Since 12 people drove both cars, we place the number 12 in the region common to both sets. n(A ∩ S) = 12.
Because 30 people drove cars with automatic transmissions, the circle A must contain 30 elements. This means that
¯¯
¯
x + 12 = 30, or x = 18. n(A ∩ S ) = 18.
Similarly, since 20 people drove cars with standard transmissions, the circle B must contain 20 elements.
¯
¯¯¯
Thus, y + 12 = 20 which in turn makes y = 8. n(S ∩ A) = 8.
Now that all the information is sorted out, it is easy to read from the diagram that 18 people drove cars with automatic
transmissions only, 12 people drove both types of cars, and 8 drove cars with standard transmissions only.
Therefore, 18 + 12 + 8 = 38 people took part in the survey. n(A ∪ S) = 38.
5.1.3 https://math.libretexts.org/@go/page/40141
Example 5.1.8
A survey of 100 people in California indicates that 60 people have visited Disneyland, 15 have visited Knott's Berry Farm, and
6 have visited both. Draw a Venn diagram to represent this scenario. How many people have visited neither place?
Solution
The problem is similar to the one in the previous example.
Let the set D represent the people who have visited Disneyland, and K the set of people who have visited Knott's Berry Farm.
We fill the three regions associated with the sets D and K in the same manner as before. Since 100 people participated in the
survey, the rectangle representing the universal set U must contain 100 objects, or n(U ) = 100 . Let x represent those people in
the universal set that are neither in the set D nor in K. This means 54 + 6 + 9 + x = 100, or x = 31.
¯
¯¯¯¯¯¯¯¯¯¯¯¯
¯
Therefore, there are 31 people in the survey who have visited neither place. In set notation, n(D ∪ K ) = 31.
Example 5.1.9
5.1.4 https://math.libretexts.org/@go/page/40141
We place a 3 in the innermost region of figure I because it represents the number of people who participate in all three
activities. Next we use figure II to compute x, y and z.
Since 14 people jog and swim, x + 3 = 14, or x = 11.
The fact that 9 people jog and cycle results in y + 3 = 9, or y = 6.
Since 7 people swim and cycle, z + 3 = 7, or z = 4.
This information is depicted in figure III.
This page titled 5.1: Sets and Counting is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and
Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon
request.
5.1.5 https://math.libretexts.org/@go/page/40141
5.1E: Exercises - Sets and Counting
PROBLEM SET: SETS AND COUNTING
Find the indicated sets.
1. List all subsets of the following set. 2. List all subsets of the following set.
{ Al, Bob } { Al, Bob, Chris }
3. List the elements of the following set. 4. List the elements of the following set.
{ Al, Bob, Chris, Dave } ∩ { Bob, Chris, Dave, Ed } { Al, Bob, Chris, Dave } ∪ {Bob, Chris, Dave, Ed }
5. V ∪ W 6. V ∩ W
7. ¯
¯¯¯¯¯¯¯¯¯¯¯¯¯
V ∪ W
¯
8. ¯
¯¯¯
V ∩ W
¯¯¯¯
¯
9. A ∪ B 10. A ∩ C
¯
¯¯¯¯¯¯¯¯¯¯¯
¯ ¯
¯¯¯¯¯¯¯¯¯¯¯
¯
11. A ∪ B∩ C 12. ¯
A∪ B ∩ C
Use Venn Diagrams to find the number of elements in the following sets.
16. In 2016, 80 college students were surveyed about what video services
they subscribed to. Suppose the survey showed that 50 use Amazon
Prime, 30 use Netflix, 20 use Hulu. Of those, 13 use Amazon Prime
15. A survey of athletes revealed that for their minor aches and pains, 30 and Netflix, 9 use Amazon Prime and Hulu, 7 use Netflix and Hulu. 3
used aspirin, 50 used ibuprofen, and 15 used both. How many students use all three services.
athletes were surveyed? a. Draw a Venn Diagram and use it to determine the number of
people in each region of the diagram.
b. How many use at least one of these?
c. How many use none of these?
17. A survey of 100 students at a college finds that 50 take math, 40 take
18. In a survey of investors it was found that 100 invested in stocks, 60 in
English, and 30 take history. Of these 15 take English and math, 10
mutual funds, and 50 in bonds. Of these, 35 invested in stocks and
take English and history, 10 take math and history, and 5 take all
mutual funds, 30 in mutual funds and bonds, 28 in stocks and bonds,
three subjects. Draw a Venn diagram and find the numbers in each
and 20 in all three. Draw a Venn diagram and find the numbers in
region. Use the diagram to answer the questions below.
each region. Use the diagram to answer the questions below.
a. Find the number of students taking math but not the other two
a. Find the number of investors that participated in the survey.
subjects.
b. How many invested in stocks or mutual funds but not in bonds?
b. The number of students taking English or math but not history.
c. How many invested in exactly one type of investment?
c. The number of students taking none of these subjects.
5.1E.1 https://math.libretexts.org/@go/page/40142
19. A survey of 100 students at a college finds that 50 take math, 40 take English, and 30 take history. Of these 15 take English and math, 10 take
English and history, 10 take math and history, and 5 take all three subjects. (This question relates back to question #17.) For each of the
following draw a Venn Diagram and shade the indicated sets and determine the number of students in the set.
a. Students who take at least one of these classes b. Students who take exactly one of these classes
c. Students who take at least two of these classes d. Students who take exactly two of these classes
e. Students who take at most two of these classes f. Students who take English or Math but not both
g. Students who take Math or History but not English h. Students who take all of these classes
20. In a survey of investors it was found that 100 invested in stocks, 60 in mutual funds, and 50 in bonds. Of these, 35 invested in stocks and mutual
funds, 30 in mutual funds and bonds, 28 in stocks and bonds, and 20 in all three. (This question relates back to question #18.) For each of the
following draw a Venn Diagram and shade the indicated sets and determine the number of students in the set.
a. Investors who invested in mutual funds only b. Investors who invested in stocks and bonds but not mutual funds
c. Investors who invested in exactly one of these investments d. Investors who invested in exactly two of these investments
e. Investors who invested in at least two of these investments f. Investors who invested in at most two of these investments
g. Investors who did not invest in bonds h. Investors who invested in all three investments
This page titled 5.1E: Exercises - Sets and Counting is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder
Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is
available upon request.
5.1E.2 https://math.libretexts.org/@go/page/40142
5.2: Tree Diagrams and the Multiplication Axiom
Learning Objectives
In this section you will learn to:
Use trees to count possible outcomes in a multi-step process.
Use the multiplication axiom to count possible outcomes in a multi-stop process.
In this chapter, we are trying to develop counting techniques that will be used in the next chapter to study probability. One of the
most fundamental of such techniques is called the Multiplication Axiom. Before we introduce the multiplication axiom, we first
look at some examples using tree diagrams.
A tree diagram is a visual way to show all possible outcomes of a certain event. Each event represents a split in the branches with
each possible outcome listed at the end of a branch.
Example 5.2.1
If a food truck sells 2 types of appetizers and 4 types of sandwiches, how many different
meal options can be ordered? Construct a tree diagram to represent this scenario.
Solution
Suppose we call the appetizers a and a , and sandwichess , s , s , and s .
1 2 1 2 3 4
a1 s1 , a1 s2 , a1 s3 , a1 s4 , a2 s1 , a2 s2 , a2 s3 , a2 s4
The method involves two events: choosing an appetizer and choosing a sandwich. Each events is represented by a group of
branches, with each possible outcome listed at the end of a branch. The tree diagram helps us visualize these possibilities.
If, in the previous example, we add the desserts to the meal, we have the following problem.
Example 5.2.2
If a food truck sells 2 types of appetizers, 4 types of sandwiches, and 2 types of desserts,
how many different meal options can be ordered? Construct a tree diagram to represent
this scenario.
Solution
Suppose we call the appetizers a and a , the sandwichess , s , s , and s , and the desserts d and d .
1 2 1 2 3 4 1 2
5.2.1 https://math.libretexts.org/@go/page/40143
We count the number of branches in the tree, and see that there are 16 different possibilities.
The method involves three events: choosing an appetizer, choosing a sandwich, and choosing a dessert. Each eventnis
represented by a group of branches, with each possible outcome listed at the end of a branch.
Tree diagrams help us visualize the different possibilities, but they are not practical when the possibilities are numerous. Besides,
we are mostly interested in finding the number of elements in the set and not the actual list of all possibilities; once the problem is
envisioned, we can solve it without a tree diagram. The two examples we just solved may have given us a clue to do just that.
Let us now try to solve Example 5.2.2 without a tree diagram. The problem involves three steps: choosing an appetizer, choosing a
sandwich, and choosing a dessert. The number of ways of choosing each are listed below. By multiplying these three numbers we
get 16, which is what we found when we did the problem using a tree diagram.
The number of ways of choosing an appetizer The number of ways of choosing a sandwich The number of ways of choosing a dessert
2 4 2
If a task can be done in m ways, and a second task can be done in n ways, then the operation involving the first task followed
by the second can be performed in m ⋅ n ways.
The general multiplication axiom is not limited to just two tasks and can be used for any number of tasks.
Example 5.2.3
A truck license plate consists of a letter followed by four digits. How many such license plates are possible?
Solution
Since there are 26 letters and 10 digits, we have the following choices for each.
26 10 10 10 10
Example 5.2.4
5.2.2 https://math.libretexts.org/@go/page/40143
Since there are two choices for each question, we have
2 2 2
Example 5.2.5
4 3 2 1
Example 5.2.6
How many three-letter word sequences can be formed using the letters { A, B, C } if no letter is to be repeated?
Solution
The problem is very similar to the previous example.
Imagine a child having three building blocks labeled A, B, and C. Suppose he puts these blocks on top of each other to make
word sequences. For the first letter he has three choices, namely A, B, or C. Let us suppose he chooses the first letter to be a B,
then for the second block which must go on top of the first, he has only two choices: A or C. And for the last letter he has only
one choice. We list the choices below.
3 2 1
5.2.3 https://math.libretexts.org/@go/page/40143
This page titled 5.2: Tree Diagrams and the Multiplication Axiom is shared under a CC BY 4.0 license and was authored, remixed, and/or curated
by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit
history is available upon request.
5.2.4 https://math.libretexts.org/@go/page/40143
5.2E: Exercises - Tree Diagrams and the Multiplication Axiom
Do the following problems using a tree diagram or the multiplication axiom.
3. There are 4 roads from Town A to Town B, 2 roads from Town B to 4. Brown Home Construction offers a selection of 3 floor plans, 2 roof
Town C. Use a tree diagram to find the number of ways one can types, and 2 exterior wall types. Use a tree diagram to determine the
travel from Town A to Town C. number of possible homes available.
7. A license plate consists of three letters followed by three digits. How 8. How many different 4-letter radio station call letters can be made if
many license plates are possible if no letter may be repeated? the first letter must be K or W and no letters can be repeated?
9. How many seven-digit telephone numbers are possible if the first 10. How many 3-letter word sequences can be formed using the letters
two digits cannot be ones or zeros? {a, b, c, d} if no letter is to be repeated?
11. A family has two children, use a tree diagram to determine all four 12. A coin is tossed three times and the sequence of heads and tails is
possibilities of outcomes by gender. recorded. Use a tree diagram to list all the possible outcomes.
14. In how many ways can three people be arranged to stand in a straight
13. In how many ways can a 4-question true-false test be answered?
line?
15. A combination lock is opened by first turning to the left, then to the
16. How many different answers are possible for a multiple-choice test
right, and then to the left again. If there are 30 digits on the dial, how
with 10 questions and five possible answers for each question?
many possible combinations are there?
18. The college decided that a more secure password system is needed.
17. In the past, a college required students to use a 4 digit PIN (Personal
New passwords must have 3 numerical digits followed by 6 letters.
Identification Number) as their password for its registration system.
There are no restrictions on the selection of the numerical digits.
How many different PINs are possible if each must have 4 digits
However, the letters I and O are not permitted. How many different
with no restrictions on selection or arrangement of the digits used?
passwords are possible?
This page titled 5.2E: Exercises - Tree Diagrams and the Multiplication Axiom is shared under a CC BY 4.0 license and was authored, remixed,
and/or curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a
detailed edit history is available upon request.
7.2.1: Tree Diagrams and the Multiplication Axiom (Exercises) by Rupinder Sekhon and Roberta Bloom is licensed CC BY 4.0. Original
source: https://www.deanza.edu/faculty/bloomroberta/math11/afm3files.html.html.
5.2E.1 https://math.libretexts.org/@go/page/40144
5.3: Permutations
Learning Objectives
In this section you will learn to:
Perform calculations using factorials.
Count the number of possible permutations (ordered arrangement) of n items taken r at a time.
Count the number of possible permutations when there are conditions imposed on the arrangements.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. How many three-letter word sequences can be formed using the letters { A, B, C } if no letter is to be repeated?
2. A California license plate consists of a number from 1 to 5, then three letters followed by any three digits. Repetition is
possible. How many such plates are possible?
3. How many different 4-letter radio station call letters can be made if the first letter must be K or W and no letters can be
repeated?
Factorials
When working with the multiplication axiom, we will often need to multiply sequential, descending numbers as we did in Example
5.2.5. We have a special notation for that calculation, which we will use a great deal in this as well as in the next chapter.
Definition: Factorial
n! is read as "n factorial."
5.3.1 https://math.libretexts.org/@go/page/40145
Example 5.3.1
Calculate 5!
Solution
Using the definition of a factorial, 5! = 5 ⋅ 4 ⋅ 3 ⋅ 2 ⋅ 1 . Multiplying these numbers gives a value of 120.
Permutations
In Example 5.2.6, we were asked to find the word sequences formed by using the letters { A, B, C } if no letter is to be repeated.
The tree diagram gave us the following six arrangements.
ABC, ACB, BAC, BCA, CAB, and CBA.
Arrangements like these, where order is important and no element is repeated, are called permutations.
Definition: Permutations
A permutation of a set of elements is an ordered arrangement where each element is used once.
Example 5.3.2
How many three-letter word sequences can be formed using the letters { A, B, C, D }?
Solution
There are four choices for the first letter of our word, three choices for the second letter, and two choices for the third.
4 3 2
Example 5.3.3
How many permutations of the letters of the word ARTICLE have consonants in the first and last positions?
Solution
In the word ARTICLE, there are 4 consonants.
Since the first letter must be a consonant, we have four choices for the first position, and once we use up a consonant, there are
only three consonants left for the last spot. We show as follows:
4 3
Since there are no more restrictions, we can go ahead and make the choices for the rest of the positions.
So far we have used up 2 letters, therefore, five remain. So for the next position there are five choices, for the position after that
there are four choices, and so on. We get
4 5 4 3 2 1 3
Example 5.3.4a
5.3.2 https://math.libretexts.org/@go/page/40145
Solution
The problem is easily solved by the multiplication axiom, and answers are as follows:
a. The number of four-letter word sequences is 5 ⋅ 4 ⋅ 3 ⋅ 2 = 120 .
b. The number of three-letter word sequences is 5 ⋅ 4 ⋅ 3 = 60 .
c. The number of two-letter word sequences is 5 ⋅ 4 = 20 .
We often encounter situations where we have a set of n objects and we are selecting r objects to form permutations. We refer to this
as permutations of n objects taken r at a time, and we usually write it as nPr.
Definition: nPr
The Number of Permutations of n Objects Taken r at a Time
n!
nPr = (5.3.2)
(n − r)!
or
nPr = n(n − 1)(n − 2)(n − 3) ⋯ (n − r + 1) (5.3.3)
Note that different texts may use different notation for permutations. nP r, P (n, r), or P all represent permutations.
r
n
Example 5.3.4b
Given five letters { A, B, C, D, E }. Use the permutation formula to find the following:
a. The number of four-letter word sequences.
b. The number of three-letter word sequences.
c. The number of two-letter word sequences.
Solution
Since we are selecting from 5 different letters in the set, n = 5 . The value for r is the number of letters we use in each
sequence.
5! 5⋅4⋅3⋅2⋅1
a. The number of four-letter word sequences is 5P4 = = = 5 ⋅ 4 ⋅ 3 ⋅ 2 = 120
(5 − 4)! 1
5! 5⋅4⋅3⋅2⋅1
b. The number of three-letter word sequences is 5P3 = = = 5 ⋅ 4 ⋅ 3 = 60
(5 − 3)! 2⋅1
5! 5⋅4⋅3⋅2⋅1
c. The number of two-letter word sequences is 5P2 = = = 5 ⋅ 4 = 20
(5 − 2)! 3⋅2⋅1
Example 5.3.5
An auto service station has 6 employees and 3 bays. How many different ways can the employees be placed at the three bays
if each bay only gets one employee?
Solution
We will identify n and r in each case and solve using the formulas provided.
Since we have 6 employees to select from, n =6 . Since we are placing only 3 of them at a time, r =3 . Therefore we are
trying to calculate 6P3.
6! 6! 6⋅5⋅4⋅3⋅2⋅1
6P3 = = = = 6 ⋅ 5 ⋅ 4 = 120
(6−3)! 3! 3⋅2⋅1
Next we consider some more permutation problems to get further insight into these concepts.
5.3.3 https://math.libretexts.org/@go/page/40145
Example 5.3.6
In how many different ways can 4 people be seated in a straight line if two of them insist on sitting next to each other?
Solution
Let us suppose we have four people A, B, C, and D. Further suppose that A and B want to sit together. For the sake of
argument, we tie A and B together and treat them as one person.
The four people are AB CD. Since AB is treated as one person, we have the following possible arrangements.
AB C D, AB DC , C AB D, D AB C , C D AB , DC AB
Note that there are six more such permutations because A and B could also be tied in the order BA. And they are
BA C D, BA DC , C BA D, D BA C , C D BA , DC BA
Example 5.3.7
You have 4 math books and 5 history books to put on a shelf that has 5 slots. In how many ways can the books be shelved if the
first three slots are filled with math books and the next two slots are filled with history books?
Solution
We first do the problem using the multiplication axiom.
Since the math books go in the first three slots, there are 4 choices for the first slot,
3 choices for the second and 2 choices for the third.
The fourth slot requires a history book, and has five choices. Once that choice is made, there are 4 history books left, and
therefore, 4 choices for the last slot. The choices are shown below.
4 3 2 5 4
Note
1. Factorial
0! = 1
2. Permutations
5.3.4 https://math.libretexts.org/@go/page/40145
A permutation of a set of elements is an ordered arrangement where each element is used once.
3. Permutations of n Objects Taken r at a Time
or
n!
nPr =
(n − r)!
This page titled 5.3: Permutations is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and
Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon
request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
5.3.5 https://math.libretexts.org/@go/page/40145
5.3E: Exercises - Permutations
Do the following problems using permutations.
1. How many three-letter words can be made using the letters { a, b, c, 2. A grocery store has five checkout counters, and seven clerks. How
d, e } if no repetitions are allowed? many different ways can the 7 clerks be assigned to the 5 counters?
5. In how many ways can the letters of the word CUPERTINO be 6. How many permutations of the letters of the word PROBLEM end in
arranged if each letter is used only once in each arrangement? a vowel?
7. How many permutations of the letters of the word SECURITY end 8. How many permutations of the letters PRODUCT have consonants in
in a consonant? the second and third positions?
9. How many three-digit numbers are there? 10. How many three-digit odd numbers are there?
11. In how many different ways can five people be seated in a row if two 12. In how many different ways can five people be seated in a row if two
of them insist on sitting next to each other? of them insist on not sitting next to each other?
13. In how many ways can 3 English, 3 history, and 2 math books be set
14. In how many ways can 3 English, 3 history, and 2 math books be set
on a shelf, if the English books are set on the left, history books in
on a shelf, if they are grouped by subject?
the middle, and math books on the right?
16. You have 5 math books and 6 history books to put on a shelf with
15. You have 5 math books and 6 history books to put on a shelf with
five slots. In how many ways can you put the books on the shelf if
five slots. In how many ways can you put the books on the shelf if
the first two slots are to be filled with the books of one subject and
the first two slots are to be filled with math books and the next three
the next three slots are to be filled with the books of the other
with history books?
subject?
22. a. In how many ways can the letters ABCDEXY be arranged if the X
21. In how many ways can all 7 letters of the word QUIETLY be
and Y must be next to each other in either order XY or YX?
arranged if the letters Q and U must be next to each other in the
order QU? b. In how many ways can the letters ABCDEXY be arranged if the
X and Y can not be next to each other?
This page titled 5.3E: Exercises - Permutations is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder
Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is
available upon request.
7.3.1: Permutations (Exercises) by Rupinder Sekhon and Roberta Bloom is licensed CC BY 4.0. Original source:
https://www.deanza.edu/faculty/bloomroberta/math11/afm3files.html.html.
5.3E.1 https://math.libretexts.org/@go/page/40146
5.4: Combinations
Learning Objectives
In this section you will learn to:
Count the number of combinations of r out of n items (selections without regard to arrangement).
Use factorials to perform calculations involving combinations.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Calculate each expression without the use of a calculator:
a. 4!
5!
b.
3!
If you missed this problem, review Section 5.3. (Note that this will open in a new window.)
Suppose we have a set of three letters { A, B, C }, and we are asked to make two-letter word sequences. We have the following six
permutations.
AB BA BC CB AC CA
Now suppose we have a group of three people { A, B, C } as Al, Bob, and Chris, respectively, and we are asked to form
committees of two people each. This time we have only three committees, namely,
AB BC AC
When forming committees, the order is not important, because the committee that has Al and Bob is no different than the
committee that has Bob and Al. As a result, we have only three committees and not six.
Forming word sequences is an example of permutations, while forming committees is an example of combinations - the topic of
this section.
Permutations are those arrangements where order is important, while combinations are those arrangements where order is not
significant. From now on, this is how we will tell permutations and combinations apart.
In the above example, there were six permutations, but only three combinations.
5.4.1 https://math.libretexts.org/@go/page/40149
Just as the symbol nPr represents the number of permutations of n objects taken r at a time, nCr represents the number of
combinations of n objects taken r at a time.
So in the above example, 3P2 = 6, and 3C2 = 3.
Our next goal is to determine the relationship between the number of combinations and the number of permutations in a given
situation.
In the above example, if we knew that there were three combinations, we could have found the number of permutations by
multiplying this number by 2!. That is because each combination consists of two letters, and that makes 2! permutations.
Example 5.4.1
Given the set of letters { A, B, C, D }. Write the number of combinations of three letters, and then from these combinations
determine the number of permutations.
Solution
We have the following four combinations.
ABC BCD CDA BDA
Since every combination has three letters, there are 3! permutations for every combination. We list them below.
In general,
nPr
nCr =
r!
Since
n!
nPr =
(n − r)!
We have,
n!
nCr =
(n − r)!r!
Summarizing,
Definition: Combinations
A combination of a set of elements is an arrangement where each element is used once, and order is not important.
The Number of Combinations of n Objects Taken r at a Time
n!
nCr = (5.4.1)
(n − r)!r!
5.4.2 https://math.libretexts.org/@go/page/40149
where n and r are natural numbers.
Example 5.4.2
Compute:
a. 5C3
b. 7C3
Solution
We use the above formula.
5! 5!
5C3 = = = 10
(5 − 3)!3! 2!3!
7! 7!
7C3 = = = 35
(7 − 3)!3! 4!3!
Example 5.4.3
In how many different ways can a student select to answer five questions from a test that has seven questions, if the order of
the selection is not important?
Solution
Since the order is not important, it is a combination problem, and the answer is
7C5 = 21
Example 5.4.4
How many line segments can be drawn by connecting any two of the six points that lie on the circumference of a circle?
Solution
Since the line that goes from point A to point B is same as the one that goes from B to A, this is a combination problem.
It is a combination of 6 objects taken 2 at a time. Therefore, the answer is
6!
6C2 = = 15
4!2!
Example 5.4.5
There are ten people at a party. If they all shake hands, how many hand-shakes are possible?
Solution
Note that between any two people there is only one hand shake. Therefore, we have
10C2 = 45 hand-shakes.
Example 5.4.6
The shopping area of a town is in the shape of square that is 5 blocks by 5 blocks. How many different routes can a taxi driver
take to go from one corner of the shopping area to the opposite cater-corner?
Solution
Let us suppose the taxi driver drives from the point A, the lower left hand corner, to the point B, the upper right hand corner as
shown in the figure below.
B
5.4.3 https://math.libretexts.org/@go/page/40149
A
To reach his destination, he has to travel ten blocks; five horizontal, and five vertical. So if out of the ten blocks he chooses any
five horizontal, the other five will have to be the vertical blocks, and vice versa.
Therefore, all he has to do is to choose 5 out of ten to be the horizontal blocks
The answer is 10C5, or 252.
Alternately, the problem can be solved by permutations with similar elements.
The taxi driver's route consists of five horizontal and five vertical blocks. If we call a horizontal block H, and a vertical block a
V, then one possible route may be as follows.
HHHHHVVVVV
Clearly there are 10!
5!5!
= 252 permutations.
5!5!
.
Example 5.4.7
If a coin is tossed six times, in how many ways can it fall four heads and two tails?
Solution
First we solve this problem using section 6.5 technique-permutations with similar elements.
We need 4 heads and 2 tails, that is
HHHHTT
There are 6!
4!2!
= 15 permutations.
Now we solve this problem using combinations.
Suppose we have six spots to put the coins on. If we choose any four spots for heads, the other two will automatically be tails.
So the problem is simply
6C4 = 15.
Incidentally, we could have easily chosen the two tails, instead. In that case, we would have gotten
6C2 = 15.
Further observe that by definition
6!
6C4 =
2!4!
and
6!
6C2 =
4!2!
5.4.4 https://math.libretexts.org/@go/page/40149
So far we have solved the basic combination problem of r objects chosen from n different objects. Now we will consider certain
variations of this problem.
Example 5.4.8
How many five-people committees consisting of 2 men and 3 women can be chosen from a total of 4 men and 4 women?
Solution
We list 4 men and 4 women as follows:
M1 M2 M3 M4 W1 W2 W3 W4
Since we want 5-people committees consisting of 2 men and 3 women, we'll first form all possible two-man committees and all
possible three-woman committees. Clearly there are 4C2 = 6 two-man committees, and 4C3 = 4 three-woman committees, we
list them as follows:
M1 M2
M1 M3 W1 W2 W3
M1 M4 W1 W2 W4
M2 M3 W1 W3 W4
M2 M4 W2 W3 W4
M3 M4
For every 2-man committee there are four 3-woman committees that can be chosen to make a 5-person committee. If we
choose M M as our 2-man committee, then we can choose any of W W W , W W W , W W W , or W W W as our 3-
1 2 1 2 3 1 2 4 1 3 4 2 3 4
M1 M2 W1 W2 W3 , M1 M2 W1 W2 W4 , M1 M2 W1 W3 W4 , M1 M2 W2 W3 W4
Similarly, if we choose M M as our 2-man committee, then, again, we can choose any of W
1 3 1 W2 W3 ,W 1 W2 W4 ,W 1 W3 W4 , or
W W W as our 3-woman committees.
2 3 4
M1 M3 W1 W2 W3 , M1 M3 W1 W2 W4 , M1 M3 W1 W3 W4 , M1 M3 W2 W3 W4
And so on.
Since there are six 2-man committees, and for every 2-man committee there are four 3-woman committees, there are altogether
6 ⋅ 4 = 24 five-people committees.
Example 5.4.9
A high school club consists of 4 freshmen, 5 sophomores, 5 juniors, and 6 seniors. How many ways can a committee of 4
people be chosen that includes
a. One student from each class?
b. All juniors?
c. Two freshmen and 2 seniors?
d. No freshmen?
e. At least three seniors?
Solution
a. Applying the multiplication axiom to the combinations involved, we get
( 4C1 ) ( 5C1 ) ( 5C1 ) ( 6C1 ) = 600
b. We are choosing all 4 members from the 5 juniors, and none from the others.
5.4.5 https://math.libretexts.org/@go/page/40149
5C4 = 5
c. 4C2 ⋅ 6C2 = 90
d. Since we don't want any freshmen on the committee, we need to choose all members from the remaining 16. That is
16C4 = 1820
e. Of the 4 people on the committee, we want at least three seniors. This can be done in two ways. We could have three seniors,
and one non-senior, or all four seniors.
( 6C3 ) ( 14C1 ) + 6C4 = 295
Example 5.4.10
How many five-letter word sequences consisting of 2 vowels and 3 consonants can be formed from the letters of the word
INTRODUCE?
Solution
First we select a group of five letters consisting of 2 vowels and 3 consonants.
Since there are 4 vowels and 5 consonants, we have
( 4C2 ) ( 5C3 )
Since our next task is to make word sequences out of these letters, we multiply these by 5!.
( 4C2 ) ( 5C3 ) ( 5! ) = 7200.
Example 5.4.11
A standard deck of playing cards has 52 cards consisting of 4 suits each with 13 cards. In how many different ways can a 5-
card hand consisting of four cards of one suit and one card of another suit be drawn?
Solution
We will do the problem using the following steps.
Step 1. Select a suit.
Step 2. Select four cards from this suit.
Step 3. Select another suit.
Step 4. Select a card from that suit.
Applying the multiplication axiom, we have
Each suit is associated with a color, either black (spades, clubs) or red (diamonds, hearts).
Each suit contains 13 denominations (or values) for cards:
5.4.6 https://math.libretexts.org/@go/page/40149
an Ace (A), nine numbers 2, 3, 4, …., 10, and Jack(J), Queen (Q), King (K).
The Jack, Queen and King are called “face cards” because they have pictures on them. Therefore a standard deck has 12 face cards:
(3 values J, Q, K ) x (4 suits ♦, ♥, ♠, ♣ )
We can visualize the 52 cards by the following display
♦ Diamonds Red A 2 3 4 5 6 7 8 9 10 J Q K
♥ Hearts Red A 2 3 4 5 6 7 8 9 10 J Q K
♠ Spades Black A 2 3 4 5 6 7 8 9 10 J Q K
♣ Clubs Black A 2 3 4 5 6 7 8 9 10 J Q K
This page titled 5.4: Combinations is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and
Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon
request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
5.4.7 https://math.libretexts.org/@go/page/40149
5.4E: Exercises - Combinations
Do the following problems using combinations.
1. How many different 3-people committees can be chosen from ten 2. How many different 5-player teams can be chosen from eight
people? players?
3. In how many ways can a person chose to vote for three out of five a. 9C2
candidates on a ballot for a school board election? b. 6C4
c. 8C3
d. 7C4
5. How many 5-card hands can be chosen from a deck of cards? 6. How many 13-card bridge hands can be chosen from a deck of cards?
7. There are twelve people at a party. If they all shake hands, how 8. In how many ways can a student choose to do four questions out of
many different hand-shakes are there? five on a test?
9. Five points lie on a circle. How many chords can be drawn through
10. How many diagonals does a hexagon have?
them?
11. There are five teams in a league. How many games are played if 12. A team plays 15 games a season. In how many ways can it have 8
every team plays each other twice? wins and 7 losses?
13. In how many different ways can a 4-child family have 2 boys and 2 14. A coin is tossed five times. In how many ways can it fall three heads
girls? and two tails?
16. If the shopping area in the previous problem has a rectangular form
15. The shopping area of a town is a square that is six blocks by six
of 5 blocks by 3 blocks, then how many different routes can a taxi
blocks. How many different routes can a taxi driver take to go from
driver take to drive from one end of the shopping area to the opposite
one corner of the shopping area to the opposite cater-corner?
kitty corner end?
17. A team of 7 workers is assigned to a project. In how many ways can 18. A real estate company has 12 houses listed for sale by their clients. In
3 of the 7 workers be selected to make a presentation to the how many ways can 5 of the 12 houses be selected to be featured in
management about their progress on the project? an advertising brochures?
22. A club has 4 men, 5 women, 8 boys and 10 girls as members. In how
21. How many 5-people committees consisting of three boys and two
many ways can a group of 2 men, 3 women, 4 boys and 4 girls be
girls can be chosen from a group of four boys and four girls?
chosen?
25. In how many ways can five counters labeled A, B, C, D and E at a 26. How many 4-letter word sequences consisting of two vowels and two
store be staffed by two men and three women chosen from a group consonants can be made from the letters of the word PHOENIX if no
of four men and six women? letter is repeated?
5.4E.1 https://math.libretexts.org/@go/page/40150
Three marbles are chosen from an urn that contains 5 red, 4 white, and 3 blue marbles. How many samples of the following type
are possible?
27. All three white. 28. Two blue and one white
29. One of each color. 30. All three of the same color.
37. Two of one kind and two of another kind. 38. Three of one kind and two of another kind.
Find the number of different ways draw a 5-card hand from a deck to have the following combinations.
41. Two hearts and three diamonds 42. Two cards of one suit, and three of another suit.
43. Two kings and three queens. 44. 2 cards of one value and 3 of another value
The party affiliation of the 100 United States Senators in the 114th Congress, January 2015, was:
44 Democrats, 54 Republicans, and 2 Independents.
45. In how many ways could a 10 person committee be selected if it is to 46. In how many different ways could a 10 person committee be selected
contain 4 Democrats, 5 Republicans, and 1 Independent? with 6 or 7 Republicans and the Democrats (with no Independents)?
The 100 United States Senators in the 114th Congress, January 2015, included 80 men and 20 women. Suppose a committee of
senators is working on legislation about wage discrimination by gender.
47. In how many ways could a 12 person committee be selected to 48. In how many ways could a 6 person committee be selected to contain
contain equal numbers of men and women. fewer women than men?
This page titled 5.4E: Exercises - Combinations is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder
Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is
available upon request.
5.4E.2 https://math.libretexts.org/@go/page/40150
5.5: Binomial Theorem
We end this chapter with one more application of combinations. Combinations are used in determining the coefficients of a
binomial expansion such as (x + y) . Expanding a binomial expression by multiplying it out is a very tedious task, and is not
n
practiced. Instead, a formula known as the Binomial Theorem is utilized to determine such an expansion. Before we introduce the
Binomial Theorem, however, consider the following expansions.
2 2 2
(x + y ) =x + 2xy + y
3 3 2 2 3
(x + y ) =x + 3 x y + 3x y +y
4 4 2 2 2 3 4
(x + y ) =x + 4x y + 6x y + 4x y +y
5 5 4 3 2 2 3 4 5
(x + y ) =x + 5 x y + 10 x y + 10 x y + 5x y +y
6 5 4 2 3 3 2 4 5 6
(x + y ) = x6 + 6 x y + 15 x y + 20 x y + 15 x y + 6x y +y
Our next job is to replace each of the blanks in equation (5.5.1) with the corresponding coefficients that belong to this expansion.
Clearly,
3
(x + y ) = (x + y)(x + y)(x + y)
If we multiply the right side and do not collect terms, we get the following.
Each product in the above expansion is the result of multiplying three variables by picking one from each of the factors
(x + y)(x + y)(x + y) . For example, the product xxy is gotten by choosing x from the first factor, x from the second factor, and y
from the third factor. There are three such products that simplify to x y, namely xxy, xyx, and yxx. These products take place
2
when we choose an x from two of the factors and choose a y from the other factor. Clearly this can be done in 3C2, or 3 ways.
Therefore, the coefficient of the term x y is 3. The coefficients of the other terms are obtained in a similar manner.
2
We now replace the blanks with the coefficients in equation (5.5.1), and we get
3 3 2 2 3
(x + y ) =x + 3 x y + 3x y +y
Example 5.5.1
Find the coefficient of the term x 2
y
5
in the expansion (x + y) . 7
Solution
The expansion (x + y ) 7
= (x + y)(x + y)(x + y)(x + y)(x + y)(x + y)(x + y)
In multiplying the right side, each product is gotten by picking an x or y from each of the seven factors
(x + y)(x + y)(x + y)(x + y)(x + y)(x + y)(x + y) .
5.5.1 https://math.libretexts.org/@go/page/40153
Example 5.5.2
Expand (x + y) 7
Solution
We first write the expansion without the coefficients.
7 7 6 5 2 4 3 3 4 2 5 6 7
(x + y ) = □x + □x y + □x y + □x y + □x y + □x y + □x y + □y
Binomial Theorem
n n n−1 n−2 2 n−1+ n
(x + y ) =n C0 x +n C1 x y +n C2 x y + ⋯ ⋅ +n Cn−1 x yn Cn y
Example 5.5.3
Solution
If we let x = 3a and y = −2b , and apply the Binomial Theorem, we get
4 4 3 2 2 3 4
(3a − 2b) = 4 Co(3a) + 4C l(3a) (−2b) + 4C 2(3a) (−2b ) + 4C 3(3a)(−2b ) + 4C 4(−2b )
4 3 2 2 3 3
= 1 (81 a ) + 4 (27 a ) (−2b) + 6 (9 a ) (4 b ) + 4(3a) (−8 b ) + 1 (16 b )
4 3 2 2 3 4
= 81 a − 216 a b + 216 a b − 96ab + 16 b
Example 5.5.4
Solution
The Binomial theorem tells us that in the r-th term of an expansion, the exponent of the y term is always one less than r, and,
the coefficient of the term is C .
n r−1
This page titled 5.5: Binomial Theorem is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and
Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon
request.
7.7: Binomial Theorem by Rupinder Sekhon and Roberta Bloom is licensed CC BY 4.0. Original source:
https://www.deanza.edu/faculty/bloomroberta/math11/afm3files.html.html.
5.5.2 https://math.libretexts.org/@go/page/40153
5.5E: Exercises - Binomial Theorem
Use the Binomial Theorem to do the following problems.
1. Expand (a + b) .5
2. Expand (a − b) .6
3. Expand (x − 2y) . 5
4. Expand (2x − 3y) . 4
9. A coin is tossed 5 times, in how many ways is it possible to get three 10. A coin is tossed 10 times, in how many ways is it possible to get
heads and two tails? seven heads and three tails?
11. How many subsets are there of a set that has 6 elements? 12. How many subsets are there of a set that has n elements?
This page titled 5.5E: Exercises - Binomial Theorem is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder
Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is
available upon request.
7.7.1: Binomial Theorem (Exercises) by Rupinder Sekhon and Roberta Bloom is licensed CC BY 4.0. Original source:
https://www.deanza.edu/faculty/bloomroberta/math11/afm3files.html.html.
5.5E.1 https://math.libretexts.org/@go/page/40154
5.6: Chapter 5 Review
1. Suppose of the 4,000 freshmen at a college everyone is enrolled in a mathematics or an English class during a given quarter. If
2,000 are enrolled in a mathematics class, and 3,000 in an English class, how many are enrolled in both a mathematics class and
an English class?
2. In a survey of 250 people, it was found that 125 had read Time magazine, 175 had read Newsweek, 100 had read U. S. News,
75 had read Time and Newsweek, 60 had read Newsweek and U. S. News, 55 had read Time and U. S. News, and 25 had read
all three.
a. How many had read Time but not the other two?
b. How many had read Time or Newsweek but not the U. S. News And World Report?
c. How many had read none of these three magazines?
3. At a manufacturing plant, a product goes through assembly, testing, and packing. If a plant has three assembly stations, two
testing stations, and two packing stations, in how many different ways can a product achieve its completion?
4. Six people are to line up for a photograph. How many different lineups are possible if three of them insist on standing next to
each other?
5. How many four-letter word sequences can be made from the letters of the word CUPERTINO?
6. In how many different ways can a 20-question multiple choice test be designed so that its answers contain 2 A's, 4 B's, 9 C's, 3
D's, and 2 E's?
7. The U. S. Supreme Court has nine judges. In how many different ways can the judges cast a six-tothree decision in favor of a
ruling?
8. In how many different ways can a coach choose a linebacker, a guard, and a tackle from five players on the bench, if all five can
play any of the three positions?
9. How many three digit even numbers can be formed from the digits 1, 2, 3, 4, 5 if no repetitions are allowed?
10. Compute:
a. 9C4
b. 8P3
c. 10!
4!(10−4)!
11. In how many ways can 3 English, 3 Math, and 4 Spanish books be set on a shelf if the books are grouped by subject?
12. In how many ways can a 10-question multiple choice test with four possible answers for each question be answered?
13. On a soccer team three fullbacks can play any of the three fullback positions, left, center, and right. The three halfbacks can
play any of the three halfback positions, the four forwards can play any of the four positions, and the goalkeeper plays only his
position. How many different arrangements of the 11 players are possible?
14. From a group of 6 people, 3 are assigned to cleaning, 2 to hauling and one to garbage collecting. How many different ways can
this be done?
15. How many three-letter word sequences can be made from the letters of the word OXYGEN?
16. In how many ways can 3 books be selected from 4 English and 2 History books if at least one English book must be chosen?
17. Five points lie on the rim of a circle. Choosing the points as vertices, how many different triangles can be drawn?
18. A club consists of six men and nine women. In how many ways can a president, a vice president and a treasurer be chosen if the
two of the officers must be women?
19. Of its 12 sales people, a company wants to assign 4 to its Western territory, 5 to its Northern territory, and 3 to its Southern
territory. How many ways can this be done?
20. How many permutations of the letters of the word OUTSIDE have consonants in the first and last place?
21. How many distinguishable permutations are there in the word COMMUNICATION?
22. How many five-card poker hands consisting of the following distribution are there?
a. A flush(all five cards of a single suit)
b. Three of a kind(e.g. three aces and two other cards)
c. Two pairs(e.g. two aces, two kings and one other card)
d. A straight(all five cards in a sequence)
23. Company stocks on an exchange are given symbols consisting of three letters. How many different three-letter symbols are
possible?
24. How many four-digit odd numbers are there?
5.6.1 https://math.libretexts.org/@go/page/40155
25. In how many ways can 7 people be made to stand in a straight line? In a circle?
26. A United Nations delegation consists of 6 Americans, 5 Russians, and 4 Chinese. Answer the following questions.
a. How many committees of five people are there?
b. How many committees of three people consisting of at least one American are there?
c. How many committees of four people having no Russians are there?
d. How many committees of three people have more Americans than Russians?
e. How many committees of three people do not have all three Americans?
27. If a coin is flipped five times, in how many different ways can it show up three heads?
28. To reach his destination, a man is to walk three blocks north and four blocks west. How many different routes are possible?
29. All three players of the women's beach volleyball team, and all three players of the men's beach volleyball team are to line up
for a picture with all members of the women's team lined together and all members of men's team lined up together. How many
ways can this be done?
30. From a group of 6 Americans, 5 Japanese and 4 German delegates, two Americans, two Japanese and a German are chosen to
line up for a photograph. In how many different ways can this be done?
31. Find the fourth term of the expansion (2x − 3y) . 8
32. Find the coefficient of the a b term in the expansion of (a– 2b) .
5 4 9
This page titled 5.6: Chapter 5 Review is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and
Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon
request.
7.8: Chapter Review by Rupinder Sekhon and Roberta Bloom is licensed CC BY 4.0. Original source:
https://www.deanza.edu/faculty/bloomroberta/math11/afm3files.html.html.
5.6.2 https://math.libretexts.org/@go/page/40155
CHAPTER OVERVIEW
6: Probability
Learning Objectives
In this chapter, you will learn to:
1. Write sample spaces.
2. Determine whether two events are mutually exclusive.
3. Use the Addition Rule.
4. Calculate probabilities using both tree diagrams and combinations.
5. Do problems involving conditional probability.
6. Determine whether two events are independent.
This page titled 6: Probability is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and Roberta
Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.
1
6.1: Sample Spaces and Probability
Learning Objectives
In this section, you will learn to:
Write sample spaces.
Calculate probabilities by examining simple events in sample spaces.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. In a city election, there are 2 candidates for mayor, and 3 for supervisor. Use a tree diagram to find the number of ways to
fill the two offices.
2. For lunch, a small restaurant offers 2 types of soups, three kinds of sandwiches, and two types of soft drinks. Use a tree
diagram to determine the number of possible meals consisting of a soup, sandwich, and a soft drink.
If two coins are tossed, what is the probability that both coins will fall heads? The problem seems simple enough, but it is not
uncommon to hear the incorrect answer 1/3. A student may incorrectly reason that if two coins are tossed there are three
possibilities, one head, two heads, or no heads. Therefore, the probability of two heads is one out of three. The answer is wrong
because if we toss two coins there are four possibilities and not three. For clarity, assume that one coin is a penny and the other a
nickel. Then we have the following four possibilities.
HH HT TH TT
The possibility HT, for example, indicates a head on the penny and a tail on the nickel, while TH represents a tail on the penny and
a head on the nickel. It is for this reason, we emphasize the need for understanding sample spaces.
Sample Spaces
An act of flipping coins, rolling dice, drawing cards, or surveying people are referred to as a probability experiment. A sample
space of an experiment is the set of all possible outcomes.
Example 6.1.1
6.1.1 https://math.libretexts.org/@go/page/40157
Example 6.1.2
A family has three children. Write the sample space showing the birth order with respect to gender. (This means that one
possibility is having a boy, then a boy, then a girl. A different possibility is having a girl, then a boy, then a boy.)
Solution
The sample space consists of eight possibilities.
{ BBB, BBG, BGB, BGG, GBB, GBG, GGB, GGG }
The possibility BGB, for example, indicates that the first born is a boy, the second born a girl, and the third a boy.
We illustrate these possibilities with a tree diagram.
Example 6.1.3
Green
Red 1 2 3 4 5 6
The entry (2, 5), for example, indicates that the red die shows a 2, and the green a 5.
Probability
Now that we understand the concept of a sample space, we will define probability.
An event is a subset of a sample space. For example, in the experiment of rolling two dice, an event might be rolling a sum of 5.
6.1.2 https://math.libretexts.org/@go/page/40157
Definition: Probability
The probability of an event describes the chance or likelihood of that event occurring.
For a sample space S , and an event A ,
number of ways A appears in S
P (A) =
total number of outcomes in S
0 ≤ P (A) ≤ 1
The probability P (A) of an event A describes the chance or likelihood of that event occurring.
If P (A) = 0 , event A is certain not to occur. If P (A) = 1 , event A is certain to occur.
If P (A) = 0.5 , then event A is equally likely to occur or not occur.
If we toss a fair coin that is equally likely to land on heads or tails, then P(Head) = 0.50.
If the weather forecast says there is a 70% chance of rain today, then P(Rain) = 0.70, indicating is it more likely to rain than to
not rain.
Example 6.1.4
If two dice, one red and one green, are rolled, find the probability that the red die shows a 3 and the green shows a six.
Solution
Since two dice are rolled, there are 36 possibilities. The probability of each outcome, listed in Example 6.1.3, is equally likely.
Since (3, 6) is one such outcome, the probability of obtaining (3, 6) is 1/36.
The example we just considered consisted of only one outcome of the sample space. If an event consists of only one outcome, it is
called a simple event.
We are often interested in finding probabilities of several outcomes represented by an event.
Example 6.1.5
If two dice are rolled, find the probability that the sum of the faces of the dice is 7.
Solution
Let E represent the event that the sum of the faces of two dice is 7.
The possible cases for the sum to be equal to 7 are: (1, 6), (2,5), (3, 4), (4, 3), (5, 2),
and (6, 1), so event E is
E = {(1, 6), (2,5), (3, 4), (4, 3), (5, 2), (6, 1)}
The probability of the event E is
P(E) = 6/36 or 1/6.
Example 6.1.6
One 6 sided die is rolled once. Find the probability that the result is greater than 4.
Solution
The sample space consists of the following six possibilities in set S: S = 1, 2, 3, 4, 5, 6
Let E be the event that the number rolled is greater than four: E = 5, 6
Therefore, the probability of E is: P(E) = 2/6 or 1/3.
6.1.3 https://math.libretexts.org/@go/page/40157
Example 6.1.7
A jar contains 3 red, 4 white, and 3 blue marbles. If a marble is chosen at random, what is the probability that the marble is a
red marble or a blue marble?
Solution
We assume the marbles are r , r , r , w , w , w , w , b , b , b . Let the event C represent that the marble is red or blue.
1 2 3 1 2 3 4 1 2 3
Example 6.1.8
A jar contains three marbles numbered 1, 2, and 3. If two marbles are drawn without replacement, what is the probability that
the sum of the numbers is 5?
Note: The two marbles in this example are drawn consecutively without replacement. That means that after a marble is drawn
it is not replaced in the jar, and therefore is no longer available to select on the second draw.
Solution
Since two marbles are drawn without replacement, the sample space consists of the following six possibilities.
S = {(1, 2), (1, 3), (2, 1), (2, 3), (3, 1), (3, 2)}
Note that (1,1), (2,2) and (3,3) are not listed in the sample space. These outcomes are not possible when drawing without
replacement, because once the first marble is drawn but not replaced into the jar, that marble is not available in the jar to be
selected again on the second draw.
Let the event E represent that the sum of the numbers is five. Then
Example 6.1.9
A jar contains three marbles numbered 1, 2, and 3. If two marbles are drawn without replacement, what is the probability that
the sum of the numbers is at least 4?
Solution
The sample space, as in Example 6.1.7, consists of the following six possibilities.
S = {(1, 2), (1, 3), (2, 1), (2, 3), (3, 1), (3, 2)}
Let the event F represent that the sum of the numbers is at least four. Then
6.1.4 https://math.libretexts.org/@go/page/40157
Example 6.1.10
A jar contains three marbles numbered 1, 2, and 3. If two marbles are drawn with replacement, what is the probability that the
sum of the numbers is 5?
Note: The two marbles in this example are drawn consecutively with replacement. That means that after a marble is drawn it
IS replaced in the jar, and therefore is available to select again on the second draw.
Solution
When two marbles are drawn with replacement, the sample space consists of the following nine possibilities.
S = {(1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3), (3, 1), (3, 2), (3, 3)}
Note that (1,1), (2,2) and (3,3) are listed in the sample space. These outcomes are possible when drawing with replacement,
because once the first marble is drawn and replaced, that marble is not available in the jar to be drawn again.
Let the event E represent that the sum of the numbers is four. Then
Example 6.1.11
A jar contains three marbles numbered 1, 2, and 3. If two marbles are drawn with replacement, what is the probability that the
sum of the numbers is at least 4?
Solution
The sample space when drawing with replacement consists of the following nine possibilities.
S = (1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3), (3, 1), (3, 2), (3, 3)
Let the event F represent that the sum of the numbers is at least four. Then
F = (1, 3), (3, 1), (2, 3), (3, 2), (2, 2), (3, 3)
Note that in Example 6.1.10 when we selected marbles with replacement, the probability is the same as in Example 6.1.8
Thus sampling with or without replacement MAY change the probabilities, but may not, depending on the situation in the particular
problem under consideration. We’ll re-examine the concepts of sampling with and without replacement in Section 6.3.
This page titled 6.1: Sample Spaces and Probability is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder
Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is
available upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
6.1.5 https://math.libretexts.org/@go/page/40157
6.1E: Exercises - Sample Spaces and Probability
PROBLEM SET: SAMPLE SPACES AND PROBABILITY
In problems 1 - 6, write a sample space for the given experiment.
In problems 7 - 12, one card is randomly selected from a deck. Find the following probabilities.
For problems 13 - 16: A jar contains 6 red, 7 white, and 7 blue marbles. If one marble is chosen at random, find the following
probabilities.
For problems 17 - 22: Consider a family of three children. Find the following probabilities.
17) P(two boys and a girl) 18) P(at least one boy)
21) P(first and third children are male) 22) P(all children are of the same gender)
For problems 23 - 27: Two dice are rolled. Find the following probabilities.
23) P(the sum of the dice is 5) 24) P(the sum of the dice is 8)
27) P(the result is a double) (Hint: a double means that both dice show the same value)
For problems 28-31: A jar contains four marbles numbered 1, 2, 3, and 4. Two marbles are drawn randomly WITHOUT
REPLACEMENT. That means that after a marble is drawn it is NOT replaced in the jar before the second marble is selected. Find
the following probabilities.
28) P(the sum of the numbers is 5) 29) P(the sum of the numbers is odd)
For problems 32-33: A jar contains four marbles numbered 1, 2, 3, and 4. Two marbles are drawn randomly WITH
REPLACEMENT. That means that after a marble is drawn it is replaced in the jar before the second marble is selected. Find the
following probabilities.
32) P(the sum of the numbers is 5) 33) P(the sum of the numbers is 2)
This page titled 6.1E: Exercises - Sample Spaces and Probability is shared under a CC BY 4.0 license and was authored, remixed, and/or curated
by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit
history is available upon request.
6.1E.1 https://math.libretexts.org/@go/page/40158
6.2: Mutually Exclusive Events and the Addition Rule
Learning Objectives
In this section, you will learn to:
Define compound events using union, intersection, and complement.
Identify mutually exclusive events.
Use the Addition Rule to calculate probability for unions of events.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Let Universal set U = { a, b, c, d, e, f, g, h, i, j }, sets V = { a, e, i, f, h }, W = { a, c, e, g, i }. List the members of the
following sets:
a. V ∪W
b. V ∩W
¯
¯¯¯¯¯¯¯¯¯¯¯¯¯
¯
c. V ∪W
¯
¯¯¯ ¯¯¯¯
¯
d. V ∩W
2. A survey of athletes revealed that for their minor aches and pains, 30 used aspirin, 50 used ibuprofen, 15 used both, and 5
didn't use either. How many athletes were surveyed?
In Section 5.1, we learned to find the union, intersection, and complement of a set. We will now use these set operations to describe
events.
The union of two events E and F, E ∪ F, is the set of outcomes that are in E or in F or in both.
The intersection of two events E and F, E ∩ F, is the set of outcomes that are in both E and F.
¯
¯¯¯
The complement of an event E, denoted by E , is the set of outcomes in the sample space S that are not in E.
Note that since the probability of all events in a sample space have a sum of 1, it follows that P (E ) = 1 − P (E) . This is known
¯
¯¯¯
6.2.1 https://math.libretexts.org/@go/page/40159
Example 6.2.1
A card is drawn from a standard deck. Determine whether the pair of events given below is mutually exclusive.
E = {The card drawn is an Ace}
F = {The card drawn is a heart}
Solution
Clearly the ace of hearts belongs to both sets. That is
E ∩ F = { Ace of hearts } ≠ ∅
Example 6.2.2
Two dice are rolled. Determine whether the pair of events given below is mutually exclusive.
G = {The sum of the faces is six}
H = {One die shows a four}
Solution
For clarity, we list the elements of both sets.
G = {(1, 5), (2, 4), (3, 3), (4, 2), (5, 1)} and H = {(2, 4), (4, 2)}
Clearly, G ∩ H = {(2, 4), (4, 2)} ≠ ∅ .
Therefore, the two sets are not mutually exclusive.
Example 6.2.3
A family has three children. Determine whether the following pair of events are mutually exclusive.
M = {The family has at least one boy}
N = {The family has all girls}
Solution
Although the answer may be clear, we list both the sets.
M = { BBB, BBG, BGB, BGG, GBB, GBG, GGB } and N = { GGG }
Clearly, M ∩ N = ∅
Therefore, events M and N are mutually exclusive.
We will now consider problems that involve the union of two events.
Given two events, E, F, then finding the probability of E ∪ F, is the same as finding the probability that E will happen, or F will
happen, or both will happen.
Example 6.2.4
If a die is rolled, what is the probability of obtaining an even number or a number greater than four?
Solution
Let E be the event that the number shown on the die is an even number, and let F be the event that the number shown is greater
than four.
The sample space S = { 1, 2, 3, 4, 5, 6 }. The event E = { 2, 4, 6 }, and event F = { 5, 6 }
We need to find P(E ∪ F).
6.2.2 https://math.libretexts.org/@go/page/40159
Since P(E) = 3/6, and P(F) = 2/6, a student may say P(E ∪ F) = 3/6 + 2/6. This will be incorrect because the element 6, which
is in both E and F has been counted twice, once as an element of E and once as an element of F. In other words, the set E ∪ F
has only four elements and not five: set E ∪ F = { 2,4,5,6 }
Therefore, P(E ∪ F) = 4/6 and not 5/6.
This can be illustrated by a Venn diagram. We’ll use the Venn Diagram to re-examine Example 6.2.4 and derive a probability rule
that we can use to calculate probabilities for unions of events.
The sample space S, the events E and F, and E ∩ F are listed below.
Since the probability of an event is the number of elements in that event divided by the number of all possible outcomes, we have
This is because, when we add P(E) and P(F), we have added P(E ∩ F) twice. Therefore, we must subtract P(E ∩ F), once.
This gives us the general formula, called the Addition Rule, for finding the probability of the union of two events. Because event
E ∪ F is the event that E will happen, OR F will happen, OR both will happen, we sometimes call this the Addition Rule for OR
Events. It states
Addition Rule
If, and only if, two events E and F are mutually exclusive, then E∩F = ∅ and P(E ∩ F) = 0 , and we get
P(E ∪ F) = P(E) + P(F)
Example 6.2.5
If a card is drawn from a deck, use the addition rule to find the probability of obtaining an ace or a heart.
Solution
6.2.3 https://math.libretexts.org/@go/page/40159
Let A be the event that the card is an ace, and H the event that it is a heart.
Since there are four aces, and thirteen hearts in the deck,
P(A) = 4/52 and P(H) = 13/52.
Furthermore, since the intersection of two events consists of only one card, the ace of hearts, we now have:
P(A ∩ H) = 1/52
We need to find P(A ∪ H):
P(A ∪ H) = P(A) + P(H) − P(A ∩ H)
Example 6.2.6
Two dice are rolled, and the events F and T are as follows:
F = {The sum of the dice is four} and T = {At least one die shows a three}
Find P(F ∪ T).
Solution
We list F and T, and F ∩ T as follows:
F = {(1, 3), (2, 2), (3, 1)}
T = {(3, 1), (3, 2), (3, 3), (3, 4), (3, 5), (3, 6), (1, 3), (2, 3), (4, 3), (5, 3), (6, 3)}
F ∩ T = {(1, 3), (3, 1)}
Since P(F ∪ T) = P(F) + P(T) - P(F ∩ T)
We have P(F ∪ T) = 3/36 + 11/36 - 2/36 = 12/36.
Example 6.2.7
Mr. Washington is seeking a mathematics instructor's position at his favorite community college in Cupertino. His employment
depends on two conditions: whether the board approves the position, and whether the hiring committee selects him. There is a
80% chance that the board will approve the position, and there is a 70% chance that the hiring committee will select him. If
there is a 90% chance that at least one of the two conditions, the board approval or his selection, will be met, what is the
probability that Mr. Washington will be hired?
Solution
Let A be the event that the board approves the position, and S be the event that Mr. Washington gets selected. We have,
P(A) = .80, P(S) = .70, and P(A ∪ S) = .90.
We need to find, P(A ∩ S).
The addition formula states that,
P (A ∪ S) = P (A) + P (S) − P (A ∩ S)
6.2.4 https://math.libretexts.org/@go/page/40159
Example 6.2.8
The probability that this weekend will be cold is .6, the probability that it will be rainy is .7, and probability that it will be both
cold and rainy is .5. What is the probability that it will be neither cold nor rainy?
Solution
Let C be the event that the weekend will be cold, and R be event that it will be rainy. We are given that
P (C ∪ R) = P (C ) + P (R) − P (C ∩ R) = .6 + .7 − .5 = .8
¯
¯¯¯¯¯¯¯¯¯¯¯
¯
Then we find P (C ∪ R ) using the Complement Rule.
¯
¯¯¯¯¯¯¯¯¯¯¯
¯
P (C ∪ R ) = 1 − P (C ∪ R) = 1 − .8 = .2
Summary
This page titled 6.2: Mutually Exclusive Events and the Addition Rule is shared under a CC BY 4.0 license and was authored, remixed, and/or
curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a
detailed edit history is available upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
6.2.5 https://math.libretexts.org/@go/page/40159
6.2E: Exercises - Mutually Exclusive Events and the Addition Rule
PROBLEM SET: MUTUALLY EXCLUSIVE EVENTS AND THE ADDITION RULE
Determine whether the following pair of events are mutually exclusive.
7) A card is drawn from a deck. Events C and D are: 8) A die is rolled. The events E and F are:
C = {It is a king} E = {An even number shows}
D = {It is a heart} F = {A number greater than 3 shows}
Find P(C ∪ D). Find P(E ∪ F).
9) Two dice are rolled. Events G and H are: 10) Three coins are tossed. Events I and J are:
G = {The sum of dice is 8} I = {Two heads come up}
H ={Exactly one die shows a 6} J = {At least one tail comes up}
Find P(G ∪ H). Find P(I ∪ J).
12) This quarter, there is a 50% chance that Jason will pass Accounting,
11) At a college, 20% of the students take Finite Mathematics, 30% take
a 60% chance that he will pass English, and 80% chance that he will
Statistics and 10% take both. What percent of students take Finite
pass at least one of these two courses. What is the probability that he
Mathematics or Statistics?
will pass both Accounting and English?
Questions 13 - 20 refer to the following: The table shows the distribution of Democratic and Republican U.S by gender in the 114th
Congress as of January 2015.
DEMOCRATS (D) 30 14 44
REPUBLICANS(R) 48 6 54
OTHER (T) 2 0 2
TOTALS 80 20 100
19) Are the events F, R mutually exclusive? 20) Are the events F, T mutually exclusive?
Use probabilities to support your conclusions. Use probabilities to support your conclusion.
21) If P(E) = .5 , P(F) = .4 , E and F are mutually exclusive, find P(E ∩ 22) If P(E) = .4 , P(F) = .2 , E and F are mutually exclusive, find P(E ∪
F). F).
6.2E.1 https://math.libretexts.org/@go/page/40160
23) If P(E) = .3, P(E ∪ F) = .6 , P(E ∩ F) = .2, find P(F). 24) If P(E) = .4, P(F) = .5 , P(E ∪ F) = .7, find P(E ∩ F).
26) At a college, 72% of courses have final exams and 46% of courses
require research papers.
25) In a box of assorted cookies, 36% of cookies contain chocolate and
32% of courses have both a research paper and a final exam. Let F be the
12% of cookies contain nuts. 8% of cookies have both chocolats and
event that a course has a final exam and R be the event that a course
nuts. Sean is allergic to chocolate and nuts. Find the probability that a
requires a research paper.
cookie has chocolate chips or nuts (he can’t eat it).
Find the probability that a course requires a final exam or a research
paper.
Questions 25 and 26 are adapted from Introductory Statistics from OpenStax under a creative Commons Attribution 3.0 Unported
License, available for download free athttp://cnx.org/content/col11562/latest u
This page titled 6.2E: Exercises - Mutually Exclusive Events and the Addition Rule is shared under a CC BY 4.0 license and was authored,
remixed, and/or curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts
platform; a detailed edit history is available upon request.
6.2E.2 https://math.libretexts.org/@go/page/40160
6.3: Probability Using Tree Diagrams and Combinations
Learning Objectives
In this section, you will learn to:
Use probability tree diagrams to calculate probabilities.
Use combinations to calculate probabilities.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Brown Home Construction offers a selection of 3 floor plans, 2 roof types, and 2 exterior wall types. Use a tree diagram to
determine the number of possible homes available.
3. In how many ways can the letters of the word MAJESTIC be arranged if each letter is used only once in each arrangement?
4. A jar contains four marbles numbered 1, 2, 3, and 4. Two marbles are drawn randomly WITHOUT REPLACEMENT. That
means that after a marble is drawn it is NOT replaced in the jar before the second marble is selected. Find the following
probabilities.
a. P(the sum of the numbers is 5)
b. P(the sum of the numbers is odd)
2
b.
3
If you missed this problem, review Section 6.1. (Note that this will open in a new window.)
6.3.1 https://math.libretexts.org/@go/page/40161
In this section, we will apply previously learnt counting techniques in calculating probabilities, and use tree diagrams to help us
gain a better understanding of what is involved.
Example 6.3.1
Suppose a jar contains 3 red and 4 white marbles. If two marbles are drawn with replacement, what is the probability that both
marbles are red?
Solution
Let E be the event that the first marble drawn is red, and let F be the event that the second marble drawn is red.
We need to find P(E ∩ F)
By the statement, "two marbles are drawn with replacement," we mean that the first marble is replaced before the second
marble is drawn.
There are 7 choices for the first draw. And since the first marble is replaced before the second is drawn, there are, again, seven
choices for the second draw. Using the multiplication axiom, we conclude that the sample space S consists of 49 ordered pairs.
Of the 49 ordered pairs, there are 3 × 3 = 9 ordered pairs that show red on the first draw and, also, red on the second draw.
Therefore,
9
P (E ∩ F ) =
49
Example 6.3.2
If in Example 6.3.1, the two marbles are drawn without replacement, then what is the probability that both marbles are red?
Solution
By the statement, "two marbles are drawn without replacement," we mean that the first marble is not replaced before the
second marble is drawn.
Again, we need to find P(E ∩ F) .
There are, again, 7 choices for the first draw. And since the first marble is not replaced before the second is drawn, there are
only six choices for the second draw. Using the multiplication axiom, we conclude that the sample space S consists of 42
ordered pairs. Of the 42 ordered pairs, there are 3 × 2 = 6 ordered pairs that show red on the first draw and red on the second
draw. Therefore,
6
P (E ∩ F ) =
42
6.3.2 https://math.libretexts.org/@go/page/40161
6 3 2
P (E ∩ F ) = = ⋅
42 7 6
Here 3/7 represents P(E) , and 2/6 represents the probability of drawing a red on the second draw, given that the first draw
resulted in a red.
We write the latter as P(red on the second | red on first) or P(F|E). The "|" represents the word "given" or “if”. This leads to
the result that:
The is an important result, called the Multiplication Rule, which will appear again in later sections.
Example 6.3.3
Suppose a jar contains 3 red and 4 white marbles. If two marbles are drawn without replacement, find the following
probabilities using a tree diagram.
a. The probability that both marbles are red.
b. The probability that the first marble is red and the second white.
c. The probability that one marble is red and the other white.
Solution
Let R be the event that the marble drawn is red, and let W be the event that the marble drawn is white.
We draw the following tree diagram.
= P(RW) + P(WR)
6.3.3 https://math.libretexts.org/@go/page/40161
USING COMBINATIONS TO FIND PROBABILITIES
Although the tree diagrams give us better insight into a problem, they are not practical for problems where more than two or three
things are chosen. In such cases, we use the concept of combinations that we learned in the last chapter. This method is best suited
for problems where the order in which the objects are chosen is not important, and the objects are chosen without replacement.
Example 6.3.4
Suppose a jar contains 3 red, 2 white, and 3 blue marbles. If three marbles are drawn without replacement, find the following
probabilities.
a. P(Two red and one white)
b. P(One of each color)
c. P(None blue)
d. P(At least one blue)
Solution
Let us suppose the marbles are labeled as R 1, R2 , R3 , W1 , W2 , B1 , B2 , B3 .
a. P(Two red and one white)
Since we are choosing 3 marbles from a total of 8, there are 8C3 = 56 possible combinations. Of these 56 combinations, there
are 3C2 × 2C1 = 6 combinations consisting of 2 red and one white. Therefore,
3C2 × 2C1 6 3
P ( Two red and one white ) = = = .
8C3 56 28
c. P(None blue)
There are 5 non-blue marbles, therefore
5C3 10 5
P( None blue ) = = =
8C3 56 28
P(At least one blue ) = P(1 blue, 2 non-blue) + P(2 blue, l non-blue) + P(3 blue)
¯
¯¯¯ ¯
¯¯¯
Alternately, we can use the fact that P(E) = 1 − P(E) . If the event E = At least one blue, then E = None blue.
¯
¯¯¯
But from part c of this example, we have (E) = 5/28 , so P(E) = 1 − 5/28 = 23/28 .
Example 6.3.5
Five cards are drawn from a deck. Find the probability of obtaining two pairs, that is, two cards of one value, two of another
value, and one other card.
Solution
6.3.4 https://math.libretexts.org/@go/page/40161
Let us first do an easier problem-the probability of obtaining a pair of kings and queens.
Since there are four kings, and four queens in the deck, the probability of obtaining two kings, two queens and one other card is
4C2 × 4C2 × 44C1
P(A pair of kings and queens ) =
52C5
To find the probability of obtaining two pairs, we have to consider all possible pairs.
Since there are altogether 13 values, that is, aces, deuces, and so on, there are 13C2 different combinations of pairs.
4C2 × 4C2 × 44C1
P ( Two pairs ) = 13C2 ⋅ = .04754
52C5
Example 6.3.6
A cell phone store receives a shipment of 15 cell phones that contains 8 iPhones and 7 Android phones. Suppose that 6 cell
phones are randomly selected from this shipment. Find the probability that a randomly selected set of 6 cell phones consists of
2 iPhones and 4 Android phones.
Solution
There are 8C2 ways of selecting 2 out of the 8 iPhones.
and 7C4 ways of selecting 4 out of the 7 Android phones
But altogether there are 15C6 ways of selecting 6 out of 15 cell phones.
Therefore we have
8C2 × 7C4 (28)(35) 980
P (2 iPhones and 4 Android phones ) = = = = 0.1958
15C6 5005 5005
Example 6.3.7
One afternoon, a bagel store still has 53 bagels remaining: 20 plain, 15 poppyseed, and 18 sesame seed bagels. Suppose that
the store owner packages up a bag of 9 bagels to bring home for tomorrow’s breakfast, and selects the bagels randomly. Find
the probability that the bag contains 4 plain, 3 poppyseed, and 2 sesame seed.
Solution
There are 20C4 ways of selecting 4 out of the 20 plain bagels,
and 15C3 ways of selecting 3 out of the 15 poppyseed bagels,
and 18C2 ways of selecting 2 out of the 18 sesame seed bagels.
But altogether there are 53C9 ways of selecting 9 out of the 53 bagels.
20C4×15C3×18C2
P(4 plain, 3 poppyseed, and 2 sesame seed) =
53C9
(4845)(455)(153)
=
4431613550
= 0.0761
We end the section by solving a famous problem called the Birthday Problem.
If there are 25 people in a room, what is the probability that at least two people have the same birthday?
Solution
Let event E represent that at least two people have the same birthday.
We first find the probability that no two people have the same birthday.
6.3.5 https://math.libretexts.org/@go/page/40161
We analyze as follows.
Suppose there are 365 days to every year. According to the multiplication axiom, there are 36525 possible birthdays for 25
people. Therefore, the sample space has 36525 elements. We are interested in the probability that no two people have the same
birthday. There are 365 possible choices for the first person and since the second person must have a different birthday, there
are 364 choices for the second, 363 for the third, and so on. Therefore,
365 ⋅ 364 ⋅ 363 ⋯ 341 365P25
P(No two have the same birthday ) = =
25 25
365 365
Since P(at least two people have the same birthday) = 1 - P(No two have the same birthday),
365P25
P( at least two people have the same birthday ) = 1 − = .5687
25
365
This page titled 6.3: Probability Using Tree Diagrams and Combinations is shared under a CC BY 4.0 license and was authored, remixed, and/or
curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a
detailed edit history is available upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
6.3.6 https://math.libretexts.org/@go/page/40161
6.3E: Exercises - Probability Using Tree Diagrams and Combinations
PROBLEM SET: PROBABILITIES USING TREE DIAGRAMS AND COMBINATIONS
Two apples are chosen from a basket containing five red and three yellow apples.
Draw a tree diagram below, and find the following probabilities.
A basket contains six red and four blue marbles. Three marbles are drawn at random.
Find the following probabilities using the method shown in Example 6.3.2. Do not use combinations.
7) P(one red, two blue) 8) P(first red, second blue, third red)
Three marbles are drawn from a jar containing five red, four white, and three blue marbles.
Find the following probabilities using combinations.
A committee of four is selected from a total of 4 freshmen, 5 sophomores, and 6 juniors. Find the probabilities for the following
events.
15) All four of the same class. 16) Not all four from the same class.
17) Exactly three of the same class. 18) More juniors than freshmen and sophomores combined.
Five cards are drawn from a deck. Find the probabilities for the following events.
19) Two hearts, two spades, and one club. 20) A flush of any suit (all cards of a single suit).
21) A full house of nines and tens (3 nines and 2 tens). 22) Any full house.
23) A pair of nines and a pair of tens 24) Any two pairs (two cards of one value, two more cards of another
(and the fifth card is not a nine or ten). value, and the fifth card does not have the same value as either pair).
Jorge has 6 rock songs, 7 rap songs and 4 country songs that he likes to listen to while he exercises.
He randomly selects six (6) of these songs to create a playlist to listen to today while he exercises.
Find the following probabilities:
25) P(playlist has 2 songs of each type) 26) P(playlist has no country songs)
27) P(playlist has 3 rock, 2 rap, and 1 country song) 28) P(playlist has 3 or 4 rock songs and the rest are rap songs)
31) The committee has no engineers. 32) The committee has all salespeople.
6.3E.1 https://math.libretexts.org/@go/page/40162
33) If there are 5 people in a room, what is the probability that no two 34) If there are 5 people in a room, find the probability that at least 2 have
have the same birthday? the same birthday.
This page titled 6.3E: Exercises - Probability Using Tree Diagrams and Combinations is shared under a CC BY 4.0 license and was authored,
remixed, and/or curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts
platform; a detailed edit history is available upon request.
6.3E.2 https://math.libretexts.org/@go/page/40162
6.4: Conditional Probability
Learning Objectives
In this section, you will learn to:
Recognize situations involving conditional probability.
Calculate conditional probabilities.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Three coins are tossed. Write a sample space for the experiment:
a. If all three coins are pennies.
b. If the three coins are a penny, a nickel, and a dime.
2. Refer to the following table, which shows the distribution of Democratic and Republican U.S by gender in the 114th
Congress as of January 2015.
DEMOCRATS (D) 30 14 44
REPUBLICANS(R) 48 6 54
OTHER (T) 2 0 2
TOTALS 80 20 100
3
b. P (F ∩ R) =
50
If you missed this problem, review Section 6.2. (Note that this will open in a new window.)
6.4.1 https://math.libretexts.org/@go/page/40163
a. 10P 2 = 90
b. 15P 6 = 3, 603, 600
If you missed this problem, review Section 5.3. (Note that this will open in a new window.)
a 2 4
4. Without using a calculator, simplify if a = and b = .
b 15 15
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
Suppose a friend, an avid traveler, asks you for the probability that they will encounter snow today.
If your friend is in Alaska today, the probability of snow today might be quite substantial. If they are in Florida though, the
probability of snow today is likely very tiny.
Let:
S = the event that it will snow today
A = the event that your friend is in Alaska today
Because the probability of snow is affected by the location, we can’t just write P(S) for the probability of snow. We need to
indicate the other information we know. We need to use conditional probability.
The event we are interested in is event S for snow. The other event is called the condition, representing the location in this case.
We represent conditional probability using a vertical line | that means “if”, or “given that”, or “if we know that”. The event of
interest appears on the left of the |. The condition appears on the right side of the |. This will appear as P (event|condition)
The probability it will snow given that (if) your friend is in Alaska is represented by P (S|A). In this case, the condition is A .
The probability that it will snow given that (if) your friend is in Florida is represented by P(S|F). In this case, the condition is F .
Now, let’s examine a situation where we can calculate some probabilities.
Suppose you and a friend play a game that involves choosing a single card from a well-shuffled deck. Your friend deals you one
card, face down, from the deck and offers you the following deal: If the card is a king, he will pay you $5, otherwise, you pay him
$1. Should you play the game?
You reason in the following manner. Since there are four kings in the deck, the probability of obtaining a king is 4/52 or 1/13. So,
probability of not obtaining a king is 12/13. This implies that the ratio of your winning to losing is 1 to 12, while the payoff ratio is
only $1 to $5. Therefore, you determine that you should not play.
But consider the following scenario. While your friend was dealing the card, you happened to get a glance of it and noticed that the
card was a face card. Should you, now, play the game?
Since there are 12 face cards in the deck, the total elements in the sample space are no longer 52, but just 12. This means the
chance of obtaining a king is 4/12 or 1/3. So your chance of winning is 1/3 and of losing 2/3. This makes your winning to losing
ratio 1 to 2 which fares much better with the payoff ratio of $1 to $5. This time, you determine that you should play.
In the second part of the above example, we were finding the probability of obtaining a king knowing that a face card had shown.
This is an example of conditional probability. Whenever we are finding the probability of an event E under the condition that
another event F has happened, we are finding conditional probability.
The symbol P(E|F) denotes the problem of finding the probability of E given that F has occurred. We read P(E|F) as "the
probability of E, given F ."
6.4.2 https://math.libretexts.org/@go/page/40163
Example 6.4.1
Let event E be that the family has two boys and a girl, and F that the first born is a boy.
a. P(E) = 3/8 because 3 of the 8 options in the sample space include two boys and one girl.
b. Given that the first born is a boy though, our possibilities narrow down to four outcomes: BBB, BBG, BGB, and BGG.
Among the four, BBG and BGB represent two boys and a girl.
Therefore, P(E|F) = 2/4 or 1/2.
Example 6.4.2
Example 6.4.3
6.4.3 https://math.libretexts.org/@go/page/40163
If the event F has occurred, the set of all possible outcomes is no longer the entire sample space, but instead, the subset F .
Therefore, we only look at the set F and at nothing outside of F . Since F has m elements, the denominator in the calculation of
P(E|F) is m . We may think that the numerator for our conditional probability is the number of elements in E. But clearly we
cannot consider the elements of E that are not in F . We can only count the elements of E that are in F , that is, the elements in
E ∩ F . Therefore,
c
P(E|F) =
m
Example 6.4.4
A single die is rolled. Use the above formula to find the conditional probability of obtaining an even number given that a
number greater than three has shown.
Solution
Let E be the event that an even number shows, and F be the event that a number greater than three shows. We want P(E|F).
E = 2, 4, 6 and F = 4, 5, 6. Which implies, E ∩ F = 4, 6
Therefore, P(F) = 3/6, and P(E ∩ F) = 2/6
P (E ∩ F ) 2/6 2
P (E|F ) = = = .
P (F ) 3/6 3
Example 6.4.5
The following table shows the distribution by gender of students at a community college who take public transportation and the
ones who drive to school.
Public Transportation(T) 8 10 3 21
Drive(D) 37 41 1 79
Total 45 51 4 100
6.4.4 https://math.libretexts.org/@go/page/40163
b. P(F|D)
c. P(M|T)
Solution 1
Conditional probabilities can often be found directly from a contingency table. If the condition corresponds to only one row or
only one column in the table, then you can ignore the rest of the table and read the conditional probability directly from the row
or column indicated by the condition.
a. The condition is event N ; we can look at only the “Non-Binary” column of the table and ignore the rest of the table:
P(D|N) = . 1
b. The condition is event D; we can look at only the “Drive” row of the table and ignore the rest of the table: P(F|D) = . 41
79
c. The condition is event T; we can look at only the “Public Transportation” row of the table and ignore the rest of the table:
P(M|T) = .
8
21
Solution 2
P(E∩F)
We use the conditional probability formula P(E|F) = P(F)
.
a. P (D ∩ N ) 1/100 1
P (D|N ) = = = .
P (N ) 4/100 4
b. P (F ∩ D) 41/100 41
P (F |D) = = = .
P (D) 79/100 79
c. P (M ∩ T ) 8/100 8
P(M|T) = = =
P (T ) 21/100 21
Example 6.4.6
Given P(E) = .5, P(F) = .7, and P(E ∩ F) = .3. Find the following:
a. P(E|F)
b. P(F|E)
Solution
We use the conditional probability formula.
P (E∩F )
a. P (E|F ) =
P (F )
=
3
7
=
3
P (E∩F )
b. P (F |E) = P (E)
= .3/.5 = 3/5
Example 6.4.7
E and F are mutually exclusive events such that P(E) = .4, P(F) = .9. Find P(E|F).
Solution
E and F are mutually exclusive, so P(E ∩ F) = 0.
P(E∩F)
Therefore P(E|F) = P(F)
=
0
9
=0 .
Example 6.4.8
6.4.5 https://math.libretexts.org/@go/page/40163
P(E ∩ F)
P(F|E) =
P(E)
Example 6.4.9
In a family of three children, find the conditional probability of having two boys and a girl, given that the family has at least
two boys.
Solution
Let event E be that the family has two boys and a girl, and let F be the probability that the family has at least two boys. We
want P(E|F).
We list the sample space along with the events E and F .
S = {BBB, BBG, BGB, BGG, GBB, GBG, GGB, GGG}
Example 6.4.10
At a community college 65% of the students subscribe to Amazon Prime, 50% subscribe to Netflix, and 20% subscribe to both.
If a student is chosen at random, find the following probabilities:
a. the student subscribes to Amazon Prime given that they subscribe to Netflix
b. the student subscribes to Netflix given that they subscribe to Amazon Prime
Solution
Let A be the event that the student subscribes to Amazon Prime, and N be the event that the student subscribes to Netflix.
First identify the probabilities and events given in the problem.
P (student subscribes to Amazon Prime) = P(A) = 0.65
P (student subscribes to Netflix) = P(N) = 0.50
P (student subscribes to both Amazon Prime and Netflix) = P(A ∩ N) = 0.20
Then use the conditional probability rule:
P(A∩N)
a. P(A|N) =
P(N)
=
.20
.50
=
2
P(A∩N)
b. P(N|A) = P(A)
=
.20
.65
=
4
13
This page titled 6.4: Conditional Probability is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon
and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available
upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
6.4.6 https://math.libretexts.org/@go/page/40163
6.4E: Exercises - Conditional Probability
PROBLEM SET: CONDITIONAL PROBABILITY
P (A∩B)
Questions 1 - 4: Do these problems using the conditional probability formula: P (A|B) = P (B)
.
1. A card is drawn from a deck. Find the conditional probability of P (a 2. A card is drawn from a deck. Find the conditional probability of P (a
queen | a face card). queen | a club).
Questions 5 - 8 refer to the following: The table shows the distribution of Democratic and Republican U.S. Senators by gender in
the 114th Congress as of January 2015.
DEMOCRATS (D) 30 14 44
REPUBLICANS(R) 48 6 54
OTHER (T) 2 0 2
TOTALS 80 20 100
5. P (M |D) 6. P (D|M )
7. P (F |R) 8. P (R|F )
9. At a college, 20% of the students take Finite Math, 30% take History, 10. At a college, 60% of the students pass Accounting, 70% pass
and 5% take both Finite Math and History. If a student is chosen at English, and 30% pass both of these courses. If a student is selected
random, find the following conditional probabilities. at random, find the following conditional probabilities.
a. He is taking Finite Math given that he is taking History. a. He passes Accounting given that he passed English.
b. He is taking History assuming that he is taking Finite Math. b. He passes English assuming that he passed Accounting.
At a college, 72% of courses have final exams and 46% of courses require research papers. 32% of courses have both a research
paper and a final exam. Let F be the event that a course has a final exam and R be the event that a course requires a research paper.
15. Find the probability that a course has a final exam given that it has a 16. Find the probability that a course has a research paper if it has a final
research paper. exam.
17. P (two boys | first born is a boy) 18. P (all girls | at least one girl is born)
6.4E.1 https://math.libretexts.org/@go/page/40164
19. P (children of both sexes | first born is a boy) 20. P (all boys | there are children of both sexes)
This page titled 6.4E: Exercises - Conditional Probability is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by
Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit
history is available upon request.
6.4E.2 https://math.libretexts.org/@go/page/40164
6.5: Bayes' Formula
Learning Objectives
In this section, you will learn to:
Find probabilities using Bayes’ formula.
Use a probability tree to find and represent values needed when using Bayes’ formula.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. If P (F ) = .4 , P (E|F ) = .3 , find P (E ∩ F ).
If you missed this problem, review Section 6.4. (Note that this will open in a new window.)
If you missed this problem, review Section 6.4. (Note that this will open in a new window.)
If you missed this problem, review Section 6.4. (Note that this will open in a new window.)
If you missed this problem, review Section 6.4. (Note that this will open in a new window.)
In this section, we will develop and use Bayes' Formula to solve an important type of probability problem. Bayes' formula is a
method of calculating the conditional probability P (F |E) from P (E|F ). The ideas involved here are not new, and most of these
problems can be solved using a tree diagram. However, Bayes' formula does provide us with a tool with which we can solve these
problems without a tree diagram.
We begin with an example.
Example 6.5.1
Suppose you are given two jars. Jar I contains one black and 4 white marbles, and Jar II contains 4 black and 6 white marbles.
A jar and a marble are selected at random. Construct a tree diagram to represent this scenario and to answer the following
questions.
a. What is the probability that the marble chosen is a black marble?
6.5.1 https://math.libretexts.org/@go/page/40167
b. If the chosen marble is black, what is the probability that it came from Jar I?
c. If the chosen marble is black, what is the probability that it came from Jar II?
Solution
Let JI be the event that Jar I is chosen, JI I be the event that Jar II is chosen, B be the event that a black marble is chosen and
W the event that a white marble is chosen.
a. The probability that a black marble is chosen is P (B) = 1/10 + 2/10 = 3/10.
b. To find P (JI |B), we use the definition of conditional probability, and we get
P (JI ∩ B) 1/10 1
P (JI |B) = = =
P (B) 3/10 3
P(JII∩B) 2/10
c. Similarly, P(JII|B) = P(B)
=
3/10
=
2
In parts b and c, the reader should note that the denominator is the sum of all probabilities of all branches of the tree that
produce a black marble, while the numerator is the branch that is associated with the particular jar in question.
We will soon discover that this is a statement of Bayes' formula.
Let us first visualize the problem.
We are given a sample space S and two mutually exclusive events JI and JI I . That is, the two events, JI and JI I , divide the
sample space into two parts such that JI ∪ JII = S . Furthermore, we are given an event B that has elements in both JI and
JI I , as shown in the Venn diagram below.
From the Venn diagram, we can see that B = (B ∩ JI) ∪ (B ∩ JII) Therefore:
P (B) = P (B ∩ JI ) + P (B ∩ JI I )
By substitution, we get
6.5.2 https://math.libretexts.org/@go/page/40167
The conditional probability formula gives us
P (JI ∩ B)
P (JI |B) =
P (B)
P (JI)⋅P (B|JI)
Therefore, P (JI |B) = P (B)
or
P (JI ) ⋅ P (B|JI )
P (JI |B) =
P (JI ) ⋅ P (B|JI ) + P (JI I ) ⋅ P (B|JI I )
The last statement is Bayes' Formula for the case where the sample space is divided into two partitions.
The following is the generalization of Bayes’ formula for n partitions.
Let S be a sample space that is divided into n partitions, A , A , . . . A . If E is any event in S, then
1 2 n
P (E| Ai ) P (Ai )
P (Ai |E) =
P (E| A1 ) P (A1 ) + P (E| A2 ) P (A2 ) + ⋯ + P (E| An ) P (An )
Example 6.5.2
A department store buys 50% of its appliances from Manufacturer A, 30% from Manufacturer B, and 20% from Manufacturer
C. It is estimated that 6% of Manufacturer A's appliances, 5% of Manufacturer B's appliances, and 4% of Manufacturer C's
appliances need repair before the warranty expires. An appliance is chosen at random. If the appliance chosen needed repair
before the warranty expired, what is the probability that the appliance was manufactured by Manufacturer A? Manufacturer B?
Manufacturer C?
Solution
Let A, B and C be the events that the appliance is manufactured by Manufacturer A, Manufacturer B, and Manufacturer C,
respectively. Further, suppose that the event R denotes that the appliance needs repair before the warranty expires.
We need to find P(A | R), P(B | R) and P(C | R).
We will do this problem both by using a tree diagram and by using Bayes' formula.
We draw a tree diagram.
6.5.3 https://math.libretexts.org/@go/page/40167
The probability P(A | R), for example, is a fraction whose denominator is the sum of all probabilities of all branches of the tree
that result in an appliance that needs repair before the warranty expires, and the numerator is the branch that is associated with
Manufacturer A. P(B | R) and P(C | R) are found in the same way.
.030 .030
P (A|R) = = = .566
(.030)+(.015)+(.008) .053
.015 .008
P (B|R) = = .283 and P (C |R) = = .151
.053 .053
.030 .030
= = = .566
(.030) + (.015) + (.008) .053
.053
= .283 and P(C | R) = .008
.053
= .151 .
Example 6.5.3
There are five American Furniture Warehouse stores in the Denver area. The percent of employees over the age of 50 is given
in the table below.
1 300 .40
2 150 .65
3 200 .60
4 250 .50
5 100 .70
Total = 1000
If an employee chosen at random is over 50 years old, what is the probability that the employee works at store III?
Solution
Let k = 1, 2, . . . , 5 be the event that the employee worked at store k , and A be the event that the employee is over 50 years
old. Since there are a total of 1000 employees at the five stores,
P (1) = .30 P (2) = .15 P (3) = .20 P (4) = .25 P (5) = .10
(.60)(.20)
=
(.40)(.30)+(.65)(.15)+(.60)(.20)+(.50)(.25)+(.70)(.10)
= .2254
This page titled 6.5: Bayes' Formula is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and
Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon
request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
6.5.4 https://math.libretexts.org/@go/page/40167
6.5E: Exercises - Bayes' Formula
PROBLEM SET: BAYES' FORMULA
2. In Mr. Symons' class, if a student does homework most days, the
chance of passing the course is 90%. On the other hand, if a student
does not do homework most days, the chance of passing the course is
1. Jar I contains five red and three white marbles, and Jar II contains
only 20%.
four red and two white marbles. A jar is picked at random and a
H = event that the student did homework
marble is drawn. Draw a tree diagram below, and find the following
C = event that the student passed the course
probabilities.
Mr. Symons claims that 80% of his students do homework on a
a. P(marble is red) regular basis. If a student is chosen at random from Mr. Symons'
b. P(It came from Jar II | marble is white) class, find the following probabilities.
c. P(Red | Jar I)
a. P(C)
b. P(H|C)
c. P(C|H)
5. A test for a certain disease gives a positive result 95% of the time if
the person actually carries the disease. However, the test also gives a
6. A person has two coins: a fair coin and a two-headed coin. A coin is
positive result 3% of the time when the individual is not carrying the
selected at random, and tossed. If the coin shows a head, what is the
disease. It is known that 10% of the population carries the disease. If
probability that the coin is fair?
a person tests positive, what is the probability that he or she has the
disease?
7. A computer company buys its chips from three different 8. Lincoln Union High School District is made up of three high schools:
manufacturers. Manufacturer I provides 60% of the chips and is Monterey, Fremont, and Kennedy, with an enrollment of 500, 300,
known to produce 5% defective; Manufacturer II supplies 30% of and 200, respectively. On a given day, the percentage of students
the chips and makes 4% defective; while the rest are supplied by absent at Monterey High School is 6%, at Fremont 4%, and at
Manufacturer III with 3% defective chips. If a chip is chosen at Kennedy 5%. If a student is chosen at random, find the probabilities
random, find the following probabilities: below: Hint: Convert the enrollments into percentages.
a. P(the chip is defective) a. P(the student is absent)
b. P(chip is from Manufacturer II | defective) b. P(student is from Kennedy | student is absent)
c. P(defective |chip is from manufacturer III) c. P(student is absent | student is from Fremont)
6.5E.1 https://math.libretexts.org/@go/page/40168
9. At a retail store, 20% of customers use the store’s online app to assist
them when shopping in the store ; 80% of store shoppers don’t use the
app.
Of those customers that use the online app while in the store, 50% are
10. A medical clinic uses a pregnancy test to confirm pregnancy in
very satisfied with their purchases, 40% are moderately satisfied, and
patients who suspect they are pregnant. Historically data has shown that
10% are dissatisfied.
overall, 70% of the women at this clinic who are given the pregnancy
Of those customers that do not use the online app while in the store,
test are pregnant, but 30% are not.
30% are very satisfied with their purchases, 50% are moderately
The test's manufacturer indicates that if a woman is pregnant, the test
satisfied and 20% are dissatisfied.
will be positive 92% of the time.
Indicate the events by the following:
But if a woman is not pregnant, the test will be positive only 2% of the
A = shopper uses the app in the store
time and will be negative 98% of the time.
N = shopper does not use the app in the store
a. Find the probability that a woman at this clinic is pregnant and tests
V = very satisfied with purchase
positive.
M = moderately satisfied
b. Find the probability that a woman at this clinic is actually pregnant
D = dissatisfied
given that she tests positive.
a. Find P(A and D), the probability that a store customer uses the app
and is dissatisfied
b. Find P(A|D), the probability that a store customer uses the app if the
customer is dissatisfied.
This page titled 6.5E: Exercises - Bayes' Formula is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder
Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is
available upon request.
6.5E.2 https://math.libretexts.org/@go/page/40168
6.6: Independent Events
Learning Objectives
In this section, you will learn to:
Define independent events.
Identify whether two events are independent or dependent.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. A card is drawn from a deck. Find the conditional probability of P (a queen | a face card).
If you missed this problem, review Section 6.4. (Note that this will open in a new window.)
2. A card is drawn from a deck. Find the conditional probability of P (a queen | a club).
13
If you missed this problem, review Section 6.4. (Note that this will open in a new window.)
3. A die is rolled. Find the conditional probability that it shows a three if it is known that an odd number has shown.
If you missed this problem, review Section 6.4. (Note that this will open in a new window.)
In the last section, we considered conditional probabilities. In some examples, the probability of an event changed when additional
information was provided. This is not always the case. The additional information may or may not alter the probability of the event.
In Example 6.6.1 we revisit the discussion at the beginning of the previous section and then contrast that with Example 6.6.2.
6.6.1 https://math.libretexts.org/@go/page/40165
Example 6.6.1
Example 6.6.2
Whenever the probability of an event E is not affected by the occurrence of another event F , and vice versa, we say that the two
events E and F are independent. This leads to the following definition.
Definition: Independent
Two Events E and F are independent if and only if at least one of the following two conditions is true.
1. P(E|F) = P(E) or
2. P(F|E) = P(F)
If one of these conditions is true, then both are true.
If the events are not independent, then they are dependent.
We can use the definition of independence to determine if two events are independent.
We can use that definition to develop another way to test whether two events are independent.
Recall the conditional probability formula:
6.6.2 https://math.libretexts.org/@go/page/40165
P(E ∩ F)
P(E|F) =
P(F)
P(E ∩ F) = P(E|F)P(F)
P(E|F) = P(E)
Substituting, P (E ∩ F ) = P (E)P (F )
We state it formally as follows.
P(E ∩ F) = P(E)P(F)
In the Examples 6.6.3 and 6.6.4, we’ll examine how to check for independence using both methods:
Examine the probability of intersection of events to check whether P (E ∩ F ) = P (E)P (F )
Examine conditional probabilities to check whether P (E|F ) = P (E) or P (F |E) = P (F )
We need to use only one of these methods. Both methods, if used properly, will always give results that are consistent with each
other.
Use the method that seems easier based on the information given in the problem.
Example 6.6.3
The table below shows the distribution of color-blind people by gender, based on 100 survey participants.
Color-Blind(C) 6 1 7
Not Color-Blind(N) 46 47 93
Total 52 48 100
where M represents male, F represents female, C represents color-blind, and N represents not color-blind. Are the events
color-blind and male independent?
Solution 1: According to the test for independence, C and M are independent if and only if P(C ∩ M) = P(C)P(M) .
From the table: P (C ) = 7/100, P (M ) = 52/100 and P (C ∩ M ) = 6/100
So P (C )P (M ) = (7/100)(52/100) = .0364
which is not equal to P (C ∩ M ) = 6/100 = .06
Therefore, the two events are not independent. We may say they are dependent.
Solution 2: C and M are independent if and only if P (C |M ) = P (C ).
From the total column P (C ) = 7/100 = 0.07
From the male column P (C |M ) = 6/52= 0.1154
Therefore P (C |M ) ≠ P (C ), indicating that the two events are not independent.
6.6.3 https://math.libretexts.org/@go/page/40165
Example 6.6.4
In a city with two airports, 100 flights were surveyed. 20 of those flights departed late.
45 flights in the survey departed from airport A; 9 of those flights departed late.
55 flights in the survey departed from airport B; 11 flights departed late.
Are the events "depart from airport A" and "departed late" independent?
Solution 1
Let A be the event that a flight departs from airport A, and L the event that a flight departs late. We have
P (A ∩ L) = 9/100, P (A) = 45/100 and P (L) = 20/100
In order for two events to be independent, we must have P (A ∩ L) = P (A)P (L)
Since P (A ∩ L) = 9/100 = 0.09
and P (A)P (L) = (45/100)(20/100) = 900/10000 = 0.09
the two events "departing from airport A" and "departing late" are independent.
Solution 2
The definition of independent events states that two events are independent if P (E|F ) = P (E) .
In this problem we are given that
P (L|A) = 9/45= 0.2 and P (L) = 20/100 = 0.2
P (L|A) = P (L) , so events "departing from airport A" and "departing late" are independent.
Example 6.6.5
A coin is tossed three times, and the events E , F and G are defined as follows:
E : The coin shows a head on the first toss.
F : At least two heads appear.
G : Heads appear in two successive tosses.
Determine whether the following events are independent.
a. E and F
b. F and G
c. E and G
Solution
We list the sample space, the events, their intersections and the probabilities.
S = {HHH, HHT, HTH, HTT, THH, THT, TTH, TTT
6.6.4 https://math.libretexts.org/@go/page/40165
b. F and G will be independent if and only if P (F ∩ G) = P (F )P (G) .
P (F ∩ G) = 1/4 and P (F )P (G) = 1/2 ⋅ 1/4 = 1/8 .
Since 3/8 ≠ 1/4, we have P (F ∩ G) ≠ P (F )P (G) .
Events F and G are not independent.
c. E and G will be independent if P (E ∩ G) = P (E)P (G)
P (E ∩ G) = 1/8 and P (E)P (G) = 1/2 ⋅ 1/4 = 1/8
Events E and G are independent events because P (E ∩ G) = P (E)P (G)
Example 6.6.6
The probability that Jaime will visit his aunt in Baltimore this year is .30, and the probability that he will go river rafting on the
Colorado river is .50. If the two events are independent, what is the probability that Jaime will do both?
Solution
Let A be the event that Jaime will visit his aunt this year, and R be the event that he will go river rafting.
We are given P (A) = .30 and P (R) = .50, and we want to find P (A ∩ R) .
Since we are told that the events A and R are independent,
Example 6.6.7
Example 6.6.8
Mark's probability of passing physics is 80%. David's probability of passing the same course is 70%. If the two events are
independent, find the following probabilities.
a. P(Both of them will pass physics)
b. P(At least one of them will pass physics)
Solution
Let M be the event that Mark passes physics and let D be the event that David passes physics.
a. The probability that they both pass physics is represented by P (M ∩ D) .
Since the events are independent,
P (M ∩ D) = P (M )P (D) = (.80)(.70) = 0.56
b. The probability that at least one of them will pass physics is represented by P (M ∪ D) .
Using the Addition Rule,
P (M ∪ D) = P (M ) + P (D) − P (M ∩ D)
6.6.5 https://math.libretexts.org/@go/page/40165
The probability that at least one of them will pass physics is 94%.
This page titled 6.6: Independent Events is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and
Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon
request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
6.6.6 https://math.libretexts.org/@go/page/40165
6.6E: Exercises - Independent Events
PROBLEM SET: INDEPENDENT EVENTS
The distribution of the number of fiction and non-fiction books checked out at a city's main library and at a smaller branch on a
given day is as follows.
1. P (F ) 2. P (M |F )
4. Is the fact that a person checks out a fiction book independent of the
3. P (N |B)
main library? Use probabilities to justify your conclusion.
7. If P (E) = .6 , P (F ) = .2 , and E and F are independent, find P (E 8. If P (E) = .6 , P (F ) = .2 , and E and F are independent, find P (E
and F ). or F ).
9. If P (E) = .9 , P (F |E) = .36 , and E and F are independent, find 10. If P (E) = .6 , P (E or F ) = .8, and E and F are independent, find
P (F ) . P (F ) .
11. In a survey of 100 people, 40 were casual drinkers, and 60 did not 12. It is known that 80% of the people wear seat belts, and 5% of the
drink. Of the ones who drank, 6 had minor headaches. Of the non- people quit smoking last year. If 4% of the people who wear seat
drinkers, 9 had minor headaches. Are the events "drinkers" and "had belts quit smoking, are the events, wearing a seat belt and quitting
headaches" independent? smoking, independent?
14. Jane is flying home for the Christmas holidays. She has to change
13. John's probability of passing statistics is 40%, and Linda's
planes twice. There is an 80% chance that she will make the first
probability of passing the same course is 70%. If the two events are
connection, and a 90% chance that she will make the second
independent, find the following probabilities.
connection. If the two events are independent, find the probabilities:
a. P ( both of them will pass statistics)
a. P ( Jane will make both connections)
b. P (at least one of them will pass statistics)
b. P (Jane will make at least one connection)
6.6E.1 https://math.libretexts.org/@go/page/40166
E: The family has at least one boy
F: The family has children of both sexes
G: The family's first born is a boy
17. P (K |D) = 0.7 , P (D) = 0.25 and P (K ) = 0.7 18. P (R|S) = 0.4 , P (S) = 0.2 and P (R) = 0.3
a. Are events K and D independent? Use probabilities to justify a. Are events R and S independent? Use probabilities to justify
your conclusion. your conclusion.
b. Find P (K ∩ D) b. Find P (R ∩ S)
This page titled 6.6E: Exercises - Independent Events is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by
Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit
history is available upon request.
6.6E.2 https://math.libretexts.org/@go/page/40166
6.7: Expected Value
Learning Objectives
In this section, you will learn to:
Find the expected value of a discrete probability distribution.
Interpret expected value as a long-run average.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. A jar contains 6 red, 7 white, and 7 blue marbles. If one marble is chosen at random, find the following probabilities.
a. P(red)
b. P(white)
7
b.
20
If you missed this problem, review Section 6.1. (Note that this will open in a new window.)
5
b.
36
If you missed this problem, review Section 6.1. (Note that this will open in a new window.)
An expected gain or loss in a game of chance is called Expected Value. The concept of expected value is closely related to a
weighted average. Consider the following situations.
1. Suppose you and your friend play a game that consists of rolling a die. Your friend offers you the following deal: If the die
shows any number from 1 to 5, he will pay you the face value of the die in dollars, that is, if the die shows a 4, he will pay you $4.
But if the die shows a 6, you will have to pay him $18.
Before you play the game you decide to find the expected value. You analyze as follows.
Since a die will show a number from 1 to 6, with an equal probability of 1/6, your chance of winning $1 is 1/6, winning $2 is 1/6,
and so on up to the face value of 5. But if the die shows a 6, you will lose $18. You write the expected value.
This means that every time you play this game, you can expect to lose 50 cents. In other words, if you play this game 100 times,
theoretically you will lose $50. Obviously, it is not to your interest to play.
2. Suppose of the ten quizzes you took in a course, on eight quizzes you scored 80, and on two you scored 90. You wish to find the
average of the ten quizzes.
6.7.1 https://math.libretexts.org/@go/page/40169
The average is
(80)(8) + (90)(2) 8 2
A = = (80) + (90) = 82
10 10 10
It should be observed that it would be incorrect to take the average of 80 and 90 because you scored 80 on eight quizzes, and 90 on
only two of them. Therefore, you take a "weighted average" of 80 and 90. That is, the average of 8 parts of 80 and 2 parts of 90,
which is 82.
In the first situation, to find the expected value, we multiplied each payoff by the probability of its occurrence, and then added up
the amounts calculated for all possible cases. In the second example, if we consider our test score a payoff, we did the same. This
leads us to the following definition.
Expected Value
If an experiment has the following probability distribution,
Payoff x1 x2 x3 ... xn
Example 6.7.1
In a town, 10% of the families have three children, 60% of the families have two children, 20% of the families have one child,
and the rest of the families have no children. What is the expected number of children in a family?
Solution
We list the information in the following table.
1
-
(
0
.
1
0
+
0
.
0
6
.
Probability 0.10 0
26
+
0
0
.
2
0
)
=
0
.
1
0
6.7.2 https://math.libretexts.org/@go/page/40169
E = 3(.10) + 2(.60) + 1(.20) + 0(.10) = 1.7
Example 6.7.2
To sell an average house, a real estate broker spends $1200 for advertisement expenses. If the house sells in three months, the
broker makes $8,000. Otherwise, the broker loses the listing. If there is a 40% chance that the house will sell in three months,
what is the expected payoff for the real estate broker?
Solution
The broker makes $8,000 with a probability of .40, but he loses $1200 whether the house sells or not.
Alternatively, the broker makes $(8000 - 1200) with a probability of .40, but loses $1200 with a probability of .60. Therefore,
Example 6.7.3
In a town, the attendance at a football game depends on the weather. On a sunny day the attendance is 60,000, on a cold day
the attendance is 40,000, and on a stormy day the attendance is 30,000. If for the next football season, the weatherman has
predicted that 30% of the days will be sunny, 50% of the days will be cold, and 20% days will be stormy, what is the expected
attendance for a single game?
Solution
Using the expected value formula, we get
Example 6.7.4
A lottery consists of choosing 6 numbers from a total of 51 numbers. The person who matches all six numbers wins $2 million.
If the lottery ticket costs $1, what is the expected payoff?
Solution
Since there are 51C6 = 18, 009, 460 combinations of six numbers from a total of 51 numbers, the chance of choosing the
winning number is 1 out of 18,009,460.
So the expected payoff is: E = ($2 million ) ( 1
18009460
) − $1 = −$0.89
This means that every time a person spends $1 to buy a ticket, he or she can expect to lose 89 cents.
This page titled 6.7: Expected Value is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and
Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon
request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
6.7.3 https://math.libretexts.org/@go/page/40169
6.7E: Exercises - Expected Value
PROBLEM SET: EXPECTED VALUE
Do the following problems using the expected value concepts learned in this section,
1. You are about to make an investment which gives you a 30% chance 2. In a town, 40% of the men and 30% of the women are overweight. If
of making $60,000 and 70% chance of losing $ 30,000. Should you the town has 46% men and 54% women, what percent of the people
invest? Explain. are overweight?
7. Hillview Church plans to raise money by raffling a television worth 8. During her four years at college, Niki received A's in 30% of her
$500. A total of 3000 tickets are sold at $1 each. Find the expected courses, B's in 60% of her courses, and C's in the remaining 10%. If
value of the winnings for a person who buys a ticket in the raffle. A = 4, B = 3, and C = 2, find her grade point average.
11. A $1 lottery ticket offers a grand prize of $10,000; 10 runner-up 12. Assume that for the next heavyweight fight the odds of current
prizes each pay $1000; 100 third-place prizes each pay $100; and champion winning are 15 to 2. A gambler bets $10 that the current
1,000 fourth-place prizes each pay $10. Find the expected value of champion will lose. If current champion loses, how much can the
entering this contest if 1 million tickets are sold. gambler hope to receive?
This page titled 6.7E: Exercises - Expected Value is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder
Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is
available upon request.
6.7E.1 https://math.libretexts.org/@go/page/40170
6.8: Chapter 6 Review
SECTION 6.8 PROBLEM SET: CHAPTER REVIEW
1. Two dice are rolled. Find the probability that the sum of the dice is
a. four
b. five
2. A jar contains 3 red, 4 white, and 5 blue marbles. If a marble is chosen at random, find the following probabilities:
a. P(red or blue)
b. P(not blue)
3. A card is drawn from a standard deck. Find the following probabilities:
a. P(a jack or a king)
b. P(a jack or a spade)
4. A basket contains 3 red and 2 yellow apples. Two apples are chosen at random. Find the following probabilities:
a. P(one red, one yellow)
b. P(at least one red)
5. A basket contains 4 red, 3 white, and 3 blue marbles. Three marbles are chosen at random. Find the following probabilities:
a. P(two red, one white)
b. P(first red, second white, third blue)
c. P(at least one red)
d. P(none red)
6. Given a family of four children. Find the following probabilities:
a. P(All boys)
b. P(1 boy and 3 girls)
7. Consider a family of three children. Find the following:
a. P(children of both sexes | first born is a boy)
b. P(all girls | children of both sexes)
8. Mrs. Rossetti is flying from San Francisco to New York. On her way to the San Francisco Airport she encounters heavy traffic
and determines that there is a 20% chance that she will be late to the airport and will miss her flight. Even if she makes her
flight, there is a 10% chance that she will miss her connecting flight at Chicago. What is the probability that she will make it to
New York as scheduled?
9. At a college, twenty percent of the students take history, thirty percent take math, and ten percent take both. What percent of the
students take at least one of these two courses?
10. In a T-maze, a mouse may run to the right (R) or may run to the left (L). A mouse goes up the maze three times, and events E
and F are described as follows:
E: Runs to the right on the first trial F: Runs to the left two consecutive times
6.8.1 https://math.libretexts.org/@go/page/40171
b. two cards of one suit, two of another suit, and one from the remaining
c. a pair(e.g. two aces and three other cards)
d. a straight flush(five in a row of a single suit but not a royal flush)
16. The following table shows a distribution of drink preferences by gender.
Male(M) 60 50 22 132
Female(F) 50 40 18 108
The events M, F, C, P and S are defined as Male, Female, Coca Cola, Pepsi, and Seven Up, respectively. Find the following:
a. P(F | S)
b. P( P | F)
c. P(C | M)
d. P(M | P ∪ C)
e. Are the events F and S mutually exclusive?
f. Are the events F and S independent?
17. At a clothing outlet 20% of the clothes are irregular, 10% have at least a button missing and 4% are both irregular and have a
button missing. If Martha found a dress that has a button missing, what is the probability that it is irregular?
18. A trade delegation consists of four Americans, three Japanese and two Germans. Three people are chosen at random. Find the
following probabilities:
a. P(two Americans and one Japanese)
b. P(at least one American)
c. P(One of each nationality)
d. P(no German)
19. A coin is tossed three times, and the events E and F are as follows.
6.8.2 https://math.libretexts.org/@go/page/40171
34. A missile has a 70% chance of hitting a target. How many missiles should be fired to make sure that the target is destroyed with
a probability of .99 or more?
35. Jar I contains 4 red and 5 white marbles, and Jar II contains 2 red and 4 white marbles. A jar is picked at random and a marble
is drawn. Draw a tree diagram and find,
a. P(Marble is red)
b. P(It is white given that it came from Jar II)
c. P(It came from Jar II knowing that the marble drawn is white)
36. Suppose a test is given to determine if a person is infected with HIV. If a person is infected with HIV, the test will detect it in
90% of the cases; and if the person is not infected with HIV, the test will show a positive result 3% of the time. If we assume
that 2% of the population is actually infected with HIV, what is the probability that a person obtaining a positive result is
actually infected with HIV?
37. A car dealer’s inventory consists of 70% cars and 30% trucks. 20% of the cars and 10% of the trucks are used vehicles. If a
vehicle chosen at random is used, find the probability that it is a car.
38. Two machines make all the products in a factory, with the first machine making 30% of the products and the second 70%. The
first machine makes defective products 3% of the time and the second machine 5% of the time.
a. Overall what percent of the products made are defective?
b. If a defective product is found, what is the probability that it was made on the second machine?
c. If it was made on the second machine, what is the probability that it is defective?
39. An instructor in a finite math course estimates that a student who does his homework has a 90% of chance of passing the
course, while a student who does not do the homework has only a 20% chance of passing the course. It has been determined
that 60% of the students in a large class do their homework.
a. What percent of all the students will pass?
b. If a student passes, what is the probability that he did the homework?
40. Cars are produced at three factories. Factory I produces 10% of the cars and it is known that 2% are defective. Factory II
produces 20% of the cars and 3% are defective. Factory III produces 70% of the cars and 4% of those are defective. A car is
chosen at random. Find the following probabilities:
a. P(The car is defective)
b. P(The car came from Factory III | the car is defective)
41. A stock has a 50% chance of a 10% gain, a 30% chance of no gain, and otherwise it will lose 8%. Find the expected return.
42. A game involves rolling a pair of dice. One receives the sum of the face value of both dice in dollars. How much should one be
willing to pay to roll the dice to make the game fair?
43. A roulette wheel consists of numbers 1 through 36, 0, and 00. If the wheel shows an odd number you win a dollar, otherwise
you lose a dollar. If you play the game ten times, what is your expectation?
44. A student takes a 100-question multiple-choice exam in which there are four choices to each question. If the student is just
guessing the answers, what score can he expect?
45. Mr. Shaw invests 50% of his money in stocks, 30% in mutual funds, and the remaining 20% in bonds. If the annual yield from
stocks is 10%, from mutual funds 12%, and from bonds 7%, what percent return can Mr. Shaw expect on his money?
46. An insurance company is planning to insure a group of surgeons against medical malpractice. Its research shows that two
surgeons in every fifteen are involved in a medical malpractice suit each year where the average award to the victim is
$450,000. How much minimum annual premium should the insurance company charge each doctor?
47. In an evening finite math class of 30 students, it was discovered that 5 students were of age 20, 8 students were about 25 years
old, 10 students were close to 30, 4 students were 35, 2 students were 40 and one student 55. What is the average age of a
student in this class?
48. Jar I contains 4 marbles of which one is red, and Jar II contains 6 marbles of which 3 are red. Katy selects a jar and then
chooses a marble. If the marble is red, she gets paid 3 dollars, otherwise she loses a dollar. If she plays this game ten times,
what is her expected payoff?
49. Jar I contains 1 red and 3 white, and Jar II contains 2 red and 3 white marbles. A marble is drawn from Jar I and put in Jar II.
Now if one marble is drawn from Jar II, what is the probability that it is a red marble?
50. Let us suppose there are three traffic lights between your house and the school. The chance of finding the first light green is
60%, the second 50%, and the third 30%. What is the probability that on your way to school, you will find at least two lights
green?
6.8.3 https://math.libretexts.org/@go/page/40171
51. Sonya has just earned her law degree and is planning to take the bar exam. If her chance of passing the bar exam is 65% on each
try, what is the probability that she will pass the exam in at least three tries?
52. Every time a particular baseball player is at bat, his probability of getting a hit is .3, his probability of walking is .1, and his
probability of being struck out is .4. If he is at bat three times, what is the probability that he will get two hits and one walk?
53. Jar I contains 4 marbles of which none are red, and Jar II contains 6 marbles of which 4 are red. Juan first chooses a jar and then
from it he chooses a marble. After the chosen marble is replaced, Mary repeats the same experiment. What is the probability
that at least one of them chooses a red marble?
54. Andre and Pete are two tennis players with equal ability. Andre makes the following offer to Pete: We will not play more than
four games, and anytime I win more games than you, I am declared a winner and we stop. Draw a tree diagram and determine
Andre's probability of winning.
This page titled 6.8: Chapter 6 Review is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and
Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon
request.
6.8.4 https://math.libretexts.org/@go/page/40171
CHAPTER OVERVIEW
Thumbnail: False color time-lapse video of E. coli colony growing on microscope slide. This growth can be model with first order
logistic equation. Added approximate scale bar based on the approximate length of 2.0 μm of E. coli bacteria. (CC BY-SA 4.0
International; Stewart EJ, Madden R, Paul G, Taddei F).
This page titled 7: Exponential and Logarithmic Functions is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by
Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit
history is available upon request.
1
7.1: Exponential Growth and Decay Models
Learning Objectives
In this section, you will learn to
Compare linear and exponential growth.
Recognize and model exponential growth and decay.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Simplify 3(2) .
3
If you missed this problem, review here and scroll to Example 4. (Note that this will open a different textbook in a new
window.)
2. Simplify −5(3) . 2
If you missed this problem, review here and scroll to Example 4. (Note that this will open a different textbook in a new
window.)
3. Solve 2x
= 16 .
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
1
4. Graph y = − x +3 .
2
If you missed this problem, review Section 1.2. (Note that this will open in a new window.)
7.1.1 https://math.libretexts.org/@go/page/40176
Comparing Exponential and Linear Growth
Consider two social media sites which are expanding the number of users they have:
Site A has 10,000 users, and expands by adding 1,500 new users each month
Site B has 10,000 users, and expands by increasing the number of users by 10% each month.
The number of users for Site A can be modeled as linear growth. The number of users increases by a constant number, 1500, each
month. If x = the number of months that have passed and y is the number of users, the number of users after x months is
y = 10000 + 1500x. For site B, the user base expands by a constant percent each month, rather than by a constant number. Growth
that occurs at a constant percent each unit of time is called exponential growth.
We can look at growth for each site to understand the difference. The table compares the number of users for each site for 12
months. The table shows the calculations for the first 4 months only, but uses the same calculation process to complete the rest of
the 12 months.
0 10000 10000
10000+10% of 10000
=10000(1.10) = 11000
11000+10% of 11000
=11000(1.10) = 12100
12100+10% of 12100
=12100(1.10) = 13310
13310+10% of 13310
=13310(1.10) = 14641
5 17500 16105
6 19000 17716
7 20500 19487
8 22000 21436
9 23500 23579
10 25000 25937
11 26500 28531
12 28000 31384
For Site B, we can re-express the calculations to help us observe the patterns and develop a formula for the number of users after x
months.
Month 1: y = 10000(1.1) = 11000
Month 2: y = 11000(1.1) = 10000(1.1)(1.1) = 10000(1.1) = 12100 2
By looking at the patterns in the calculations for months 2, 3, and 4, we can generalize the formula. After x months, the number of
users y is given by the function y = 10000(1.1) x
7.1.2 https://math.libretexts.org/@go/page/40176
Example 7.1.1
Determine whether each of the following statements represent exponential growth or linear growth.
a. The population of a certain town has been increasing by 2.4% over each of the last 10 years.
b. The population of a certain town has been increasing by 1,000 people over each of the last 10 years.
3
c. The number of bacterial cells increases by a factor of every 24 hours.
2
Solution
a. Since the population has been increasing by a constant percent for each unit of time, this is an example of exponential
growth.
b. Since the population has been increasing by a constant number for each unit of time, this is an example of linear growth.
3
c. Since the number of cells has been increasing by a constant percent ( = 150%) for each unit of time, this is an example
2
of exponential growth.
a is a positive number representing the initial value of the function a is a positive number representing the initial value of the function
when x = 0 when x = 0
b is a real number that is greater than 1: b > 1 b is a real number that is between 0 and 1: 0 < b < 1
the growth rate r is a positive number, r > 0 where b = 1 + r (so the decay rate r is a negative number, r < 0 where b = 1 + r (so that
that r = b − 1 ) r = b − 1)
In general, the domain of exponential functions is the set of all real numbers. The range of an exponential growth or decay function
is the set of all positive real numbers.
In most applications, the independent variable, x or t , represents time. When the independent variable represents time, we may
choose to restrict the domain so that independent variable can have only non-negative values in order for the application to make
sense. If we restrict the domain, then the range is also restricted as well.
For an exponential growth function y = ab with b > 1 and a > 0 , if we restrict the domain so that x ≥ 0 , then the range is
x
y ≥ a.
7.1.3 https://math.libretexts.org/@go/page/40176
For an exponential decay function y = ab with 0 < b < 1 and a > 0 , if we restrict the domain so that x ≥ 0 , then the range is
x
0 <y ≤a.
Example 7.1.2
Consider the growth models for social media sites A and B, where x = number of months since the site was started and y =
number of users. The number of users for Site A follows the linear growth model:
y = 10000 + 1500x.
The number of users for Site B follows the exponential growth model:
x
y = 10000(1.1 )
For each site, use the function to calculate the number of users at the end of the first year, to verify the values in the table. Then
use the functions to predict the number of users after 30 months.
Solution
Since x is measured in months, then x = 12 at the end of one year.
Linear Growth Model:
When x = 12 months, then y = 10000 + 1500(12) = 28, 000 users
When x = 30 months, then y = 10000 + 1500(30) = 55, 000 users
Exponential Growth Model:
When x = 12 months, then y = 10000(1.1 12
) = 31, 384 users
When x = 30 months, then y = 10000(1.1 30
) = 174, 494 users
We see that as x, the number of months, gets larger, the exponential growth function grows large faster than the linear function
(even though in Example 7.1.2 the linear function initially grew faster). This is an important characteristic of exponential growth:
exponential growth functions always grow faster and larger in the long run than linear growth functions.
It is helpful to use function notation, writing y = f (t) = ab , to specify the value of t at which the function is evaluated.
t
Example 7.1.3
A forest has a population of 2000 squirrels that is increasing at the rate of 3% per year. Let t = number of years and
y = f (t) = number of squirrels at time t .
a. Find the exponential growth function that models the number of squirrels in the forest at the end of t years.
b. Use the function to find the number of squirrels after 5 years and after 10 years
Solution
a. The exponential growth function is y = f (t) = ab , where a = 2000 because the initial population is 2000 squirrels
t
The annual growth rate is 3% per year, stated in the problem. We will express this in decimal form as r = 0.03
Then b = 1 + r = 1 + 0.03 = 1.03
Answer: The exponential growth function is y = f (t) = 2000(1.03) t
Example 7.1.4
A large lake has a population of 1000 frogs. Unfortunately the frog population is decreasing at the rate of 5% per year. Let t =
number of years and y = g(t) = the number of frogs in the lake at time t .
a. Find the exponential decay function that models the population of frogs.
b. Calculate the size of the frog population after 10 years.
7.1.4 https://math.libretexts.org/@go/page/40176
Solution
a. The exponential decay function is y = g(t) = ab , where a = 1000 because the initial population is 1000 frogs
t
The annual decay rate is 5% per year, stated in the problem. The words decrease and decay indicated that r is negative. We
express this as r = −0.05 in decimal form.
Then, b = 1 + r = 1 + (−0.05) = 0.95
Answer: The exponential decay function is: y = g(t) = 1000(0.95) t
Example 7.1.5
A population of bacteria is given by the function y = f (t) = 100(2) , where t is time measured in hours and y is the number
t
t
800 = 100(2)
Divide both sides by 100 to isolate the exponential expression on the one side
t
8 = 1(2)
Later we will use logarithms to solve equations that have the variable in the exponent.
To solve 800 = 100(2) , we divided both sides by 100 to isolate the exponential expression 2 . We can not multiply 100 by 2.
t t
The exponent applies only to the quantity immediately before it, so the exponent t applies only to the base of 2.
7.1.5 https://math.libretexts.org/@go/page/40176
The variable x is in the base. The exponent p is a non-zero number, and the exponents decrease until the final exponent is
zero.
x 2
x y = f (x) = 2x y = g(x) = 2 y = h(x) = x
0 0 1 0
1 2 2 1
2 4 4 4
3 6 8 9
4 8 16 16
5 10 32 25
6 12 64 36
10 20 1024 100
How to recognize equation all terms are first degree; base is a number b > 0 ; variable is in the base;
for this type of function. m is slope; b is the y intercept the variable is in the exponent exponent is a number p ≠ 0
For the functions in the previous table: linear function y = f (x) = 2x , exponential function y = g(x) = 2 , and polynomial x
function y = h(x) = x , if we restrict the domain to x ≥ 0 only, then all these functions are growth functions. When x ≥ 0 , the
2
Example 7.1.6
b. y = −200 − 30x
c. y = 1000(1.05) x
d. y = 500(0.75) x
e. y = −0.2x 4
f. y = 5x − 1
g. y = 6x + 3x
2
Solution:
The exponential functions are
c. y = 1000(1.05) The variable is in the exponent; the base is the number b = 1.05
x
d. y = 500(0.75) The variable is in the exponent; the base is the number b = 0.75
x
7.1.6 https://math.libretexts.org/@go/page/40176
f. y = 5x − 1
The polynomial functions are
a. y = 10x The variable is the base; the exponent is a fixed number, p = 3 .
3
g. y = 6x 2
+ 3x The variable is the base; the exponent is a number, p = 2 .
NATURAL BASE: e
The number e is often used as the base of an exponential function. e is called the natural base.
e is approximately 2.71828
e is an irrational number with an infinite number of decimals; the decimal pattern never repeats. Section 8.2 includes an example
that shows how the value of e is developed and why this number is mathematically important.
When e is the base in an exponential growth or decay function, it is referred to as continuous growth or continuous decay. We
will use e in Chapter 8 in financial calculations when we examine interest that compounds continuously.
In general, if we know one form of the equation, we can find the other forms. For now, we have not yet covered the skills to find k
when we know b . After we learn about logarithms later in this chapter, we will find k using natural log: k = ln b .
The table below summarizes the forms of exponential growth and decay functions.
The value of houses in a city are increasing at a continuous growth rate of 6% per year. For a house that currently costs
$400,000:
a. Write the exponential growth function in the form y = ae . kx
7.1.7 https://math.libretexts.org/@go/page/40176
0.06
b=e
b = 1.06183657 ≈ 1.0618
x
y = 400000(1.0618)
1 + r = 1.0618
r = 0.0618
Example 7.1.8
Suppose that the value of a certain model of new car decreases at a continuous decay rate of 8% per year. For a car that costs
$20,000 when new:
a. Write the exponential decay function in the form y = ae . kx
−0.08
b=e
b = 0.9231163464 ≈ 0.9231
x
y = 20000(0.9231)
l + r = 0.9231
r = 0.9231 − 1 = −0.0769
This page titled 7.1: Exponential Growth and Decay Models is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by
Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit
history is available upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
7.1.8 https://math.libretexts.org/@go/page/40176
7.1E: Exercises - Exponential Growth and Decay Models
PROBLEM SET: EXPONENTIAL GROWTH AND DECAY FUNCTIONS
Identify each as an exponential, linear, or polynomial function.
1. y = 640 (1.25 )
x
2. y = 640 (x
1.25
)
5. y = 90 − (4/5)x 6. y = 42 (0.92 )
x
7. y = 37 (x
0.25
) 8. y = 4(1/3)
x
9. y = 127e
−0.35t
10. y = 70 (0.8 )
t
b. state the annual growth rate or annual decay rate as a percent, accurate to 2 decimal places
13. y = 127e
−0.35t
14. y = 16e
0.4t
15. y = 17250e
0.24t
16. y = 4700e
−0.07t
Identify if the function represents exponential growth, exponential decay, linear growth, or linear decay. In each case write the
function and find the value at the indicated time.
17. A house was purchased for $350,000 in the year 2010. The value has 18. A house was purchased for $350,000 in the year 2010. The value has
been increasing by $7,000 per year. Write the function and find the been increasing at the rate of 2% per year. Write the function and find
value of the house after 5 years. the value of the house after 5 years.
19. A lab purchases new equipment for $50,000. Its value depreciates 20. A lab purchases new equipment for $50,000. Its value depreciates
over time. The value decreases at the rate of 6% annually. Write the over time. The value decreases by $3000 annually. Write the function
function and find the value after 10 years. and find the value after 10 years
21. A population of bats in a cave has 200 bats. The population is 22. A population of bats in a cave has 200 bats. The population is
increasing by 10 bats annually. Write the function. How many bats increasing at the rate of 5% annually. Write the function. How many
live in the cave after 7 years? bats live in the cave after 7 years?
23. A population of a certain species of bird in a state park has 300 24. A population of a certain species of bird in a state park has 300 birds.
birds. The population is decreasing at the rate of 7% year. Write the The population decreases by 20 birds per year. Write the function.
function. How many birds are in the population after 6 years? How many birds are in the population after 6 years?
In problems 25-28, the problem represents exponential growth or decay and states the CONTINUOUS growth rate or continuous
decay rate. Write the exponential growth or decay function and find the value at the indicated time.
Hint: Use the form of the exponential function that is appropriate when the CONTINUOUS growth or decay rate is given.
7.1E.1 https://math.libretexts.org/@go/page/40177
26. The price of a machine needed by a production factory is $28,000.
25. A population of 400 microbes increases at the continuous growth The business expects to replace the machine in 4 years. Due to
rate of 26% per day. Write the function and find the number of inflation the price of the machine is increasing at the continuous rate
microbes in the population at the end of 7 days. of 3.5% per year. Write the function and find the value of the
machine 4 years from now.
This page titled 7.1E: Exercises - Exponential Growth and Decay Models is shared under a CC BY 4.0 license and was authored, remixed, and/or
curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a
detailed edit history is available upon request.
7.1E.2 https://math.libretexts.org/@go/page/40177
7.2: Graphs and Properties of Exponential Growth and Decay Functions
Learning Objectives
In this section, you will:
Examine properties of exponential functions.
Examine graphs of exponential functions.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
Indicate if the function represents exponential growth or exponential decay.
1. y = 127e −0.35t
2. y = 70 (0.8 ) t
3. y = 453 (1.2 ) t
4. y = 16e 0.2t
kx
= ae
where
ais the initial value because f (0) = a . In the growth and decay models that we examine in this finite math textbook, a > 0 .
bis often called the growth factor. We restrict b to be positive (b > 0 ) because even roots of negative numbers are undefined.
We want the function to be defined for all values of x, but b would be undefined for some values of x if b < 0 .
x
7.2.1 https://math.libretexts.org/@go/page/40178
r is called the growth or decay rate. In the formula for the functions, we use r in decimal form, but in the context of a problem
we usually state r as a percent.
k is called the continuous growth rate or continuous decay rate.
7.2.2 https://math.libretexts.org/@go/page/40178
An Exponential Function is a One-to-One Function
Observe that in the graph of an exponential function, each y value on the graph occurs only once. Therefore, every y value in the
range corresponds to only one x value. So, for any particular value of y, you can use the graph to see which value of x is the input
to produce that y value as output. This property is called “one-to-one”.
Because for each value of the output y, you can uniquely determine the value of the corresponding input x, thus every exponential
function has an inverse function. The inverse function of an exponential function is a logarithmic function, which we will
investigate in the next section.
Example 7.2.1
x years after the year 2015, the population of the city of Fulton is given by the function y = f (x) = 35000(1.03) . x years x
after the year 2015, the population of the city of Greenville is given by the function y = g(x) = 80000(0.95) . Use a graphing x
x x
y = f (x) = 35000(1.03) y = g(x) = 80000(0.95)
Horizontal Asymptote: The negative x axis is the horizontal Horizontal Asymptote: The positive x axis is the horizontal
asymptote. y → 0 as x → − ∞ asymptote. y → 0 as x → ∞
Domain: In general, the domain of both functions y = f (x) = 35000(1.03) and y = g(x) = 80000(0.95) is the set of all
x x
real numbers. Since x is the years after 2015, negative x-values would represent years before 2015.
Range: The range of both functions is the set of positive real numbers. Both graphs always lie above the x-axis.
7.2.3 https://math.libretexts.org/@go/page/40178
Domain and Range in context of this problem:
The functions represent population size as a function of time after the year 2015 . We restrict the domain in this context, using
the “practical domain” as the set of all non-negative real numbers: x ≥ 0 . Then we would consider only the portion of the
graph that lies in the first quadrant.
If we restrict the domain to x ≥ 0 for the growth function y = f (x) = 35000(1.03) , then the range for the population of
x
Example 7.2.2
A car was purchased for $24,000 in the year 2015. Its value has been decreasing at a rate of 3% each year.
a. Write the function for the value of the car after t years. Use the form f (x) = ab .x
Example 7.2.3
b. Using the form f (x) = ab , which of the four functions has the largest value for b ?
x
Solution
a. The value of a represents the y-intercept. Graph B has the largest value of a since it has the highest y-intercept.
b. The value of b represents the growth or decay factor. A large value of b represents fast growth. Graph C has the largest
value of b since it is the steepest graph, or the one growing the fastest.
7.2.4 https://math.libretexts.org/@go/page/40178
This page titled 7.2: Graphs and Properties of Exponential Growth and Decay Functions is shared under a CC BY 4.0 license and was authored,
remixed, and/or curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts
platform; a detailed edit history is available upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
7.2.5 https://math.libretexts.org/@go/page/40178
7.2E: Exercises - Graphs and Properties of Exponential Growth and Decay
Functions
PROBLEM SET: GRAPHS AND PROPERTIES OF EXPONENTIAL GROWTH AND DECAY
FUNCTIONS
In questions 1-4, let t = time in years and y = the value at time t or y = the size of the population at time t . The domain is the set of
non-negative values for t ; t ≥ 0 , because y represents a physical quantity and negative values for time may not make sense. For
each question:
a. Write the formula for the function in the form y = ab t
b. Sketch the graph of the function and mark the coordinates of the y-intercept.
1. A house was purchased for $350,000 in the year 2010. The value has 2. A population of a certain species of bird in a state park has 300 birds.
been increasing at the rate of 2% per year. The population is decreasing at the rate of 7% year.
3. A lab buys equipment $50,000. Its value depreciates over time. The 4. A population of bats in a cave has 200 bats. The population is
value decreases at the rate of 6% annually. increasing at the rate of 5% annually.
In questions 5-8, let t = time in years and y = the value at time t or y = the size of the population at time t . The domain is the set of
non-negative values for t ; t ≥ 0 , because y represents a physical quantity and negative values for time may not make sense. For
each question:
a. Write the formula for the function in the form y = ae kt
b. Sketch the graph of the function and mark the coordinates of the y-intercept.
7. A population of an endangered species consists of 4000 animals of 8. A business buys a computer system for $12000. The value of the
that species. The population is decreasing at the continuous rate of system is depreciating and decreases at the continuous rate of 20%
12% per year. per year.
9. x
y = 10 (1.5 ) 10. 1.2x
y = 10 (e )
11. y = 32 (0.75 )
x
12. y = 200 (e
−0.5x
)
This page titled 7.2E: Exercises - Graphs and Properties of Exponential Growth and Decay Functions is shared under a CC BY 4.0 license and
was authored, remixed, and/or curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the
LibreTexts platform; a detailed edit history is available upon request.
7.2E.1 https://math.libretexts.org/@go/page/40179
7.3: Logarithms and Logarithmic Functions
Learning Objectives
In this section you will learn to:
Write equivalent logarithmic and exponential expressions.
Evaluate logs.
Use properties of logs to solve exponential equations.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Use patterns to simplify each exponent without the use of a calculator.
a. 4 3
b. 4 2
c. 4 1
d. 4 0
e. 4 −1
f. 4
−2
g. 4 −3
b. 4 2
= 16
c. 4 1
=4
d. 4 0
=1
1
e. 4 −1
=
4
1
f. 4 −2
=
16
1
g. 4 −3
=
64
If you missed this problem, review here. (Note that this will open a YouTube video in a new window.)
a. 4 2
b. 9 2
1
–
b. 9 2 = √9 = 3
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
7.3.1 https://math.libretexts.org/@go/page/40180
3. What can "easily" be determined about x in each equation?
a. 4x
=4
b. 4 x
=8
c. 4x
= 16
The Logarithm
Suppose that a population of 50 flies is expected to double every week, leading to a function of the form f (x) = 50(2) , where x
x
represents the number of weeks that have passed. When will this population reach 500?
Trying to solve this problem leads to
x
500 = 50(2)
While we have set up exponential models and used them to make predictions, you may have noticed that solving exponential
equations has not yet been mentioned. The reason is simple: none of the algebraic tools discussed so far are sufficient to solve
exponential equations. Consider the equation 2x = 10 above. We know that 23 = 8 and 24 = 16, so it is clear that x must be some
value between 3 and 4 since g(x) = 2x is increasing. We could use technology to create a table of values or graph to better estimate
the solution, but we would like to find an algebraic way to solve the equation.
We need an inverse operation to exponentiation in order to solve for the variable if the variable is in the exponent. The inverse
function for an exponential function is a logarithmic function.
Logarithm
The logarithm (base b) function, written logb (x), is the inverse of the exponential function (base b), bx.
y
y = logb (x) is equivalent to b = x
Since log is a function, it is most correctly written as logb (c), using parentheses to denote function evaluation, just as we would
with f(c). However, when the input is a single variable or number, it is common to see the parentheses dropped and the expression
written as logb c.
7.3.2 https://math.libretexts.org/@go/page/40180
Example 7.3.1
1000
1
Solution
a. 23 = 8 can be written as a logarithmic equation as log2 (8) = 3
b. 52 = 25 can be written as a logarithmic equation as log5 (25) = 2
c. 10−3
=
1
1000
can be written as a logarithmic equation as log
10
(
1
1000
) = −3
Example 7.3.2
b. log 3
(81) = 4
Solution
a. log 7
(49) = 2 can be written as an exponential equation as 7 2
= 49
b. log 3
(81) = 4 can be written as an exponential equation as 3
4
= 81
By establishing the relationship between exponential and logarithmic functions, we can now solve basic logarithmic and
exponential equations by rewriting.
Example 7.3.3
Example 7.3.4
7.3.3 https://math.libretexts.org/@go/page/40180
Example 7.3.5
100 102 2
1
10 10 1
0
1 10 0
0.1 10-1 -1
0.01 10-2 -2
-3
0.001 10 -3
x = log(100)
Then rewrite the equation in exponential form using the common log base of 10
x
10 = 100
x =2
Example 7.3.6
1
Evaluate log( ) using the definition of the common log.
1, 000
Solution
To evaluate log(1/1,000), we can say
3 −3
x = log(1/1, 000) = log(1/ 10 ) = log(10 )
Therefore x = −3
Alternatively, we can use the inverse property of logs to find the answer:
−3
log10 (10 ) = −3
Example 7.3.7
Solution
7.3.4 https://math.libretexts.org/@go/page/40180
a. To evaluate ln e , we can say
x = ln e
Then rewrite into exponential form using the natural log base of e
x
e =e
Notice that there isn't an exponent shown on the right side, so the exponent must be 1.
x 1
e =e
Therefore x = 1 .
It is a good idea to remember that ln e = 1 .
b. To evaluate ln e , we can say
5
5
x = ln e
Then rewrite into exponential form using the natural log base of e
x 5
e =e
Therefore x = 5 .
Alternatively, we can use the inverse property of logs to write ln(e 5
) =5 .
Example 7.3.8
logc (A)
log (A) = for any bases b, c > 0
b
logc (b)
The change of base property allows us to easily convert logarithms into base 10 or base e.
The one-to-one property of logs allows us to take the logarithm of both sides of an equation.
7.3.5 https://math.libretexts.org/@go/page/40180
Properties of Logs: Power Property
q
logb (A ) = q logb (A)
The power property allows us to move a variable out of an exponent. When used in conjunction with the one-to-one property of
logs, this becomes a convenient way to isolate the variable when it is in the exponent.
Evaluating Logarithms
Example 7.3.9
Evaluate log 5
(100) using the change of base formula.
Solution
We can rewrite this expression using any other base.
Method 1: We can use natural logarithm base e with the change of base formula
ln(100)
log5 (100) = = LN(100)/LN(5) ≈ 2.861
ln(5)
Method 2: We can use common logarithm base 10 with the change of base formula,
log(100)
log (100) = = LOG(100)/LOG(5) ≈ 2.861
5
log(5)
logc (A)
With the change of base formula, logb (A) =
logc (b)
for any bases b , c >0 , we can finally find a decimal approximation to our
question from the beginning of the section.
Example 7.3.10
Solve 2x
= 10 for x.
Solution
Method 1: Use the definition of logarithms, followed by the change of base formula.
x
2 = 10
Use the definition of logarithms to rewrite the exponential equation as a logarithmic equation:
x = log2 (10)
Using the change of base formula, we can rewrite log base 2 as a logarithm of any other base. Since our calculators can
evaluate natural log, one option is to choose to use the natural logarithm, which is the log base e:
ln(10)
Using our calculators to evaluate this, ln(2)
= LN(10)/LN(2) ≈ 3.3219
Method 2: Use the one-to-one property of logarithms, followed by the power property, to isolate the exponent.
x
2 = 10
Use the one-to-one property of logarithms to take the logarithm of both sides of the equation.
x
log(2 ) = log(10)
Apply the power property to move the exponent out of the logarithm.
x log(2) = log(10)
7.3.6 https://math.libretexts.org/@go/page/40180
log(10)
x = ≈ 3.3219
log(2)
This finally allows us to answer our original question from the beginning of this section:
For the population of 50 flies that doubles every week, it will take approximately 3.32 weeks to grow to 500 flies.
Example 7.3.11
Solve 2(3) 5x
= 24 for x by using the one-to-one property of logs.
Solution
First, isolate the exponential expression by dividing both sides by 2.
5x
2(3 ) = 24
5x
3 = 12
Then use the one-to-one property of logarithms to take the logarithm of both sides of the equation.
5x
log(3 ) = log(12)
Apply the power property to move the exponent out of the logarithm.
5x log(3) = log(12)
The x is multiplied by both the 5 and the log(3), so divide both sides by 5 log(3) to isolate the variable.
log(12)
x = ≈ 0.4524
5 log(3)
Logarithms
The logarithm (base b) function, written logb(x), is the inverse of the exponential function (base b), bx.
y
y = logb (x) is equivalent to b = x
logc (A)
Properties of Logs: Change of Base: log b
(A) =
logc (b)
for any base b, c > 0
The inverse, exponential, and change of base properties above will allow us to solve the equations that arise in this course.
For the sake of completeness, we state a few more properties of logarithms here.
7.3.7 https://math.libretexts.org/@go/page/40180
Difference of Logs Property: log b
(A) − logb (C ) = logb (
A
C
)
C
) = − logb (C )
Source: The material in this section of the textbook originates from David Lippman and Melonie Rasmussen, Open Text Bookstore,
Precalculus: An Investigation of Functions, “Chapter 4: Exponential and Logarithmic Functions,” licensed under a Creative
Commons CC BY-SA 3.0 license. The material here is based on material contained in that textbook but has been modified by
Roberta Bloom, as permitted under this license.
This page titled 7.3: Logarithms and Logarithmic Functions is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by
Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit
history is available upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
7.3.8 https://math.libretexts.org/@go/page/40180
7.3E: Exercises - Logarithms and Logarithmic Functions
PROBLEM SET: LOGARITHMS AND LOGARITHMIC FUNCTIONS
Rewrite each of these exponential expressions in logarithmic form:
1. 3
4
= 81 2. 10
5
= 100, 000
3. 5
−2
= 0.04 4. 4
−1
= 0.25
5. 16
1/4
= 2 6. 9
1/2
= 3
7. log
5
625 = 4 8. log (1/32) = −5
2
9. log
11
1331 = 3 10. log
10
0.0001 = −4
11. log
64
4 = 1/3 12. ln √e =
1
13. 5
x
= 15625 14. x = 9
3
15. log
5
125 = x 16. log
3
x = 5
17. log
10
y = 4 18. e
x
= 10
19. ln x = −1 20. e
5
= y
23. log
10
(x) = −3 24. log (x) = 6
3
25. log
25
(x) = 1/2 26. log
64
(x) = 1/3
27. ln √e
3
28. ln
1
e2
29. ln e
10
30. log
10
(10 )
e
For problems 31 – 38: Evaluate using your calculator. Use the change of base formula if needed
35. log
4
36 36. log
7
100
7.3E.1 https://math.libretexts.org/@go/page/40181
37. log
105
3.5 38. log
1.067
2
This page titled 7.3E: Exercises - Logarithms and Logarithmic Functions is shared under a CC BY 4.0 license and was authored, remixed, and/or
curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a
detailed edit history is available upon request.
7.3E.2 https://math.libretexts.org/@go/page/40181
7.4: Graphs and Properties of Logarithmic Functions
Learning Objectives
In this section, you will learn to:
Examine properties of logarithmic functions.
Examine graphs of logarithmic functions.
Examine the relationship between graphs of exponential and logarithmic functions.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Consider f (x) = 2 .x
a. Graph f (x).
b. Identify any x− or y− intercepts.
c. Identify any asymptotes.
d. Identify the point (1, ___).
a.
b. f (x) = 2 has a y−intercept at (0, 1).
x
If you missed this problem, review Section 7.2. (Note that this will open in a new window.)
2. Consider g(x) = 5 .x
a. Graph g(x).
b. Identify any x− or y− intercepts.
c. Identify any asymptotes.
d. Identify the point (1, ___).
7.4.1 https://math.libretexts.org/@go/page/40182
a.
b. g(x) = 5 x
has a y−intercept at (0, 1).
c. g(x) = 5 x
has an asymptote at y = 0 .
d. g(x) = 5 x
includes the point (1, 5).
If you missed this problem, review Section 7.2. (Note that this will open in a new window.)
3. Consider h(x) = e . x
a. Graph h(x).
b. Identify any x− or y− intercepts.
c. Identify any asymptotes.
d. Identify the point (1, ___).
a.
b. h(x) = e has a y−intercept at (0, 1).
x
If you missed this problem, review Section 7.2. (Note that this will open in a new window.)
Recall that the exponential function f (x) = 2 produces this table of values
x
x -3 -2 -1 0 1 2 3
g(x) -3 -2 -1 0 1 2 3
7.4.2 https://math.libretexts.org/@go/page/40182
In this second table, notice that
1. As the input increases, the output increases.
2. As input increases, the output increases more slowly.
3. Since the exponential function only outputs positive values, the logarithm can only accept positive values as inputs, so the
domain of the log function is (0, ∞).
4. Since the exponential function can accept all real numbers as inputs, the logarithm can have any real number as output, so the
range is all real numbers or (−∞, ∞).
Plotting the graph of g(x) = log (x) from the points in the table, notice that as the input values for x approach zero, the output of
2
the function grows very large in the negative direction, indicating a vertical asymptote at x = 0 .
In symbolic notation we write
as x → 0 , f (x) → −∞
+
and as x → ∞, f (x) → ∞
7.4.3 https://math.libretexts.org/@go/page/40182
The graph has a horizontal intercept at (1, 0)
The line x = 0 (the y-axis) is a vertical asymptote; as x → 0 +
,y → ∞
Example 7.4.1
Sketch each of the following functions by graphing the vertical asymptote, the intercept, and the point (b , 1).
a. f (x) = log (x) 2
c. h(x) = log(x)
d. j(x) = ln(x)
Solution
All logarithmic graphs in the form f (x) = log b
(x) will have a vertical asymptote on the y-axis and an x-intercept at (1, 0).
a. f (x) = log 2
(x) will have a point at (2, 1).
b. g(x) = log 5
(x) will have a point at (5, 1).
c. h(x) = log(x) represents the common log and has a base of 10, therefore it will have a point at (10, 1).
7.4.4 https://math.libretexts.org/@go/page/40182
d. j(x) = ln(x) represents the natural log and has a base of e, therefore it will have a point at (e, 1).
of y = log (x)
b
For this reason, the graphs appear as reflections, or mirror images, of each other across the diagonal line y = x . This is a property
of graphs of inverse functions that students should recall from their study of inverse functions in their prerequisite algebra class.
y = b
x
, with b > 0 y = logb (x) , with b > 0
7.4.5 https://math.libretexts.org/@go/page/40182
y = b
x
, with b > 0 y = log
b
(x) , with b > 0
Source: The material in this section of the textbook originates from David Lippman and Melonie Rasmussen, Open Text Bookstore,
Precalculus: An Investigation of Functions, “Chapter 4: Exponential and Logarithmic Functions,” licensed under a Creative
Commons CC BY-SA 3.0 license. The material here is based on material contained in that textbook but has been modified by
Roberta Bloom, as permitted under this license.
This page titled 7.4: Graphs and Properties of Logarithmic Functions is shared under a CC BY 4.0 license and was authored, remixed, and/or
curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a
detailed edit history is available upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
7.4.6 https://math.libretexts.org/@go/page/40182
7.4E: Exercises - Graphs and Properties of Logarithmic Functions
PROBLEM SET: GRAPHS AND PROPERTIES OF LOGARITHMIC FUNCTIONS
Questions 1 – 3: For each of the following functions
a. Sketch a reasonably accurate graph showing the shape of the graph of the function
b. State the domain
c. State the range
d. State whether the graph has a vertical asymptote or a horizontal asymptote and write the equation of that asymptote
e. Does the graph have an x-intercept or a y-intercept asymptote? Write the coordinates of the x-intercept or the y-intercept.
b. domain: ________
c. range: ________
1. y = ln x
d. Is the asymptote horizontal or vertical? _________
a. Sketch the graph below
Equation of the asymptote: ________
e. Coordinates of x-intercept or y-intercept: ________
b. domain: ________
c. range: ________
2. y = log x
d. Is the asymptote horizontal or vertical? _________
a. Sketch the graph below
Equation of the asymptote: ________
e. Coordinates of x-intercept or y-intercept: ________
b. domain: ________
c. range: ________
3. y = log0.8 x
d. Is the asymptote horizontal or vertical? _________
a. Sketch the graph below
Equation of the asymptote: ________
e. Coordinates of x-intercept or y-intercept: ________
a. Sketch a reasonably accurate graph showing the shape of the graph of the function
b. State the domain
c. State the range
d. State whether the graph has a vertical asymptote or a horizontal asymptote and write the equation of that asymptote
e. Does the graph have an x-intercept or a y-intercept asymptote? Write the coordinates of the xintercept or the y-intercept.
b. domain: ________
c. range: ________
4. y = e
x
b. domain: ________
c. range: ________
5. y = ln x
d. Is the asymptote horizontal or vertical? _________
a. Sketch the graph below
Equation of the asymptote: ________
e. Coordinates of x-intercept or y-intercept: ________
7.4E.1 https://math.libretexts.org/@go/page/40183
x x −0.6x 0.3x
y = 3 (2 ) y = 5 (0.4 ) y = log (x) y = log (x) y = 3e y = 5e
2 1/2
This page titled 7.4E: Exercises - Graphs and Properties of Logarithmic Functions is shared under a CC BY 4.0 license and was authored,
remixed, and/or curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts
platform; a detailed edit history is available upon request.
7.4E.2 https://math.libretexts.org/@go/page/40183
7.5: Applications of Exponential and Logarithmic Functions
Learning Objectives
Below we examine each strategy with one or two examples of its use.
STRATEGY A: If the coefficient, base, and exponent are all known, we only need to evaluate the expression for
coefficient(base)exponent to evaluate its value.
Example 7.5.1
Suppose that a stock’s price is rising at the rate of 7% per year, and that it continues to increase at this rate. If the value of one
share of this stock is $43 now, find the value of one share of this stock three years from now.
Solution
Let y = the value of the stock after t years: y = abt
STRATEGY B: If the variable is the coefficient, evaluate the expression for (base) exponent. Then it becomes a linear
equation which we solve by dividing to isolate the variable.
Example 7.5.2
The value of a new car depreciates (decreases) after it is purchased. Suppose that the value of the car depreciates according to
an exponential decay model. Suppose that the value of the car is $12000 at the end of 5 years and that its value has been
decreasing at the rate of 9% per year. Find the value of the car when it was new.
Solution
7.5.1 https://math.libretexts.org/@go/page/40184
Let y be the value of the car after t years: y = ab , r = -0.09 and b = 1 + r = 1 + (−0.09) = 0.91
t
In this case we know that when t = 5, then y = 12000; substituting these values gives
5
12000 = a(0.91)
We need to solve for the initial value a, the purchase price of the car when new.
First evaluate (0.91)5 ; then solve the resulting linear equation to find a .
1200 = a(0.624)
a =
12000
0.624
= $19, 230.77 ; The car's value was $19,230.77 when it was new.
STRATEGY C: If the variable is in the exponent, use logarithms to solve the equation.
Example 7.5.3
A national park has a population of 5000 deer in the year 2016. Conservationists are concerned because the deer population is
decreasing at the rate of 7% per year. If the population continues to decrease at this rate, how long will it take until the
population is only 3000 deer?
Solution
Let y be the number of deer in the national park t years after the year 2016: y = ab t
t
0.6 = 0.93
Rewrite the equation in logarithmic form; then use the change of base formula to evaluate.
t = log0.93(0.6)
ln(0.6)
t =
ln(0.93)
= 7.039 years; After 7.039 years, there are 3000 deer.
Note: In Example 7.5.3, we needed to state the answer to several decimal places of precision to remain accurate. Evaluating
the original function using a rounded value of t = 7 years gives a value that is close to 3000, but not exactly 3000.
7
y = 5000(0.93 ) = 3008.5 deer
However using t = 7.039 years produces a value of 3000 for the population of deer
7.039
y = 5000(0.93 ) = 3000.0016 ≈ 3000 deer
Example 7.5.4
A video posted on YouTube initially had 80 views as soon as it was posted. The total number of views to date has been
increasing exponentially according to the exponential growth function y = 80e , where t represents time measured in days
0.2t
since the video was posted. How many days does it take until 2500 people have viewed this video?
Solution
7.5.2 https://math.libretexts.org/@go/page/40184
Let y be the total number of views t days after the video is initially posted.
We are given that the exponential growth function is y = 80e and we want to find the value of
0.2t
t for which y = 2500.
Substitute y = 2500 into the equation and use natural log to solve for t .
0.12t
2500 = 80e
Divide both sides by the coefficient, 80, to isolate the exponential expression.
2500 80 0.12t
= e
80 80
0.12t
31.25 = e
0.12t = ln(31.25)
Divide both sides by 0.04 to isolate t ; then use your calculator and its natural log function to evaluate the expression and solve
for t .
ln(31.25)
t =
0.12
3.442
t =
0.12
t ≈ 28.7 days
This video will have 2500 total views approximately 28.7 days after it was posted.
STRATEGY D: If the variable is not in the exponent, but is in the base, we use roots to solve the equation.
It is important to remember that we only use logarithms when the variable is in the exponent.
Example 7.5.5
A statistician creates a website to analyze sports statistics. His business plan states that his goal is to accumulate 50,000
followers by the end of 2 years (24 months from now). He hopes that if he achieves this goal his site will be purchased by a
sports news outlet. The initial user base of people signed up as a result of pre-launch advertising is 400 people. Find the
monthly growth rate needed if the user base is to accumulate to 50,000 users at the end of 24 months.
Solution
Let y be the total user base t months after the site is launched.
The growth function for this site is y = 400(1 + r) ;t
We don’t know the growth rate r. We do know that when t = 24 months, then y = 50000.
Substitute the values of y and t ; then we need to solve for r.
24
5000 = 400(1 + r)
Divide both sides by 400 to isolate (1+r)24 on one side of the equation
50000 400 24
= (1 + r)
400 400
24
125 = (1 + r)
1/24
125 = 1 +r
1.2228 ≈ 1 + r
0.2228 ≈ r
The website’s user base needs to increase at the rate of 22.28% per month in order to accumulate 50,000 users by the end of 24
months.
7.5.3 https://math.libretexts.org/@go/page/40184
Example 7.5.6
A fact sheet on caffeine dependence from Johns Hopkins Medical Center states that the half life of caffeine in the body is
between 4 and 6 hours. Assuming that the typical half life of caffeine in the body is 5 hours for the average person and that a
typical cup of coffee has 120 mg of caffeine.
a. Write the decay function.
b. Find the hourly rate at which caffeine leaves the body.
c. How long does it take until only 20 mg of caffiene is still in the body?
www.hopkinsmedicine.org/psyc...fact_sheet.pdf
Solution
a. Let y be the total amount of caffeine in the body t hours after drinking the coffee.
Exponential decay function y = ab models this situation.
t
1 5
(120) = 120 b
2
5
60 = 120b
Divide both sides by 120 to isolate the expression b that contains the variable.
5
60 120 5
= b
120 120
5
0.5 = b
The variable is in the base and the exponent is a number. Use roots to solve for b :
5 −
−−
√0.5 = b
1/5
0.5 =b
0.87 = b
We can now write the decay function for the amount of caffeine (in mg.) remaining in the body t hours after drinking a cup of
coffee with 120 mg of caffeine
t
y = f (t) = 120(0.87)
b. Use b = 1 + r to find the decay rate r. Because b = 0.87 < 1 and the amount of caffeine in the body is decreasing over
time, the value of r will be negative.
0.87 = 1 + r
r = −0.13
The decay rate is 13%; the amount of caffeine in the body decreases by 13% per hour.
c. To find the time at which only 20 mg of caffeine remains in the body, substitute y = 20 and solve for the corresponding value
of t .
t
y = 120(.87)
t
20 = 120(.87)
t
0.1667 = 0.87
Rewrite the expression in logarithmic form and use the change of base formula
7.5.4 https://math.libretexts.org/@go/page/40184
t = log (0.1667)
0.87
ln(0.1667)
t = ≈ 12.9 hours
ln(0.87)
Example 7.5.7
Solution
a. Express y = 3500e 0.25t
in the form y = ab t
kt t
y = ae = ab
t
k t
a(e ) = ab
Thus e k
=b
1.284 = 1 + r
0.284 = r
The continuous growth rate is k = 0.25 and the annual percentage growth rate is 28.4% per year.
b. Express y = 28000e −0.32t
in the form y = ab t
kt t
y = ae = ab
t
k t
a(e ) = ab
Thus e k
=b
0.2739 = r
The continuous decay rate is k = -0.32 and the annual percentage decay rate is 27.39% per year.
In the sentence, we omit the negative sign when stating the annual percentage decay rate because we have used the word
“decay” to indicate that r is negative.
7.5.5 https://math.libretexts.org/@go/page/40184
Example 7.5.8
a. Express y = 4200(1.078) in the form y = ae
t kt
Solution
a. Express y = 4200(1.078) in the form y = ae
t kt
kt t
y = ae = ab
t t
k
a (e ) = ab
k
e =b
k
e = 1.078
kt t
y = ae = ab
t
k t
a(e ) = ab
k
e =b
k
e = 0.73
Example 7.5.9
Suppose that Vinh invests $10000 in an investment earning 5% per year. He wants to know how long it would take his
investment to accumulate to $12000, and how long it would take to accumulate to $15000.
Solution
We start by writing the exponential growth function that models the value of this investment as a function of the time since the
$10000 is initially invested
t
y = 10000(1.05)
We divide both sides by 10000 to isolate the exponential expression on one side.
y
t
= 1.05
10000
Next we rewrite this in logarithmic form to express time as a function of the accumulated future value. We’ll use function
notation and call this function g(y) .
y
t = g(y) = log ( )
1.05
10000
Use the change of base formula to express t as a function of y using natural logarithm:
y
ln( )
10000
t = g(y) =
ln(1.05)
7.5.6 https://math.libretexts.org/@go/page/40184
To find the number of years until the value of this investment is $12,000, we substitute y = $12,000 into function g and
evaluate t :
12000
ln( ) ln(1.2)
10000
t = g(12000) = = = 3.74 years
ln(1.05) ln(1.05)
To find the number of years until the value of this investment is $15,000, we substitute y = $15,000 into function g and
evaluate t :
15000
ln( ) ln(1.5)
10000
t = g(15000) = = = 8.31 years
ln(1.05) ln(1.05)
y
ln( )
Before ending this section, we investigate the graph of the function t = g(y) = . We see that the function has the general
10000
ln(1.05)
shape of logarithmic functions that we examined in section 5.5. From the points plotted on the graph, we see that function g is an
increasing function but it increases very slowly.
y
ln( )
If we consider just the function t = g(y) = , then the domain of function would be y > 0 , all positive real numbers, and
10000
ln(1.05)
This page titled 7.5: Applications of Exponential and Logarithmic Functions is shared under a CC BY 4.0 license and was authored, remixed,
and/or curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a
detailed edit history is available upon request.
5.6: Application Problems with Exponential and Logarithmic Functions by Rupinder Sekhon and Roberta Bloom is licensed CC BY 4.0.
Original source: https://www.deanza.edu/faculty/bloomroberta/math11/afm3files.html.html.
7.5.7 https://math.libretexts.org/@go/page/40184
7.5E: Exercises - Applications of Exponential and Logarithmic Functions
PROBLEM SET: APPLICATIONS OF EXPONENTIAL AND LOGARITHMIC FUNCTIONS
1. An investment’s value is rising at the rate of 5% per year. The initial
value of the investment is $20,000 in 2016.
2. The population of a city is increasing at the rate of 2.3% per year,
a. Write the function that gives the value of the investment as a since the year 2000. Its population in 2010 was 137,000 people. Find
function of time t in years after 2016. the population of the city in the year 2000.
b. Find the value of the investment in 2028
c. When will the value be $30,000?
4. An investment has been losing money. Its value has been decreasing
3. The value of a piece of industrial equipment depreciates after it is at the rate of 3.2% per year. The initial value of the investment was
purchased. Suppose that the depreciation follows an exponential $75,000 in 2010.
decay model. The value of the equipment at the end of 8 years is a. Write the function that gives the value of the investment as a
$30,000 and its value has been decreasing at the rate of 7.5% per function of time t in years after 2010.
year. Find the initial value of the equipment when it was purchased. b. If the investment’s value continues to decrease at this rate, find
the value of the investment in 2020.
7. A city has a population of 87,000 people in the year 2000. The city’s 8. An investment of $50,000 is in increasing in value at the rate of 6.3%
population has been increasing at the rate of 1.5% per year. How per year. How many years does it take until the investment is worth
many years does it take until the population reaches 100,000 people? $70,000?
9. A city has a population of 50,000 people in the year 2000. The city’s
10. 200 mg of a medication is administered to a patient. After 3 hours,
population increases at a constant percentage rate. Fifteen years later,
only 100 mg remains in the bloodstream. Using an exponential decay
in 2015, the population of this city was 70,000. Find the annual
model, find the hourly decay rate.
percentage growth rate.
13a. y = 7900e
0.472t
. Write in the form y = ab
t
13b. y = 4567(0.67 )
t
. Write in the form y kt
= ae
13c. y = 18720(1.47 )
t
. Write in the form y = ae
kt
13d. y = 1200e
−0.078t
. Write in the form y = ab
t
This page titled 7.5E: Exercises - Applications of Exponential and Logarithmic Functions is shared under a CC BY 4.0 license and was authored,
remixed, and/or curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts
platform; a detailed edit history is available upon request.
7.5E.1 https://math.libretexts.org/@go/page/40185
7.6: Chapter 7 Review
1. The value of a new boat depreciates after it is purchased. The value of the boat 7 years after it was purchased is $25,000 and its
value has been decreasing at the rate of 8.2% per year.
a. Find the initial value of the boat when it was purchased.
b. How many years after it was purchased will the boat’s value be $20,000?
c. What was its value 3 years after the boat was purchased?
2. Tony invested $40,000 in 2010; unfortunately his investment has been losing value at the rate of 2.7% per year.
a. Write the function that gives the value of the investment as a function of time t in years after 2010.
b. Find the value of the investment in 2020, if its value continues to decrease at this rate.
c. In what year will the investment be worth half its original value?
3. Rosa invested $25,000 in 2005; its value has been increasing at the rate of 6.4% annually.
a. Write the function that gives the value of the investment as a function of time t in years after 2005.
b. Find the value of the investment in 2025.
4. The population of a city is increasing at the rate of 3.2% per year, since the year 2000. Its population in 2015 was 235,000
people.
a. Find the population of the city in the year 2000.
b. In what year with the population be 250, 000 if it continues to grow at this rate.
c. What was the population of this city in the year 2008?
5. The population of an endangered species has only 5000 animals now. Its population has been decreasing at the rate of 12% per
year.
a. If the population continues to decrease at this rate, how many animals will be in this population 4 years from now.
b. In what year will there be only 2000 animals remaining in this population?
6. 300 mg of a medication is administered to a patient. After 5 hours, only 80 mg remains in the bloodstream.
a. Using an exponential decay model, find the hourly decay rate.
b. How many hours after the 300 mg dose of medication was administered was there 125 mg in the bloodstream
c. How much medication remains in the bloodstream after 8 hours?
7. If y = 240b and y = 600 when t = 6 years, find the annual growth rate. State your answer as a percent.
t
a. y = 375000 (1.125 )
t
b. y = 5400e
0.127t
c. y = 230e
−0.62t
d. y = 3600 (0.42 )
t
This page titled 7.6: Chapter 7 Review is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and
Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon
request.
5.7: Chapter Review by Rupinder Sekhon and Roberta Bloom is licensed CC BY 4.0. Original source:
https://www.deanza.edu/faculty/bloomroberta/math11/afm3files.html.html.
7.6.1 https://math.libretexts.org/@go/page/40186
CHAPTER OVERVIEW
8: Finance Applications
Learning Objectives
In this chapter, you will learn to:
1. Solve financial problems that involve simple interest.
2. Solve problems involving compound interest.
3. Find the future value of an annuity, and the amount of payments to a sinking fund.
4. Find the future value of an annuity, and an installment payment on a loan.
This page titled 8: Finance Applications is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and
Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon
request.
1
8.1: Simple Interest and Discount
Learning Objectives
In this section, you will learn to:
Use the simple interest formula to find an account balance, principal, rate, or time.
Find discounts and proceeds.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Solve 5 = 2(x + 9) .
If you missed this problem, review Section 1.1. (Note that this will open in a new window.)
If you missed this problem, review Section 1.1. (Note that this will open in a new window.)
If you missed this problem, review Section 1.1. (Note that this will open in a new window.)
4. Solve 4 = 6(2 − x) .
If you missed this problem, review Section 1.1. (Note that this will open in a new window.)
Simple Interest
It costs to borrow money. The rent one pays for the use of money is called the interest. The amount of money that is being
borrowed or loaned is called the principal, also called the present value. Simple interest is paid only on the original amount
borrowed. When the money is loaned out, the person who borrows the money generally pays a fixed rate of interest on the principal
for the time period he keeps the money. Although the interest rate is most commonly specified for a year, it may be specified for a
week, a month, or a quarter, etc. Credit card companies often list their charges as monthly rates, sometimes it is as high as 1.5% a
month.
8.1.1 https://math.libretexts.org/@go/page/40188
Definition: Simple Interest
If an amount P is borrowed for a time t at an interest rate of r per time period, then the simple interest is given by
I = P ⋅r⋅t (8.1.1)
= P + P rt
or
A = P (1 + rt) (8.1.2)
Example 8.1.1
Ursula borrows $600 for 5 months at a simple interest rate of 15% per year. Find the interest, and the total amount she is
obligated to pay?
Solution
The interest is computed by multiplying the principal with the interest rate and the time.
I = Prt
5
= $600(0.15)
12
= $37.50
= $600 + $37.50
= $637.50
Incidentally, the total amount can be computed directly via Equation 8.1.2 as
A = P (1 + rt)
= $600[1 + (0.15)(5/12)]
= $600(1 + 0.0625)
= $637.50
Example 8.1.2
Jose deposited $2500 in an account that pays 6% simple interest. How much money will he have at the end of 3 years?
Solution
The total amount or the future value is given by Equation 8.1.2.
A = P (1 + rt)
= $2500[1 + (.06)(3)]
A = $2950
8.1.2 https://math.libretexts.org/@go/page/40188
Example 8.1.3
Darnel owes a total of $3060 which includes 12% simple interest for the three years he borrowed the money. How much did he
originally borrow?
Solution
This time we are asked to compute the principal P via Equation 8.1.2.
$3060 = P(1.36)
$3060
=P
1.36
Example 8.1.4
A Visa credit card company charges a 1.5% simple interest finance charge each month on the unpaid balance. If Martha owed
$2350 and has not paid her bill for three months, how much does she owe now?
Solution
Before we attempt the problem, the reader should note that in this problem the rate of finance charge is given per month and
not per year.
The total amount Martha owes is the previous unpaid balance plus the finance charge.
Alternatively, again, we can compute the amount directly by using formula A = P (1 + rt)
If an amount M is borrowed for a time t at a discount rate of r per year, then the discount D is
D = M ⋅r⋅t (8.1.3)
= M − M rt
or
P = M (1 − rt) (8.1.4)
Example 8.1.5
Francisco borrows $1200 for 10 months at a simple interest rate of 15% per year. Determine the discount and the proceeds.
Solution
8.1.3 https://math.libretexts.org/@go/page/40188
The discount D is the interest on the loan that the bank deducts from the loan amount.
D = Mrt
10
D = $1200(0.15) ( ) = $150
12
Therefore, the bank deducts $150 from the maturity value of $1200, and gives Francisco $1050. Francisco is obligated to repay
the bank $1200.
In this case, the discount D = $150, and the proceeds
Example 8.1.6
If Francisco wants to receive $1200 for 10 months at a simple interest rate of 15% per year, what amount of loan should he
apply for?
Solution
In this problem, we are given the proceeds P and are being asked to find the maturity value M .
We have P = $1200, r = 0.15, t = 10/12 . We need to find M .
We know P = M −D
but also D = M rt
therefore
P = M − Mrt
= M(1 − rt)
10
$1200 = M [1 − (0.15) ( )]
12
$1200 = M(0.875)
$1200
=M
0.875
$1371.43 = M
Summary
Below is a summary of the formulas we developed for calculations involving simple interest:
Simple interest
If an amount P is borrowed for a time t at an interest rate of r per time period, then the simple interest is given by
I = P ⋅r⋅t
The total amount A , also called the accumulated value or the future value, is given by
A = P + I = P + P rt
or
A = P (1 + rt)
8.1.4 https://math.libretexts.org/@go/page/40188
where interest rate r is expressed in decimals.
D = M ⋅r⋅t
P = M − M rt
or
P = M (1 − rt)
This page titled 8.1: Simple Interest and Discount is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder
Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is
available upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
8.1.5 https://math.libretexts.org/@go/page/40188
8.1E: Exercises - Simple Interest and Discount
PROBLEM SET: SIMPLE INTEREST AND DISCOUNT
Do the following simple interest problems.
1) If an amount of $2,000 is borrowed at a simple interest rate of 10% 2) You borrow $4,500 for six months at a simple interest rate of 8%.
for 3 years, how much is the interest? How much is the interest?
3) John borrows $2400 for 3 years at 9% simple interest. How much will 4) Jessica takes a loan of $800 for 4 months at 12% simple interest. How
he owe at the end of 3 years? much does she owe at the end of the 4-month period?
6) Jamie just paid off a loan of $2,544, the principal and simple interest.
5) If an amount of $2,160, which includes a 10% simple interest for 2
If he took out the loan six months ago at 12% simple interest, what was
years, is paid back, how much was borrowed 2 years earlier?
the amount borrowed?
7) Shanti charged $800 on her charge card and did not make a payment 8) A credit card company charges 18% interest on the unpaid balance. If
for six months. If there is a monthly charge of 1.5%, how much does she you owed $2000 three months ago and have been delinquent since, how
owe? much do you owe?
9) An amount of $2000 is borrowed for 3 years. At the end of the three 10) Nancy borrowed $1,800 and paid back $1,920, four months later.
years, $2660 is paid back. What was the simple interest rate? What was the simple interest rate?
11) Jose agrees to pay $2,000 in one year at an interest rate of 12%. The 12) Tasha signs a note for a discounted loan agreeing to pay $1200 in 8
bank subtracts the discount of 12% of $2,000, and gives the rest to Jose. months at an 18% discount rate. Determine the amount of the discount
Find the amount of the discount and the proceeds to Jose. and the proceeds to her.
13) An amount of $8,000 is borrowed at a discount rate of 12%, find the 14) An amount of $4,000 is borrowed at a discount rate of 10%, find the
proceeds if the length of the loan is 7 months. proceeds if the length of the loan is 180 days.
16) Mary owes Jim $750, and wants to repay him. Mary decides to
15) Derek needs $2400 new equipment for his shop. He can borrow this
borrow the amount from her bank at a discount rate of 16%. If she
money at a discount rate of 14% for a year. Find the amount of the loan
borrows the money for 10 months, find the amount of the loan she
he should ask for so that his proceeds are $2400.
should ask for so that her proceeds are $750?
This page titled 8.1E: Exercises - Simple Interest and Discount is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by
Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit
history is available upon request.
8.1E.1 https://math.libretexts.org/@go/page/40189
8.2: Compound Interest
Learning Objectives
In this section, you will learn to:
Find the future value of a lump-sum.
Find the present value of a lump-sum.
Find the effective interest rate.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Simplify each expression.
a. 100(3 + 2 2
)
b. 100(3 + 2) 2
2. If an amount of $2,000 is borrowed at a simple interest rate of 10% for 3 years, how much is the interest?
If you missed this problem, review Section 8.1. (Note that this will open in a new window.)
3. You borrow $4,500 for six months at a simple interest rate of 8%. How much is the interest?
If you missed this problem, review Section 8.1. (Note that this will open in a new window.)
4. John borrows $2400 for 3 years at 9% simple interest. How much will he owe at the end of 3 years?
If you missed this problem, review Section 8.1. (Note that this will open in a new window.)
Compound Interest
In the last section, we examined problems involving simple interest. Simple interest is generally charged when the lending period is
short and often less than a year. When the money is loaned or borrowed for a longer time period, if the interest is paid (or charged)
not only on the principal, but also on the past interest, then we say the interest is compounded.
Suppose we deposit $200 in an account that pays 8% interest each year. At the end of one year, we will have $200 + $200(.08) =
$200(1 + .08) = $216.
8.2.1 https://math.libretexts.org/@go/page/40190
Now suppose we put this amount, $216, in the same account. After another year, we will have $216 + $216(.08) = $216(1 + .08) =
$233.28.
So an initial deposit of $200 has accumulated to $233.28 in two years. Further note that had it been simple interest, this amount
would have accumulated to only $232. The reason the amount is slightly higher is because the interest ($16) we earned the first
year, was put back into the account. And this $16 amount itself earned for one year an interest of $16(.08) = $1.28, thus resulting in
the increase. So we have earned interest on the principal as well as on the past interest, and that is why we call it compound
interest.
Now suppose we leave this amount, $233.28, in the bank for another year, the final amount will be $233.28 + $233.28(.08) =
$233.28(1 + .08) = $251.94.
Now let us look at the mathematical part of this problem so that we can devise an easier way to solve these problems.
After one year, we had $200(1 + .08) = $216
After two years, we had $216(1 + .08)
But $216 = $200(1 + .08), therefore, the above expression becomes
2
$200(1 + .08)(1 + .08) = $200(1 + .08 ) = $233.28
Suppose we are asked to find the total amount at the end of 5 years, we will get
5
200(1 + .08 ) = $293.87
We summarize as follows:
COMPOUNDING PERIODS
Banks often compound interest more than one time a year. Consider a bank that pays 8% interest but compounds it four times a
year, or quarterly. This means that every quarter the bank will pay an interest equal to one-fourth of 8%, or 2%.
Now if we deposit $200 in the bank, after one quarter we will have $200 (1 + .08
4
) or $204.
2
After two quarters, we will have $200(1 + .08
4
) or $208.08.
4
After one year, we will have $200(1 + .08
4
) or $216.49.
12
After three years, we will have $200(1 + .08
4
) or $253.65, etc.
4
) = $204
2
The amount after two quarters $200(1 +
.08
4
) = $208.08
8.2.2 https://math.libretexts.org/@go/page/40190
4
The amount after one year $200(1 +
.08
4
) = $216.49
8
The amount after two years $200(1 +
.08
4
) = $234.31
12
The amount after three years $200(1 +
.08
4
) = $253.65
20
The amount after five years $200(1 +
.08
4
) = $297.19
4t
The amount after t years $200(1 +
.08
4
)
If a lump-sum amount of P dollars is invested at an interest rate r, compounded n times a year, then after t years the final
amount is given by
nt
r
A = P (1 + ) (8.2.1)
n
Example 8.2.1
If $3500 is invested at 9% compounded monthly, what will the future value be in four years?
Solution
Clearly an interest of .09/12 is paid every month for four years. The interest is compounded 4 × 12 = 48 times over the four-
year period. We get
48
.09
48
A = $3500 (1 + ) = $3500(1.0075 ) = $5009.92
12
Example 8.2.2
How much should be invested in an account paying 9% compounded daily for it to accumulate to $5,000 in five years?
Solution
We know the future value, but need to find the principal.
365×5
.09
$5000 = P (1 + )
365
$5000 = P (1.568225)
$3188.32 = P
$3188,32 invested into an account paying 9% compounded daily will accumulate to $5,000 in five years.
Example 8.2.3
If $4,000 is invested at 4% compounded annually, how long will it take to accumulate to $6,000?
Solution
n =1 because annual compounding means compounding only once per year. The formula simplifies to A = (1 + r)
t
when
n =1 .
8.2.3 https://math.libretexts.org/@go/page/40190
t
$6000 = 4000(1 + .04)
6000
t
= 1.04
4000
t
1.5 = 1.04
We use logarithms to solve for the value of t because the variable t is in the exponent.
t = log (1.5)
1.04
It takes 10.33 years for $4000 to accumulate to $6000 if invested at 4% interest, compounded annually
Example 8.2.4
If $5,000 is invested now for 6 years what interest rate compounded quarterly is needed to obtain an accumulated value of
$8000.
Solution
We have n = 4 for quarterly compounding.
4×6
r
$8000 = $5000 (1 + )
4
24
$8000 r
= (1 + )
$5000 4
r 24
1.6 = (1 + )
4
We use roots to solve for t because the variable r is in the base, whereas the exponent is a known number.
24 −
−− r
√1.6 = 1 +
4
Many calculators have a built in “nth root” key or function. In the TI-84 calculator, this is found in the Math menu. Roots can
also be calculated as fractional exponents; if necessary, the previous step can be rewritten as
r
1/24
1.6 =1+
4
r
0.0197765 =
4
r = 4(0.0197765) = 0.0791
An interest rate of 7.91% is needed in order for $5000 invested now to accumulate to $8000 at the end of 6 years, with interest
compounded quarterly.
8.2.4 https://math.libretexts.org/@go/page/40190
Example 8.2.5
If Bank A pays 7.2% interest compounded monthly, what is the effective interest rate?
If Bank B pays 7.2% interest compounded semiannually, what is the effective interest rate?
Which bank pays more interest?
Solution
Bank A: Suppose we deposit $1 in this bank and leave it for a year, we will get
0.072 12
1 (1 + ) = 1.0744
12
If a bank pays an interest rate r per year, compounded n times a year, then the effective interest rate is given by
n
r
rEFF = (1 + ) −1 (8.2.2)
n
Continuous Compounding
Interest can be compounded yearly, semiannually, quarterly, monthly, and daily. Using the same calculation methods, we could
compound every hour, every minute, and even every second. As the compounding period gets shorter and shorter, we move toward
the concept of continuous compounding.
But what do we mean when we say the interest is compounded continuously, and how do we compute such amounts? When interest
is compounded "infinitely many times", we say that the interest is compounded continuously. Our next objective is to derive a
formula to model continuous compounding.
Suppose we put $1 in an account that pays 100% interest. If the interest is compounded once a year, the total amount after one year
will be $1(1 + 1) = $2 .
If the interest is compounded semiannually, in one year we will have $1(1 + 1/2) = $2.25 2
If the interest is compounded quarterly, in one year we will have $1(1 + 1/4) = $2.44 4
If the interest is compounded monthly, in one year we will have $1(1 + 1/12) = $2.61 12
If the interest is compounded daily, in one year we will have $1(1 + 1/365) = $2.71 365
Annually $1(1 + 1) $2
8.2.5 https://math.libretexts.org/@go/page/40190
Frequency of compounding Formula Total amount
We have noticed that the $1 we invested does not grow without bound. It starts to stabilize to an irrational number 2.718281828...
given the name "e" after the great mathematician Euler.
n
In mathematics, we say that as n becomes infinitely large the expression equals (1 + 1
n
) = e.
Therefore, it is natural that the number e play a part in continuous compounding.
nt
It can be shown that as n becomes infinitely large the expression (1 + ) = e r
n
rt
Therefore, it follows that if we invest $P at an interest rate r per year, compounded continuously, after t years the final amount
will be given by
rt
A =P ⋅e
If an amount P is invested for t years at an interest rate r per year, compounded continuously, then the future value is given
by
rt
A = Pe (8.2.3)
Example 8.2.6
0.09×4
A = $3500e
0.36
A = $3500e
A = $5016.65
Example 8.2.7
If an amount is invested at 7.2% compounded continuously, what is the effective interest rate?
Solution
If we deposit $1 in the bank at 7.2% compounded continuously for one year, and subtract that $1 from the final amount, we get
the effective interest rate in decimals.
0.072
rEFF = 1 e −1
rEFF = 1.07466 − 1
8.2.6 https://math.libretexts.org/@go/page/40190
Example 8.2.8
.07t = ln(2)
Example 8.2.9
a. At the peak growth rate in the 1960’s the world's population had a doubling time of 35 years. At that time, approximately
what was the growth rate?
b. As of 2015, the world population’s annual growth rate was approximately 1.14%. Based on that rate, find the approximate
doubling time.
Solution
We expect the world's population to grow continuously, not in discrete intervals such as years or months. Therefore, we will
use the formula A = P e .
rt
r(35)
2P = P ⋅ e
0.0198 = r
0.0114t
2P = P ⋅ e
8.2.7 https://math.libretexts.org/@go/page/40190
Using natural logarithm:
ln(2) = 0.0114t
60.8 = t
If the world population were to continue to grow at the annual growth rate of 1.14% , it would take approximately 60.8 years
for the population to double.
2. If a bank pays an interest rate r per year, compounded n times a year, then the effective interest rate is given by
n
r
rEFF = (1 + ) −1
n
4. If a bank pays an interest rate r per year, compounded continuously, then the effective interest rate is given by
r
rEFF = e −1
This page titled 8.2: Compound Interest is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and
Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon
request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
8.2.8 https://math.libretexts.org/@go/page/40190
8.2E: Exercises - Compound Interest
PROBLEM SET: COMPOUND INTEREST
Do the following compound interest problems involving a lump-sum amount.
1) What will the final amount be in 4 years if $8,000 is invested at 9.2% 2) How much should be invested at 10.3% compounded quarterly for it
compounded monthly? to amount to $10,000 in 6 years?
3) Lydia's aunt Rose left her $5,000. Lydia spent $1,000 on her wardrobe
4) Thuy needs $1,850 in eight months for her college tuition. How
and deposited the rest
much money should she deposit lump sum in an account paying 8.2%
in an account that pays 6.9% compounded daily. How much money will
compounded monthly to achieve that goal?
she have in 5 years?
5) Bank A pays 5% compounded daily, while 6) EZ Photo Company needs five copying machines in 2 1/2 years for a
Bank B pays 5.12% compounded monthly. Which bank pays more? total cost of $15,000. How much money should be deposited now to pay
Explain. for these machines, if the interest rate is 8% compounded semiannually?
COMPOUND INTEREST
Do the following compound interest problems.
9) At an interest rate of 8% compounded continuously, how many years 10) If an investment earns 10% compounded continuously, in how many
will it take to double your money? years will it triple? .
11) The City Library ordered a new computer system costing $158,000; 12) Mr. and Mrs. Tran are expecting a baby girl in a few days. They
it will be delivered in 6 months, and the full amount will be due 30 days want to put away money for her college education now. How much
after delivery. How much must be deposited today into an account money should they deposit in an account paying 10.2% so they will have
paying 7.5% compounded monthly to have $158,000 in 7 months? $100,000 in 18 years to pay for their daughter's educational expenses?
13) Find the effective interest rate for an account paying 7.2% 14) If a bank pays 5.75% compounded monthly, what is the effective
compounded quarterly. interest rate?
This page titled 8.2E: Exercises - Compound Interest is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder
Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is
available upon request.
8.2E.1 https://math.libretexts.org/@go/page/40191
8.3: Future Value of Annuities and Sinking Funds
Learning Objectives
In this section, you will learn to:
Find the future value of an annuity.
Find the amount of payments to a sinking fund.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. Solve 24 = 6 ⋅ x .3
If you missed this problem, review here. (Note that this will open a different textbook in a new window.)
2. Solve 24 = 6 ⋅ 3 .
x
If you missed this problem, review Section 7.3. (Note that this will open in a new window.)
5
5⋅4
500(2 − ) −1
6
3. Simplify in your calculator.
2
If you missed this problem, review here. (Note that this will open a YouTube video in a new window.)
Ordinary Annuities
In the first two sections of this chapter, we examined problems where an amount of money was deposited as a lump sum in an
account and was left there for the entire time period. Now we will do problems where timely payments are made in an account.
When a sequence of payments of some fixed amount are made in an account at equal intervals of time, we call that an annuity.
And this is the subject of this section.
Example 8.3.1
If at the end of each month a deposit of $500 is made in an account that pays 8% compounded monthly, what will the final
amount be after five years?
Solution
There are 60 deposits made in this account. The first payment stays in the account for 59 months, the second payment for 58
months, the third for 57 months, and so on. We can use the formula for compound interest to examine each payment.
The first payment of $500 will accumulate to an amount of $500(1 + 0.08/12)59.
8.3.1 https://math.libretexts.org/@go/page/40192
The second payment of $500 will accumulate to an amount of $500(1 + 0.08/12)58.
The third payment will accumulate to $500(1 + 0.08/12)57.
The fourth payment will accumulate to $500(1 + 0.08/12)56.
And so on . . .
Finally the next to last (59th) payment will accumulate to $500(1 + 0.08/12) . 1
The last payment is taken out the same time it is made, and will not earn any interest.
To find the total amount in five years, we need to add the accumulated value of these sixty payments.
In other words, we need to find the sum of the following series.
59 58 57
$500(1 + 0.08/12 ) + $500(1 + 0.08/12 ) + $500(1 + 0.08/12 ) + … + $500
= $500(73.47686)
= $36, 738.43
When the payments are made at the end of each period rather than at the beginning, we call it an ordinary annuity.
The final amount is also called the future value or the accumulated value.
Example 8.3.2
Tanya deposits $300 at the end of each quarter in her savings account. If the account earns 5.75% compounded quarterly, how
much money will she have in 4 years?
Solution
The future value of this annuity can be found using the above formula.
16
$300 [(1 + .0575/4 ) − 1]
A =
0.0575/4
= $300(17.8463)
= $5353.89
If Tanya deposits $300 into a savings account earning 5.75% compounded quarterly for 4 years, then at the end of 4 years she
will have $5,353.89
Example 8.3.3
Robert needs $5,000 in three years. How much should he deposit each month in an account that pays 8% compounded monthly
in order to achieve his goal?
Solution
8.3.2 https://math.libretexts.org/@go/page/40192
If Robert saves m dollars per month, after three years he will have
36
m [(1 + .08/12 ) − 1]
0.08/12
m(40.5356) = $5000
5000
m =
40.5356
= $123.35
Robert needs to deposit $123.35 at the end of each month for 3 years into an account paying 8% compounded monthly in order
to have $5,000 at the end of 5 years.
Example 8.3.4
Suppose you contribute $500 each month into an ordinary annuity earning 6.25% compounded monthly. How long do you
need to continue making contributions so that you will have at least $1,000,000?
Solution
Contributing $500 each month, m = 500. Interest is 6.25% compounded monthly, so r = 0.0625 and n = 12 . You want a
future value of $1,000,000 so A = 1, 000, 000.
12t
500[(1+0.0625/12 ) −1]
1, 000, 000 =
0.0625/12
8.3.3 https://math.libretexts.org/@go/page/40192
Sinking Fund
When a business deposits money at regular intervals into an account in order to save for a future purchase of equipment, the
savings fund is referred to as a “sinking fund”. Calculating the sinking fund deposit uses the same method as the previous
problem.
Example 8.3.5
A business needs $450,000 in five years. How much should be deposited each quarter in a sinking fund that earns 9%
compounded quarterly to have this amount in five years?
Solution
Again, suppose that m dollars are deposited each quarter in the sinking fund. After five years, the future value of the fund
should be $450,000. This suggests the following relationship:
20
m [(1 + 0.09/4 ) − 1]
= $450, 000
0.09/4
450000
m =
24.9115
= $18, 063.93
The business needs to deposit $18,063.93 at the end of each quarter for 5 years into an sinking fund earning interest of 9%
compounded quarterly in order to have $450,000 at the end of 5 years.
Annuity Due
If the payment is made at the beginning of each period, rather than at the end, we call it an annuity due. The formula for the
annuity due can be derived in a similar manner. Reconsider Example 1, with the change that the deposits are made at the beginning
of each month.
Example 8.3.6
If at the beginning of each month a deposit of $500 is made in an account that pays 8% compounded monthly, what will the
final amount be after five years?
Solution
There are 60 deposits made in this account. The first payment stays in the account for 60 months, the second payment for 59
months, the third for 58 months, and so on.
The first payment of $500 will accumulate to an amount of $500(1 + 0.08/12) . 60
And so on . . .
The last payment is in the account for a month and accumulates to $500(1 + 0.08/12)
To find the total amount in five years, we need to find the sum of the series:
60 59 58
$500(1 + 0.08/12 ) + $500(1 + 0.08/12 ) + $500(1 + 0.08/12 ) + … + $500(1 + 0.08/12)
If we add $500 to this series, and later subtract that $500, the value will not change. We get
2 60
$500 + $500(1 + 0.08/12) + $500(1 + 0.08/12 ) + … + $500(1 + 0.08/12 ) − $500
8.3.4 https://math.libretexts.org/@go/page/40192
Except for the last term, we have a geometric series with a = $500, r = (1 + .08/12), and n = 60. Therefore the sum is
61
$500 [(1 + 0.08/12 ) − 1]
A = − $500
0.08/12
= $500(74.9667) − $500
= $37483.35 − $500
= $36983.35
So, in the case of an annuity due, to find the future value, we increase the number of periods n by 1, and subtract one payment.
Most of the problems we are going to do in this chapter involve ordinary annuities, therefore, we will down play the significance of
the last formula for the annuity due. We mentioned the formula for the annuity due only for completeness.
Summary
Finally, it is the author's wish that the student learn the concepts in a way that he or she will not have to memorize every formula. It
is for this reason formulas are kept at a minimum. But before we conclude this section we will once again mention one single
equation that will help us find the future value, as well as the sinking fund payment.
If a payment of m dollars is made in an account n times a year at an interest r, then the future value A after t years is
nt
m [(1 + r/n ) − 1]
A =
r/n
Note that the formula assumes that the payment period is the same as the compounding period. If these are not the same, then this
formula does not apply.
This page titled 8.3: Future Value of Annuities and Sinking Funds is shared under a CC BY 4.0 license and was authored, remixed, and/or curated
by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit
history is available upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
8.3.5 https://math.libretexts.org/@go/page/40192
8.3E: Exercises - Annuities and Sinking Funds
PROBLEM SET:ANNUITIES AND SINKING FUNDS
Each of the following problems involve an annuity - a sequence of payments.
1) Find the future value of an annuity of $200 per month for 5 years at 2) How much money should be deposited at the end of each month in an
6% compounded monthly. account paying 7.5% for it to amount to $10,000 in 5 years?
4) Mr. Chang wants to retire in 10 years and can save $650 every three
3) At the end of each month Rita deposits $300 in an account that pays
months. If the interest rate is 7.8%, how much will he have (a) at the end
5%. What will the final amount be in 4 years?
of 5 years? (b) at the end of 10 years?
7) A company has a $120,000 note due in 4 years. How much should be 8) You are now 20 years of age and decide to save $100 at the end of
deposited at the end of each quarter in a sinking fund to payoff the note each month until you are 65. If the interest rate is 9.2%, how much
in four years if the interest rate is 8%? money will you have when you are 65?
9) Is it better to receive $400 at the beginning of each month for six 10) To save money for a vacation, Jill decided to save $125 at the
years, or a lump sum of $25,000 today if the interest rate is 7%? beginning of each month for the next 8 months. If the interest rate is 7%,
Explain. how much money will she have at the end of 8 months?
12) If the inflation rate stays at 6% per year for the next five years, how
11) Mrs. Gill puts $2200 at the end of each year in her IRA account that
much will the price be of a $15,000 car in five years? How much must
earns 9% per year. How much total money will she have in this account
you save at the end of each month at an interest rate of 7.3% to buy that
after 20 years?
car in 5 years?
This page titled 8.3E: Exercises - Annuities and Sinking Funds is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by
Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit
history is available upon request.
8.3E.1 https://math.libretexts.org/@go/page/40193
8.4: Present Value of Annuities and Installment Payment
Learning Objectives
In this section, you will learn to:
Find the present value of an annuity.
Find the amount of installment payment on a loan.
Find the outstanding balance on a loan.
Prerequisite Skills
Before you get started, take this prerequisite quiz.
1. What will the final amount be in 4 years if $8,000 is invested at 9.2% compounded monthly?
If you missed this problem, review Section 8.2. (Note that this will open in a new window.)
2. How much should be invested at 10.3% compounded quarterly for it to amount to $10,000 in 6 years?
If you missed this problem, review Section 8.2. (Note that this will open in a new window.)
3. Find the future value of an annuity of $200 per month for 5 years at 6% compounded monthly.
If you missed this problem, review Section 8.3. (Note that this will open in a new window.)
4. How much money should be deposited at the end of each month in an account paying 7.5% for it to amount to $10,000 in 5
years?
If you missed this problem, review Section 8.3. (Note that this will open in a new window.)
8.4.1 https://math.libretexts.org/@go/page/40194
Suppose Carlos owns a small business and employs an assistant manager to help him run the business. Assume it is January 1 now.
Carlos plans to pay his assistant manager a $1000 bonus at the end of this year and another $1000 bonus at the end of the following
year. Carlos’ business had good profits this year so he wants to put the money for his assistant’s future bonuses into a savings
account now. The money he puts in now will earn interest at the rate of 4% per year compounded annually while in the savings
account.
How much money should Carlos put into the savings account now so that he will be able to withdraw $1000 one year from now
and another $1000 two years from now?
At first, this sounds like a sinking fund. But it is different. In a sinking fund, we put money into the fund with periodic payments to
save to accumulate to a specified lump sum that is the future value at the end of a specified time period.
In this case we want to put a lump sum into the savings account now, so that lump sum is our principal, P. Then we want to
withdraw that amount as a series of period payments; in this case the withdrawals are an annuity with $1000 payments at the end of
each of two years.
We need to determine the amount we need in the account now, the present value, to be able to make withdraw the periodic
payments later.
We use the compound interest formula from Section 8.2 with r = 0.04 and n = 1 for annual compounding to determine the present
value of each payment of $1000.
Consider the first payment of $1000 at the end of year 1. Let P1 be its present value
1
$1000 = P1 (1.04 ) so P1 = $961.54
Now consider the second payment of $1000 at the end of year 2. Let P2 is its present value
2
$1000 = P2 (1.04 ) so P2 = $924.56
To make the $1000 payments at the specified times in the future, the amount that Carlos needs to deposit now is the present value
P = P1 + P2 = $961.54 + $924.56 = $1886.10
The calculation above was useful to illustrate the meaning of the present value of an annuity.
But it is not an efficient way to calculate the present value. If we were to have a large number of annuity payments, the step by step
calculation would be long and tedious.
Example 8.4.1 investigates and develops an efficient way to calculate the present value of an annuity, by relating the future
(accumulated) value of an annuity and its present value.
Example 8.4.1
Suppose you have won a lottery that pays $1,000 per month for the next 20 years. But, you prefer to have the entire amount
now. If the interest rate is 8%, how much will you accept?
Solution
This classic present value problem needs our complete attention because the rationalization we use to solve this problem will
be used again in the problems to follow.
Consider, for argument purposes, that two people Mr. Cash, and Mr. Credit have won the same lottery of $1,000 per month for
the next 20 years. Mr. Credit is happy with his $1,000 monthly payment, but Mr. Cash wants to have the entire amount now.
Our job is to determine how much Mr. Cash should get. We reason as follows:
8.4.2 https://math.libretexts.org/@go/page/40194
If Mr. Cash accepts P dollars, then the P dollars deposited at 8% for 20 years should yield the same amount as the $1,000
monthly payments for 20 years. In other words, we are comparing the future values for both Mr. Cash and Mr. Credit, and we
would like the future values to equal.
Since Mr. Cash is receiving a lump sum of x dollars, its future value is given by the lump sum formula, and it is
240
A = P(1 + .08/12)
Since Mr. Credit is receiving a sequence of payments, or an annuity, of $1,000 per month, its future value is given by the
annuity formula This value is
240
$1000 [(1 + .08/12 ) − 1]
A =
.08/12
The only way Mr. Cash will agree to the amount he receives is if these two future values are equal. So we set them equal and
solve for the unknown.
240
$1000[(1+.08/12 ) −1]
240
P(1 + .08/12 ) =
.08/12
240
$1000[( 1+.08/12) −1]
.08/12
P = 240
(1+.08/12)
P = $119, 554.36
The present value of an ordinary annuity of $1,000 each month for 20 years at 8% is $119,554.36
The reader should also note that if Mr. Cash takes his lump sum of P = $119,554.36 and invests it at 8% compounded monthly,
he will have an accumulated value of A =$589,020.41 in 20 years.
If a person or business needs to buy or pay for something now (a car, a home, college tuition, equipment for a business) but does
not have the money, they can borrow the money as a loan.
They receive the loan amount called the principal (or present value) now and are obligated to pay back the principal in the future
over a stated amount of time (term of the loan), as regular periodic payments with interest.
We can see the formula begin to develop in the example above.
If a payment of m dollars is made in an account n times a year at an interest r, then the present value P of the annuity after t
years is
nt
m [(1 + r/n ) − 1]
nt
P(1 + r/n ) = (8.4.1)
r/n
When used for a loan, the amount P is the loan amount, and m is the periodic payment needed to repay the loan over a term
of t years with n payments per year.
Note that the formula assumes that the payment period is the same as the compounding period. If these are not the same, then
this formula does not apply.
Example 8.4.2
You determine that you can afford $550 per month for a car. What is the highest price you can pay for a car if the interest rate
is 7% compounded monthly and you want to repay the loan in 3 years?
Solution
Using the formula above, we are looking for the total amount of the loan, or P . We know that m = 550 , r = 0.07, n = 12 ,
and t = 3 .
8.4.3 https://math.libretexts.org/@go/page/40194
123
550[(1+0.07/12) −1]
123
P(1 + 0.07/12 ) =
0.07/12
123
550[( 1+0.07/12 ) −1]
0.07/12
P= 123
(1+0.07/12)
P = 17812.55545
and solving for the present value P after substituting the numerical values for the other items in the formula, many textbooks first
solve the formula for P in order to develop a new formula for the present value. Then the numerical information can be substituted
into the present value formula and evaluated, without needing to solve algebraically for P.
nt
m[(1+r/n) −1]
Starting with formula 8.4.2: P(1 + r/n) nt
=
r/n
−nt
m [1 − (1 + r/n) ]
P = (8.4.3)
r/n
The authors of this book believe that it is easier to use formula 8.4.2 at the top of this page and solve for P or m as needed. In this
approach there are fewer formulas to understand, and many students find it easier to learn. In the problems the rest of this chapter,
when a problem requires the calculation of the present value of an annuity, formula 8.4.2 will be used.
However, formula 8.4.3 is ideal when used to solve for t , and some people prefer to use this formula to find present value. It is a
mathematically correct option to do so. Note that if you choose to use formula 8.4.3, you need to be careful with the negative
exponents in the formula.
Example 8.4.3
Find the monthly payment for a car costing $15,000 if the loan is amortized over five years at an interest rate of 9%,
compounded monthly.
Solution
Again, consider the following scenario:
Two people, Mr. Cash and Mr. Credit, go to buy the same car that costs $15,000. Mr. Cash pays cash and drives away, but Mr.
Credit wants to make monthly payments for five years.
Our job is to determine the amount of the monthly payment. We reason as follows:
If Mr. Credit pays m dollars per month, then the m dollar payment deposited each month at 9% for 5 years should yield the
same amount as the $15,000 lump sum deposited for 5 years.
Again, we are comparing the future values for both Mr. Cash and Mr. Credit, and we would like them to be the same.
8.4.4 https://math.libretexts.org/@go/page/40194
Since Mr. Cash is paying a lump sum of $15,000, its future value is given by the lump sum formula, and it is
60
$15, 000(1 + .09/12)
Mr. Credit wishes to make a sequence of payments, or an annuity, of m dollars per month, and its future value is given by the
annuity formula, and this value is
60
m [(1 + .09/12 ) − 1]
.09/12
We set the two future amounts equal and solve for the unknown.
60
m[(1+.09/12 ) −1]
60
$15, 000(1 + .09/12 ) =
.09/12
$311.38 = m
Therefore, the monthly payment needed to repay the loan is $311.38 for five years.
Example 8.4.4
Mr. Jackson bought his house in 1995, and financed the loan for 30 years at an interest rate of 7.8%. His monthly payment was
$1260. In 2015, Mr. Jackson decides to pay off the loan. Find the balance of the loan he still owes.
Solution
The reader should note that the original amount of the loan is not mentioned in the problem. That is because we don't need to
know that to find the balance.
The original loan was for 30 years. 20 years have passed so there are 10 years still remaining. 12(10) = 120 payments still
remain to be paid on this loan.
As for the bank or lender is concerned, Mr. Jackson is obligated to pay $1260 each month for 10 more years; he still owes a
total of 120 payments. But since Mr. Jackson wants to pay it all off now, we need to find the present value P at the time of
repayment of the remaining 10 years of payments of $1260 each month. Using the formula we get for the present value of an
annuity, we get
120
$1260 [(1 + .078/12 ) − 1)]
120
P(1 + .078/12) =
(.078/12)
P(2.17597) = $227957.85
P = $104761.48
8.4.5 https://math.libretexts.org/@go/page/40194
To find the outstanding balance of a loan
If a loan has a payment of m dollars made n times a year at an interest r, then the outstanding value of the loan when there are
t years still remaining on the loan is given by P:
nt
m [(1 + r/n ) − 1|
nt
P(1 + r/n ) = (8.4.4)
r/n
IMPORTANT: Note that t is not the original term of the loan but instead t is the amount of time still remaining in the future;
nt is the number of payments still remaining in the future
If the problem does not directly state the amount of time still remaining in the term of the loan, then it must be calculated
BEFORE using the above formula as t = original term of loan - time already passed since the start date of the loan.
Note that there are other methods to find the outstanding balance on a loan, but the method illustrated above is generally considered
the easiest.
This page titled 8.4: Present Value of Annuities and Installment Payment is shared under a CC BY 4.0 license and was authored, remixed, and/or
curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a
detailed edit history is available upon request.
3.6: Relations and Functions by OpenStax is licensed CC BY 4.0. Original source: https://openstax.org/details/books/intermediate-algebra-
2e.
8.4.6 https://math.libretexts.org/@go/page/40194
8.4E: Exercises - Present Value of an Annuity and Installment Payment
PROBLEM SET: PRESENT VALUE OF AN ANNUITY AND INSTALLMENT PAYMENT
For the following problems, show all work.
1) Shawn has won a lottery paying him $10,000 per month for the next
2) Sonya bought a car for $15,000. Find the monthly payment if the loan
20 years. He'd rather have the whole amount in one lump sum today. If
is to be amortized over 5 years at a rate of 10.1%.
the current interest rate is 8.2%, how much money can he hope to get?
3) You determine that you can afford $250 per month for a car. What is
4) Compute the monthly payment for a house loan of $200,000 to be
the maximum amount you can afford to pay for a car if the interest rate
financed over 30 years at an interest rate of 10%.
is 9% and you want to repay the loan in 5 years?
6) Friendly Auto offers Jennifer a car for $2000 down and $300 per
5) If the $200,000 loan in the previous problem is financed over 15
month for 5 years. Jason wants to buy the same car but wants to pay
years rather than 30 years at 10%, what will the monthly payment be?
cash. How much must Jason pay if the interest rate is 9.4%?
7) The Gomez family bought a house for $450,000. They paid 20% 8) Mr. and Mrs. Wong purchased their new house for $350,000. They
down and amortized the rest at 5.2% over a 30-year period. Find their made a down payment of 15%, and amortized the rest over 30 years. If
monthly payment. the interest rate is 5.8%, find their monthly payment.
9) A firm needs a piece of machinery that has a useful life of 5 years. It 10) Jackie wants to buy a $19,000 car, but she can afford to pay only
has an option of leasing it for $10,000 a year, or buying it for $40,000 $300 per month for 5 years. If the interest rate is 6%, how much does
cash. If the interest rate is 10%, which choice is better? she need to put down?
This page titled 8.4E: Exercises - Present Value of an Annuity and Installment Payment is shared under a CC BY 4.0 license and was authored,
remixed, and/or curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts
platform; a detailed edit history is available upon request.
8.4E.1 https://math.libretexts.org/@go/page/40195
8.5: Classification of Finance Problems
Learning Objectives
In this section, you will learn to:
Re-examine the types of financial problems and classify them.
Re-examine the vocabulary words used in describing financial calculations
We'd like to remind the reader that the hardest part of solving a finance problem is determining the category it falls into. So in this
section, we will emphasize the classification of problems rather than finding the actual solution. We suggest that the student read
each problem carefully and look for the word or words that may give clues to the kind of problem that is presented.
For instance, students often fail to distinguish a lump-sum problem from an annuity. Since the payments are made each period, an
annuity problem contains words such as each, every, per etc. One should also be aware that in the case of a lump-sum, only a single
deposit is made, while in an annuity numerous deposits are made at equal spaced time intervals. To help interpret the vocabulary
used in the problems, we include a glossary at the end of this section.
Students often confuse the present value of an annuity with the future value of an annuity. Don't get too caught up on the words, as
either formula can be used to find what should be done now (in the present) and what would be the result in the future.
The future value formula will be used in the context of investments, where the regular deposits and interest both work together
to add to the account balance.
The present value formula will be used in the context of loans or bank withdraws, where the regular payments and interest work
against each other. In a loan, the monthly payments lower the account balance while the interest payments raise the account
balance.
Example 8.5.1
Dillon takes out a simple interest loan for $5,000 at 10.5% interest with an agreement to pay it back in 10 months. What is the
total amount he will repay at the end of the 10 months?
Classification: Since the loan is a simple interest loan and we are looking for the total amount he will repay, we will use the
Accumulated Value of Simple Interest Formula.
Equation:
10
A = 5, 000(1 + 0.105( )) (8.5.1)
12
Example 8.5.2
If $2,000 is invested at 7% compounded quarterly, what will the final amount be in 5 years?
Classification: Since the $2000 is invested once, this is a lump-sum. The interest is compounded each quarter, so this will use
the Accumulated Value of Periodic Compounding Formula.
Equation:
20
A = $2000(1 + .07/4) (8.5.2)
8.5.1 https://math.libretexts.org/@go/page/40198
Example 8.5.3
If $2,000 is invested at 7% compounded continuously, what will the final amount be in 5 years?
Classification: Since the $2000 is invested once, this is a lump-sum. The interest is compounded continuously, so this will
use the Accumulated Value of Continuous Compounding Formula.
Equation:
0.07∗5
A = $2000e (8.5.3)
Example 8.5.4
How much should be invested at 8% compounded yearly, for the final amount to be $5,000 in five years?
Classification: Since this question is asking for a one-time investment, this is a lump-sum. The interest is compounded each
year, so this will use the Accumulated Value of Periodic Compounding Formula. Note that we are given the accumulated
value at the end of the 5 years and are looking for the principal.
Equation:
5
$5, 000 = P(1 + .08) (8.5.4)
Example 8.5.5
If $200 is invested each month at 8.5% compounded monthly, what will the final amount be in 4 years?
Classification: Since the money is invested each month, this is an example of an annuity. This is an investment where the
monthly payments and the interest both add to the value, so this will use the Future Value of an Annuity Formula.
Equation:
12∗4
$200 [(1 + .085/12 ) − 1]
A = (8.5.5)
.085/12
Example 8.5.6
How much should be invested each month at 9% for it to accumulate to $8,000 in three years?
Classification: Since the money is invested each month, this is an example of an annuity. This is an investment where the
monthly payments and the interest both add to the value, so this will use the Future Value of an Annuity Formula. Note that
we are given the accumulated value at the end of the 3 years and are looking for the monthly payment.
Equation:
36
m [(1 + .09/12 ) − 1]
$8, 000 = (8.5.6)
.09/12
Example 8.5.7
Keith wants to buy a new car worth $30,000 and needs to apply for an auto loan. The dealership is offering him financing at
9.25% compounded monthly over the next 5 years. How much will each monthly payment be?
Classification: Since the money will be paid each month, this is an example of an annuity. This is a loan where the monthly
payments lower the account balance and the interest raises the account balance, so this will use the Present Value of an
Annuity Formula.
Equation:
12∗5
m [(1 + .0925/12 ) − 1]
12∗5
$30, 000(1 + .0925/12 ) = (8.5.7)
.0925/12
8.5.2 https://math.libretexts.org/@go/page/40198
Example 8.5.8
Maria is saving money for her retirement. The retirement fund earns 8% interest compounded monthly, and she plans to
withdraw $1,500 each month for 25 years after her retirement. How much does she need in this fund before she retires?
Classification: Since the money will be withdrawn each month, this is an example of an annuity. This is a fund where the
monthly withdraws lower the account balance and the interest raises the account balance, so this will use the Present Value of
an Annuity Formula.
Equation:
12∗25
$1, 500 [(1 + .08/12 ) − 1]
12∗25
P(1 + .08/12 ) = (8.5.8)
.08/12
Time period for a loan or investment. In this book t is represented in years and should be converted into
t Term
years when it is stated in months or other units.
Principal is the amount of money borrowed in a loan.
P Principal
If a sum of money is invested for a period of time, the sum invested at the start is the Principal.
Accumulated Value
A Value of money at the end of the time period
Future Value
In loans involving simple interest, a discount occurs if the interest is deducted from the loan amount at the
D Discount
beginning of the loan period, rather than being repaid at the end of the loan period.
The amount of a constant periodic payment that occurs at regular intervals during the time period under
m Periodic Payment consideration (examples: periodic payments made to repay a loan, regular periodic payments into a bank
account as savings, regular periodic payment to a retired person as an annuity,)
In this book, when we consider periodic payments, we will always have the compounding period be the
same as the payment period.
Number of payment periods
In general the compounding and payment periods do not have to be the same, but the calculations are more
n and compounding periods
complicated if they are different. If the periods differ, formulas for the calculations can be found in finance
per year
textbooks or various online resources. Calculations can easily be done using technology such as an online
financial calculator, or financial functions in a spreadsheet, or a financial pocket calculator.
nt = (number of periods per year)× (number of years)
nt gives the total number of payment and compounding periods
In some situations we will calculate nt as the multiplication shown above. In other situations the problem
nt Number of periods
may state nt, such as a problem describing an investment of 18 months duration compounded monthly. In
this example: nt = 18 months and n = 12; then t = 1.5 years but t is not stated explicitly in the problem. The
TI-84+ calculators built in TVM solver uses N = nt.
The stated annual interest rate. This is stated as a percent but converted to decimal form when using
Annual interest rate financial calculation formulas.
r
Nominal rate If a bank account pays 3% interest compounded quarterly, then 3% is the nominal rate, and it is included in
the financial formulas as r = 0.03
Interest rate per If a bank account pays 3% interest compounded quarterly, then r/n = 0.03/4 = 0. 075, corresponding to a
r/n
compounding period rate of 0.75% per quarter. Some Finite Math books use the symbol i to represent r/n
8.5.3 https://math.libretexts.org/@go/page/40198
Effective Rate
Effective Annual Interest
The effective rate is the interest rate compounded annually that would give the same interest rate as the
Rate
compounded rate stated for the investment.
rEF F APY Annual Percentage
The effective rate provides a uniform way for investors or borrowers to compare different interest rates with
Yield
different compounding periods.
APR Annual Percentage
Rate
This page titled 8.5: Classification of Finance Problems is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by
Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit
history is available upon request.
8.5.4 https://math.libretexts.org/@go/page/40198
8.5E: Exercises - Classification of Finance Problems
PROBLEM SET: CLASSIFICATION OF FINANCE PROBLEMS
Let the letters A, B, C, D, E and F be represented as follows:
A = F V of a lump-sum C = F V of an annuity E = Installment payment
Classify each by writing the appropriate letter in the box, and write an equation for solution.
1) What monthly deposits made to an account paying 9% will grow to $10,000 in 4 years?
2) An amount of $4000 is invested at 6% compounded daily. What will the final amount be in 5 years?
3) David has won a lottery paying him $10,000 per month for the next 20 years. He'd rather have the whole amount in one lump
sum now. If the current interest rate is 7%, how much money can he hope to get?
4) Each month Linda deposits $250 in an account that pays 9%. How much money will she have in 4 years?
5) Find the monthly payment for a $15,000 car if the loan is amortized over 4 years at a rate of 10%.
6) What lump-sum deposited in an account paying 7% compounded daily will grow to $10,000 in 5 years?
7) What amount of quarterly payments will amount to $250,000 in 5 years at a rate of 8%?
8) The Chang family bought their house 25 years ago. They had their loan financed for 30 years at an interest rate of 11% resulting
in a payment of $1350 a month. Find the balance of the loan.
A 10-year $1000 bond pays $35 every six months. If the current interest rate is 8%, in order to find the fair market value of the
bond, we need to find the following.
9) The present value of $1000.
10) The present value of the $35 per six month payments.
11) What lump-sum deposit made today is equal to 33 monthly deposits of $500 if the interest rate is 8%?
12) What monthly deposits made to an account paying 10% will accumulated to $10,000 in six years?
13) A department store charges a finance charge of 1.5% per month on the outstanding balance.
If Ned charged $400 three months ago and has not paid his bill, how much does he owe?
14) What will the value of $300 monthly deposits be in 10 years if the account pays 12% compounded monthly?
15) What lump-sum deposited at 6% compounded daily will grow to $2000 in three years?
16) A company buys an apartment complex for $5,000,000 and amortizes the loan over 10 years.
What is the yearly payment if the interest rate is 14%?
17) In 2002, a house in Rock City cost $300,000. Real estate in Rock City has been increasing in value at the annual rate of 5.3%..
Find the price of that house in 2016.
18) You determine that you can afford to pay $400 per month for a car. What is the maximum price you can pay for a car if the
interest rate is 11% and you want to repay the loan in 4 years?
19) A business needs $350,000 in 5 years. How much lump-sum should be put aside in an account that pays 9% so that five years
from now the company will have $350,000?
20) A person wishes to have $500,000 in a pension fund 20 years from now. How much should he deposit each month in an
account paying 9% compounded monthly?
This page titled 8.5E: Exercises - Classification of Finance Problems is shared under a CC BY 4.0 license and was authored, remixed, and/or
curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a
detailed edit history is available upon request.
8.5E.1 https://math.libretexts.org/@go/page/40199
8.6: Additional Application Problems
Learning Objectives
In this section, you will learn to:
Perform financial calculations in situations involving several stages of savings and/or annuities.
Find the fair market value of a bond.
Construct an amortization schedule for a loan.
We have already developed the tools to solve most finance problems. Now we use these tools to solve some additional applications.
Example 8.6.2
Suppose a baby, Aisha, is born and her grandparents invest $8000 in a college fund. The money remains invested for 18 years
until Aisha enters college, and then is withdrawn in equal semiannual payments over the 4 years that Aisha expects to attend
college. The college investment fund earns 5% interest compounded semiannually. How much money can Aisha withdraw
from the account every six months while she is in college?
Solution
Part 1: Accumulation of College Savings: Find the accumulated value at the end of 18 years of a sum of $8000 invested at
5% compounded semiannually.
(2×18) 36
A = $8000(1 + .05/2 ) = $8000(1.025 ) = $8000(2.432535)
A = $19460.28
Part 2: Seminannual annuity payout from savings to put toward college expenses. Find the amount of the semiannual
payout for four years using the accumulated savings from part 1 of the problem with an interest rate of 5% compounded
semiannually.
A = $19460.28 in Part 1 is the accumulated value at the end of the savings period. This becomes the present value
P =$19460.28 when calculating the semiannual payments in Part 2.
2×4
05
m[(1+ ) −1]
2×4 2
.05
$19460.28 (1 + ) =
2 (.05/2)
$23710.46 = m(8.73612)
m = $2714.07
Aisha will be able to withdraw $2714.07 semiannually for her college expenses.
8.6.1 https://math.libretexts.org/@go/page/40196
Example 8.6.3
Aisha graduates college and starts a job. She saves $1000 each quarter, depositing it into a retirement savings account. Suppose
that Aisha saves for 30 years and then retires. At retirement she wants to withdraw money as an annuity that pays a constant
amount every month for 25 years. During the savings phase, the retirement account earns 6% interest compounded quarterly.
During the annuity payout phase, the retirement account earns 4.8% interest compounded monthly. Calculate Aisha’s monthly
retirement annuity payout.
Solution
Part 1: Accumulation of Retirement Savings: Find the accumulated value at the end of 30 years of $1000 deposited at the
end of each quarter into a retirement savings account earning 6% interest compounded quarterly.
4×30
$1000[(1+.06/4 ) −1]
A =
(.06/4)
A = $331288.19
Part 2: Monthly retirement annuity payout: Find the amount of the monthly annuity payments for 25 years using the
accumulated savings from part 1 of the problem with an interest rate of 4.8% compounded monthly.
A = $331288.19 in Part 1 is the accumulated value at the end of the savings period. This amount will become the present value
P =$331288.19 when calculating the monthly retirement annuity payments in Part 2.
12×25
m[(1+.048/12 ) −1]
12×25
$331288.19(1 + .048/12 ) =
(.048/12)
$1097285.90 = m(578.04483)
m = $1898.27
Aisha will have a monthly retirement annuity income of $1898.27 when she retires.
Example 8.6.4
The Orange Computer Company needs to raise money to expand. It issues a 10-year $1,000 bond that pays $30 every six
months. If the current market interest rate is 7%, what is the fair market value of the bond?
Solution
The bond certificate promises us two things - An amount of $1,000 to be paid in 10 years, and a semi-annual payment of $30
for ten years. Therefore, to find the fair market value of the bond, we need to find the present value of the lump sum of $1,000
we are to receive in 10 years, as well as, the present value of the $30 semi-annual payments for the 10 years.
We will let P1 = the present value of the face amount of $1,000
8.6.2 https://math.libretexts.org/@go/page/40196
20
P1 (1 + .07/2 ) = $1, 000
Since the interest is paid twice a year, the interest is compounded twice a year and nt = 2(10)=20
P1 = $502.56
P2 (1.9898) = 848.39
P2 = $426.37
Note that because the market interest rate of 7% is higher than the bond’s implied interest rate of 6% implied by the semiannual
payments, the bond is selling at a discount; its fair market value of $928.93 is less than its face value of $1000.
Example 8.6.5
A state issues a 15 year $1000 bond that pays $25 every six months. If the current market interest rate is 4%, what is the fair
market value of the bond?
Solution
The bond certificate promises two things - an amount of $1,000 to be paid in 15 years, and semi-annual payments of $25 for 15
years. To find the fair market value of the bond, we find the present value of the $1,000 face value we are to receive in 15 years
and add it to the present value of the $25 semi-annual payments for the 15 years. In this example, nt = 2(15) = 30 .
We will let P1 = the present value of the lump-sum $1,000
30
P1 (1 + .04/2 ) = $1, 000
P1 = $552.07
P2 (1.18114) = $1014.20
P2 = $559.90
Because the market interest rate of 4% is lower than the interest rate of 5% implied by the semiannual payments, the bond is
selling at a premium: the fair market value of $1,111.97 is more than the face value of $1,000.
To summarize:
8.6.3 https://math.libretexts.org/@go/page/40196
To find the Fair Market Value of a Bond
Find the present value of the face amount A that is payable at the maturity date:
nt
A = P1 (1 + r/n ) ; solve to find P1 (8.6.1)
Find the present value of the semiannually payments of $m over the term of the bond:
nt
m [(1 + r/n ) − 1]
nt
P2 (1 + r/n ) = ; solve to find P2 (8.6.2)
r/n
The fair market value (or present value or price or current value) of the bond is the sum of the present values calculated above:
P = P1 + P2 (8.6.3)
Example 8.6.6
An amount of $500 is borrowed for 6 months at a rate of 12%. Make an amortization schedule showing the monthly payment,
the monthly interest on the outstanding balance, the portion of the payment contributing toward reducing the debt, and the
outstanding balance.
Solution
The reader can verify that the monthly payment is $86.27.
The first month, the outstanding balance is $500, and therefore, the monthly interest on the outstanding balance is
(outstanding balance)(the monthly interest rate) = ($500)(.12/12) = $5
This means, the first month, out of the $86.27 payment, $5 goes toward the interest and the remaining $81.27 toward the
balance leaving a new balance of $500 - $81.27 = $418.73.
Similarly, the second month, the outstanding balance is $418.73, and the monthly interest on the outstanding balance is
($418.73)(.12/12) = $4.19. Again, out of the $86.27 payment, $4.19 goes toward the interest and the remaining $82.08 toward
the balance leaving a new balance of $418.73 - $82.08 = $336.65. The process continues in the table below.
Note that the last balance of 3 cents is due to error in rounding off.
An amortization schedule is usually lengthy and tedious to calculate by hand. For example, an amortization schedule for a 30 year
mortgage loan with monthly payments would have (12)(30)=360 rows of calculations in the amortization schedule table. A car loan
with 5 years of monthly payments would have 12(5)=60 rows of calculations in the amortization schedule table. However it would
be straightforward to use a spreadsheet application on a computer to do these repetitive calculations by inputting and copying
formulas for the calculations into the cells.
Most of the other applications in this section's problem set are reasonably straightforward, and can be solved by taking a little extra
care in interpreting them. And remember, there is often more than one way to solve a problem.
8.6.4 https://math.libretexts.org/@go/page/40196
This page titled 8.6: Additional Application Problems is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by
Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit
history is available upon request.
8.6.5 https://math.libretexts.org/@go/page/40196
8.6E: Exercises - Miscellaneous Application Problems
PROBLEM SET: MISCELLANEOUS APPLICATION PROBLEMS
For problems 1 - 4, assume a $200,000 house loan is amortized over 30 years at an interest rate of 5.4%.
1) Find the monthly payment. 2) Find the balance owed after 20 years.
4) Find the monthly payment if the original loan were amortized over 15
3) Find the balance of the loan after 100 payments.
years.
7) Fourteen months after Dan bought his new car he lost his job. His car
was repossessed by his lender after he made only 14 monthly payments 8) You have a choice of either receiving $5,000 at the end of each year
of $376 each. If the loan was financed over a 4-year period at an interest for the next 5 years or receiving $3000 per year for the next 10 years. If
rate of 6.3%, how much did the car cost the lender? In other words, how the current interest rate is 9%, which is better?
much did Dan still owe on the car?
10) Assume Mr. Smith has reached retirement and has $250,000 in an
9) Mr. Smith is planning to retire in 25 years and would like to have
account which is earning 6.5%. He would now like to make equal
$250,000 then. What monthly payment made at the end of each month
monthly withdrawals for the next 15 years to completely deplete this
to an account that pays 6.5% will achieve his objective?
account. Find the withdrawal payment.
12) Assume Mrs. Garcia has reached retirement and has accumulated the
11) Mrs. Garcia is planning to retire in 20 years. She starts to save for
amount found in question 13 in a retirement savings account. She would
retirement by depositing $2000 each quarter into a retirement investment
now like to make equal monthly withdrawals for the next 15 years to
account that earns 6% interest compounded quarterly. Find the
completely deplete this account. Find the withdrawal payment. Assume
accumulated value of her retirement savings at the end of 20 years.
the account now pays 5.4% compounded monthly.
13) A ten-year $1,000 bond pays $35 every six months. If the current 14) Find the fair market value of the ten-year $1,000 bond that pays $35
interest rate is 8.2%, find the fair market value of the bond. every six months, if the current interest rate has dropped to 6%.
Hint: You must do the following. Hint: You must do the following.
a) Find the present value of $1000. a) Find the present value of $1000.
b) Find the present value of the $35 payments. b) Find the present value of the $35 payments.
c) The fair market value of the bond = a + b c) The fair market value of the bond = a + b
15) A twenty-year $1,000 bond pays $30 every six months. If the
current interest rate is 4.2%, find the fair market value of the bond.
Hint: You must do the following. 16) Find the fair market value of the twenty-year $1,000 bond that pays
a) Find the present value of $1000. $30 every six months, if the current interest rate has increased to 7.5%.
b) Find the present value of the $30 payments.
c) The fair market value of the bond = a + b
18) Mr. Singh is 38 and plans to retire at age 65. He opens a retirement
17) Mr. and Mrs. Nguyen deposit $10,000 into a college investment savings account.
account when their new baby grandchild is born. The account earns a) Mr. Singh wants to save enough money to
6.25% interest compounded quarterly. accumulate $500,000 by the time he retires.
a) When their grandchild reaches the age of 18, what is the accumulated The retirement investment account pays 7% interest compounded
value of the college investment account? monthly. How much does he need to deposit each month to achieve this
b) The Nguyen’s grandchild has just reached the age of 18 and started goal?
college. If she is to withdraw the money in the college savings account n b) Mr. Singh has now reached at 65 and retires.
equal monthly payments over the next 4 years, how much money will be How much money can he withdraw each month for 25 years if the
withdrawn each month? retirement investment account now pays 5.2% interest, compounded
monthly?
8.6E.1 https://math.libretexts.org/@go/page/40197
This page titled 8.6E: Exercises - Miscellaneous Application Problems is shared under a CC BY 4.0 license and was authored, remixed, and/or
curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a
detailed edit history is available upon request.
8.6E.2 https://math.libretexts.org/@go/page/40197
8.7: Chapter 8 Review
PROBLEM SET: CHAPTER REVIEW
1. Manuel borrows $800 for 6 months at 18% simple interest. How much does he owe at the end of 6 months?
2. The population of a city is 65,000 and expects to grow at a rate of 2.3% per year for the next 10 years. What will the population
of this city be in 10 years?
3. The Gill family is buying a $250,000 house with a 10% down payment. If the loan is financed over a 30 year period at an
interest rate of 4.8%, what is the monthly payment?
4. Find the monthly payment for the house in the above problem if the loan was amortized over 15 years.
5. You look at your budget and decide that you can afford $250 per month for a car. What is the maximum amount you can afford
to pay for the car if the interest rate is 8.6% and you want to finance the loan over 5 years?
6. Mr. Nakahama bought his house in the year 1998. He had his loan financed for 30 years at an interest rate of 6.2% resulting in a
monthly payment of $1500. In 2015, 17 years later, he paid off the balance of the loan. How much did he pay?
7. Lisa buys a car for $16,500, and receives $2400 for her old car as a trade-in value. Find the monthly payment for the balance if
the loan is amortized over 5 years at 8.5%.
8. A car is sold for $3000 cash down and $400 per month for the next 4 years. Find the cash value of the car today if the money is
worth 8.3% compounded monthly.
9. An amount of $2300 is borrowed for 7 months at a simple interest rate of 16%. Find the discount and the proceeds.
10. Marcus has won a lottery paying him $5000 per month for the next 25 years. He'd rather have the whole amount in one lump
sum today. If the current interest rate is 7.3%, how much money can he hope to get?
11. In the year 2000, an average house in Star City cost $250,000. If the average annual inflation rate for the past years has been
about 4.7%, what was the price of that house in 2015?
12. Find the 'fair market' value of a ten-year $1000 bond which pays $30 every six months if the current interest rate is 7%. What if
the current interest rate is 5%?
13. A Visa credit card company has a finance charge of 1.5% per month (18% per year) on the outstanding balance. John owed
$3200 and has been delinquent for 5 months. How much total does he owe, now?
14. You want to purchase a home for $200,000 with a 30-year mortgage at 9.24% interest. Find
a. the monthly payment
b. the balance owed after 20 years.
15. When Jose bought his car, he amortized his loan over 6 years at a rate of 9.2%, and his monthly payment came out to be $350
per month. He has been making these payments for the past 40 months and now wants to pay off the remaining balance. How
much does he owe?
16. A lottery pays $10,000 per month for the next 20 years. If the interest rate is 7.8%, find both its present and future values.
17. A corporation estimates it will need $300,000 in 8 years to replace its existing machinery. How much should it deposit each
quarter in a sinking fund earning 8.4% compounded quarterly to meet this obligation?
18. Our national debt in 1992 was about $4 trillion. If the annual interest rate was 7% then, what was the daily interest on the
national debt?
19. A business must raise $400,000 in 10 years. What should be the size of the owners' monthly payments to a sinking fund paying
6.5% compounded monthly?
20. The population of a city of 80,000 is growing at a rate of 3.2% per year. What will the population be at the end of 10 years?
21. A sum of $5000 is deposited in a bank today. What will the final amount be in 20 months if the bank pays 9% and the interest is
compounded monthly?
22. A manufacturing company buys a machine for $500 cash and $50 per month for the next 3 years. Find the cash value of the
machine today if the money is worth 6.2% compounded monthly.
23. The United States paid about 4 cents an acre for the Louisiana Purchase in 1803. Suppose the value of this property grew at a
rate of 5.5% annually. What would an acre be worth in the year 2000?
24. What amount should be invested per month at 9.1% compounded monthly so that it will become $5000 in 17 months?
25. A machine costs $8000 and has a life of 5 years. It can be leased for $160 per month for 5 years with a cash down payment of
$750. The current interest rate is 8.3%. Is it cheaper to lease or to buy?
26. If inflation holds at 5.2% per year for 5 years, what will be the cost in 5 years of a car that costs $16,000 today? How much will
you need to deposit each quarter in a sinking fund earning 8.7% per year to purchase the new car in 5 years?
8.7.1 https://math.libretexts.org/@go/page/40200
27. City Bank pays an interest rate of 6%, while Western Bank pays 5.8% compounded continuously. Which one is a better deal?
28. Ali has inherited $20,000 and is planning to invest this amount at 7.9% interest. At the same time he wishes to make equal
monthly withdrawals to use up the entire sum in 5 years. How much can he withdraw each month?
29. Jason has a choice of receiving $300 per month for the next 5 years or $500 per month for the next 3 years. Which one is worth
more if the current interest rate is 7.7%?
30. If a bank pays 6.8% compounded continuously, how long will it take to double your money?
31. A mutual fund claims a growth rate of 8.3% per year. If $500 per month is invested, what will the final amount be in 15 years?
32. Mr. Vasquez has been given two choices for his compensation. He can have $20,000 cash plus $500 per month for 10 years, or
he can receive $12,000 cash plus $1000 per month for 5 years. If the interest rate is 8%, which is the better offer?
33. How much should Mr. Shackley deposit in a trust account so that his daughter can withdraw $400 per month for 4 years if the
interest rate is 8%?
34. Mr. Albers borrowed $425,000 from the bank for his new house at an interest rate of 4.7%. He will make equal monthly
payments for the next 30 years. How much money will he end up paying the bank over the life of the loan, and how much is the
interest?
35. Mr. Tong puts away $500 per month for 10 years in an account that earns 9.3%. After 10 years, he decides to withdraw $1,000
per month. If the interest rate stays the same, how long will it take Mr. Tong to deplete the account?
36. An amount of $5000 is borrowed for 15 months at an interest rate of 9%. Find the monthly payment and construct an
amortization schedule showing the monthly payment, the monthly interest on the outstanding balance, the amount of payment
contributing towards debt, and the outstanding debt.
This page titled 8.7: Chapter 8 Review is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and
Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon
request.
8.7.2 https://math.libretexts.org/@go/page/40200
Index
A G mutually exclusive
accumulated value (annuity) Gaussian Elimination 6.2: Mutually Exclusive Events and the Addition
Rule
8.3: Future Value of Annuities and Sinking Funds 3.3: Solving Systems with Gauss-Jordan Elimination
annuity geometric series
8.3: Future Value of Annuities and Sinking Funds 8.3: Future Value of Annuities and Sinking Funds
N
augmented matrix natural logarithm
3.3: Solving Systems with Gauss-Jordan Elimination I 7.3: Logarithms and Logarithmic Functions
number e
identity matrix
B 3.4: Solving Systems with Inverses
7.1: Exponential Growth and Decay Models
1 https://math.libretexts.org/@go/page/50401
simple interest strength of a relationship between the U
8.1: Simple Interest and Discount variables union
sinking fund 1.5E: Exercises - Fitting Linear Models to Data 6.2: Mutually Exclusive Events and the Addition
8.3: Future Value of Annuities and Sinking Funds subset Rule
standard form 5.1: Sets and Counting
1.3: Determining the Equation of a Line V
standard minimization linear program T variable cost
4.4: Linear Programming - Minimization
Applications
tree diagrams 1.4: Linear Applications
6.3: Probability Using Tree Diagrams and Venn diagram
Combinations 5.1: Sets and Counting
2 https://math.libretexts.org/@go/page/50401
Glossary
Sample Word 1 | Sample Definition 1
1 https://math.libretexts.org/@go/page/51318
Detailed Licensing
Overview
Title: MAT 1320 Finite Mathematics
Webpages: 110
Applicable Restrictions: Noncommercial
All licenses found:
CC BY 4.0: 71.8% (79 pages)
Undeclared: 21.8% (24 pages)
CC BY-NC-SA 4.0: 6.4% (7 pages)
By Page
MAT 1320 Finite Mathematics - Undeclared 2.3E: Exercises - Using Transformations to Graph
Front Matter - Undeclared Functions - Undeclared
TitlePage - Undeclared 2.4: Graphing Quadratic Functions Using Properties -
InfoPage - Undeclared Undeclared
Table of Contents - Undeclared 2.4E: Exercises - Graphing Quadratic Functions
Licensing - Undeclared Using Properties - CC BY 4.0
1: Linear Equations and Lines - Undeclared 2.5: Polynomial Functions - CC BY-NC-SA 4.0
1.1: Solving Linear Equations and Inequalities - CC 2.5E: Exercises - Polynomial Functions -
BY-NC-SA 4.0 Undeclared
1.1E: Exercises - Solving Linear Equations and 2.6: Rational Functions - CC BY-NC-SA 4.0
Inequalities - CC BY-NC-SA 4.0 2.6E: Exercises - Rational Functions - Undeclared
1.2: Graphing Linear Equations - CC BY 4.0 1.1: Chapter 2 Review - Undeclared
1.2E: Exercises - Graphing Linear Equations - CC 3: Solving Systems of Equations - Undeclared
BY 4.0
3.1: Solving Systems with Algebra - CC BY 4.0
1.3: Determining the Equation of a Line - CC BY 4.0
3.1E: Exercises - Solving Systems with Algebra -
1.3E: Exercises - Determining the Equation of a CC BY 4.0
Line - CC BY 4.0 3.2: Matrices and Matrix Operations - CC BY 4.0
1.4: Linear Applications - CC BY 4.0 3.2E: Exercises - Matrices and Matrix Operations
1.4E: Exercises - Linear Applications - CC BY 4.0 - Undeclared
1.5: Fitting Linear Models to Data - CC BY 4.0 3.3: Solving Systems with Gauss-Jordan Elimination
1.5E: Exercises - Fitting Linear Models to Data - - CC BY 4.0
CC BY 4.0 3.3E: Exercises - Solving Systems with Gauss-
1.6: Chapter 1 Review - CC BY 4.0 Jordan Elimination - Undeclared
2: More About Functions - Undeclared 3.4: Solving Systems with Inverses - CC BY 4.0
2.1: Relations and Functions - CC BY 4.0 3.4E: Exercises - Solving Systems with Inverses -
2.1E: Exercises - Relations and Functions - CC CC BY 4.0
BY 4.0 3.5: Chapter 3 Review - CC BY-NC-SA 4.0
2.2: Graphing the Basic Functions - CC BY-NC-SA 4: Solving Systems of Inequalities - Undeclared
4.0 4.1: Graphing Linear Inequalities in Two Variables -
2.2E: Exercises - Graphing the Basic Functions - Undeclared
Undeclared 4.1E: Exercises - Graphing Linear Inequalities in
2.3: Using Transformations to Graph Functions - CC Two Variables - CC BY 4.0
BY-NC-SA 4.0
1 https://math.libretexts.org/@go/page/115607
4.2: Graphing Systems of Linear Inequalities - 6.7: Expected Value - CC BY 4.0
Undeclared 6.7E: Exercises - Expected Value - CC BY 4.0
4.2E: Exercises - Graphing Systems of Linear 6.8: Chapter 6 Review - CC BY 4.0
Inequalities - CC BY 4.0
7: Exponential and Logarithmic Functions - CC BY 4.0
4.3: Linear Programming - Maximization
7.1: Exponential Growth and Decay Models - CC BY
Applications - CC BY 4.0
4.0
4.3E: Exercises - Linear Programming 7.1E: Exercises - Exponential Growth and Decay
Maximization Applications - CC BY 4.0 Models - CC BY 4.0
4.4: Linear Programming - Minimization 7.2: Graphs and Properties of Exponential Growth
Applications - CC BY 4.0 and Decay Functions - CC BY 4.0
4.4E: Exercises - Linear Programming 7.2E: Exercises - Graphs and Properties of
Minimization Applications - CC BY 4.0 Exponential Growth and Decay Functions - CC
4.5: Chapter 4 Review - CC BY 4.0 BY 4.0
5: Sets and Counting - CC BY 4.0 7.3: Logarithms and Logarithmic Functions - CC BY
5.1: Sets and Counting - CC BY 4.0 4.0
5.1E: Exercises - Sets and Counting - CC BY 4.0 7.3E: Exercises - Logarithms and Logarithmic
5.2: Tree Diagrams and the Multiplication Axiom - Functions - CC BY 4.0
CC BY 4.0 7.4: Graphs and Properties of Logarithmic Functions
5.2E: Exercises - Tree Diagrams and the - CC BY 4.0
Multiplication Axiom - CC BY 4.0 7.4E: Exercises - Graphs and Properties of
5.3: Permutations - CC BY 4.0 Logarithmic Functions - CC BY 4.0
5.3E: Exercises - Permutations - CC BY 4.0 7.5: Applications of Exponential and Logarithmic
Functions - CC BY 4.0
5.4: Combinations - CC BY 4.0
7.5E: Exercises - Applications of Exponential and
5.4E: Exercises - Combinations - CC BY 4.0
Logarithmic Functions - CC BY 4.0
5.5: Binomial Theorem - CC BY 4.0
7.6: Chapter 7 Review - CC BY 4.0
5.5E: Exercises - Binomial Theorem - CC BY 4.0
8: Finance Applications - CC BY 4.0
5.6: Chapter 5 Review - CC BY 4.0
8.1: Simple Interest and Discount - CC BY 4.0
6: Probability - CC BY 4.0
8.1E: Exercises - Simple Interest and Discount -
6.1: Sample Spaces and Probability - CC BY 4.0
CC BY 4.0
6.1E: Exercises - Sample Spaces and Probability -
8.2: Compound Interest - CC BY 4.0
CC BY 4.0
8.2E: Exercises - Compound Interest - CC BY 4.0
6.2: Mutually Exclusive Events and the Addition
Rule - CC BY 4.0 8.3: Future Value of Annuities and Sinking Funds -
CC BY 4.0
6.2E: Exercises - Mutually Exclusive Events and
the Addition Rule - CC BY 4.0 8.3E: Exercises - Annuities and Sinking Funds -
CC BY 4.0
6.3: Probability Using Tree Diagrams and
8.4: Present Value of Annuities and Installment
Combinations - CC BY 4.0
Payment - CC BY 4.0
6.3E: Exercises - Probability Using Tree
8.4E: Exercises - Present Value of an Annuity and
Diagrams and Combinations - CC BY 4.0
Installment Payment - CC BY 4.0
6.4: Conditional Probability - CC BY 4.0
8.5: Classification of Finance Problems - CC BY 4.0
6.4E: Exercises - Conditional Probability - CC BY
4.0 8.5E: Exercises - Classification of Finance
Problems - CC BY 4.0
6.5: Bayes' Formula - CC BY 4.0
8.6: Additional Application Problems - CC BY 4.0
6.5E: Exercises - Bayes' Formula - CC BY 4.0
8.6E: Exercises - Miscellaneous Application
6.6: Independent Events - CC BY 4.0
Problems - CC BY 4.0
6.6E: Exercises - Independent Events - CC BY 4.0
8.7: Chapter 8 Review - CC BY 4.0
2 https://math.libretexts.org/@go/page/115607
Back Matter - Undeclared Glossary - Undeclared
Index - Undeclared Detailed Licensing - Undeclared
3 https://math.libretexts.org/@go/page/115607