2.1 Increasing, Decreasing, and Piecewise Functions; Applications

  • Graph functions, looking for intervals on which the function is increasing, decreasing, or constant, and estimate relative maxima and minima.

  • Given an application, find a function that models the application. Find the domain of the function and function values.

  • Graph functions defined piecewise.

Because functions occur in so many real-world situations, it is important to be able to analyze them carefully.

Increasing, Decreasing, and Constant Functions

On a given interval, if the graph of a function rises from left to right, it is said to be increasing on that interval. If the graph drops from left to right, it is said to be decreasing. If the function values stay the same on the interval, the function is said to be constant.

We are led to the following definitions.

Figure 1.

Figure 2.

Figure 3.

Example 1

Determine the intervals on which the function in the figure at left is

  1. increasing;

  2. decreasing;

  3. constant.

Solution

When expressing interval(s) on which a function is increasing, decreasing, or constant, we consider only values in the domain of the function. Since the domain of this function is (, )(, ), we consider all real values of x.

  1. As x-values (that is, values in the domain) increase from x=3x=3 to x=5x=5, the y-values (that is, values in the range) increase from −2 to 2. Thus the function is increasing on the interval (3, 5).

  2. As x-values increase from negative infinity to −1, y-values decrease; y-values also decrease as x-values increase from 5 to positive infinity. Thus the function is decreasing on the intervals (, 1)(, 1) and (5, )(5, ).

  3. As x-values increase from −1 to 3, y remains −2. The function is constant on the interval (−1, 3).

Now Try Exercise 5.

In calculus, the slope of a line tangent to the graph of a function at a particular point is used to determine whether the function is increasing, decreasing, or neither. If the slope is positive, the function is increasing; if the slope is negative, the function is decreasing; if the slope is 0, the function is constant. Since slope cannot be both positive and negative at the same point, a function cannot be both increasing and decreasing at a specific point. For this reason, increasing, decreasing, and constant intervals are expressed in open-interval notation. In Example 1, if [3, 5] had been used for the increasing interval and [5, )[5, ) for a decreasing interval, the function would be both increasing and decreasing at x=5x=5. This is not possible.

Relative Maximum and Minimum Values

Consider the graph shown below. Note the “peaks” and “valleys” at the x-values c1, c2c1, c2, and c3c3. The function value f(c2)f(c2) is called a relative maximum (plural, maxima). Each of the function values f(c1)f(c1) and f(c3)f(c3) is called a relative minimum (plural, minima).

Simply stated, f(c)f(c) is a relative maximum if (c, f(c))(c, f(c)) is the highest point in some open interval, and f(c)f(c) is a relative minimum if (c, f(c))(c, f(c)) is the lowest point in some open interval.

If you take a calculus course, you will learn a method for determining exact values of relative maxima and minima. In Section 3.3, we will find exact maximum and minimum values of quadratic functions algebraically.

Example 2

Using the graph shown below, determine any relative maxima or minima of the function f(x)=0.1x30.6x20.1x+2f(x)=0.1x30.6x20.1x+2 and the intervals on which the function is increasing or decreasing.

Solution

We see that the relative maximum value of the function is 2.004. It occurs when x=0.082x=0.082. We also see the relative minimum: −1.604 at x=4.082x=4.082.

We note that the graph starts rising, or increasing, from the left and stops increasing at the relative maximum. From this point, the graph decreases to the relative minimum and then begins to rise again. The function is increasing on the intervals

(, 0.082)and(4.082, )
(, 0.082)and(4.082, )

and decreasing on the interval

(0.082, 4.082).
(0.082, 4.082).

Let’s summarize our results.

Relative Maximum 2.004 at x=0.082x=0.082
Relative Minimum −1.604 at x=4.082x=4.082
Increasing (, 0.082), (4.082, )(, 0.082), (4.082, )
Decreasing (0.082, 4.082)(0.082, 4.082)

Now Try Exercise 15.

Applications of Functions

Many real-world situations can be modeled by functions.

Example 3

Car Distance. Two nurses, Kiara and Matias, drive away from a hospital at right angles to each other. Kiara’s speed is 35 mph and Matias’s is 40 mph.

  1. Express the distance between the cars as a function of time, d(t).

  2. Find the domain of the function.

Solution

  1. Suppose 1 hr goes by. At that time, Kiara has traveled 35 mi and Matias has traveled 40 mi. We can use the Pythagorean theorem to find the distance between them. This distance would be the length of the hypotenuse of a right triangle with legs measuring 35 mi and 40 mi. After 2 hr, the triangle’s legs would measure 235235, or 70 mi, and 240240, or 80 mi. Noting that the distances will always be changing, we make a drawing and let t=t= the time, in hours, that Kiara and Matias have been driving since leaving the hospital.

    After t hours, Kiara has traveled 35t miles and Matias 40t miles. We now use the Pythagorean theorem:

    [d(t)]2=(35t)2+(40t)2.
    [d(t)]2=(35t)2+(40t)2.

    Because distance must be nonnegative, we need consider only the positive square root when solving for d(t):

    d(t)=(35t)2+(40t)2=1225t2+1600t2=2825t253.15|t|Approximating the root to two decimal places53.15t.Since t0, |t|=t.
    d(t)===(35t)2+(40t)21225t2+1600t22825t253.15|t|53.15t.Approximating the root to two decimal placesSince t0, |t|=t.

    Thus, d(t)=53.15t, t0d(t)=53.15t, t0.

  2. Since the time traveled, t, must be nonnegative, the domain is the set of nonnegative real numbers [0, )[0, ).

Now Try Exercise 25.

Example 4

Area of Office Space. A community college has 30 ft of dividers with which to set off a rectangular area for a student testing center. If a corner of the math lab is used for the testing center, the partition need only form two sides of a rectangle.

  1. Express the floor area of the office space as a function of the length of the partition.

  2. Find the domain of the function.

  3. Using the graph shown below, determine the dimensions that maximize the area of the floor.

Solution

  1. Note that the dividers will form two sides of a rectangle. If, for example, 14 ft of dividers are used for the length of the rectangle, that would leave 30143014, or 16 ft of dividers for the width. Thus if x=x= the length, in feet, of the rectangle, then 30x=30x= the width. We represent this information in a drawing, as shown below.

    The area, A(x)A(x), is given by

    A(x)=x(30x)Area=lengthwidth.=30xx2.
    A(x)==x(30x)30xx2.Area=lengthwidth.

    The function A(x)=30xx2A(x)=30xx2 can be used to express the rectangle’s area as a function of the length.

  2. Because the rectangle’s length and width must be positive and only 30 ft of dividers are available, we restrict the domain of A to {x|0<x<30}{x|0<x<30}—that is, the interval (0, 30).

  3. On the graph of the function shown at the top of the page, the maximum value of the area on the interval (0, 30) appears to be 225 when x=15x=15. Thus the dimensions that maximize the area are

    • Length =x=15=x=15 ft and

    • Width =30x=3015=15=30x=3015=15 ft.

Now Try Exercise 31.

Functions Defined Piecewise

Sometimes functions are defined piecewise using different output formulas for different pieces, or parts, of the domain.

Example 5

For the function defined as

f(x)={x+1,for x<2,5,for 2x3,x2,for x>3,
f(x)=x+1,5,x2,for x<2,for 2x3,for x>3,

find f(5), f(3), f(0), f(3), f(4)f(5), f(3), f(0), f(3), f(4), and f(10)f(10).

Solution

First, we determine which part of the domain contains the given input. Then we use the corresponding formula to find the output.

Since 5<25<2, we use the formula f(x)=x+1:f(x)=x+1:

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

Since 3<23<2, we use the formula f(x)=x+1f(x)=x+1 again:

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

Since 203203, we use the formula f(x)=5:f(x)=5:

f(0)=5.
f(0)=5.

Since 233233, we use the formula f(x)=5f(x)=5 a second time:

f(3)=5.
f(3)=5.

Since 4>34>3, we use the formula f(x)=x2:f(x)=x2:

f(4)=42=16.
f(4)=42=16.

Since 10>310>3, we once again use the formula f(x)=x2:f(x)=x2:

f(10)=102=100.
f(10)=102=100.

Now Try Exercise 35.

Example 6

Graph the function defined as

g(x)= {13x+3,for x<3,x,for x3.
g(x)= {13x+3,x,for x<3,for x3.

Solution

Since the function is defined in two pieces, or parts, we create the graph in two parts.

  1. We graph g(x)=13x+3g(x)=13x+3 only for inputs x less than 3. That is, we use g(x)=13x+3g(x)=13x+3 only for x-values in the interval (, 3)(, 3). Some ordered pairs that are solutions of this piece of the function are shown in Table 1.

    Table 1.

    x (x<3)(x<3) g(x)=13x+3g(x)=13x+3
    −3 2
    0 3
    2 323323
  2. We graph g(x)=xg(x)=x only for inputs x greater than or equal to 3. That is, we use g(x)=xg(x)=x only for x-values in the interval [3, )[3, ). Some ordered pairs that are solutions of this piece of the function are shown in Table 2.

    Table 2.

    x (x3)(x3) g(x)=xg(x)=x
    3 −3
    4 −4
    6 −6

Now Try Exercise 39.

Example 7

Graph the function defined as

f(x)={4,for x0,4x2,for 0<x2,2x6,for x>2.
f(x)=4,4x2,2x6,for x0,for 0<x2,for x>2.

Solution

We create the graph in three pieces, or parts.

  1. We graph f(x)=4f(x)=4 only for inputs x less than or equal to 0. That is, we use f(x)=4f(x)=4 only for x-values in the interval (, 0](, 0]. Some ordered pairs that are solutions of this piece of the function are shown in Table 3.

    Table 3.

    x (x0)(x0) f(x)=4f(x)=4
    −5 4
    −2 4
    0 4
  2. We graph f(x)=4x2f(x)=4x2 only for inputs x greater than 0 and less than or equal to 2. That is, we use f(x)=4x2f(x)=4x2 only for x-values in the interval (0, 2](0, 2]. Some ordered pairs that are solutions of this piece of the function are shown in Table 4.

    Table 4.

    x (0<x2)(0<x2) f(x)=4x2f(x)=4x2
    1212 334334
    1 3
    2 0
  3. We graph f(x)=2x6f(x)=2x6 only for inputs x greater than 2. That is, we use f(x)=2x6f(x)=2x6 only for x-values in the interval (2, )(2, ). Some ordered pairs that are solutions of this piece of the function are shown in Table 5.

    Table 5.

    x (x>2)(x>2) f(x)=2x6f(x)=2x6
    212212 −1
    3 0
    5 4

Now Try Exercise 43.

Example 8

Graph the function defined as

f(x)={x24x+2,for x2,3,for x=2.
f(x)={x24x+2,3,for x2,for x=2.

Solution

When x2x2, the denominator of (x24)/(x+2)(x24)/(x+2) is nonzero, so we can simplify:

x24x+2=(x+2)(x2)x+2=x2.
x24x+2=(x+2)(x2)x+2=x2.

Thus,

f(x)=x2,f or x2.
f(x)=x2,f or x2.

The graph of this part of the function consists of a line with a “hole” at the point (2, 4)(2, 4), indicated by the open circle. The hole occurs because the piece of the function represented by (x24)/(x+2)(x24)/(x+2) is not defined for x=2x=2. By the definition of the function, we see that f(2)=3f(2)=3, so we plot the point (−2, 3) above the open circle.

Now Try Exercise 47.

A piecewise function with importance in calculus and computer programming is the greatest integer function, f, denoted f(x)=xf(x)=x, or int(x)int(x).

The greatest integer function pairs each input with the greatest integer less than or equal to that input. Thus x-values 1, 112112, and 1.8 are all paired with the y-value 1. Other pairings are shown below.

Example 9

Graph f(x)=xf(x)=x and determine its domain and range.

Solution

The greatest integer function can also be defined as a piecewise function with an infinite number of statements.

f(x)=x={3,for 3x<2,2,for 2x<1,1,for 1x<0,0,for 0x<1,1,for 1x<2,2,for 2x<3,3,for 3x<4,
f(x)=x=3,2,1,0,1,2,3,for 3x<2,for 2x<1,for 1x<0,for 0x<1,for 1x<2,for 2x<3,for 3x<4,

We see that the domain of this function is the set of all real numbers, (, )(, ), and the range is the set of all integers, {, 3, 2, 1, 0, 1, 2, 3, }{, 3, 2, 1, 0, 1, 2, 3, }.

Now Try Exercise 51.

2.1 Exercise Set

Determine the intervals on which the function is

  1. increasing;

  2. decreasing;

  3. constant.

  1. 1.

  2. 2.

  3. 3.

  4. 4.

  5. 5.

  6. 6.

  7. 7.–12. Determine the domain and the range of each of the functions graphed in Exercises 16.

Using the graph, determine any relative maxima or minima of the function and the intervals on which the function is increasing or decreasing.

  1. 13.

  2. 14.

  3. 15.

  4. 16.

Graph the function. Estimate the intervals on which the function is increasing or decreasing and any relative maxima or minima.

  1. 17. f(x)=x2f(x)=x2

  2. 18. f(x)=4x2f(x)=4x2

  3. 19. f(x)=5|x|f(x)=5|x|

  4. 20. f(x)=|x+3|5f(x)=|x+3|5

  5. 21. f(x)=x26x+10f(x)=x26x+10

  6. 22. f(x)=x28x9f(x)=x28x9

  7. 23. Lumberyard. Rick’s lumberyard has 480 yd of fencing with which to enclose a rectangular area. If the enclosed area is x yards long, express its area as a function of its length.

  8. 24. Triangular Flag. A seamstress is designing a triangular flag so that the length of the base of the triangle, in inches, is 7 less than twice the height h. Express the area of the flag as a function of the height.

  9. 25. Blimp Distance. The Goodyear Blimp can be seen flying at an altitude of 3500 ft above the Motor Speedway during the Indianapolis 500 race. The slanted distance directly to the Pagoda at the start–finish line is d feet. Express the horizontal distance h as a function of d.

  10. 26. Rising Balloon. A hot-air balloon rises straight up from the ground at a rate of 120 ft/min. The balloon is tracked from a rangefinder on the ground at point P, which is 400 ft from the release point Q of the basket. Let d=d= the distance from the balloon to the rangefinder and t=t= the time, in minutes, since the balloon was released. Express d as a function of t.

  11. 27. Inscribed Rhombus. A rhombus is inscribed in a rectangle that is w meters wide with a perimeter of 40 m. Each vertex of the rhombus is a midpoint of a side of the rectangle. Express the area of the rhombus as a function of the width of the rectangle.

  12. 28. Carpet Area. A carpet installer uses 46 ft of linen tape to bind the edges of a rectangular hall runner. If the runner is w feet wide, express its area as a function of the width.

  13. 29. Golf Distance Finder. A device used in golf to estimate the distance d, in yards, to a hole measures the size s, in inches, that the 7-ft pin appears to be in a viewfinder. Express the distance d as a function of s.

  14. 30. Gas Tank Volume. A gas tank has ends that are hemispheres of radius r feet. The cylindrical midsection is 6 ft long. Express the volume of the tank as a function of r.

  15. 31. Swimming Areas. A summer camp has 240 ft of float line with which to rope off three adjacent rectangular areas of a lake for swimming lessons, one for each of three levels of swimming ability. A beach forms one side of the swimming areas. Suppose the width of each area is x yards.

    1. Express the total area of the three swimming areas as a function of x.

    2. Find the domain of the function.

    3. Using the graph of the function shown below, determine the dimensions that yield the maximum area.

  16. 32. Play Space. A car dealership has 24 ft of dividers with which to enclose a rectangular play space in a corner of a customer lounge. The sides against the wall require no partition. Suppose the play space is x feet long.

    1. Express the area of the play space as a function of x.

    2. Find the domain of the function.

    3. Using the graph shown below, determine the dimensions that yield the maximum area.

  17. 33. Volume of a Box. From a 12-cm by 12-cm piece of cardboard, square corners are cut out so that the sides can be folded up to make a box.

    1. Express the volume of the box as a function of the side x, in centimeters, of a cut-out square.

    2. Find the domain of the function.

    3. Using the graph of the function shown below, determine the dimensions that yield the maximum volume.

  18. 34. Office File. Designs Unlimited plans to produce a one-component vertical file by bending the long side of an 8-in. by 14-in. sheet of plastic along two lines to form a shape.

    1. Express the volume of the file as a function of the height x, in inches, of the file.

    2. Find the domain of the function.

    3. Using the graph of the function shown below, determine how tall the file should be in order to maximize the volume that the file can hold.

For each piecewise function, find the specified function values.

  1. 35. g(x)={x+4,for x1,8x,for x>1g(x)={x+4,8x,for x1,for x>1

    g(4), g(0), g(1)g(4), g(0), g(1), and g(3)g(3)

  2. 36. f(x)={3,for x2,12x+6,for x>2f(x)={3,12x+6,for x2,for x>2

    f(5), f(2), f(0)f(5), f(2), f(0), and f(2)f(2)

  3. 37. h(x)={3x18,for x<5,1,for 5x<1,x+2,for x1h(x)=3x18,1,x+2,for x<5,for 5x<1,for x1

    h(5), h(0), h(1)h(5), h(0), h(1), and h(4)h(4)

  4. 38. f(x)={5x8,for x<2,12x+5,for 2x4,102x,for x>4f(x)=5x8,12x+5,102x,for x<2,for 2x4,for x>4

    f(4), f(2), f(4)f(4), f(2), f(4), and f(6)f(6)

Graph each of the following.

  1. 39. f(x)={12x,for x<0,x+3,for x0f(x)={12x,x+3,for x<0,for x0

  2. 40. f(x)={13x+2,for x0,x5,for x>0f(x)={13x+2,x5,for x0,for x>0

  3. 41. f(x)={34x+2,for x<4,1,for x4f(x)={34x+2,1,for x<4,for x4

  4. 42. h(x)={2x1,for x<2,2x,for x2h(x)={2x1,2x,for x<2,for x2

  5. 43. f(x)={x+1,for x3,1,for 3<x4,12x,for x4f(x)=x+1,1,12x,for x3,for 3<x4,for x4

  6. 44. f(x)={4,for x2,x+1,for 2<x<3,x,for x3f(x)=4,x+1,x,for x2,for 2<x<3,for x3

  7. 45. g(x)={12x1,for x<0,3,for 0x<1,2x,for x>1g(x)=12x1,3,2x,for x<0,for 0x<1,for x>1

  8. 46. f(x)={x29x+3,for x3,5,for x=32,for x=5,f(x)=x29x+3,5,2,for x3,for x=3for x=5,

  9. 47. f(x)={2,for x=5,x225x5,for x5f(x)={2,x225x5,for x=5,for x5

  10. 48. f(x)={x2+3x+2x+1,for x1,7,for x=1f(x)={x2+3x+2x+1,7,for x1,for x=1

  11. 49. f(x)=xf(x)=x

  12. 50. f(x)=2xf(x)=2x

  13. 51. g(x)=1+xg(x)=1+x

  14. 52. h(x)=12x2h(x)=12x2

  15. 53.–58. Find the domain and the range of each of the functions defined in Exercises 3944.

Determine the domain and the range of the piecewise function. Then write an equation for the function.

  1. 59.

  2. 60.

  3. 61.

  4. 62.

  5. 63.

  6. 64.

Skill Maintenance

  1. 65. Given f(x)=5x27f(x)=5x27, find each of the following. [1.2]

    1. f(3)f(3)

    2. f(3)f(3)

    3. f(a)f(a)

    4. f(a)f(a)

  2. 66. Given f(x)=4x35xf(x)=4x35x, find each of the following. [1.2]

    1. f(2)f(2)

    2. f(2)f(2)

    3. f(a)f(a)

    4. f(a)f(a)

  3. 67. Write an equation of the line perpendicular to the graph of the line 8xy=108xy=10 and containing the point (−1, 1). [1.4]

  4. 68. Find the slope and the y-intercept of the line with equation 2x9y+1=02x9y+1=0. [1.4]

Synthesis

  1. 69. Parking Costs. A parking garage charges $3 for up to (but not including) 1 hr of parking, $6 for up to 2 hr of parking, $9 for up to 3 hr of parking, and so on. Let C(t)=C(t)= the cost of parking for t hours.

    1. Graph the function.

    2. Write an equation for C(t)C(t) using the greatest integer notation tt.

  2. 70. If x+2=3x+2=3, what are the possible inputs for x?

  3. 71. If (x)2=25(x)2=25, what are the possible inputs for x?

  4. 72. Minimizing Power Line Costs. A power line is constructed from a power station at point A to an island at point I, which is 1 mi directly out in the water from a point B on the shore. Point B is 4 mi downshore from the power station at A. It costs $5000 per mile to lay the power line under water and $3000 per mile to lay the power line under ground. The line comes to the shore at point S downshore from A. Let x=x= the distance from B to S.

    1. Express the cost C of laying the line as a function of x.

    2. At what distance x from point B should the line come to shore in order to minimize cost?

  5. 73. Volume of an Inscribed Cylinder. A right circular cylinder of height h and radius r is inscribed in a right circular cone with a height of 10 ft and a base with radius 6 ft.

    1. Express the height h of the cylinder as a function of r.

    2. Express the volume V of the cylinder as a function of r.

    3. Express the volume V of the cylinder as a function of h.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.108.236