Skip to main content

Section 5.2 Piecewise Linear Models Activities

Activity 5.2.1.

In SectionΒ 3.2, we explored the cost of electricity in and around Denver, CO, during the summer for customers on the Residential Opt-Out Pricing Plan. We knew that the rates for this plan are
 1 
.
Table 5.2.1. Xcel Energy Electricity Charges, Residential Opt-Out Pricing
Summer Billing Cycles (June - Septembr) Winter Billing Cycles
Fixed Monthly Fees $12.20 $12.20
$ Per kWh $0.1038 $0.0857
And used this information to find that
\begin{equation*} B(k) = 12.20 + 0.1038k \end{equation*}
is a linear model for the bill amount \(B(k)\) of a customer that uses \(k\) kWh.

(a)

Now, let’s consider the cost of electricity in and around Denver in the winter. Use the information given in the table above to build a linear model for the bill amount, \(B(k)\text{,}\) of a customer that uses \(k\) kWh in the winter.

(b)

The company that provides electricity to people in and around New Orleans, Louisiana is called Entergy. The table below estimates the winter monthly rates charged by Entergy
 2 
. Let \(B(k)\) be the monthly bill amount and \(k\) be the number of kWh used.
Table 5.2.2. Entergy Electricity Charges, November - April
Fixed Monthly Fees $8.07
Cost per kWh, for 800 kWh or less $0.06002
Cost per kWh, kWh over 800 kWh $0.04766
For example, a customer who used 700 kWh in a month would be charged
\begin{equation*} B(700) = 8.07 + 0.06002 \times 700 = $50.08\text{.} \end{equation*}
A customer who used 1000 kWh in a month would be charged
\begin{align*} B(1000) \amp= 8.07 + 0.06002 \times 800 + 0.04766 \times (1000 - 800)\\ \amp= 8.07 + 0.06002 \times 800 + 0.04766 \times 200\\ B(1000) \amp= $65.62 \end{align*}
(i)
How much would a customer who used 600 kWh be charged? 900 kWh? 1200 kWh?
(ii)
Build a linear model for the bill \(B(k)\text{,}\) of a customer that used 800 kWh or less.
(iii)
Build a linear model for the bill \(B(k)\text{,}\) of a customer that used more than 800 kWh.

Activity 5.2.2.

The situation in ActivityΒ 5.2.1 is called β€œpiecewise defined” or a β€œpiecewise linear model.” It is piecewise because the cost changes based on the amount of electricity used. Cost per kWh is not constant, so the graph of this situation is not a line. But it is piecewise linear, because cost per kWh is constant on each piece.
We found that when the number of kilowatt hours used, \(k\) is 800 or less, the bill is \(B(k) = 8.07 + 0.06002k\text{.}\) When the number of kilowatt hours used is more than 800,
\begin{equation*} B(k) = 8.07 + 0.06002 \times 800 + 0.04766(k - 800)\text{,} \end{equation*}
or
\begin{equation*} B(k) = 56.086 + 0.04766(k-800)\text{.} \end{equation*}
Mathematicians like to put both of these equations together like this:
\begin{equation*} B(k) = \begin{cases} 8.07 + 0.06002k, \amp k \leq 800 \\ 56.086 + 0.04766(k-800), \amp k \gt 800 \end{cases} \end{equation*}
The { symbol is there to tell you that this is a piecewise formula. The \(k \leq 800\) at the end of the first line tells you to use that part of the formula when \(k\) is 800 or less. The \(k \gt 800\) at the end of the second line tells you to use that part of the formula when \(k\) is bigger than 800.

(a)

Use the piecewise formula to find the bill for customers who used 600 kWh, 900 kWh, and 1200 kWh. You should get the same answers as you did in ActivityΒ 5.2.1

(b)

Graph this piecewise linear model.
Blank axes.
Blank axes. The horizontal axis is labeled kWh and ranges from 0 to 1500. The vertical axis is labeled $ and ranges from 0 to 100.
Figure 5.2.3. Energy Bills in Winter Near New Orleans

Activity 5.2.3.

In order to conserve water, the Detroit area water system has a two-tiered system of charges. Customers are billed quarterly (every three months) for water usage. The cost to customers is $12.04 per thousand gallons for the first 20,000 gallons of water used, and $21.90 for each thousand gallons over 20,000. In addition there is always a flat quarterly fee of $73.00.

(a)

In the table below, enter the amount of the quarterly bill for each of the water usage amounts listed.
Table 5.2.4. Detroit Quarterly Water Bills
Quarterly Water Usage in Thousands of Gallons 15 18 20 25 28 32
Amount of Bill ($)

(b)

Plot this data as points on the graph below.
Blank axes.
Blank axes. The horizontal axis is labeled gal (1000s) but has no other labels. The vertical axis is labeled $ but has no other labels.
Figure 5.2.5. Detroit Quarterly Water Bills

(c)

Construct a formula for a piecewise linear model that represents the amount of the quarterly water bill (in dollars) for any amount of water used. Use \(g\) for water usage and \(W(g)\) for water bill amount.

(d)

Add the graph of the model to your graph of the data points.

(e)

How many thousands of gallons of water were used if the quarterly water bill was $229? What if the bill was $686?

Activity 5.2.4.

The graph below displays the monthly sales data for a specific clothing item from 2013 - 2023 in the U.S. Let \(t\) be the number of months after January 2013, and \(u(t)\) be the number of units sold (in thousands).
Increasing linear trend from Jan 2013 for 84 months. Large drop, then increasing linear trend for 48 months.
Graph shows that sales tended to increase from Jan 2013 for the next 84 months. In Jan 2013, 60,000 units of the item were sold, and 84 months later, about 140,000 units were sold. But, after 84 months, sales dropped suddenly to about 50,000 units sold. They slowly increased for the next 48 years to about 78,000 units sold.
Figure 5.2.6. Difference in average global temperature from the 1850-1900 mean with a trendline. Image from Quantway College Module M.3 by Carnegie Math Pathways

(b)

Explain why a linear model will not work for this data, but a piecewise linear model would be a good fit.

(d)

Use your model to predict the number of units of this clothing item that will be sold this month. How much confidence do you have in your prediction?

Activity 5.2.5.

Julio is moving from one apartment to another apartment in a neighboring town. He needs to rent a truck for one day to move his belongings. Julio uses the Internet to search for companies with trucks for rent. He finds two companies that have trucks available on the day he needs one: Rent-A-Truk and Trucks-4-Less.
  • Rent-A-Truk advertises a rate of $40 for the day, plus 60 cents a mile for every mile over 40 miles.
  • Trucks-4-Less advertises a rate of $25 a day plus 80 cents a mile for every mile over 25 miles.

(a)

What factors will Julio use to determine which company to rent from?

(b)

Fill in the blank with little or no calculation: If Julio only drives _________ miles during the day, Trucks-4-Less will end up being the better deal. Explain your reasoning.

(c)

Fill in the blank with little or no calculation: If Julio drives _________ miles during the day, Rent-A-Truk will end up being the better deal. Explain your reasoning.

(d)

Without doing any calculations, do you know if there will ever be a time when the two rental plans would cost the same?

(e)

How much total mileage used will make the cost of both rental plans about the same? Use any method you wish to make this approximation.

(f)

Set up an algebraic model that can be used to represent the cost for using Rent-A-Truk, \(R(x)\) given that one plans on driving \(x\) miles.

(g)

If a person plans on driving \(x\) miles, what would the algebraic model be to represent the cost for using Trucks-4-Less, \(T(x)\text{?}\)

(h)

Julio might want to know at what mileage the cost of the Rent-A-Truk plan equals the cost of the Trucks-4-Less plan. Use your algebraic models to write one equation, using only the variable \(x\text{,}\) that represents this situation. Hint: You can think about this situation as \(R(x) = T(x)\text{.}\) Hint: Julio estimated that this situation occurs at a mileage higher than 40.

(i)

Solve your equation for \(x\) and check whether the solution agrees with your answer to estimate.