This is “Graphing Functions and Inequalities”, chapter 2 from the book Advanced Algebra (v. 1.0). For details on it (including licensing), click here.

For more information on the source of this book, or why it is available for free, please see the project's home page. You can browse or download additional books there. To download a .zip file containing this book to use offline, simply click here.

Has this book helped you? Consider passing it on:
Creative Commons supports free culture from music to education. Their licenses helped make this book available to you.
DonorsChoose.org helps people like you help teachers fund their classroom projects, from art supplies to books to calculators.

Chapter 2 Graphing Functions and Inequalities

 

2.1 Relations, Graphs, and Functions

Learning Objectives

  1. State the domain and range of a relation.
  2. Identify a function.
  3. Use function notation.

Graphs, Relations, Domain, and Range

The rectangular coordinate systemA system with two number lines at right angles specifying points in a plane using ordered pairs (x, y). consists of two real number lines that intersect at a right angle. The horizontal number line is called the x-axisThe horizontal number line used as reference in a rectangular coordinate system., and the vertical number line is called the y-axisThe vertical number line used as reference in a rectangular coordinate system.. These two number lines define a flat surface called a planeThe flat surface defined by x- and y-axes., and each point on this plane is associated with an ordered pairPairs (x, y) that identify position relative to the origin on a rectangular coordinate plane. of real numbers (x, y). The first number is called the x-coordinate, and the second number is called the y-coordinate. The intersection of the two axes is known as the originThe point where the x- and y-axes cross, denoted by (0, 0)., which corresponds to the point (0, 0).

The x- and y-axes break the plane into four regions called quadrantsThe four regions of a rectangular coordinate plane partly bounded by the x- and y-axes and numbered using the Roman numerals I, II, III, and IV., named using roman numerals I, II, III, and IV, as pictured. The ordered pair (x, y) represents the position of points relative to the origin. For example, the ordered pair (−4, 3) represents the position 4 units to the left of the origin, and 3 units above in the second quadrant.

This system is often called the Cartesian coordinate systemTerm used in honor of René Descartes when referring to the rectangular coordinate system., named after the French mathematician René Descartes (1596–1650).

Figure 2.1

Rene Descartes Wikipedia

Next, we define a relationAny set of ordered pairs. as any set of ordered pairs. In the context of algebra, the relations of interest are sets of ordered pairs (x, y) in the rectangular coordinate plane. Typically, the coordinates are related by a rule expressed using an algebraic equation. For example, both the algebraic equations y=|x|2 and x=|y|+1 define relationsips between x and y. Following are some integers that satisfy both equations:

Here two relations consisting of seven ordered pair solutions are obtained:

y=|x|2hassolutions{(3,1),(2,0),(1,1),(0,2),(1,1),(2,0),(3,1)}andx=|y|+1hassolutions{(4,3),(3,2),(2,1),(1,0),(2,1),(3,2),(4,3)}

We can visually display any relation of this type on a coordinate plane by plotting the points.

The solution sets of each equation will form a relation consisting of infinitely many ordered pairs. We can use the given ordered pair solutions to estimate all of the other ordered pairs by drawing a line through the given points. Here we put an arrow on the ends of our lines to indicate that this set of ordered pairs continues without bounds.

The representation of a relation on a rectangular coordinate plane, as illustrated above, is called a graphA visual representation of a relation on a rectangular coordinate plane.. Any curve graphed on a rectangular coordinate plane represents a set of ordered pairs and thus defines a relation.

The set consisting of all of the first components of a relation, in this case the x-values, is called the domainThe set consisting of all of the first components of a relation. For relations consisting of points in the plane, the domain is the set of all x-values.. And the set consisting of all second components of a relation, in this case the y-values, is called the rangeThe set consisting of all of the second components of a relation. For relations consisting of points in the plane, the range is the set of all y-values. (or codomainUsed when referencing the range.). Often, we can determine the domain and range of a relation if we are given its graph.

Here we can see that the graph of y=|x|2 has a domain consisting of all real numbers, =(,), and a range of all y-values greater than or equal to −2, [2,). The domain of the graph of x=|y|+1 consists of all x-values greater than or equal to 1, [1,), and the range consists of all real numbers, =(,).

Example 1

Determine the domain and range of the following relation:

Solution:

The minimum x-value represented on the graph is −8 all others are larger. Therefore, the domain consists of all x-values in the interval [8,). The minimum y-value represented on the graph is 0; thus, the range is [0,).

Answer: Domain: [8,); range: [0,)

Functions

Of special interest are relations where every x-value corresponds to exactly one y-value. A relation with this property is called a functionA relation where each element in the domain corresponds to exactly one element in the range..

Example 2

Determine the domain and range of the following relation and state whether it is a function or not: {(−1, 4), (0, 7), (2, 3), (3, 3), (4, −2)}

Solution:

Here we separate the domain (x-values), and the range (y-values), and depict the correspondence between the values with arrows.

The relation is a function because each x-value corresponds to exactly one y-value.

Answer: The domain is {−1, 0, 2, 3, 4} and the range is {−2, 3, 4, 7}. The relation is a function.

Example 3

Determine the domain and range of the following relation and state whether it is a function or not: {(−4, −3), (−2, 6), (0, 3), (3, 5), (3, 7)}

Solution:

The given relation is not a function because the x-value 3 corresponds to two y-values. We can also recognize functions as relations where no x-values are repeated.

Answer: The domain is {−4, −2, 0, 3} and the range is {−3, 3, 5, 6, 7}. This relation is not a function.

Consider the relations consisting of the seven ordered pair solutions to y=|x|2 and x=|y|+1. The correspondence between the domain and range of each can be pictured as follows:

Notice that every element in the domain of the solution set of y=|x|2 corresponds to only one element in the range; it is a function. The solutions to x=|y|+1, on the other hand, have values in the domain that correspond to two elements in the range. In particular, the x-value 4 corresponds to two y-values −3 and 3. Therefore, x=|y|+1 does not define a function.

We can visually identify functions by their graphs using the vertical line testIf any vertical line intersects the graph more than once, then the graph does not represent a function.. If any vertical line intersects the graph more than once, then the graph does not represent a function.

The vertical line represents a value in the domain, and the number of intersections with the graph represent the number of values to which it corresponds. As we can see, any vertical line will intersect the graph of y=|x|2 only once; therefore, it is a function. A vertical line can cross the graph of x=|y|+1 more than once; therefore, it is not a function. As pictured, the x-value 3 corresponds to more than one y-value.

Example 4

Given the graph, state the domain and range and determine whether or not it represents a function:

Solution:

From the graph we can see that the minimum x-value is −1 and the maximum x-value is 5. Hence, the domain consists of all the real numbers in the set from [1,5]. The maximum y-value is 3 and the minimum is −3; hence, the range consists of y-values in the interval [3,3].

In addition, since we can find a vertical line that intersects the graph more than once, we conclude that the graph is not a function. There are many x-values in the domain that correspond to two y-values.

Answer: Domain: [1,5]; range: [3,3]; function: no

Try this! Given the graph, determine the domain and range and state whether or not it is a function:

Answer: Domain: (,15]; range:; function: no

Function Notation

With the definition of a function comes special notation. If we consider each x-value to be the input that produces exactly one output, then we can use function notationThe notation f(x)=y, which reads “f of x is equal to y.” Given a function, y and f(x) can be used interchangeably.:

f(x)=y

The notation f(x) reads, “f of x” and should not be confused with multiplication. Algebra frequently involves functions, and so the notation becomes useful when performing common tasks. Here f is the function name, and f(x) denotes the value in the range associated with the value x in the domain. Functions are often named with different letters; some common names for functions are f, g, h, C, and R. We have determined that the set of solutions to y=|x|2 is a function; therefore, using function notation we can write:

y=|x|2f(x)=|x|2

It is important to note that y and f(x) are used interchangeably. This notation is used as follows:

f(x)=|x|2f(5)=|5|2=52=3

Here the compact notation f(5)=3 indicates that where x=5 (the input), the function results in y=3 (the output). In other words, replace the variable with the value given inside the parentheses.

Functions are compactly defined by an algebraic equation, such as f(x)=|x|2. Given values for x in the domain, we can quickly calculate the corresponding values in the range. As we have seen, functions are also expressed using graphs. In this case, we interpret f(5)=3 as follows:

Function notation streamlines the task of evaluating. For example, use the function h defined by h(x)=12x3 to evaluate for x-values in the set {−2, 0, 7}.

h(2)=12(2)3=13=4h(0)=12(0)3=03=3h(7)=12(7)3=723=12

Given any function defined by h(x)=y, the value x is called the argument of the functionThe value or algebraic expression used as input when using function notation.. The argument can be any algebraic expression. For example:

h(4a3)=12(4a3)3=2a33h(2x1)=12(2x1)3=x123=x72

Example 5

Given g(x)=x2, find g(2), g(12), and g(x+h).

Solution:

Recall that when evaluating, it is a best practice to begin by replacing the variables with parentheses and then substitute the appropriate values. This helps with the order of operations when simplifying expressions.

g(2)=(2)2=4g(12)=(12)2=14g(x+h)=(x+h)2=x2+2xh+h2

Answer: g(2)=4, g(12)=14, g(x+h)=x2+2xh+h2

At this point, it is important to note that, in general, f(x+h)f(x)+f(h). The previous example, where g(x)=x2, illustrates this nicely.

g(x+h)g(x)+g(h)(x+h)2x2+h2

Example 6

Given f(x)=2x+4, find f(2), f(0), and f(12a22).

Solution:

f(2)=2(2)+4=4+4=0=0f(0)=2(0)+4=0+4=4=2f(12a22)=2(12a22)+4=a24+4=a2=|a|

Answer: f(2)=0, f(0)=2, f(12a22)=|a|

Example 7

Given the graph of g(x), find g(8), g(0), and g(8).

Solution:

Use the graph to find the corresponding y-values where x = −8, 0, and 8.

Answer: g(8)=2, g(0)=0, g(8)=2

Sometimes the output is given and we are asked to find the input.

Example 8

Given f(x)=5x+7, find x where f(x)=27.

Solution:

In this example, the output is given and we are asked to find the input. Substitute f(x) with 27 and solve.

f(x)=5x+727=5x+720=5x4=x

Therefore, f(4)=27. As a check, we can evaluate f(4)=5(4)+7=27.

Answer: x=4

Example 9

Given the graph of g, find x where g(x)=2.

Solution:

Here we are asked to find the x-value given a particular y-value. We begin with 2 on the y-axis and then read the corresponding x-value.

We can see that g(x)=2 where x=5; in other words, g(5)=2.

Answer: x=5

Try this! Given the graph of h, find x where h(x)=4.

Answer: x=5 and x=15

Key Takeaways

  • A relation is any set of ordered pairs. However, in this course, we will be working with sets of ordered pairs (x, y) in the rectangular coordinate system. The set of x-values defines the domain and the set of y-values defines the range.
  • Special relations where every x-value (input) corresponds to exactly one y-value (output) are called functions.
  • We can easily determine whether or not an equation represents a function by performing the vertical line test on its graph. If any vertical line intersects the graph more than once, then the graph does not represent a function.
  • If an algebraic equation defines a function, then we can use the notation f(x)=y. The notation f(x) is read “f of x” and should not be confused with multiplication. When working with functions, it is important to remember that y and f(x) are used interchangeably.
  • If asked to find f(a), we substitute the argument a in for the variable and then simplify. The argument could be an algebraic expression.
  • If asked to find x where f(x)=a, we set the function equal to a and then solve for x.

Topic Exercises

    Part A: Relations and Functions

      Determine the domain and range and state whether the relation is a function or not.

    1. {(3, 1), (5, 2), (7, 3), (9, 4), (12, 4)}

    2. {(2, 0), (4, 3), (6, 6), (8, 6), (10, 9)}

    3. {(7, 5), (8, 6), (10, 7), (10, 8), (15, 9)}

    4. {(1, 1), (2, 1), (3, 1), (4, 1), (5, 1)}

    5. {(5, 0), (5, 2), (5, 4), (5, 6), (5, 8)}

    6. {(−3, 1), (−2, 2), (−1, 3), (0, 4), (0, 5)}

    Part B: Function Notation

      Evaluate.

    1. g(x)=|x5| find g(5), g(0), and g(5).

    2. g(x)=|x|5; find g(5), g(0), and g(5).

    3. g(x)=|2x3|; find g(1), g(0), and g(32).

    4. g(x)=3|2x|; find g(3), g(0), and g(3).

    5. f(x)=2x3; find f(2), f(0), and f(x3).

    6. f(x)=5x1; find f(2), f(0), and f(x+1).

    7. g(x)=23x+1; find g(3), g(0), and f(9x+6).

    8. g(x)=34x12; find g(4), g(0), and g(6x2).

    9. g(x)=x2; find g(5), g(3), and g(x5).

    10. g(x)=x2+1; find g(1), g(6), and g(2x1).

    11. f(x)=x2x2; find f(0), f(2), and f(x+2).

    12. f(x)=2x2+x4; find f(2), f(12), and f(x3).

    13. h(t)=16t2+32; find h(14), h(12), and h(2a1).

    14. h(t)=16t2+32; find h(0), h(2), h(2a+1).

    15. f(x)=x+12 find f(1), f(0), f(x1).

    16. f(x)=x3+1; find f(12), f(3), f(x+3).

    17. g(x)=x+8; find g(0), g(8), and g(x8).

    18. g(x)=3x1; find g(13), g(53), and g(13a2+13).

    19. f(x)=x3+1; find f(1), f(0), f(a2).

    20. f(x)=x38; find f(2), f(0), f(a3).

      Given the function find f(x+h).

    1. f(x)=3x1

    2. f(x)=5x+2

    3. f(x)=x2+x+1

    4. f(x)=2x2x1

    5. f(x)=x3

    6. f(x)=2x31

      Find x given the function.

    1. f(x)=2x3; find x where f(x)=25.

    2. f(x)=73x; find x where f(x)=27.

    3. f(x)=2x+5; find x where f(x)=0

    4. f(x)=2x+1; find x where f(x)=0

    5. g(x)=6x+2; find x where g(x)=5.

    6. g(x)=4x+5; find x where g(x)=2.

    7. h(x)=23x12; find x where h(x)=16.

    8. h(x)=54x+13; find x where h(x)=12.

    9. The value of a new car in dollars is given by the function V(t)=1,800t+22,000 where t represents the age of the car in years. Use the function to determine the value of the car when it is 4 years old. What was the value of the car new?

    10. The monthly income in dollars of a commissioned car salesperson is given by the function I(n)=350n+1,450 where n represents the number of cars sold in the month. Use the function to determine the salesperson’s income if he sells 3 cars this month. What is his income if he does not sell any cars in one month?

      Given the graph of the function f, find the function values.

    1. Find f(0), f(2), and f(4).

    2. Find f(1), f(0), and f(1).

    3. Find f(0), f(2), and f(4).

    4. Find f(3), f(0), and f(3).

    5. Find f(4), f(0), and f(2).

    6. Find f(6), f(0), and f(6).

    7. Find f(2), f(2), and f(7).

    8. Find f(0), f(5), and f(9).

    9. Find f(8), f(0), and f(8).

    10. Find f(12), f(0), and f(12).

      Given the graph of a function g, find the x-values.

    1. Find x where g(x)=3, g(x)=0, and g(x)=2.

    2. Find x where g(x)=0, g(x)=1, and g(x)=4.

    3. Find x where g(x)=5, g(x)=0, and g(x)=10.

    4. Find x where g(x)=0, g(x)=10, and g(x)=15.

    5. Find x where g(x)=5, g(x)=4, and g(x)=4.

    6. Find x where g(x)=1, g(x)=0, and g(x)=3.

    7. Find x where g(x)=4, g(x)=3, and g(x)=4.

    8. Find x where g(x)=5, g(x)=4, and g(x)=4.

    9. Find x where g(x)=10 and g(x)=5.

    10. Find x where g(x)=2.

      The value of a certain automobile in dollars depends on the number of years since it was purchased in 1970 according to the following function:

    1. What was the value of the car when it was new in 1970?

    2. In what year was the value of the car at a minimum?

    3. What was the value of the car in 2005?

    4. In what years was the car valued at $4,000?

      Given the linear function defined by f(x)=2x5, simplify the following.

    1. f(5)f(3)

    2. f(0)f(7)

    3. f(x+2)f(2)

    4. f(x+7)f(7)

    5. f(x+h)f(x)
    6. f(x+h)f(x)h
    7. Simplify c(x+h)c(x)h given c(x)=3x+1.

    8. Simplify p(x+h)p(x)h given p(x)=7x3.

    9. Simplify g(x+h)g(x)h given g(x)=mx+b.

    10. Simplify q(x+h)q(x)h given q(x)=ax.

    Part C: Discussion Board

    1. Who is credited with the introduction of the notation y=f(x)? Provide a brief summary of his life and accomplishments.

    2. Explain to a beginning algebra student what the vertical line test is and why it works.

    3. Research and discuss the life and contributions of René Descartes.

    4. Conduct an Internet search for the vertical line test, functions, and evaluating functions. Share a link to a page that you think others may find useful.

Answers

  1. Domain: {3, 5, 7, 9, 12}; range: {1, 2, 3, 4}; function: yes

  2. Domain: {7, 8, 10, 15}; range: {5, 6, 7, 8, 9}; function: no

  3. Domain: {5}; range: {0, 2, 4, 6, 8}; function: no

  4. Domain: {−4, −1, 0, 2, 3}; range: {1, 2, 3}; function: yes

  5. Domain: {−1, 0, 1, 2}; range: {0, 1, 2, 3, 4}; function: no

  6. Domain: {−2}; range: {−4, −2, 0, 2, 4}; function: no

  7. Domain: ; range: [2,); function: yes

  8. Domain: (,1]; range: ; function: no

  9. Domain: (,0]; range: [1,); function: yes

  10. Domain: ; range: (,3]; function: yes

  11. Domain: ; range: ; function: yes

  12. Domain: [5,1]; range: [2,2]; function: no

  13. Domain: ; range: [0,]; function: yes

  14. Domain: ; range: ; function: yes

  15. Domain: ; range: [1,1]; function: yes

  16. Domain: [8,8]; range: [3,3]; function: no

  17. Domain: ; range: [8,]; function: yes

  1. g(5)=10, g(0)=5, g(5)=0

  2. g(1)=5, g(0)=3, g(32)=0

  3. f(2)=7, f(0)=3, f(x3)=2x9

  4. g(3)=1, g(0)=1, g(9x+6)=6x+5

  5. g(5)=25, g(3)=3, g(x5)=x210x+25

  6. f(0)=2, f(2)=0, f(x+2)=x2+3x

  7. h(14)=31, h(12)=28, h(2a1)=64a2+64a+16

  8. f(1)=2, f(0)=1, f(x1)=x2

  9. g(0)=22, g(8)=0, g(a28)=|a|

  10. f(1)=0, f(0)=1, f(a2)=a6+1

  11. f(x+h)=3x+3h1

  12. f(x+h)=x2+2xh+h2+x+h+1
  13. f(x+h)=x3+3hx2+3h2x+h3
  14. x=14
  15. x=52
  16. x=12
  17. x=1
  18. New: $22,000; 4 yrs old: $14,800

  19. f(0)=5, f(2)=1, f(4)=5

  20. f(0)=0, f(2)=2, f(4)=0

  21. f(4)=3, f(0)=3, f(2)=3

  22. f(2)=1, f(2)=3, f(7)=4

  23. f(8)=10, f(0)=0, f(8)=10

  24. g(4)=3, g(2)=0, and g(6)=2.

  25. g(10)=5, g(5)=0andg(15)=0, g(5)=10andg(25)=10

  26. g(2)=5, g(3)=4andg(1)=4, g(5)=4andg(1)=4

  27. g(2)=4, g(1)=3, g(0)=4

  28. g(10)=10andg(5)=10; g(5)=5andg(10)=5

  29. $5,000

  30. $10,000

  31. 4

  32. 2x

  33. 2h

  34. 3

  35. m

  1. Answer may vary

  2. Answer may vary

2.2 Linear Functions and Their Graphs

Learning Objectives

  1. Graph a line by plotting points.
  2. Determine the slope of a line.
  3. Identify and graph a linear function using the slope and y-intercept.
  4. Interpret solutions to linear equations and inequalities graphically.

A Review of Graphing Lines

Recall that the set of all solutions to a linear equation can be represented on a rectangular coordinate plane using a straight line through at least two points; this line is called its graph. For example, to graph the linear equation 8x+4y=12 we would first solve for y.

8x+4y=12                 Subtract8xonbothsides.4y=8x+12       Dividebothsidesby4.y=8x+124      Simplify.y=8x4+124y=2x+3

Written in this form, we can see that y depends on x; in other words, x is the independent variableThe variable that determines the values of other variables. Usually we think of the x-value of an ordered pair (x, y) as the independent variable. and y is the dependent variableThe variable whose value is determined by the value of the independent variable. Usually we think of the y-value of an ordered pair (x, y) as the dependent variable.. Choose at least two x-values and find the corresponding y-values. It is a good practice to choose zero, some negative numbers, as well as some positive numbers. Here we will choose five x values, determine the corresponding y-values, and then form a representative set of ordered pair solutions.

x

y

y=2x+3

Solutions

−2

7

y=2(2)+3=4+3=7

(−2, 7)

−1

5

y=2(1)+3=2+3=5

(−1, 5)

0

3

y=2(0)+3=0+3=3

(0, 3)

4

−5

y=2(4)+3=8+3=5

(4, −5)

6

−9

y=2(6)+3=12+3=9

(6, −9)

Plot the points and draw a line through the points with a straightedge. Be sure to add arrows on either end to indicate that the graph extends indefinitely.

The resulting line represents all solutions to 8x+4y=12, of which there are infinitely many. The above process describes the technique for graphing known as plotting pointsA way of determining a graph using a finite number of representative ordered pair solutions.. This technique will be used to graph more complicated functions as we progress in this course.

The steepness of any incline can be measured as the ratio of the vertical change to the horizontal change. For example, a 5% incline can be written as 5100, which means that for every 100 feet forward, the height increases 5 feet.

In mathematics, we call the incline of a line the slopeThe incline of a line measured as the ratio of the vertical change to the horizontal change, often referred to as “rise over run.”, denoted by the letter m. The vertical change is called the riseThe vertical change between any two points on a line. and the horizontal change is called the runThe horizontal change between any two points on a line.. Given any two points (x1,y1) and (x2,y2), we can obtain the rise and run by subtracting the corresponding coordinates.

This leads us to the slope formulaThe slope of the line through the points (x1,y1) and (x2,y2) is given by the formula m=y2y1x2x1.. Given any two points (x1,y1) and (x2,y2), the slope is given by:

Slope    m=riserun=y2y1x2x1=ΔyΔxChangeinyChangeinx

The Greek letter delta (Δ) is often used to describe the change in a quantity. Therefore, the slope is sometimes described using the notation ΔyΔx, which represents the change in y divided by the change in x.

Example 1

Find the slope of the line passing through (−3, −5) and (2, 1).

Solution:

Given (−3, −5) and (2, 1), calculate the difference of the y-values divided by the difference of the x-values. Take care to be consistent when subtracting the coordinates:

(x1,y1)(x2,y2)(3,5)(2,1)

m=y2y1x2x1=1(5)2(3)=1+52+3=65

It does not matter which point you consider to be the first and second. However, because subtraction is not commutative, you must take care to subtract the coordinates of the first point from the coordinates of the second point in the same order. For example, we obtain the same result if we apply the slope formula with the points switched:

(x1,y1)(x2,y2)(2,1)(3,5)

m=y2y1x2x1=5132=65=65

Answer: m=65

Verify that the slope is 65 by graphing the line described in the previous example.

Certainly the graph is optional; the beauty of the slope formula is that, given any two points, we can obtain the slope using only algebra.

Example 2

Find the y-value for which the slope of the line passing through (6,3) and (9,y) is 23.

Solution:

Substitute the given information into the slope formula.

Slope(x1,y1)(x2,y2)m=23(6,3)(9,y)

m=y2y1x2x123=y(3)9623=y+315

After substituting in the given information, the only variable left is y. Solve.

15(23)=15(y+315)10=y+37=y

Answer: y = 7

There are four geometric cases for the value of the slope.

Reading the graph from left to right, lines with an upward incline have positive slopes and lines with a downward incline have negative slopes. The other two cases involve horizontal and vertical lines. Recall that if k is a real number we have

y=kHorizontalLinex=kVerticalLine

For example, if we graph y=2 we obtain a horizontal line, and if we graph x=4 we obtain a vertical line.

From the graphs we can determine two points and calculate the slope using the slope formula.

Horizontal Line

Vertical Line

(x1,y1)(x2,y2)(3,2)(3,2)

m=y2y1x2x1=2(2)3(3)=223+3=06=0

(x1,y1)(x2,y2)(4,1)(4,1)

m=y2y1x2x1=1(1)4(4)=1+14+4=20Undefined

Notice that the points on the horizontal line share the same y-values. Therefore, the rise is zero and hence the slope is zero. The points on the vertical line share the same x-values. Consequently, the run is zero, leading to an undefined slope. In general,

Linear Functions

Given any linear equation in standard formAny nonvertical line can be written in the standard form ax+by=c., ax+by=c, we can solve for y to obtain slope-intercept formAny nonvertical line can be written in the form y=mx+b, where m is the slope and (0, b) is the y-intercept., y=mx+b. For example,

3x4y=8                    StandardForm4y=3x+8y=3x+84y=3x4+84y=34x2          Slope-InterceptForm

Where x=0, we can see that y=2 and thus (0,2) is an ordered pair solution. This is the point where the graph intersects the y-axis and is called the y-interceptThe point (or points) where a graph intersects the y-axis, expressed as an ordered pair (0, y).. We can use this point and the slope as a means to quickly graph a line. For example, to graph y=34x2, start at the y-intercept (0,2) and mark off the slope to find a second point. Then use these points to graph the line as follows:

The vertical line test indicates that this graph represents a function. Furthermore, the domain and range consists of all real numbers.

In general, a linear functionAny function that can be written in the form f(x)=mx+b is a function that can be written in the form f(x)=mx+bLinearFunction where the slope m and b represent any real numbers. Because y=f(x), we can use y and f(x) interchangeably, and ordered pair solutions on the graph (x,y) can be written in the form (x,f(x)).

(x,y)(x,f(x))

We know that any y-intercept will have an x-value equal to zero. Therefore, the y-intercept can be expressed as the ordered pair (0,f(0)). For linear functions,

f(0)=m(0)+b=b

Hence, the y-intercept of any linear function is (0,b). To find the x-interceptThe point (or points) where a graph intersects the x-axis, expressed as an ordered pair (x, 0)., the point where the function intersects the x-axis, we find x where y=0 or f(x)=0.

Example 3

Graph the linear function f(x)=53x+6 and label the x-intercept.

Solution:

From the function, we see that f(0)=6 (or b=6) and thus the y-intercept is (0, 6). Also, we can see that the slope m=53=53=riserun. Starting from the y-intercept, mark a second point down 5 units and right 3 units. Draw the line passing through these two points with a straightedge.

To determine the x-intercept, find the x-value where the function is equal to zero. In other words, determine x where f(x)=0.

f(x)=53x+60=53x+653x=6(35)53x=(35)6x=185=335

Therefore, the x-intercept is (185,0). The general rule is to label all important points that cannot be clearly read from the graph.

Answer:

Example 4

Determine a linear function that defines the given graph and find the x-intercept.

Solution:

We begin by reading the slope from the graph. In this case, two points are given and we can see that,

m=riserun=23

In addition, the y-intercept is (0, 3) and thus b=3. We can substitute into the equation for any linear function.

g(x)=mx+bg(x)=23x+3

To find the x-intercept, we set g(x)=0 and solve for x.

g(x)=23x+30=23x+323x=3(32)23x=(32)3x=92=412

Answer: g(x)=23x+3; x-intercept: (92,0)

Next, consider horizontal and vertical lines. Use the vertical line test to see that any horizontal line represents a function, and that a vertical line does not.

Given any horizontal line, the vertical line test shows that every x-value in the domain corresponds to exactly one y-value in the range; it is a function. A vertical line, on the other hand, fails the vertical line test; it is not a function. A vertical line represents a set of ordered pairs where all of the elements in the domain are the same. This violates the requirement that functions must associate exactly one element in the range to each element in the domain. We summarize as follows:

 

Horizontal Line

Vertical Line

Equation:

y=2

x=3

x-intercept:

None

(3,0)

y-intercept:

(0,2)

None

Domain:

(,)

{3}

Range:

{2}

(,)

Function:

Yes

No

A horizontal line is often called a constant function. Given any real number c,

f(x)=cConstantFunction

Example 5

Graph the constant function g(x)=2 and state the domain and range.

Solution:

Here we are given a constant function that is equivalent to y=2. This defines a horizontal line through (0,2).

Answer: Domain: ; range: {2}

Try this! Graph f(x)=3x2 and label the x-intercept.

Answer:

Linear Equations and Inequalities: A Graphical Interpretation

We can use the ideas in this section to develop a geometric understanding of what it means to solve equations of the form f(x)=g(x), where f and g are linear functions. Using algebra, we can solve the linear equation 12x+1=3 as follows:

12x+1=312x=2(2)12x=(2)2x=4

The solution to this equation is x = 4. Geometrically, this is the x-value of the intersection of the two graphs f(x)=12x+1 and g(x)=3. The idea is to graph the linear functions on either side of the equation and determine where the graphs coincide.

Example 6

Graph f(x)=12x+1 and g(x)=3 on the same set of axes and determine where f(x)=g(x).

Solution:

Here f is a linear function with slope 12 and y-intercept (0,1). The function g is a constant function and represents a horizontal line. Graph both of these functions on the same set of axes.

From the graph we can see that f(x)=g(x) where x=4. In other words, 12x+1=3 where x=4.

Answer: x = 4

We can extend the geometric interpretation a bit further to solve inequalities. For example, we can solve the linear inequality 12x+13, using algebra, as follows:

12x+1312x2(2)12x(2)2x4

The solution set consists of all real numbers greater than or equal to 4. Geometrically, these are the x-values for which the graph f(x)=12x+1 lies above the graph of g(x)=3.

Example 7

Graph f(x)=12x+1 and g(x)=3 on the same set of axes and determine where f(x)g(x).

Solution:

On the graph we can see this shaded.

From the graph we can see that f(x)g(x) or 12x+13 where x4.

Answer: The x-values that solve the inequality, in interval notation, are [4,).

Key Takeaways

  • We can graph lines by plotting points. Choose a few values for x, find the corresponding y-values, and then plot the resulting ordered pair solutions. Draw a line through the points with a straightedge to complete the graph.
  • Given any two points on a line, we can calculate the slope algebraically using the slope formula, m=riserun=y2y1x2x1=ΔyΔx.
  • Use slope-intercept form y=mx+b to quickly sketch the graph of a line. From the y-intercept (0,b), mark off the slope to determine a second point. Since two points determine a line, draw a line through these two points with a straightedge to complete the graph.
  • Linear functions have the form f(x)=mx+b, where the slope m and b are real numbers. To find the x-intercept, if one exists, set f(x)=0 and solve for x.
  • Since y=f(x) we can use y and f(x) interchangeably. Any point on the graph of a function can be expressed using function notation (x,f(x)).

Topic Exercises

    Part A: Graphing Lines by Plotting Points

      Find five ordered pair solutions and graph.

    1. y=3x6

    2. y=2x4

    3. y=5x+15

    4. y=3x+18

    5. y=12x+8

    6. y=23x+2

    7. y=35x+1

    8. y=32x+4

    9. y=14x

    10. y=25x

    11. y=10

    12. x=1

    13. 6x+3y=18

    14. 8x2y=16

    15. 2x+4y=8

    16. x+3y=18

    17. 12x15y=1

    18. 16x23y=2

    19. x+y=0

    20. x+y=0

      Find the slope of the line passing through the given points.

    1. (2,4) and (1,1)

    2. (3,0) and (3,4)

    3. (52,14) and (12,54)

    4. (4,3) and (2,3)

    5. (9,5) and (9,6)

    6. (12,1) and (1,32)

      Find the y-value for which the slope of the line passing through given points has the given slope.

    1. m=32;   (6,10), (4,y)

    2. m=13;   (6,4), (9,y)

    3. m=4;   (2,5), (1,y)

    4. m=3;   (1,2), (2,y)

    5. m=15;   (1,y), (6,15)

    6. m=34;   (1,y), (4,5)

      Given the graph, determine the slope.

    Part B: Linear Functions

      Find the x- and y-intercepts and use them to graph the following functions.

    1. 6x3y=18

    2. 8x2y=8

    3. x+12y=6

    4. 2x6y=8

    5. x2y=5

    6. x+3y=1

    7. 2x+3y=2

    8. 5x4y=2

    9. 9x4y=30

    10. 8x+3y=28

    11. 13x+12y=3

    12. 14x13y=3

    13. 79x23y=143

    14. 18x16y=32

    15. 16x+29y=43

    16. 215x+16y=43

    17. y=14x+12

    18. y=38x32

    19. y=23x+12

    20. y=45x+1

      Graph the linear function and label the x-intercept.

    1. f(x)=5x+15

    2. f(x)=2x+6

    3. f(x)=x2

    4. f(x)=x+3

    5. f(x)=13x+2

    6. f(x)=52x+10

    7. f(x)=53x+2

    8. f(x)=25x3

    9. f(x)=56x+2

    10. f(x)=43x+3

    11. f(x)=2x

    12. f(x)=3

      Determine the linear function that defines the given graph and find the x-intercept.

    Part C: A Graphical Interpretation of Linear Equations and Inequalities

      Graph the functions f and g on the same set of axes and determine where f(x)=g(x). Verify your answer algebraically.

    1. f(x)=12x3, g(x)=1

    2. f(x)=13x+2, g(x)=1

    3. f(x)=3x2, g(x)=5

    4. f(x)=x+2, g(x)=3

    5. f(x)=23x+4, g(x)=2

    6. f(x)=52x+6, g(x)=1

    7. f(x)=3x2, g(x)=2x+3

    8. f(x)=x+6, g(x)=x+2

    9. f(x)=13x, g(x)=23x+1

    10. f(x)=23x1, g(x)=43x3

      Graph the functions f and g on the same set of axes and determine where f(x)g(x). Verify your answer algebraically.

    1. f(x)=3x+7, g(x)=1

    2. f(x)=5x3, g(x)=2

    3. f(x)=23x3, g(x)=3

    4. f(x)=34x+2, g(x)=1

    5. f(x)=x+1, g(x)=3

    6. f(x)=4x+4, g(x)=8

    7. f(x)=x2, g(x)=x+4

    8. f(x)=4x5, g(x)=x+1

      Graph the functions f and g on the same set of axes and determine where f(x)<g(x). Verify your answer algebraically.

    1. f(x)=x+5, g(x)=1

    2. f(x)=3x3, g(x)=6

    3. f(x)=45x, g(x)=8

    4. f(x)=32x+6, g(x)=3

    5. f(x)=14x+1, g(x)=0

    6. f(x)=35x6, g(x)=0

    7. f(x)=13x+2, g(x)=13x

    8. f(x)=32x+3, g(x)=32x3

    Part D: Discussion Board

    1. Do all linear functions have y-intercepts? Do all linear functions have x-intercepts? Explain.

    2. Can a function have more than one y-intercept? Explain.

    3. How does the vertical line test show that a vertical line is not a function?

Answers

  1. 1

  2. 12

  3. Undefined

  4. y=5

  5. y=1

  6. y=45

  7. m=13

  8. m=73

  9. m=43

  10. m=0

  1. f(x)=x+1;   (1,0)

  2. f(x)=32x;   (0,0)

  3. f(x)=9;   none

  4. f(x)=13x+1; (3,0)

  1. x=8

  2. x=1

  3. x=3

  4. x=1

  5. x=3

  6. [2,)

  7. [0,)

  8. (,4]

  9. [3,)

  10. (,6)

  11. (10,)

  12. (,4)

  13. (,3)

  1. Answer may vary

  2. Answer may vary

2.3 Modeling Linear Functions

Learning Objectives

  1. Determine the equation of a line given two points.
  2. Determine the equation of a line given the slope and y-intercept.
  3. Find linear functions that model common applications.

Equations of Lines

Given the algebraic equation of a line, we can graph it in a number of ways. In this section, we will be given a geometric description of a line and find the algebraic equation. Finding the equation of a line can be accomplished in a number of ways. The following example makes use of slope-intercept form, y=mx+b, or using function notation, f(x)=mx+b. If we can determine the slope, m, and the y-intercept, (0, b), we can then construct the equation.

Example 1

Find the equation of the line passing through (3,6) and (5,4).

Solution:

We begin by finding the slope. Given two points, we can find the slope using the slope formula.

(x1,y1)(3,6)(x2,y2)(5,4)

m=y2y1x2x1=4(6)5(3)=465+3=108=54

Here m=54 and we have

f(x)=mx+bf(x)=54x+b

To find b, substitute either one of the given points through which the line passes. Here we will use (3,6), but (5,4) would work just as well:

f(x)=54x+b      Use(x,f(x))=(3,6)6=54(3)+b6=154+b6414154=b24154=b94=b

Therefore, the equation of the line passing through the two given points is:

f(x)=mx+bf(x)=54x+94

Answer: f(x)=54x+94

Next, we outline an alternative method for finding equations of lines. Begin by applying the slope formula with a given point (x1,y1) and a variable point (x,y).

m=yy1xx1m1=yy1xx1               Crossmultiply.m(xx1)=yy1               Applythesymmetricproperty.yy1=m(xx1)

Therefore, the equation of a nonvertical line can be written in point-slope formAny nonvertical line can be written in the form yy1=m(xx1), where m is the slope and (x1,y1) is any point on the line.:

yy1=m(xx1)   Point-slopeform.

Point-slope form is particularly useful for finding the equation of a line given the slope and any ordered pair solution. After finding the slope, 54 in the previous example, we could use this form to find the equation.

Point        Slope(x1,y1)(3,6)    m=54

Substitute as follows.

yy1=m(xx1)y(6)=54(x(3))        Solvefory.y6=54(x+3)              Distribute.y6=54x154y=54x154+6y=54x+94

Notice that we obtain the same linear function f(x)=54x+94.

 

Note: Sometimes a variable is not expressed explicitly in terms of another; however, it is still assumed that one variable is dependent on the other. For example, the equation 2x+3y=6 implicitly represents the function f(x)=23x+2. You should become comfortable with working with functions in either form.

Example 2

Find the equation of the following linear function:

Solution:

From the graph we can determine two points (−1, −2) and (4, 1). Use these points to read the slope from the graph. The rise is 3 units and the run is 5 units.

Therefore, we have the slope and a point. (It does not matter which of the given points we use, the result will be the same.)

Point        Slope(1,2)    m=35

Use point-slope form to determine the equation of the line.

yy1=m(xx1)y(2)=35(x(1))        Solvefory.y+2=35(x+1)y+2=35x+35y=35x+352y=35x75

Answer: f(x)=35x75

Recall that parallel linesLines in the same plane that do not intersect; their slopes are the same. are lines in the same plane that never intersect. Two non-vertical lines in the same plane with slopes m1 and m2 are parallel if their slopes are the same, m1=m2.

Example 3

Find the equation of the line passing through (3,2) and parallel to x2y=2.

Solution:

To find the slope of the given line, solve for y.

x2y=22y=x2y=x22y=x222y=12x+1

Here the given line has slope m=12 and thus the slope of a parallel line m=12. The notation m reads “m parallel.” Since we are given a point and we now have the slope, we will choose to use point-slope form of a line to determine the equation.

Point        Slope(3,2)    m=12

yy1=m(xx1)         Point-Slopeformy(2)=12(x3)y+2=12x32y+22=12x322y=12x72

Answer: f(x)=12x72

It is important to have a geometric understanding of this question. We were asked to find the equation of a line parallel to another line passing through a certain point.

Through the point (3,2) we found a parallel line,y=12x72, shown as a dashed line. Notice that the slope is the same as the given line, y=12x+1, but the y-intercept is different.

Recall that perpendicular linesLines in the same plane that intersect at right angles; their slopes are opposite reciprocals. are lines in the same plane that intersect at right angles (90 degrees). Two nonvertical lines, in the same plane with slopes m1 and m2, are perpendicular if the product of their slopes is −1, m1m2=1. We can solve for m1 and obtain m1=1m2. In this form, we see that perpendicular lines have slopes that are negative reciprocalsUsed when referring to opposite reciproacals., or opposite reciprocalsTwo real numbers whose product is −1. Given a real number ab, the opposite reciprocal is ba.. In general, given real numbers a and b,

If m=ab  then  m=ba

The mathematical notation m reads “m perpendicular”. For example, the opposite reciprocal of m=35 is m=53. We can verify that two slopes produce perpendicular lines if their product is −1.

mm=3553=1515=1

Example 4

Find the equation of the line passing through (5,2) and perpendicular to x+4y=4.

Solution:

To find the slope of the given line, solve for y.

x+4y=44y=x+4y=x+44y=x4+44y=14x+1

The given line has slope m=14, and thus, m=+41=4. Substitute this slope and the given point into point-slope form.

  Point        Slope(5,2)    m=4

yy1=m(xx1)y(2)=4(x(5))y+2=4(x+5)y+5=4x+20y=4x+18

Answer: f(x)=4x+18

Geometrically, we see that the line y=4x+18, shown as a dashed line in the graph, passes through (5,2) and is perpendicular to the given line y=14x+1.

Try this! Find the equation of the line passing through (5,2) and perpendicular to 13x12y=2.

Answer: y=32x192

Modeling Linear Applications

Data can be used to construct functions that model real-world applications. Once an equation that fits given data is determined, we can use the equation to make certain predictions; this is called mathematical modelingUsing data to find mathematical equations that describe, or model, real-world applications..

Example 5

The cost of a daily truck rental is $48.00, plus an additional $0.45 for every mile driven. Write a function that gives the cost of the daily truck rental and use it to determine the total cost of renting the truck for a day and driving it 60 miles.

Solution:

The total cost of the truck rental depends on the number of miles driven. If we let x represent the number of miles driven, then 0.45x represents the variable cost of renting the truck. Use this and the fixed cost, $48.00, to write a function that models the total cost,

C(x)=0.45x+48

Use this function to calculate the cost of the rental when x=60 miles.

C(60)=0.45(60)+48=27+48=75

Answer: The total cost of renting the truck for the day and driving it 60 miles would be $75.

We can use the model C(x)=0.45x+48 to answer many more questions. For example, how many miles can be driven to keep the cost of the rental at most $66? To answer this question, set up an inequality that expresses the cost less than or equal to $66.

C(x)$660.45x+4866

Solve for x to determine the number of miles that can be driven.

0.45x+48660.45x18x40

To limit the rental cost to $66, the truck can be driven 40 miles or less.

Example 6

A company purchased a new piece of equipment for $12,000. Four years later it was valued at $9,000 dollars. Use this data to construct a linear function that models the value of the piece of equipment over time.

Solution:

The value of the item depends on the number of years after it was purchased. Therefore, the age of the piece of equipment is the independent variable. Use ordered pairs where the x-values represent the age and the y-values represent the corresponding value.

(age,value)

From the problem, we can determine two ordered pairs. Purchased new (age = 0), the item cost $12,000, and 4 years later the item was valued at $9,000. Therefore, we can write the following two (age,value) ordered pairs:

(0,12,000)    and    (4,9,000)

Use these two ordered pairs to construct a linear model. Begin by finding the slope m.

m=y2y1x2x1=9,00012,00040=3,0004=750

Here we have m = −750. The ordered pair (0, 12,000) gives the y-intercept; therefore, b = 12,000.

y=mx+by=750x+12,000

Lastly, write this model as a function which gives the value of the piece of equipment over time. Choose the function name V, for value, and the variable t instead of x to represent time in years.

V(t)=750t+12,000

Answer: V(t)=750t+12,000

The function V(t)=750t+12,000 called a linear depreciation modelA linear function used to describe the declining value of an item over time.. It uses a linear equation to expresses the declining value of an item over time. Using this function to determine the value of the item between the given data points is called interpolationUsing a linear function to estimate a value between given data points.. For example, we can use the function to determine the value of the item where t=2,

V(2)=750(2)+12,000=10,500

The function shows that the item was worth $10,500 two years after it was purchased. Using this model to predict the value outside the given data points is called extrapolationUsing a linear function to estimate values that extend beyond the given data points.. For example, we can use the function to determine the value of the item when t=10:

V(10)=750(10)+12,000=7,500+12,000=4,500

The model predicts that the piece of equipment will be worth $4,500 ten years after it is purchased.

In a business application, revenue results from the sale of a number of items. For example, if an item can be sold for $150 and we let n represent the number of units sold, then we can form the following revenue functionA function that models income based on a number of units sold.:

R(n)=150n

Use this function to determine the revenue generated from selling n=100 units,

R(100)=150(100)=15,000

The function shows that the revenue generated from selling 100 items is $15,000. Typically, selling items does not represent the entire story. There are a number of costs associated with the generation of revenue. For example, if there is a one-time set up fee of $5,280 and each item cost $62 to produce, then we can form the following cost functionA function that models the cost of producing a number of units.:

C(n)=62n+5,280

Here n represents the number of items produced. Use this function to determine the cost associated with producing n=100 units:

C(100)=62(100)+5,280=11,480

The function shows that the cost associated with producing 100 items is $11,480. Profit is revenue less costs:

Profit=Revenue  Cost=15,00011,480=3,520

Therefore, the profit generated by producing and selling 100 items is $3,520. In general, given a revenue function R and a cost function C, we can form a profit functionA function that models the profit as revenue less cost. by subtracting as follows:

P(n)=R(n)C(n)

Example 7

The cost in dollars of producing n items is given by the formula C(n)=62n+5,280. The revenue in dollars is given by R(n)=150n, where n represents the number items sold. Write a function that gives the profit generated by producing and selling n items. Use the function to determine how many items must be produced and sold in order to earn a profit of at least $7,000.

Solution:

Obtain the profit function by subtracting the cost function from the revenue function.

P(n)=R(n)C(n)=150n(62n+5,280)=150n62n5,280=88n5,280

Therefore, P(n)=88n+5,280 models the profit. To determine the number of items that must be produced and sold to profit at least $7,000, solve the following:

P(n)7,00088n5,2807,00088n12,280n139.5

Round up because the number of units produced and sold must be an integer. To see this, calculate the profit where n is 139 and 140 units.

P(139)=88(139)5,280=6,952P(140)=88(140)5,280=7,040

Answer: 140 or more items must be produced and sold in order to earn a profit of at least $7,000.

Sometimes the costs exceed the revenue, in which case, the profit will be negative. For example, use the profit function of the previous example, P(n)=88n5,280, to calculate the profit generated where n=50. P(50)=88(50)5,280=880 This indicates that when 50 units are produced and sold the corresponding profit is a loss of $880.

It is often important to determine how many items must be produced and sold to break even. To break even means to neither have a gain nor a loss; in this case, the profit will be equal to zero. To determine the breakeven pointThe point at which profit is neither negative nor positive; profit is equal to zero., set the profit function equal to zero and solve:

P(n)=88n5,2800=88n5,2805,280=88n60=n

Therefore, 60 items must be produced and sold to break even.

Try this! Custom t-shirts can be sold for $6.50 each. In addition to an initial set-up fee of $120, each t-shirt cost $3.50 to produce. a. Write a function that models the revenue and a function that models the cost. b. Determine a function that models the profit and use it to determine the profit from producing and selling 150 t-shirts. c. Calculate the number of t-shirts that must be sold to break even.

Answer: a. Revenue: R(x)=6.50x; cost: C(x)=3.50x+120; b. profit: P(x)=3x+120; $330 c. 40

Key Takeaways

  • Given two points we can find the equation of a line.
  • Parallel lines have the same slope.
  • Perpendicular lines have slopes that are opposite reciprocals. In other words, if m=ab, then m=ba.
  • To find an equation of a line, first use the given information to determine the slope. Then use the slope and a point on the line to find the equation using point-slope form.
  • To construct a linear function that models a real-world application, first identify the dependent and independent variables. Next, find two ordered pairs that describe the given situation. Use these two ordered pairs to construct a linear function by finding the slope and y-intercept.

Topic Exercises

    Part A: Equations of Lines

      Find the linear function f passing through the given points.

    1. (1,2) and (3,4)

    2. (3,2) and (1,4)

    3. (5,6) and (4,2)

    4. (2,7) and (3,5)

    5. (10,15) and (7,6)

    6. (9,13) and (8,12)

    7. (12,22) and (6,20)

    8. (6,12) and (4,13)

    9. (13,45) and (12,1)

    10. (32,52) and (1,56)

    11. (5,10) and (1,10)

    12. (4,0) and (7,0)

      Find the equation of the given linear function.

      Find the equation of the line:

    1. Parallel to y=53x+12 and passing through (3,4).

    2. Parallel to y=34x73 and passing through (8,1).

    3. Parallel to y=13x+6 and passing through (2,5).

    4. Parallel to y=14x+53 and passing through (5,6).

    5. Parallel to 4x5y=15 and passing through (1,2).

    6. Parallel to 3x4y=2 and passing through (6,8).

    7. Parallel to 2x+12y=9 and passing through (10,9).

    8. Parallel to 9x+24y=2 and passing through (12,4).

    9. Parallel to 215x+13y=110 and passing through (15,4).

    10. Parallel to 13x+27y=1 and passing through (12,11).

    11. Perpendicular to y=5x+2 and passing through (10,5).

    12. Perpendicular to y=2x+1 and passing through (8,11).

    13. Perpendicular to y=32x5 and passing through (5,3).

    14. Perpendicular to y=34x12 and passing through (6,4).

    15. Perpendicular to 12x+15y=3 and passing through (12,15).

    16. Perpendicular to 24x+15y=12 and passing through (2,1).

    17. Perpendicular to 14xy=3 and passing through (7,3).

    18. Perpendicular to xy=4 and passing through (6,2).

    19. Perpendicular to 215x35y=1 and passing through (1,1).

    20. Perpendicular to 34x23y=12 and passing through (3,6).

    21. Give the equation of the line that coincides with the x-axis.

    22. Give the equation of the line that coincides with the y-axis.

    23. Given any line in standard form, ax+by=c, determine the slope of any perpendicular line.

    24. Given any line in standard form, ax+by=c, determine the slope of any parallel line.

    Part B: Modeling Linear Applications

      Use algebra to solve the following.

    1. A company wishes to purchase pens stamped with the company logo. In addition to an initial set-up fee of $90, each pen cost $1.35 to produce. Write a function that gives the cost in terms of the number of pens produced. Use the function to determine the cost of producing 500 pens with the company logo stamped on it.

    2. A rental car company charges a daily rate of $42.00 plus $0.51 per mile driven. Write a function that gives the cost of renting the car for a day in terms of the number of miles driven. Use the function to determine the cost of renting the car for a day and driving it 76 miles.

    3. A certain cellular phone plan charges $16 per month and $0.15 per minute of usage. Write a function that gives the cost of the phone per month based on the number of minutes of usage. Use the function to determine the number of minutes of usage if the bill for the first month was $46.

    4. A web-services company charges $2.50 a month plus $0.14 per gigabyte of storage on their system. Write a function that gives the cost of storage per month in terms of the number of gigabytes stored. How many gigabytes are stored if the bill for this month was $6.00?

    5. Mary has been keeping track of her cellular phone bills for the last two months. The bill for the first month was $45.00 for 150 minutes of usage. The bill for the second month was $25.00 for 50 minutes of usage. Find a linear function that gives the total monthly bill based on the minutes of usage.

    6. A company in its first year of business produced 1,200 brochures for a total cost of $5,050. The following year, the company produced 500 more brochures at a cost of $2,250. Use this information to find a linear function that gives the total cost of producing brochures from the number of brochures produced.

    7. A Webmaster has noticed that the number of registered users has been steadily increasing since beginning an advertising campaign. Before starting to advertise, he had 2,200 registered users, and after 4 months of advertising he now has 5,480 registered users. Use this data to write a linear function that gives the total number of registered users, given the number of months after starting to advertise. Use the function to predict the number of users 8 months into the advertising campaign.

    8. A corn farmer in California was able to produce 154 bushels of corn per acre 2 years after starting his operation. Currently, after 7 years of operation, he has increased his yield to 164 bushels per acre. Use this information to write a linear function that gives the total yield per acre based on the number of years of operation, and use it to predict the yield for next year.

    9. A commercial van was purchased new for $22,500 and is expected to be worthless in 12 years. Use this information to write a linear depreciation function for the value of the van. Use the function to determine the value of the van after 8 years of use.

    10. The average lifespan of an industrial welding robot is 10 years, after which it is considered to have no value. If an industrial welding robot was purchased new for $58,000, write a function that gives the value of the robot in terms of the number of years of operation. Use the function to value the robot after 3 years of operation.

    11. A business purchased a piece of equipment new for $2,400. After 5 years of use the equipment is valued at $1,650. Find a linear function that gives the value of the equipment in terms of years of usage. Use the function to determine the number of years after which the piece of equipment will have no value.

    12. A salesman earns a base salary of $2,400 a month plus a 5% commission on all sales. Write a function that gives the salesman’s monthly salary in terms of sales. Use the function to determine the monthly sales required to earn at least $3,600 a month.

    13. When a certain professor was hired in 2005, the enrollment at a college was 8,500 students. Five years later, in 2010, the enrollment grew to 11,200 students. Determine a linear growth function that models the student population in years since 2005. Use the model to predict the year in which enrollment will exceed 13,000 students.

    14. In 1980, the population of California was about 24 million people. Twenty years later, in the year 2000, the population was about 34 million. Use this data to construct a linear function to model the population growth in years since 1980. Use the function to predict the year in which the population will reach 40 million.

    15. A classic car is purchased for $24,500 and is expected to increase in value each year by $672. Write a linear function that models the appreciation of the car in terms of the number of years after purchase. Use the function to predict the value of the car in 7 years.

    16. A company reported first and second quarter sales of $52,000 and $64,500, respectively.

      1. Write a linear function that models the sales for the year in terms of the quarter n.
      2. Use the model to predict the sales in the third and fourth quarters.
    17. A particular search engine assigns a ranking to a webpage based on the number of links that direct users to the webpage. If no links are found, the webpage is assigned a ranking of 1. If 20 links are found directing users to the webpage, the search engine assigns a page ranking of 3.5. a. Find a linear function that gives the webpage ranking based on the number of links that direct users to it. b. How many links will be needed to obtain a page ranking of 5?

    18. Online sales of a particular product are related to the number of clicks on its advertisement. It was found that 1,520 clicks in a month results in $2,748 of online sales, and that 1,840 clicks results in $2,956 of online sales. Write a linear function that models the online sales of the product based on the number of clicks on its advertisement. How many clicks would we need to expect $3,385 in monthly online sales from this particular product?

    19. A bicycle manufacturing business can produce x bicycles at a cost, in dollars, given by the formula C(x)=85x+2,400. The company sells each bicycle at a wholesale price of $145. The revenue, in dollars, is given by R(x)=145x, where x represents the number of bicycles sold. Write a function that gives profit in terms of the number of bicycles produced and sold. Use the function to determine the number of bicycles that need to be produced and sold to break even.

    20. The cost, in dollars, of producing n custom lamps is given by the formula C(n)=28n+360. Each lamp can be sold online for $79. The revenue in dollars, is given by R(n)=79n, where n represents the number of lamps sold. Write a function that gives the profit from producing and selling n custom lamps. Use the function to determine how many lamps must be produced and sold to earn at least $1,000 in profit.

    21. A manufacturer can produce a board game at a cost of $12 per unit after an initial fixed retooling investment of $12,500. The games can be sold for $22 each to retailers.

      1. Write a function that gives the manufacturing costs when n games are produced.
      2. Write a function that gives the revenue from selling n games to retailers.
      3. Write a function that gives the profit from producing and selling n units.
      4. How many units must be sold to earn a profit of at least $37,500?
    22. A vending machine can be leased at a cost of $90 per month. The items used to stock the machine can be purchased for $0.50 each and sold for $1.25 each.

      1. Write a function that gives the monthly cost of leasing and stocking the vending machine with n items.
      2. Write a function that gives the revenue generated by selling n items.
      3. Write a function that gives the profit from stocking and selling n items per month.
      4. How many items must be sold each month to break even?

    Part C: Discussion Board

    1. Research and discuss linear depreciation. In a linear depreciation model, what do the slope and y-intercept represent?

    2. Write down your own steps for finding the equation of a line. Post your steps on the discussion board.

Answers

  1. f(x)=32x+12

  2. f(x)=8x+34

  3. f(x)=3x+15

  4. f(x)=73x6

  5. f(x)=65x+25

  6. f(x)=10

  7. f(x)=12x+12

  8. f(x)=x

  9. f(x)=38x54

  10. f(x)=23x+13

  11. f(x)=2

  12. y=53x1

  13. y=13x173

  14. y=45x65

  15. y=16x223

  16. y=25x2

  17. y=15x3

  18. y=23x+13

  19. y=54x

  20. y=114x+72

  21. y=92x+72
  22. y=0

  23. m=ba

  1. C(x)=1.35x+90; $765

  2. C(x)=0.15x+16; 200 minutes

  3. C(x)=0.20x+15

  4. U(x)=820x+2,200; 8,760 users

  5. V(t)=1,875t+22,500; $7,500

  6. V(t)=150t+2,400; 16 years

  7. P(x)=540x+8,500; 2013

  8. V(t)=672t+24,500; $29,204

    1. r(n)=0.125n+1;
    2. 32 links
  9. P(x)=60x2,400; 40 bicycles

    1. C(n)=12n+12,500;
    2. R(n)=22n;
    3. P(n)=10n12,500;
    4. at least 5,000 units
  1. Answer may vary

2.4 Graphing the Basic Functions

Learning Objectives

  1. Define and graph seven basic functions.
  2. Define and graph piecewise functions.
  3. Evaluate piecewise defined functions.
  4. Define the greatest integer function.

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 functionAny function of the form f(x)=c where c is a real number.. 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.

The graph of a constant function is a horizontal line. The domain consists of all real numbers and the range consists of the single value {c}.

We next define the identity functionThe linear function defined by f(x)=x. 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).

The domain and range both consist of all real numbers.

The squaring functionThe quadratic function defined by f(x)=x2., defined by f(x)=x2, is the function obtained by squaring the values in the domain. For example, f(2)=(2)2=4 and f(2)=(2)2=4. The result of squaring nonzero values in the domain will always be positive.

The resulting curved graph is called a parabolaThe curved graph formed by the squaring function.. The domain consists of all real numbers and the range consists of all y-values greater than or equal to zero [0,).

The cubing functionThe cubic function defined by f(x)=x3., defined by f(x)=x3, raises all of the values in the domain to the third power. The results can be either positive, zero, or negative. For example, f(1)=(1)3=1, f(0)=(0)3=0, and f(1)=(1)3=1.

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 functionThe function defined by f(x)=|x|., 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.

The domain of the absolute value function consists of all real numbers and the range consists of all y-values greater than or equal to zero [0,).

The square root functionThe function defined by f(x)=x., 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.

The domain and range both consist of real numbers greater than or equal to zero [0,).

The reciprocal functionThe function defined by f(x)=1x., defined by f(x)=1x, is a rational function with one restriction on the domain, namely x0. The reciprocal of an x-value very close to zero is very large. For example,

f(1/10)=1(110)=1101=10f(1/100)=1(1100)=11001=100f(1/1,000)=1(11,000)=11,0001=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 asymptoteA vertical line to which a graph becomes infinitely close. at the y-axis. Furthermore, where the x-values are very large the result of the reciprocal function is very small.

f(10)=110=0.1f(100)=1100=0.01f(1000)=11,000=0.001

In other words, as the x-values become very large the resulting y-values tend toward zero. This describes a horizontal asymptoteA horizontal line to which a graph becomes infinitely close where the x-values tend toward ±∞. at the x-axis. After plotting a number of points the general shape of the reciprocal function can be determined.

Both the domain and range of the reciprocal function consists of all real numbers except 0, which can be expressed using interval notation as follows: (,0)(0,).

 

In summary, the basic polynomial functions are:

The basic nonpolynomial functions are:

Piecewise Defined Functions

A piecewise functionA function whose definition changes depending on the values in the domain., or split functionA term used when referring to a piecewise function., is a function whose definition changes depending on the value in the domain. For example, we can write the absolute value function f(x)=|x| as a piecewise function:

f(x)=|x|={xifx0xifx<0

In this case, the definition used depends on the sign of the x-value. If the x-value is positive, x0, 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.

Following is the graph of the two pieces on the same rectangular coordinate plane:

Example 1

Graph: g(x)={x2ifx<0xifx0.

Solution:

In this case, we graph the squaring function over negative x-values and the square root function over positive x-values.

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:

When evaluating, the value in the domain determines the appropriate definition to use.

Example 2

Given the function h, find h(5), h(0), and h(3).

h(t)={7t+3ift<016t2+32tift0

Solution:

Use h(t)=7t+3 where t is negative, as indicated by t<0.

h(t)=7t+5h(5)=7(5)+3=35+3=32

Where t is greater than or equal to zero, use h(t)=16t2+32t.

h(0)=16(0)+32(0)h(3)=16(3)2+32(3)=0+0=144+96=0=48

Answer: h(5)=32, h(0)=0, and h(3)=48

Try this! Graph: f(x)={23x+1ifx<0x2ifx0.

Answer:

The definition of a function may be different over multiple intervals in the domain.

Example 3

Graph: f(x)={x3ifx<0xif0x46ifx>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:

The greatest integer functionThe function that assigns any real number x to the greatest integer less than or equal to x denoted f(x)=[[x]]., denoted f(x)=[[x]], assigns the greatest integer less than or equal to any real number in its domain. For example,

f(2.7)=[[2.7]]=2f(π)=[[π]]=3f(0.23)=[[0.23]]=0f(3.5)=[[3.5]]=4

This function associates any real number with the greatest integer less than or equal to it and should not be confused with rounding off.

Example 4

Graph: f(x)=[[x]].

Solution:

If x is any real number, then y=[[x]] is the greatest integer less than or equal to x.

1x<0y=[[x]]=10x<1y=[[x]]=01x<2y=[[x]]=1

Using this, we obtain the following graph.

Answer:

The domain of the greatest integer function consists of all real numbers and the range consists of the set of integers . This function is often called the floor functionA term used when referring to the greatest integer function. and has many applications in computer science.

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)=x2, and f(x)=x3.
  • The basic nonpolynomial functions are: f(x)=|x|, f(x)=x, and f(x)=1x.
  • 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.

Topic Exercises

    Part A: Basic Functions

      Match the graph to the function definition.

    1. f(x)=x

    2. f(x)=x2

    3. f(x)=x3

    4. f(x)=|x|

    5. f(x)=x

    6. f(x)=1x

      Evaluate.

    1. f(x)=x; find f(10), f(0), and f(a).

    2. f(x)=x2; find f(10), f(0), and f(a).

    3. f(x)=x3; find f(10), f(0), and f(a).

    4. f(x)=|x|; find f(10), f(0), and f(a).

    5. f(x)=x; find f(25), f(0), and f(a) where a0.

    6. f(x)=1x; find f(10), f(15), and f(a) where a0.

    7. f(x)=5; find f(10), f(0), and f(a).

    8. f(x)=12; find f(12), f(0), and f(a).

    9. Graph f(x)=5 and state its domain and range.

    10. Graph f(x)=9 and state its domain and range.

      Cube root function.

    1. Find points on the graph of the function defined by f(x)=x3 with x-values in the set {−8, −1, 0, 1, 8}.

    2. Find points on the graph of the function defined by f(x)=x3 with x-values in the set {−3, −2, 1, 2, 3}. Use a calculator and round off to the nearest tenth.

    3. Graph the cube root function defined by f(x)=x3 by plotting the points found in the previous two exercises.

    4. Determine the domain and range of the cube root function.

      Find the ordered pair that specifies the point P.

    Part B: Piecewise Functions

      Graph the piecewise functions.

    1. g(x)={2ifx<0xifx0
    2. g(x)={x2ifx<03ifx0
    3. h(x)={xifx<0xifx0
    4. h(x)={|x|ifx<0x3ifx0
    5. f(x)={|x|ifx<24ifx2
    6. f(x)={xifx<1xifx1
    7. g(x)={x2ifx1xifx>1
    8. g(x)={3ifx1x3ifx>1
    9. h(x)={0ifx01xifx>0
    10. h(x)={1xifx<0x2ifx0
    11. f(x)={x2ifx<0xif0x<22ifx2
    12. f(x)={xifx<1x3if1x<13ifx1
    13. g(x)={5ifx<2x2if2x<2xifx2
    14. g(x)={xifx<3|x|if3x<1xifx1
    15. h(x)={1xifx<0x2if0x<24ifx2
    16. h(x)={0ifx<0x3if0<x28ifx>2
    17. f(x)=[[x+0.5]]

    18. f(x)=[[x]]+1

    19. f(x)=[[0.5x]]

    20. f(x)=2[[x]]

      Evaluate.

    1. f(x)={x2ifx0x+2ifx>0

      Find f(5), f(0), and f(3).

    2. f(x)={x3ifx<02x1ifx0

      Find f(3), f(0), and f(2).

    3. g(x)={5x2ifx<1xifx1

      Find g(1), g(1), and g(4).

    4. g(x)={x3ifx2|x|ifx>2

      Find g(3), g(2), and g(1).

    5. h(x)={5ifx<02x3if0x<2x2ifx2

      Find h(2), h(0), and h(4).

    6. h(x)={3xifx0x3if0<x4xifx>4

      Find h(5), h(4), and h(25).

    7.  

      f(x)=[[x0.5]]

      Find f(2), f(0), and f(3).

    8.  

      f(x)=[[2x]]+1

      Find f(1.2), f(0.4), and f(2.6).

      Evaluate given the graph of f.

    1. Find f(4), f(2), and f(0).

    2. Find f(3), f(0), and f(1).

    3. Find f(0), f(2), and f(4).

    4. Find f(5), f(2), and f(2).

    5. Find f(3), f(2), and f(2).

    6. Find f(3), f(0), and f(4).

    7. Find f(2), f(0), and f(2).

    8. Find f(3), f(1), and f(2).

    9. The value of an automobile in dollars is given in terms of the number of years since it was purchased new in 1975:

      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:

      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: g(x)={0.03xif0x<$20,0000.05xif$20,000x<$50,0000.07xifx$50,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 412 hours.

    Part C: Discussion Board

    1. Explain to a beginning algebra student what an asymptote is.

    2. Research and discuss the difference between the floor and ceiling functions. What applications can you find that use these functions?

Answers

  1. b

  2. c

  3. a

  4. f(10)=10, f(0)=0, f(a)=a

  5. f(10)=1,000, f(0)=0, f(a)=a3

  6. f(25)=5, f(0)=0, f(a)=a

  7. f(10)=5, f(0)=5, f(a)=5

  8. Domain: ; range: {5}

  9. {(−8,−2), (−1,−1), (0,0), (1,1), (8,2)}

  10. (32,278)

  11. (52,52)

  1. f(5)=25, f(0)=0, and f(3)=5

  2. g(1)=7, g(1)=1, and g(4)=2

  3. h(2)=5, h(0)=3, and h(4)=16

  4. f(2)=3, f(0)=1, and f(3)=2

  5. f(4)=1, f(2)=1, and f(0)=0

  6. f(0)=0, f(2)=8, and f(4)=0

  7. f(3)=5, f(2)=4, and f(2)=2

  8. f(2)=1, f(0)=0, and f(2)=1

    1. $3,000;
    2. 2005
    1. $1,775;
    2. $14,500
  1. Answer may vary

2.5 Using Transformations to Graph Functions

Learning Objectives

  1. Define the rigid transformations and use them to sketch graphs.
  2. Define the non-rigid transformations and use them to sketch graphs.

Vertical and Horizontal Translations

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 transformationA set of operations that change the location of a graph in a coordinate plane but leave the size and shape unchanged. changes the location of the function in a coordinate plane, but leaves the size and shape of the graph unchanged. A non-rigid transformationA set of operations that change the size and/or shape of a graph in a coordinate plane. changes the size and/or shape of the graph.

A vertical translationA rigid transformation that shifts a graph up or down. is a rigid transformation that shifts a graph up or down relative to the original graph. This occurs when a constant is added to any function. If we add a positive constant to each y-coordinate, the graph will shift up. If we add a negative constant, the graph will shift down. For example, consider the functions g(x)=x23 and h(x)=x2+3. Begin by evaluating for some values of the independent variable x.

Now plot the points and compare the graphs of the functions g and h to the basic graph of f(x)=x2, which is shown using a dashed grey curve below.

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:

Vertical shift up k units:

F(x)=f(x)+k

Vertical shift down k units:

F(x)=f(x)k

Example 1

Sketch the graph of g(x)=x+4.

Solution:

Begin with the basic function defined by f(x)=x and shift the graph up 4 units.

Answer:

A horizontal translationA rigid transformation that shifts a graph left or right. 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)=(x3)2 and create the following tables:

Here we add and subtract from the x-coordinates and then square the result. This produces a horizontal translation.

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:

Horizontal shift left h units:

F(x)=f(x+h)

Horizontal shift right h units:

F(x)=f(xh)

Example 2

Sketch the graph of g(x)=(x4)3.

Solution:

Begin with a basic cubing function defined by f(x)=x3 and shift the graph 4 units to the right.

Answer:

It is often the case that combinations of translations occur.

Example 3

Sketch the graph of g(x)=|x+3|5.

Solution:

Start with the absolute value function and apply the following transformations.

y=|x|Basicfunctiony=|x+3|Horizontalshiftleft3unitsy=|x+3|5Verticalshiftdown5units

Answer:

The order in which we apply horizontal and vertical translations does not affect the final graph.

Example 4

Sketch the graph of g(x)=1x5+3.

Solution:

Begin with the reciprocal function and identify the translations.

y=1xBasicfunctiony=1x5Horizontalshiftright5unitsy=1x5+3Verticalshiftup3units

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:

Try this! Sketch the graph of g(x)=(x2)2+1.

Answer:

Reflections

A reflectionA transformation that produces a mirror image of the graph about an axis. 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.

Compare the graph of g and h to the basic square root function defined by f(x)=x, shown dashed in grey below:

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:

Reflection about the y-axis:

F(x)=f(x)

Reflection about the x-axis:

F(x)=f(x)

When sketching graphs that involve a reflection, consider the reflection first and then apply the vertical and/or horizontal translations.

Example 5

Sketch the graph of g(x)=(x+5)2+3.

Solution:

Begin with the squaring function and then identify the transformations starting with any reflections.

y=x2Basicfunction.y=x2Reflectionaboutthex-axis.y=(x+5)2Horizontalshiftleft5units.y=(x+5)2+3Verticalshiftup3units.

Use these translations to sketch the graph.

Answer:

Try this! Sketch the graph of g(x)=|x|+3.

Answer:

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 dilationA non-rigid transformation, produced by multiplying functions by a nonzero real number, which appears to stretch the graph either vertically or horizontally.. For example, we can multiply the squaring function f(x)=x2 by 4 and 14 to see what happens to the graph.

Compare the graph of g and h to the basic squaring function defined by f(x)=x2, shown dashed in grey below:

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:

Dilation:

F(x)=af(x)

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 6

Sketch the graph of g(x)=2|x5|3.

Solution:

Here we begin with the product of −2 and the basic absolute value function: y=2|x|. This results in a reflection and a dilation.

xyy=2|x|Dilationandreflection12y=2|1|=21=200y=2|0|=20=012y=2|1|=21=2

Use the points {(−1, −2), (0, 0), (1, −2)} to graph the reflected and dilated function y=2|x|. Then translate this graph 5 units to the right and 3 units down.

y=2|x|Basicgraphwithdilationandreflectionaboutthexaxis.y=2|x5|Shiftright5units.y=2|x5|3Shiftdown3units.

Answer:

In summary, given positive real numbers h and k:

Vertical shift up k units:

F(x)=f(x)+k

Vertical shift down k units:

F(x)=f(x)k

Horizontal shift left h units:

F(x)=f(x+h)

Horizontal shift right h units:

F(x)=f(xh)

Reflection about the y-axis:

F(x)=f(x)

Reflection about the x-axis:

F(x)=f(x)

Dilation:

F(x)=af(x)

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(xh), 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.
  • When applying multiple transformations, apply reflections first.
  • Multiplying a function by a constant other than 1, af(x), produces a dilation. If the constant is a positive number greater than 1, the graph will appear to stretch vertically. If the positive constant is a fraction less than 1, the graph will appear to stretch horizontally.

Topic Exercises

    Part A: Vertical and Horizontal Translations

    Match the graph to the function definition.

    1. f(x)=x+4

    2. f(x)=|x2|2

    3. f(x)=x+11

    4. f(x)=|x2|+1

    5. f(x)=x+4+1

    6. f(x)=|x+2|2

      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)=x2

    3. g(x)=x2+1

    4. g(x)=x24

    5. g(x)=(x5)2

    6. g(x)=(x+1)2

    7. g(x)=(x5)2+2

    8. g(x)=(x+2)25

    9. h(x)=|x+4|

    10. h(x)=|x4|

    11. h(x)=|x1|3

    12. h(x)=|x+2|5

    13. g(x)=x5

    14. g(x)=x5

    15. g(x)=x2+1

    16. g(x)=x+2+3

    17. h(x)=(x2)3

    18. h(x)=x3+4

    19. h(x)=(x1)34

    20. h(x)=(x+1)3+3

    21. f(x)=1x2

    22. f(x)=1x+3

    23. f(x)=1x+5

    24. f(x)=1x3

    25. f(x)=1x+12

    26. f(x)=1x3+3

    27. g(x)=4

    28. g(x)=2

    29. f(x)=x23+6

    30. f(x)=x+834

      Graph the piecewise functions.

    1. h(x)={x2+2ifx<0x+2ifx0
    2. h(x)={x23ifx<0x3ifx0
    3. h(x)={x31ifx<0|x3|4ifx0
    4. h(x)={ x3ifx<0(x1)21ifx0
    5. h(x)={x21ifx<02ifx0
    6. h(x)={x+2ifx<0(x2)2ifx0
    7. h(x)={(x+10)24ifx<8x+4if8x<4x+4ifx4
    8. f(x)={x+10ifx10|x5|15if10<x2010ifx>20

      Write an equation that represents the function whose graph is given.

    Part B: Reflections and Dilations

      Match the graph the given function definition.

    1. f(x)=3|x|

    2. f(x)=(x+3)21

    3. f(x)=|x+1|+2

    4. f(x)=x2+1

    5. f(x)=13|x|

    6. f(x)=(x2)2+2

      Use the transformations to graph the following functions.

    1. f(x)=x+5

    2. f(x)=|x|3

    3. g(x)=|x1|

    4. f(x)=(x+2)2

    5. h(x)=x+2

    6. g(x)=x+2

    7. g(x)=(x+2)3

    8. h(x)=x2+1

    9. g(x)=x3+4

    10. f(x)=x2+6

    11. f(x)=3|x|

    12. g(x)=2x2

    13. h(x)=12(x1)2

    14. h(x)=13(x+2)2

    15. g(x)=12x3

    16. f(x)=5x+2

    17. f(x)=4x1+2

    18. h(x)=2x+1

    19. g(x)=14(x+3)31

    20. f(x)=5(x3)2+3

    21. h(x)=3|x+4|2

    22. f(x)=1x

    23. f(x)=1x+2

    24. f(x)=1x+1+2

    Part C: Discussion Board

    1. Use different colors to graph the family of graphs defined by y=kx2, where k{1,12,13,14}. What happens to 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.

Answers

  1. e

  2. d

  3. f

  4. y=x; Shift up 3 units; domain: ; range:

  5. y=x2; Shift up 1 unit; domain: ; range: [1,)

  6. y=x2; Shift right 5 units; domain: ; range: [0,)

  7. y=x2; Shift right 5 units and up 2 units; domain: ; range: [2,)

  8. y=|x|; Shift left 4 units; domain: ; range: [0,)

  9. y=|x|; Shift right 1 unit and down 3 units; domain: ; range: [3,)

  10. y=x; Shift down 5 units; domain: [0,); range: [5,)

  11. y=x; Shift right 2 units and up 1 unit; domain: [2,); range: [1,)

  12. y=x3; Shift right 2 units; domain: ; range:

  13. y=x3; Shift right 1 unit and down 4 units; domain: ; range:

  14. y=1x; Shift right 2 units; domain: (,2)(2,); range: (,0)(0,)

  15. y=1x; Shift up 5 units; domain: (,0)(0,); range: (,1)(1,)

  16. y=1x; Shift left 1 unit and down 2 units; domain: (,1)(1,); range: (,2)(2,)

  17. Basic graph y=4; domain: ; range: {−4}

  18. y=x3; Shift up 6 units and right 2 units; domain: ; range:

  19. f(x)=x5

  20. f(x)=(x15)210

  21. f(x)=1x+8+4

  22. f(x)=x+164

  1. b

  2. d

  3. f

  1. Answer may vary

  2. Answer may vary

2.6 Solving Absolute Value Equations and Inequalities

Learning Objectives

  1. Review the definition of absolute value.
  2. Solve absolute value equations.
  3. Solve absolute value inequalities.

Absolute Value Equations

Recall that the absolute valueThe distance from the graph of a number a to zero on a number line, denoted |a|. of a real number a, denoted |a|, is defined as the distance between zero (the origin) and the graph of that real number on the number line. For example, |3|=3 and |3|=3.

In addition, the absolute value of a real number can be defined algebraically as a piecewise function.

|a|={aifa0aifa<0

Given this definition, |3|=3 and |3|=(3)=3. Therefore, the equation |x|=3 has two solutions for x, namely {±3}. In general, given any algebraic expression X and any positive number p:

If|X|=pthenX=porX=p.

In other words, the argument of the absolute valueThe number or expression inside the absolute value. X can be either positive or negative p. Use this theorem to solve absolute value equations algebraically.

Example 1

Solve: |x+2|=3.

Solution:

In this case, the argument of the absolute value is x+2 and must be equal to 3 or −3.

Therefore, to solve this absolute value equation, set x+2 equal to ±3 and solve each linear equation as usual.

|x+2|=3x+2=3orx+2=3x=5x=1  

Answer: The solutions are −5 and 1.

To visualize these solutions, graph the functions on either side of the equal sign on the same set of coordinate axes. In this case, f(x)=|x+2| is an absolute value function shifted two units horizontally to the left, and g(x)=3 is a constant function whose graph is a horizontal line. Determine the x-values where f(x)=g(x).

From the graph we can see that both functions coincide where x = −5 and x = 1. The solutions correspond to the points of intersection.

Example 2

Solve: |2x+3|=4.

Solution:

Here the argument of the absolute value is 2x+3 and can be equal to −4 or 4.

|2x+3|=42x+3=4or2x+3=42x=72x=1x=72x=12

Check to see if these solutions satisfy the original equation.

Check x=72

Check x=12

|2x+3|=4|2(72)+3|=4|7+3|=4|4|=44=4

|2x+3|=4|2(12)+3|=4|1+3|=4|4|=44=4

Answer: The solutions are 72 and 12.

To apply the theorem, the absolute value must be isolated. The general steps for solving absolute value equations are outlined in the following example.

Example 3

Solve: 2|5x1|3=9.

Solution:

Step 1: Isolate the absolute value to obtain the form |X|=p.

2|5x1|3=9Add3tobothsides.2|5x1|=12Dividebothsidesby2.|5x1|=6

Step 2: Set the argument of the absolute value equal to ±p. Here the argument is 5x1 and p=6.

5x1=6or5x1=6

Step 3: Solve each of the resulting linear equations.

5x1=6or5x1=65x=55x=7x=1x=75

Step 4: Verify the solutions in the original equation.

Check x=1

Check x=75

2|5x1|3=92|5(1)1|3=92|51|3=92|6|3=9123=99=9

2|5x1|3=92|5(75)1|3=92|71|3=92|6|3=9123=99=9

Answer: The solutions are −1 and 75.

Try this! Solve: 27|x+4|=12.

Answer: −6, −2

Not all absolute value equations will have two solutions.

Example 4

Solve: |7x6|+3=3.

Solution:

Begin by isolating the absolute value.

|7x6|+3=3Subtract3onbothsides.|7x6|=0

Only zero has the absolute value of zero, |0|=0. In other words, |X|=0 has one solution, namely X=0. Therefore, set the argument 7x6 equal to zero and then solve for x.

7x6=07x=6x=67

Geometrically, one solution corresponds to one point of intersection.

Answer: The solution is 67.

Example 5

Solve: |x+7|+5=4.

Solution:

Begin by isolating the absolute value.

|x+7|+5=4Subtract5onbothsides.|x+7|=1

In this case, we can see that the isolated absolute value is equal to a negative number. Recall that the absolute value will always be positive. Therefore, we conclude that there is no solution. Geometrically, there is no point of intersection.

Answer: There is no solution, Ø.

If given an equation with two absolute values of the form |a|=|b|, then b must be the same as a or opposite. For example, if a = 5, then b = ±5 and we have:

|5|=|5|or|5|=|+5|

In general, given algebraic expressions X and Y:

If|X|=|Y|thenX=YorX=Y.

In other words, if two absolute value expressions are equal, then the arguments can be the same or opposite.

Example 6

Solve: |2x5|=|x4|.

Solution:

Set 2x5 equal to ±(x4) and then solve each linear equation.

|2x5|=|x4|2x5=(x4)or2x5=+(x4)2x5=x+42x5=x43x=9x=1x=3

To check, we substitute these values into the original equation.

Check x=1

Check x=3

|2x5|=|x4||2(1)5|=|(1)4||3|=|3|3=3

|2x5|=|x4||2(3)5|=|(3)4||1|=|1|1=1

As an exercise, use a graphing utility to graph both f(x)=|2x5| and g(x)=|x4| on the same set of axes. Verify that the graphs intersect where x is equal to 1 and 3.

Answer: The solutions are 1 and 3.

Try this! Solve: |x+10|=|3x2|.

Answer: −2, 6

Absolute Value Inequalities

We begin by examining the solutions to the following inequality:

|x|3

The absolute value of a number represents the distance from the origin. Therefore, this equation describes all numbers whose distance from zero is less than or equal to 3. We can graph this solution set by shading all such numbers.

Certainly we can see that there are infinitely many solutions to |x|3 bounded by −3 and 3. Express this solution set using set notation or interval notation as follows:

{x|3x3}SetNotation    [3,3]          IntervalNotation

In this text, we will choose to express solutions in interval notation. In general, given any algebraic expression X and any positive number p:

If|X|pthenpXp.

This theorem holds true for strict inequalities as well. In other words, we can convert any absolute value inequality involving “less than” into a compound inequality which can be solved as usual.

Example 7

Solve and graph the solution set: |x+2|<3.

Solution:

Bound the argument x+2 by −3 and 3 and solve.

|x+2|<33<x+2<332<x+22<325<x<1

Here we use open dots to indicate strict inequalities on the graph as follows.

Answer: Using interval notation, (5,1).

The solution to |x+2|<3 can be interpreted graphically if we let f(x)=|x+2| and g(x)=3 and then determine where f(x)<g(x) by graphing both f and g on the same set of axes.

The solution consists of all x-values where the graph of f is below the graph of g. In this case, we can see that |x+2|<3 where the x-values are between −5 and 1. To apply the theorem, we must first isolate the absolute value.

Example 8

Solve: 4|x+3|75.

Solution:

Begin by isolating the absolute value.

4|x+3|754|x+3|12|x+3|3

Next, apply the theorem and rewrite the absolute value inequality as a compound inequality.

|x+3|33x+33

Solve.

3x+3333x+33336x0

Shade the solutions on a number line and present the answer in interval notation. Here we use closed dots to indicate inclusive inequalities on the graph as follows:

Answer: Using interval notation, [6,0]

Try this! Solve and graph the solution set: 3+|4x5|<8.

Answer: Interval notation: (0,52)

Next, we examine the solutions to an inequality that involves “greater than,” as in the following example:

|x|3

This inequality describes all numbers whose distance from the origin is greater than or equal to 3. On a graph, we can shade all such numbers.

There are infinitely many solutions that can be expressed using set notation and interval notation as follows:

{x|x3  or  x3}SetNotation(,3][3,)IntervalNotation

In general, given any algebraic expression X and any positive number p:

If|X|pthenXporXp.

The theorem holds true for strict inequalities as well. In other words, we can convert any absolute value inequality involving “greater than” into a compound inequality that describes two intervals.

Example 9

Solve and graph the solution set: |x+2|>3.

Solve

The argument x+2 must be less than −3 or greater than 3.

|x+2|>3x+2<3orx+2>3x<5x>1

Answer: Using interval notation, (,5)(1,).

The solution to |x+2|>3 can be interpreted graphically if we let f(x)=|x+2| and g(x)=3 and then determine where f(x)>g(x) by graphing both f and g on the same set of axes.

The solution consists of all x-values where the graph of f is above the graph of g. In this case, we can see that |x+2|>3 where the x-values are less than −5 or are greater than 1. To apply the theorem we must first isolate the absolute value.

Example 10

Solve: 3+2|4x7|13.

Solution:

Begin by isolating the absolute value.

3+2|4x7|132|4x7|10|4x7|5

Next, apply the theorem and rewrite the absolute value inequality as a compound inequality.

|4x7|54x75or4x75

Solve.

4x75or4x754x24x124x24x34x12

Shade the solutions on a number line and present the answer using interval notation.

Answer: Using interval notation, (,12][3,)

Try this! Solve and graph: 3|6x+5|2>13.

Answer: Using interval notation, (,53)(0,)

Up to this point, the solution sets of linear absolute value inequalities have consisted of a single bounded interval or two unbounded intervals. This is not always the case.

Example 11

Solve and graph: |2x1|+5>2.

Solution:

Begin by isolating the absolute value.

|2x1|+5>2|2x1|>3

Notice that we have an absolute value greater than a negative number. For any real number x the absolute value of the argument will always be positive. Hence, any real number will solve this inequality.

Geometrically, we can see that f(x)=|2x1|+5 is always greater than g(x)=2.

Answer: All real numbers, .

Example 12

Solve and graph: |x+1|+43.

Solution:

Begin by isolating the absolute value.

|x+1|+43|x+1|1

In this case, we can see that the isolated absolute value is to be less than or equal to a negative number. Again, the absolute value will always be positive; hence, we can conclude that there is no solution.

Geometrically, we can see that f(x)=|x+1|+4 is never less than g(x)=3.

Answer: Ø

In summary, there are three cases for absolute value equations and inequalities. The relations =, <, , >, and determine which theorem to apply.

 

Case 1: An absolute value equation:

If|X|=pthenX=porX=p

Case 2: An absolute value inequality involving “less than.”

If|X|pthenpXp

Case 3: An absolute value inequality involving “greater than.”

If|X|pthenXporXp

Key Takeaways

  • To solve an absolute value equation, such as |X|=p, replace it with the two equations X=p and X=p and then solve each as usual. Absolute value equations can have up to two solutions.
  • To solve an absolute value inequality involving “less than,” such as |X|p, replace it with the compound inequality pXp and then solve as usual.
  • To solve an absolute value inequality involving “greater than,” such as |X|p, replace it with the compound inequality XporXp and then solve as usual.
  • Remember to isolate the absolute value before applying these theorems.

Topic Exercises

    Part A: Absolute Value Equations Solve.

    1. |x|=9

    2. |x|=1

    3. |x7|=3

    4. |x2|=5

    5. |x+12|=0

    6. |x+8|=0

    7. |x+6|=1

    8. |x2|=5

    9. |2y1|=13

    10. |3y5|=16

    11. |5t+1|=6

    12. |6t+2|=8

    13. |12x23|=16
    14. |23x+14|=512
    15. |0.2x+1.6|=3.6

    16. |0.3x1.2|=2.7

    17. |5(y4)+5|=15

    18. |2(y1)3y|=4

    19. |5x7|+3=10

    20. |3x8|2=6

    21. 9+|7x+1|=9

    22. 4|2x3|=4

    23. 3|x8|+4=25

    24. 2|x+6|3=17

    25. 9+5|x1|=4

    26. 11+6|x4|=5

    27. 82|x+1|=4

    28. 125|x2|=2

    29. 12|x5|23=16
    30. 13|x+12|+1=32
    31. 2|7x+1|4=2

    32. 3|5x3|+2=5

    33. 1.2|t2.8|4.8=1.2

    34. 3.6|t+1.8|2.6=8.2

    35. 12|2(3x1)3|+1=4
    36. 23|4(3x+1)1|5=3
    37. |5x7|=|4x2|

    38. |8x3|=|7x12|

    39. |5y+8|=|2y+3|

    40. |7y+2|=|5y2|

    41. |5(x2)|=|3x|

    42. |3(x+1)|=|7x|

    43. |23x+12|=|32x13|
    44. |35x52|=|12x+25|
    45. |1.5t3.5|=|2.5t+0.5|

    46. |3.2t1.4|=|1.8t+2.8|

    47. |53(2x+1)|=|5x+2|

    48. |32(3x2)|=|4x1|

      Assume all variables in the denominator are nonzero.

    1. Solve for x: p|ax+b|q=0

    2. Solve for x: |ax+b|=|p+q|

    Part B: Absolute Value Inequalities

      Solve and graph the solution set. In addition, give the solution set in interval notation.

    1. |x|<5

    2. |x|2

    3. |x+3|1

    4. |x7|<8

    5. |x5|<0

    6. |x+8|<7

    7. |2x3|5

    8. |3x9|<27

    9. |5x3|0

    10. |10x+5|<25

    11. |13x23|1
    12. |112x12|32
    13. |x|5

    14. |x|>1

    15. |x+2|>8

    16. |x7|11

    17. |x+5|0

    18. |x12|>4

    19. |2x5|9

    20. |2x+3|15

    21. |4x3|>9

    22. |3x7|2

    23. |17x314|>12
    24. |12x+54|>34

      Solve and graph the solution set.

    1. |3(2x1)|>15

    2. |3(x3)|21

    3. 5|x4|>15

    4. 3|x+8|18

    5. 63|x4|<3

    6. 52|x+4|7

    7. 6|2x+5|<5

    8. 25|3x7|18

    9. |2x+25|49

    10. |3(x3)|8<2

    11. 2|9x+5|+8>6

    12. 3|4x9|+4<1

    13. 5|43x|100

    14. 6|14x|240

    15. 32|x+7|>7

    16. 97|x4|<12

    17. |5(x4)+5|>15

    18. |3(x9)+6|3

    19. |13(x+2)76|2316
    20. |110(x+3)12|+320>14
    21. 12+4|2x1|12

    22. 36|3x2|3

    23. 12|2x1|+3<4

    24. 2|12x+23|31

    25. 7|4+2(34x)|>5

    26. 9|6+3(2x1)|8

    27. 32|213x|<12
    28. 54|1214x|<38

      Assume all variables in the denominator are nonzero.

    1. Solve for x where a,p>0: p|ax+b|−   q0

    2. Solve for x where a,p>0: p|ax+b|q0

      Given the graph of f and g, determine the x-values where:

      1. f(x)=g(x)
      2. f(x)>g(x)
      3. f(x)<g(x)

    Part C: Discussion Board

    1. Make three note cards, one for each of the three cases described in this section. On one side write the theorem, and on the other write a complete solution to a representative example. Share your strategy for identifying and solving absolute value equations and inequalities on the discussion board.

    2. Make your own examples of absolute value equations and inequalities that have no solution, at least one for each case described in this section. Illustrate your examples with a graph.

Answers

  1. −9, 9

  2. 4, 10

  3. −12

  4. Ø

  5. −6, 7

  6. −1, 75

  7. 1, 53

  8. −26, 10

  9. 0, 6

  10. 0, 145

  11. 17

  12. 1, 15

  13. Ø

  14. −3, 1

  15. 4, 6

  16. Ø

  17. −2.2, 7.8

  18. 16,116

  19. 1, 5

  20. 53,117

  21. 54, 5

  22. 113, 1

  23. −4, 0.75

  24. 0, 4

  25. x=bq±qap

  1. (5,5);

  2. [4,2];

  3. Ø;

  4. [1,4];

  5. {35};

  6. [1,5];

  7. (,5][5,);

  8. (,10)(6,);

  9. ;

  10. (,2][7,);

  11. (,32)(3,);

  12. (,2)(5,);

  13. (,2)(3,);

  14. (1,7);

  15. (,3)(5,);

  16. (,8)(3,);

  17. (,19][6,);

  18. ;

  19. [23,2];

  20. (12,2);

  21. (,0)(6,);

  22. [0,3];

  23. 12;

  24. (12,32);

  25. (0,12);

  26. (,3)(9,);

  27. qbpapxqbpap

    1. −6, 0;
    2. (,6)(0,);
    3. (6,0)
    1. Ø;
    2. ;
    3. Ø
  1. Answer may vary

2.7 Solving Inequalities with Two Variables

Learning Objectives

  1. Identify and check solutions to inequalities with two variables.
  2. Graph solution sets of linear inequalities with two variables.

Solutions to Inequalities with Two Variables

We know that a linear equation with two variables has infinitely many ordered pair solutions that form a line when graphed. A linear inequality with two variablesAn inequality relating linear expressions with two variables. The solution set is a region defining half of the plane., on the other hand, has a solution set consisting of a region that defines half of the plane.

Linear Equation

Linear Inequality

y=32x+3

y32x+3

For the inequality, the line defines the boundary of the region that is shaded. This indicates that any ordered pair in the shaded region, including the boundary line, will satisfy the inequality. To see that this is the case, choose a few test pointsA point not on the boundary of the linear inequality used as a means to determine in which half-plane the solutions lie. and substitute them into the inequality.

Test point

y32x+3

(0, 0)

032(0)+303

(2, 1)

132(2)+313+316

(−2, −1)

132(2)+313+310

Also, we can see that ordered pairs outside the shaded region do not solve the linear inequality.

Test point

y32x+3

(−2, 3)

332(2)+333+330

The graph of the solution set to a linear inequality is always a region. However, the boundary may not always be included in that set. In the previous example, the line was part of the solution set because of the “or equal to” part of the inclusive inequality . If given a strict inequality <, we would then use a dashed line to indicate that those points are not included in the solution set.

Non-Inclusive Boundary

Inclusive Boundary

y<32x+3

y32x+3

Consider the point (0, 3) on the boundary; this ordered pair satisfies the linear equation. It is the “or equal to” part of the inclusive inequality that makes the ordered pair part of the solution set.

y<32x+3

y32x+3

3<32(0)+33<0+33<3

332(0)+330+333

So far we have seen examples of inequalities that were “less than.” Now consider the following graphs with the same boundary:

Greater Than (Above)

Less Than (Below)

y32x+3

y32x+3

Given the graphs above, what might we expect if we use the origin (0, 0) as a test point?

y32x+3

y32x+3

032(0)+300+303

032(0)+300+303

Example 1

Determine whether or not (2,12) is a solution to 5x2y<10.

Solution:

Substitute the x- and y-values into the equation and see if a true statement is obtained.

5x2y<105(2)2(12)<10101<109<10

Answer: (2,12) is a solution.

These ideas and techniques extend to nonlinear inequalities with two variables. For example, all of the solutions to y>x2 are shaded in the graph below.

The boundary of the region is a parabola, shown as a dashed curve on the graph, and is not part of the solution set. However, from the graph we expect the ordered pair (−1,4) to be a solution. Furthermore, we expect that ordered pairs that are not in the shaded region, such as (−3, 2), will not satisfy the inequality.

Check (−1,4)

Check (−3, 2)

y>x24>(1)24>1

y>x22>(3)22>9

Following are graphs of solutions sets of inequalities with inclusive parabolic boundaries.

y(x1)22

y(x1)22

You are encouraged to test points in and out of each solution set that is graphed above.

 

Try this! Is (3,2) a solution to 2x3y<0?

Answer: No

Graphing Solutions to Inequalities with Two Variables

Solutions to linear inequalities are a shaded half-plane, bounded by a solid line or a dashed line. This boundary is either included in the solution or not, depending on the given inequality. If we are given a strict inequality, we use a dashed line to indicate that the boundary is not included. If we are given an inclusive inequality, we use a solid line to indicate that it is included. The steps for graphing the solution set for an inequality with two variables are shown in the following example.

Example 2

Graph the solution set y>3x+1.

Solution:

  • Step 1: Graph the boundary. Because of the strict inequality, we will graph the boundary y=3x+1 using a dashed line. We can see that the slope is m=3=31=riserun and the y-intercept is (0, 1).

  • Step 2: Test a point that is not on the boundary. A common test point is the origin, (0, 0). The test point helps us determine which half of the plane to shade.

    Test point

    y>3x+1

    (0, 0)

    0>3(0)+10>1

  • Step 3: Shade the region containing the solutions. Since the test point (0, 0) was not a solution, it does not lie in the region containing all the ordered pair solutions. Therefore, shade the half of the plane that does not contain this test point. In this case, shade above the boundary line.

Answer:

Consider the problem of shading above or below the boundary line when the inequality is in slope-intercept form. If y>mx+b, then shade above the line. If y<mx+b, then shade below the line. Shade with caution; sometimes the boundary is given in standard form, in which case these rules do not apply.

Example 3

Graph the solution set 2x5y10.

Solution:

Here the boundary is defined by the line 2x5y=10. Since the inequality is inclusive, we graph the boundary using a solid line. In this case, graph the boundary line using intercepts.

To find the x-intercept, set y = 0.

To find the y-intercept, set x = 0.

2x5y=10

2x5(0)=102x=10x=5

2x5y=10

2(0)5y=105y=10y=2

x-intercept: (−5, 0)

y-intercept: (0, 2)

Next, test a point; this helps decide which region to shade.

Test point

2x5y10

(0, 0)

2(0)5(0)10010

Since the test point is in the solution set, shade the half of the plane that contains it.

Answer:

In this example, notice that the solution set consists of all the ordered pairs below the boundary line. This may seem counterintuitive because the original inequality involved “greater than” . This illustrates that it is a best practice to actually test a point. Solve for y and you see that the shading is correct.

2x5y102x5y2x102x5y2x105y52x105Reversetheinequality.y25x+2

In slope-intercept form, you can see that the region below the boundary line should be shaded. An alternate approach is to first express the boundary in slope-intercept form, graph it, and then shade the appropriate region.

Example 4

Graph the solution set y<2.

Solution:

First, graph the boundary line y=2 with a dashed line because of the strict inequality. Next, test a point.

Test point

y<2

(0, 0)

0<2

In this case, shade the region that contains the test point.

Answer:

Try this! Graph the solution set 2x3y<0.

Answer:

The steps are the same for nonlinear inequalities with two variables. Graph the boundary first and then test a point to determine which region contains the solutions.

Example 5

Graph the solution set y<(x+2)21.

Solution:

The boundary is a basic parabola shifted 2 units to the left and 1 unit down. Begin by drawing a dashed parabolic boundary because of the strict inequality.

Next, test a point.

Test point

y<(x+2)21

(0, 0)

0<(0+2)210<410<3

In this case, shade the region that contains the test point (0,0).

Answer:

Example 6

Graph the solution set yx2+3.

Solution:

The boundary is a basic parabola shifted 3 units up. It is graphed using a solid curve because of the inclusive inequality.

Next, test a point.

Test point

yx2+3

(0, 0)

002+303

In this case, shade the region that does not contain the test point (0,0).

Answer:

Try this! Graph the solution set y<|x1|3.

Answer:

Key Takeaways

  • Linear inequalities with two variables have infinitely many ordered pair solutions, which can be graphed by shading in the appropriate half of a rectangular coordinate plane.
  • To graph the solution set of an inequality with two variables, first graph the boundary with a dashed or solid line depending on the inequality. If given a strict inequality, use a dashed line for the boundary. If given an inclusive inequality, use a solid line. Next, choose a test point not on the boundary. If the test point solves the inequality, then shade the region that contains it; otherwise, shade the opposite side.
  • Check your answer by testing points in and out of the shading region to verify that they solve the inequality or not.

Topic Exercises

    Part A: Solutions to Inequalities with Two Variables

      Is the ordered pair a solution to the given inequality?

    1. 5xy>2;   (3,4)

    2. 4xy<8;   (3,10)

    3. 6x15y1;   (12,13)
    4. x2y2;   (23,56)
    5. 34x23y<32;   (1,1)
    6. 25x+43y>12;   (2,1)
    7. yx21;   (1,1)

    8. yx2+3;   (2,0)

    9. y(x5)2+1;   (3,4)

    10. y2(x+1)23;   (1,2)

    11. y>3|x|;   (4,3)

    12. y<|x|8;   (5,7)

    13. y>|2x1|3;   (1,3)

    14. y<|3x2|+2;   (2,10)

    Part B: Graphing Solutions to Inequalities with Two Variables.

      Graph the solution set.

    1. y<2x1

    2. y>4x+1

    3. y23x+3

    4. y43x3

    5. 2x+3y18

    6. 5x+2y8

    7. 6x5y>30

    8. 8x6y<24

    9. 3x4y<0

    10. x3y>0

    11. x+y0

    12. xy0

    13. y2

    14. y>3

    15. x<2

    16. x3

    17. 16x+110y12
    18. 38x+12y34
    19. 112x16y<23
    20. 13x19y>43
    21. 5x4y12

    22. 4x123y

    23. 4y+2<3x

    24. 8x<96y

    25. 53x15y

    26. 2x69y
    27. Write an inequality that describes all points in the upper half-plane above the x-axis.

    28. Write an inequality that describes all points in the lower half-plane below the x-axis.

    29. Write an inequality that describes all points in the half-plane left of the y-axis.

    30. Write an inequality that describes all points in the half-plane right of the y-axis.

    31. Write an inequality that describes all ordered pairs whose y-coordinate is at least k units.

    32. Write an inequality that describes all ordered pairs whose x-coordinate is at most k units.

      Graph the solution set.

    1. yx2+3

    2. y>x22

    3. yx2

    4. yx2

    5. y>(x+1)2

    6. y>(x2)2

    7. y(x1)2+2

    8. y(x+3)21

    9. y<x2+1

    10. y>(x2)2+1

    11. y|x|2

    12. y<|x|+1

    13. y<|x3|

    14. y|x+2|

    15. y>|x+1|

    16. y|x2|

    17. y|x+3|2

    18. y|x2|1

    19. y<|x+4|+2

    20. y>|x4|1

    21. y>x31

    22. yx3+2

    23. yx

    24. y>x1

    25. A rectangular pen is to be constructed with at most 200 feet of fencing. Write a linear inequality in terms of the length l and the width w. Sketch the graph of all possible solutions to this problem.

    26. A company sells one product for $8 and another for $12. How many of each product must be sold so that revenues are at least $2,400? Let x represent the number of products sold at $8 and let y represent the number of products sold at $12. Write a linear inequality in terms of x and y and sketch the graph of all possible solutions.

Answers

  1. No

  2. Yes

  3. Yes

  4. No

  5. No

  6. No

  7. Yes

  1. y>0

  2. x<0

  3. yk

  4. l+w100;

2.8 Review Exercises and Sample Exam

Review Exercises

    Relations, Graphs, and Functions

      Determine the domain and range and state whether the function is a relation or not.

    1. {(−4, −1), (−5, 3), (10, 3), (11, 2), (15, 1)}

    2. {(−3, 0), (−2, 1), (1, 3), (2, 7), (2, 5)}

      Evaluate.

    1. h(x)=12x3; h(8), h(3), and h(4a+1)

    2. p(x)=4x; p(10), p(0), and p(5a1)

    3. f(x)=2x2x+3; find f(5), f(0), and f(x+h)

    4. g(x)=x29; find f(3), f(2), and f(x+h)

    5. g(x)=2x1; find g(5), g(1), g(13)

    6. h(x)=x+63; find h(7), h(6), and h(21)

    7. f(x)=8x+3; find x where f(x)=10.

    8. g(x)=53x; find x where g(x)=4.

    9. Given the graph of f(x) below, find f(60), f(0), and f(20).

    10. Given the graph of g(x) below, find x where g(x)=4 and g(x)=12.

    Linear Functions and Their Graphs

      Graph and label the intercepts.

    1. 4x8y=12

    2. 9x+4y=6

    3. 38x+12y=54

    4. 34x12y=1

      Graph the linear function and label the x-intercept.

    1. g(x)=58x+10

    2. g(x)=15x3

    3. f(x)=4x+12

    4. f(x)=3x5

    5. h(x)=23x

    6. h(x)=6

      Find the slope of the line passing through the given points.

    1. (5,3) and (4,1)

    2. (7,8) and (9,2)

    3. (45,13) and (110,35)

    4. (38,1) and (34,116)

    5. (14,7) and (10,7)

    6. (6,5) and (6,2)

      Graph f and g on the same rectangular coordinate plane. Use the graph to find all values of x for which the given relation is true. Verify your answer algebraically.

    1. f(x)=12x2, g(x)=52x+4; f(x)=g(x)

    2. f(x)=5x2, g(x)=3; f(x)g(x)

    3. f(x)=4x+3, g(x)=x+6; f(x)<g(x)

    4. f(x)=35x1, g(x)=35x+5; f(x)g(x)

    Modeling Linear Functions

      Find the linear function passing through the given points.

    1. (1,5) and (12,4)

    2. (53,3) and (2,8)

    3. (7,6) and (5,7)

    4. (5,6) and (3,9)

    5. Find the equation of the given linear function:

    6. Find the equation of the given linear function:

      Find the equation of the line:

    1. Parallel to 8x3y=24 and passing through (9,4).

    2. Parallel to 6x+2y=24 and passing through (12,2).

    3. Parallel to 14x23y=1 and passing through (4,1).

    4. Perpendicular to 14x+7y=10 and passing through (8,3).

    5. Perpendicular to 15x3y=6 and passing through (3,1).

    6. Perpendicular to 29x+43y=12 and passing through (2,7).

      Use algebra to solve the following.

    1. A taxi fare in a certain city includes an initial charge of $2.50 plus $2.00 per mile driven. Write a function that gives the cost of a taxi ride in terms of the number of miles driven. Use the function to determine the number of miles driven if the total fare is $9.70.

    2. A salesperson earns a base salary of $1,800 per month and 4.2% commission on her total sales for that month. Write a function that gives her monthly salary based on her total sales. Use the function to determine the amount of sales for a month in which her salary was $4,824.

    3. A certain automobile sold for $1,200 in 1980, after which it began to be considered a collector’s item. In 1994, the same automobile sold at auction for $5,750. Write a linear function that models the value of the automobile in terms of the number of years since 1980. Use it to estimate the value of the automobile in the year 2000.

    4. A specialized industrial robot was purchased new for $62,400. It has a lifespan of 12 years, after which it will be considered worthless. Write a linear function that models the value of the robot. Use the function to determine its value after 8 years of operation.

    5. In 1950, the U.S. Census Bureau estimated the population of Detroit, MI to be 1.8 million people. In 1990, the population was estimated to have decreased to 1 million. Write a linear function that gives the population of Detroit in millions of people, in terms of years since 1950. Use the function to estimate the year in which the population decreased to 700,000 people.

    6. Online sales of a particular product are related to the number of clicks on its advertisement. It was found that 100 clicks in a week result in $112 of online sales, and that 500 clicks result in $160 of online sales. Write a linear function that models the online sales of the product based on the number of clicks on its advertisement. How many clicks are needed to result in $250 of weekly online sales from this product?

    7. The cost in dollars of producing n bicycles is given by the formula C(n)=80n+3,380. If each bicycle can be sold for $132, write a function that gives the profit generated by producing and selling n bicycles. Use the formula to determine the number of bicycles that must be produced and sold to profit at least $10,000.

    8. Determine the breakeven point from the previous exercise.

    Basic Functions

      Find the ordered pair that specifies the point P.

      Graph the piecewise defined functions.

    1. g(x)={x2ifx<510ifx5
    2. g(x)={5ifx<5|x|ifx5
    3. f(x)={xifx1x3ifx>1
    4. f(x)={xifx4xifx>4
    5. h(x)={xifx<3x2if3x<36ifx3
    6. f(x)={1ifx<1x2if1x01xifx>0
    7. g(x)={1ifx10if1<x11ifx>1
    8. g(x)=[[x]]+2

      Evaluate.

    1. f(x)={5x2ifx<6x2ifx6

      Find f(10), f(6), and f(0).

    2. h(x)={25xifx0x3ifx>0

      Find h(1), h(0), and h(12).

    3. g(x)={5ifx<4x9if4x<0xifx0

      Find g(10), g(0) and g(8).

    4. q(x)={1xifx<10if1x1xifx>1

      Find q(53), q(1) and q(16).

    Transformations

      Sketch the graph of the given function.

    1. f(x)=(x+5)210

    2. g(x)=x6+9

    3. p(x)=x9

    4. h(x)=x3+5

    5. f(x)=|x20|40

    6. f(x)=1x3

    7. h(x)=1x+36

    8. g(x)=x43+2

    9. f(x)={(x+4)2ifx<2x+2ifx2
    10. g(x)={2ifx<6|x8|4ifx6
    11. g(x)=|x+4|8

    12. h(x)=x2+16

    13. f(x)=x2

    14. r(x)=1x+2

    15. g(x)=2|x+10|+8

    16. f(x)=5x+1

    17. f(x)=14x2+1

    18. h(x)=13(x1)3+2

      Write an equation that represents the function whose graph is given.

    Solving Absolute Value Equations and Inequalities

      Solve.

    1. |5x4|=14

    2. |43x|=4

    3. 95|x4|=4

    4. 6+2|x+10|=12

    5. |3x6|+5=5

    6. 0.2|x1.8|=4.6

    7. 23|2x12|+13=2

    8. 14|x+52|2=18

    9. |3x9|=|4x+3|

    10. |9x7|=|3+8x|

      Solve. Graph the solutions on a number line and give the corresponding interval notation.

    1. |2x+3|<1

    2. |10x15|25

    3. |6x1|11

    4. |x12|>7

    5. 64|x12|2

    6. 5|x+6|4

    7. |3x+1|+74

    8. 2|x3|+6>4

    9. 5|13x12|>56
    10. 6.43.2|x+1.6|>0

    Inequalities with Two Variables

      Is the ordered pair a solution to the given inequality?

    1. 9x2y<1; (1,3)

    2. 4x+13y>0; (1,12)

    3. 34xy12; (12,14)

    4. xy6; (1,7)

    5. yx23; (3,5)

    6. y>|x6|+10; (4,12)

    7. y<(x1)3+7; (1,0)

    8. yx+4; (3,4)

      Graph the solution set.

    1. x+y<6

    2. 2x3y9

    3. 3xy6

    4. y+4>0

    5. x60

    6. 13x+16y>12

    7. y>(x2)23

    8. y(x+6)2+3

    9. y<|x|+9

    10. y>|x12|+3

    11. yx3+8

    12. y>(x2)3

Answers

  1. Domain: {−5, −4, 10, 11, 15}; range:{−1, 1, 2, 3}; function: yes

  2. Domain: {−5, 5, 15, 30}; range: {−5, 0, 5, 10, 15}; function: no

  3. Domain: (,); range: [6,); function: yes

  4. Domain: (,32]; range: [1,); function: yes

  5. h(8)=7, h(3)=32, and h(4a+1)=2a52

  6. f(5)=58, f(0)=3, and f(x+h)=2x2+4xh+2h2xh+3

  7. g(5)=3, g(1)=1, g(13)=5

  8. f(78)=10

  9. f(60)=20, f(0)=20, f(20)=0

  1. m=2

  2. m=43
  3. m=0

  4. x=2

  5. (1,)

  1. f(x)=2x3

  2. f(x)=12x192

  3. f(x)=37x107

  4. y=83x+28

  5. y=38x52

  6. y=15x+25

  7. C(x)=2x+2.5; 3.6 miles

  8. V(t)=325t+1,200; $7,700

  9. p(x)=0.02x+1.8; 2005

  10. P(n)=52n3,380; 258 bicycles

  1. (32,23)

  2. (25,25)

  3. f(10)=52, f(6)=36, f(0)=0

  4. g(10)=5, g(4)=13, g(8)=22

  1. f(x)=(x4)26

  2. f(x)=x2+4

  3. f(x)=x32

  4. f(x)=10

  1. −2, 185

  2. 3, 5

  3. 2

  4. −1, 32

  5. −12, 67

  6. (2,1);

  7. [53,2];

  8. (,12][32,);

  9. Ø;

  10. (,1)(2,);

  1. Yes

  2. Yes

  3. Yes

  4. No

Sample Exam

    1. Determine whether or not the following graph represents a function or not. Explain.

    2. Determine the domain and range of the following function.

    3. Given g(x)=x25x+1, find g(1), g(0), and g(x+h).

    4. Given the graph of a function f:

      1. Find f(6), f(0), and f(2).
      2. Find x where f(x)=2.
    5. Graph f(x)=52x+7 and label the x-intercept.

    6. Find a linear function passing through (12,1) and (2,2).

    7. Find the equation of the line parallel to 2x6y=3 and passing through (1,2).

    8. Find the equation of the line perpendicular to 3x4y=12 and passing through (6,1).

    9. The annual revenue of a new web-services company in dollars is given by R(n)=125n, where n represents the number of users the company has registered. The annual maintenance cost of the company’s registered user base in dollars is given by the formula C(n)=85n+22,480 where n represents the users.

      1. Write a function that models the annual profit based on the number of registered users.
      2. Determine the number of registered users needed to break even.
    10. A particular search engine assigns a ranking to a webpage based on the number of links that direct users to the webpage. If no links are found, the webpage is assigned a ranking of 1. If 40 links are found directing users to the webpage, the search engine assigns a page ranking of 5.

      1. Find a linear function that gives the webpage ranking based on the number of links that direct users to it.
      2. How many links will be needed to obtain a page ranking of 7?

      Use the transformations to sketch the graph of the following functions and state the domain and range.

    1. g(x)=|x+4|5

    2. h(x)=x4+1

    3. r(x)=(x+3)3

    4. Given the graph, determine the function definition and its domain and range:

    5. Sketch the graph: h(x)={xifx<11xifx1.

    6. Sketch the graph: g(x)=13x2+9.

      Solve.

    1. |2x1|+2=7

    2. 105|2x3|=0

    3. |7x+4|=|9x1|

      Solve and graph the solution set.

    1. |2x4|5<7

    2. 6+|3x5|13

    3. 53|x4|10

    4. 3|7x1|+52

      Graph the solution set.

    1. 12x23y4

    2. y>(x2)2+4

Answers

  1. The graph is not a function; it fails the vertical line test.

  2. g(1)=7, g(0)=1, and g(x+h)=x2+2xh+h25x5h+1

  3. y=13x53

    1. P(n)=40n22,480;
    2. 562 users
  4. Domain: (,); range: [5,)

  5. Domain: (,); range: (,)

  6. −2, 3

  7. 316,52

  8. (,23][4,);

  9. Ø;