Example: stock market

Piecewise Functions - ClassZone

Page 1 of 2114 Chapter 2 Linear Equations and FunctionsPiecewise FunctionsREPRESENTINGPIECEWISEFUNCTIONSU p to now in this chapter a function has been represented by a single equation. Inmany real-life problems, however, Functions are represented by a combination ofequations, each corresponding to a part of the domain. Such Functions are calledFor example, the Piecewise function given by (x) = is defined by two equations. One equation gives the values of (x) when xis less thanor equal to 1, and the other equation gives the values of (x) when xis greater than a Piecewise FunctionEvaluate (x) when (a) x= 0, (b) x= 2, and (c) x= 4.

Page 1 of 2 116 Chapter 2 Linear Equations and Functions USING PIECEWISE FUNCTIONS IN REAL LIFE Using a Step Function a.Write and graph a piecewise function for the parking charges shown on the sign. b.What are …

Tags:

  Functions, Classzone, Piecewise, Piecewise functions

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of Piecewise Functions - ClassZone

1 Page 1 of 2114 Chapter 2 Linear Equations and FunctionsPiecewise FunctionsREPRESENTINGPIECEWISEFUNCTIONSU p to now in this chapter a function has been represented by a single equation. Inmany real-life problems, however, Functions are represented by a combination ofequations, each corresponding to a part of the domain. Such Functions are calledFor example, the Piecewise function given by (x) = is defined by two equations. One equation gives the values of (x) when xis less thanor equal to 1, and the other equation gives the values of (x) when xis greater than a Piecewise FunctionEvaluate (x) when (a) x= 0, (b) x= 2, and (c) x= 4.

2 (x) = SOLUTIONa. (x) = x+ 2 Because 0 <2, use first equation. (0) = 0+ 2 = 2 Substitute 0 for (x) = 2x+ 1 Because 2 2, use second equation. (2) = 2(2) + 1 = 5 Substitute 2 for (x) = 2x+ 1 Because 4 2, use second equation. (4) = 2(4) + 1 = 9 Substitute 4 for a Piecewise FunctionGraph this function: (x) =SOLUTIONTo the left of x= 1, the graph is given by y= 12 x+ 23 .To the right of and including x= 1, the graph is given by y= x+ graph is composed of two rays with common initialpoint (1, 2). 12 x+ 32 , if x<1 x+ 3, if x 1 EXAMPLE 2x+ 2, if x< 22x+ 1, if x 2 EXAMPLE 12x 1, if x 13x+ 1, if x>1piecewise piecewisefunctions to model real-lifequantities, such as theamount you earn at a summerjob in Example 6.

3 To solve real-lifeproblems, such as determin-ing the cost of ordering silk-screen T-shirts in Exs. 54 and you should learn itGOAL2 GOAL1 What you should (1, 2)Page 1 of Functions115 Graphing a Step FunctionGraph this function: (x) = SOLUTIONThe graph of the function is composed of four line segments. For instance, the firstline segment is given by the equation y= 1 and represents the graph when xisgreater than or equal to 0 and less than .. The function in Example 3 is called a because its graph resembles a set of stair steps. Anotherexample of a step function is the greatest integer function is denoted by g(x) = x.

4 For every realnumber x, g(x) is the greatest integer less than or equalto x. The graph of g(x) is shown at the right. Note that inExample 3 the function could have been written as (x) = x + 1, 0 x< a Piecewise FunctionWrite equations for the Piecewise function whose graph is the left of x= 0, the graph is part of the line passingthrough ( 2, 0) and (0, 2). An equation of this line isgiven by:y= x+ 2To the right of and including x= 0, the graph is part of the line passing through (0, 0)and (2, 2). An equation of this line is given by:y= x The equations for the Piecewise function are: (x) = Note that (x) = x+ 2 does not correspond to x= 0 because there is an opendot at(0, 2), but (x) = xdoescorrespond to x= 0 because there is a soliddot at (0, 0).

5 X+ 2, if x<0x,if x 0 EXAMPLE 4step function11yxThe solid dot at (1, 2)indicates that (1) open dot at (1, 1)indicates that (1) , if 0 x< 12, if 1 x< 23, if 2 x< 34, if 3 x< 4 EXAMPLE 321yx31yx(0, 2)( 2, 0)(0, 0)(2, 2)Page 1 of 2116 Chapter 2 Linear Equations and FunctionsUSINGPIECEWISEFUNCTIONS INREALLIFEU sing a Step and graph a Piecewise function for theparking charges shown on the are the domain and range of the function? times up to one half hour, the chargeis $3. For each additional half hour (orportion of a half hour), the charge is anadditional $3 until you reach $8. Let trepresent the number of hours you Piecewise function and graph domain is 0 < t 12, and the range consists of 3, 6, 8 Using a Piecewise FunctionYou have a summer job that pays time and a half for overtime.

6 That is, if you workmore than 40 hours per week, your hourly wage for the extra hours is times yournormal hourly wage of $ and graph a Piecewise function that gives your weekly pay Pin terms ofthe number h of hours you much will you get paid if you work 45 hours? up to 40 hours your pay is given by 7h. For over 40 hours your pay is given by:7(40) + (7)(h 40) = 140 The Piecewise function is:P(h) = The graph of the function is shown. Note that for upto 40 hours the rate of change is $7 per hour, but forover 40 hours the rate of change is $ per find how much you will get paid for working 45 hours, use the equationP(h) = (45) = (45) 140 = You will earn $ ,if 0 h 140, if h>40 EXAMPLE 6 EXAMPLE 5 GOAL2 REALLIFEREALLIFEU rban ParkingREALLIFEREALLIFEW agesPay (dollars)0P(h)hHours20030010040200(40, 280)Summer Job21t1211 Time (hours)Cost (dollars)84 (t)0 Weeknight Rates (t) =3, if 0 < t , if < t 18, if 1 < t 123 Garage Rates (Weekends)$3 per half hour$8 maximum for 12 hoursPage 1 of Piecewise function and step function.

7 Give an example of back at Example 3. What does a solid dot on the graph of a step functionindicate? What does an open dot indicate?Tell whether the statement is Trueor False. the graph of a Piecewise function, the separate pieces are always (x) = can be rewritten as (x) = 2 x , 1 x< (x) = for the given value of 13 2 Graph the (x) = 10. (x) = equations for the Piecewise function whose graph is weekday parking rates for a garage are shown. Write and graph apiecewise function for the weekday parkingcharges at that the function for the given value of ( 4)14. ( 2)15. (0)16. (5) (1) ( 10) (6) (0)GRAPHINGFUNCTIONSG raph the (x) = 22.

8 (x) = 23. (x) = 24. (x) = 25. (x) = 26. (x) = x 8, if x<9 13 x 2, if x 93x 14, if x 4 2x+ 6, if x>4 x,if x>2x 4, if x 22x+ 13, if x 5x+ 12 , if x< 5x+ 6,if x 3 23 x 3, if x> 32x,if x 1 x+ 3, if x<1 PRACTICEANDAPPLICATIONS4, if 0 x< 25, if 2 x< 46, if 4 x< 62x+ 1, if x<1 x+ 4, if x 13x 1, if x 42x+ 7, if x> 42, if 1 x< 24, if 2 x< 36, if 3 x< 4 GUIDEDPRACTICEx22y(0, 6)(3, 2)(8, 0)Vocabulary Check Concept Check Skill Check STUDENTHELPE xtra Practice to help you masterskills is on p. 942. (x) = h(x) = 12 x 10, if x 6 x 1, if x>65x 1, if x< 2x 9, if x 2 Garage Rates (Weekdays)$3 per half hour$18 maximum for 12 hoursSTUDENTHELPHOMEWORK HELPE xample 1:Exs.

9 13 20 Example 2:Exs. 21 26 Example 3:Exs. 27 32 Example 4:Exs. 35 40 Examples 5 and 6:Exs. 50 59Ex. 11 Page 1 of 2118 Chapter 2 Linear Equations and FunctionsGRAPHINGSTEPFUNCTIONSG raph the step (x) = 28. (x) = 29. (x) = 30. (x) = SPECIALSTEPFUNCTIONSG raph the special step function. Then explainhow you think the function got its FUNCTION (x)= x= (x) = ROUND(x) = back at Example 2. How would the graph of thefunction change if < was replaced with and was replaced with >? Explainyour back at Example 3. How would the graph of thefunction change if each was replaced with < and each < was replacedwith ? Explain your equations for the Piecewise functionwhose graph is many graphing calculators x isdenoted by int(x).

10 Use a graphing calculator to graph the (x) = x (x) = 2x (x) = x (x) = x+ 3 (x) = 6 x (x) = 3x + (x) = 4 x+ 7 (x) = x (x) = 3 x 2 + 5yx 1211xyx22yx11y1yx1yx11..1, if x< , if x< , if x< ..1, if 0 < x 12, if 1 < x 23, if 2 < x 3..4, if 10 < x 86, if 8 < x 68, if 6 < x , if 4 < x 210, if 2 < x 0 1, if 0 x< 1 3, if 1 x< 2 5, if 2 x< 3 7, if 3 x< 4 9, if 4 x< , if 4 x< , if 2 x< , if 1 x< 3 , if 3 x< 63, if 1 x< 25, if 2 x< 48, if 4 x< 910, if 9 x< 12 KEYSTROKE HELPV isit our Web see keystrokes forseveral models 1 of Functions119 POSTALRATESIn Exercises 50 and 51, use the following of January 10, 1999, the cost C(in dollars) of sending next-day mail using theUnited States Postal Service, depending on the weight x(in ounces)


Related search queries