Where is the water bill? It is a Piecewise Function!



Objectives

Students will:
(1.) Discuss piecewise functions.
(2.) Discuss real-world applications of piecewise-functions.
(3.) Solve problems involving the application of piecewise functions.
(4.) Meet one of the learning objectives of the VCCS (Virginia Community College System) standards for:
MTH 161: PreCalculus I
(Presents topics in power, polynomial, rational, exponential, and logarithmic functions, and systems of equations and inequalities.).

MTH 167: PreCalculus with Trigonometry
(Presents topics in power, polynomial, rational, exponential, and logarithmic functions, systems of equations, trigonometry, and trigonometric applications, including Law of Sines and Cosines, and an introduction to conics.).

(5.) Meet the QM (Quality Matters) and USDOE (United States Department of Education) requirements for distance education as regards the provision of RSI (Regular and Substantive Interaction).
Federal Register: Distance Education and Innovation
St. John's University: New Federal Requirements for Distance Education: Regular and Substantive Interaction (RSI)
Student – Content Interaction: Very high
Student – Student Interaction: Flexible
Student – Faculty Interaction: High

Water Rates by Calhoun County Water Authority; State of Alabama, USA

As of the 7th day of July, 2018; the water rates by the Calhoun County Water Authority is found here
We shall focus on the Residential Rates. These rates exclude taxes.

                The information is written here for you:
                First 3,000 Gallons:                $17.35 Minimum Per Month 
                Next 2,000 Gallons:                 $5.24 per 1,000 Gallons  
                Next 5,000 Gallons:                 $3.96 per 1,000 Gallons  
                All over 10,000 Gallons:            $3.10 per 1,000 Gallons 
            

Calculate the water rates for the following consumption of water. (1.) $2500$ gallons
(2.) $3700$ gallons
(3.) $5000$ gallons
(4.) $7500$ gallons
(5.) $12000$ gallons
(6.) $4692$ gallons
(7.) $6456$ gallons

Solution: $1st$ Method: Manual/Arithmetic Method
This application has four pieces.
Let $g$ = gallons of water (in gallons)
Let $r$ = rate (in dollars per gallons)
(1.) $2500$ gallons falls in the first piece.
rate for $2500$ gallons @ $$17.35$ = $$17.35$

(2.) $3700$ gallons falls in the second piece.
Before we use the second piece, we have to go through the first piece first.
rate for $3000$ gallons @ $$17.35$ = $$17.35$
$3700 - 3000 = 700$
We need to find the rate for the remaining $700$ gallons
The first piece (for $3000$ gallons) is a constant rate. It is a flat fee.
However, the second piece is $$5.24$ per $1000$ gallons
The second piece is $$5.24$ per $1000$ (not per $700$) gallons

But, we have $700$ (not $1000$ gallons remaining). What do we do?
We have to use Proportional Reasoning Method to calculate the rate per gallons (rather than using the rate per thousand gallons)
Remember: per gallon means for $1$ gallon; and per $1000$ gallons means for a thousand gallons

Let us set up the Proportional Reasoning
Let $x$ be the cost per gallon

                dollars            gallons
                5.24                      1000
                x                         1
            

This means that:
$$ \dfrac{5.24}{x} = \dfrac{1000}{1} \\[5ex] 1000 * x = 5.24 * 1 \\[3ex] 1000 * x = 5.24 \\[3ex] x = \dfrac{5.24}{1000} \\[5ex] x = 0.00524 $$ Similarly;
$$ \dfrac{3.96}{x} = \dfrac{1000}{1} \\[5ex] 1000 * x = 3.96 * 1 \\[3ex] 1000 * x = 3.96 \\[3ex] x = \dfrac{3.96}{1000} \\[5ex] x = 0.00396 $$ And;
$$ \dfrac{3.10}{x} = \dfrac{1000}{1} \\[5ex] 1000 * x = 3.1 * 1 \\[3ex] 1000 * x = 3.1 \\[3ex] x = \dfrac{3.1}{1000} \\[5ex] x = 0.0031 $$
Can we re-write the application?

                First 3,000 Gallons:                $17.35 Minimum Per Month 
                Next 2,000 Gallons:                 $0.00524 per gallon 
                Next 5,000 Gallons:                 $0.00396 per gallon
                All over 10,000 Gallons:            $0.0031 per gallon
            

Ask students if they understood how the rates per gallon were calculated.

So, back to completing the second question:
rate for $700$ gallons @ $0.00524 per gallon = $0.00524 * 700$ = $$3.668$
Please do not approximate intermediate calculations especially if it deals with money!
rate for $3700$ gallons @ = 17.35 + 3.668 = 21.018
Now, you can round your final answer to the nearest cent.
NOTE: If your professor does not want you to round, do not round.
rate for $3700$ gallons = $$21.02$

(3.) $5000$ gallons falls in the second piece.
Before we use the second piece, we have to go through the first piece first.
rate for $3000$ gallons @ $$17.35$ = $$17.35$
$5000 - 3000 = 2000$
rate for $2000$ gallons @ $0.00524 per gallon = $0.00524 * 2000$ = $$10.48$
rate for $5000$ gallons @ = 17.35 + 10.48 = 27.83
rate for $5000$ gallons = $$27.83$

(4.) $7500$ gallons falls in the third piece.
Before we use the third piece, we have to go through the first and second pieces.
rate for $3000$ gallons @ $$17.35$ = $$17.35$
$7500 - 3000 = 4500$
rate for $2000$ gallons @ $0.00524 per gallon = $0.00524 * 2000$ = $$10.48$
$4500 - 2000 = 2500$
rate for $2500$ gallons @ $0.00396 per gallon = $0.00396 * 2500$ = $$9.90$
rate for $7500$ gallons @ = 17.35 + 10.48 + 9.90 = 37.73
rate for $7500$ gallons = $$37.73$

(5.) $12000$ gallons falls in the fourth piece.
Before we use the third piece, we have to go through the first, second, and third pieces.
rate for $3000$ gallons @ $$17.35$ = $$17.35$
$12000 - 3000 = 9000$
rate for $2000$ gallons @ $0.00524 per gallon = $0.00524 * 2000$ = $$10.48$
$9000 - 2000 = 7000$
rate for $5000$ gallons @ $0.00396 per gallon = $0.00396 * 5000$ = $$19.80$
$7000 - 5000 = 2000$
rate for $2000$ gallons @ $ per gallon = $0.0031 * 2000$ = $$6.20$
rate for $12000$ gallons @ = 17.35 + 10.48 + 19.80 + 6.20 = 53.83
rate for $12000$ gallons = $$53.83$

(6.) $4692$ gallons falls in the second piece.
Before we use the second piece, we have to go through the first piece first.
rate for $3000$ gallons @ $$17.35$ = $$17.35$
$4692 - 3000 = 1692$
rate for $1692$ gallons @ $0.00524 per gallon = $0.00524 * 1692$ = $$8.86608$
rate for $4692$ gallons @ = 17.35 + 8.86608 = 26.21608
rate for $4692$ gallons = $$26.22$

(7.) $6456$ gallons falls in the third piece.
Before we use the third piece, we have to go through the first and second pieces.
rate for $3000$ gallons @ $$17.35$ = $$17.35$
$6456 - 3000 = 3456$
rate for $2000$ gallons @ $0.00524 per gallon = $0.00524 * 2000$ = $$10.48$
$3456 - 2000 = 1456$
rate for $1456$ gallons @ $0.00396 per gallon = $0.00396 * 1456$ = $$5.76576$
rate for $6456$ gallons @ = 17.35 + 10.48 + 5.76576 = 33.59576
rate for $6456$ gallons = $$33.60$

Some students may ask if it is possible to have just one function that will find the rate for any gallon(s) of water?.
Or is it possible to find the rate for gallons of water that is contained in the second piece, without having to go through the first piece?


Solution: 2nd Method: Piecewise Function/Algebraic Method
What if we have to calculate the water rates for "several" gallons of water?
Do we have to solve this manually all the time? That will be time consuming!
We can write it as a piecewise function and use each function for the number of gallons that correspond to that piece.
Besides, writing it as a piecewise function helps us to write a computer program that will find the rate for any gallon of water.
This application has four pieces.
Let $g$ = gallons of water (in gallons)
Let $r$ = rate (in dollars per gallons)
$r = f(g)$
This can be written as: $r(g)$

For the first piece;
$r(g)$ = $$17.35$

For the second piece;
We have to "finish" with the first piece first
Then, we can multiply the remaining gallons of water by $0.00524$
$r(g) = 17.35 + 0.00524(g - 3000)$
$r(g) = 17.35 + 0.00524g - 15.72$
$r(g) = 0.00524g + 1.63$

For the third piece;
We have to "finish" the second piece first
Then, we can multiply the remaining gallons of water by $0.00396$
What is the complete gallons for the second piece? - It is $5000$
In other words, $5000$ is the end point for the second piece. $5000$ is included.
Let us find the rate for that end point, $5000$
$r(g) = 0.00524(5000) + 1.63$
$r(g) = 26.2 + 1.63 = 27.83$
So, $$27.83$ is the most that can be charged for the second piece.
Any remaining gallons over $5000$ would be multiplied by $0.00396$
$r(g) = 27.83 + 0.00396(g - 5000)$
$r(g) = 27.83 + 0.00396g - 19.8$
$r(g) = 0.00396g + 8.03$

For the fourth piece;
We have to "finish" the third piece first
Then, we can multiply the remaining gallons of water by $0.0031$
What is the complete gallons for the second piece? - It is $10000$
In other words, $10000$ is the end point for the third piece. $10000$ is included.
Let us find the rate for that end point, $10000$
$r(g) = 0.00396(10000) + 8.03$ $r(g) = 39.6 + 8.03 = 47.63$
So, $$47.63$ is the most that can be charged for the third piece.
Any remaining gallons over $10000$ would be multiplied by $0.0031$
$r(g) = 47.63 + 0.0031(g - 10000)$
$r(g) = 47.63 + 0.0031g - 31$
$r(g) = 0.0031g + 16.63$

We can now write the piecewise function as:
$$ r(g) = \begin{cases} $17.35; & \quad 0 \leq g \leq 3000 \\[2ex] 0.00524g + 1.63; & \quad 3000 \lt g \leq 5000 \\[2ex] 0.00396g + 8.03; & \quad 5000 \lt g \leq 10000 \\[2ex] 0.0031g + 16.63; & \quad g \gt 10000 \end{cases} $$ Let us recalculate all the questions using the Piecewise Function method.

(1.) $2500$ gallons falls in the first piece.
The rate for the first piece is $$17.35$
$\therefore$ the rate for $2500$ gallons of water = $$17.35$

(2.) $3700$ gallons falls in the second piece.
The rate for the second piece is $0.00524g + 1.63$
For $g = 3700$, $r = 0.00524(3700) + 1.63$
$r = 19.388 + 1.63$
$r = 21.018$
$\therefore$ the rate for $3700$ gallons of water = $$21.02$

(3.) $5000$ gallons falls in the second piece.
The rate for the second piece is $0.00524g + 1.63$
For $g = 5000$, $r = 0.00524(5000) + 1.63$
$r = 26.2 + 1.63$
$r = 27.83$
$\therefore$ the rate for $5000$ gallons of water = $$27.83$

(4.) $7500$ gallons falls in the third piece.
The rate for the third piece is $0.00396g + 8.03$
For $g = 7500$, $r = 0.00396(7500) + 8.03$
$r = 29.7 + 8.03$
$r = 37.73$
$\therefore$ the rate for $7500$ gallons of water = $$37.73$

(5.) $12000$ gallons falls in the fourth piece.
The rate for the fourth piece is $0.0031g + 16.63$
For $g = 12000$, $r = 0.0031(12000) + 16.63$
$r = 37.2 + 16.63$
$r = 53.83$
$\therefore$ the rate for $12000$ gallons of water = $$53.83$

(6.) $4692$ gallons falls in the second piece.
The rate for the second piece is $0.00524g + 1.63$
For $g = 4692$, $r = 0.00524(4692) + 1.63$
$r = 24.58608 + 1.63$
$r = 26.21608$
$\therefore$ the rate for $4692$ gallons of water = $$26.22$

(7.) $6456$ gallons falls in the third piece.
The rate for the third piece is $0.00396g + 8.03$
For $g = 6456$, $r = 0.00396(6456) + 8.03$
$r = 25.56576 + 8.03$
$r = 33.59576$
$\therefore$ the rate for $6456$ gallons of water = $$33.60$

Which of the two methods do you prefer?
What are your reasons?
What are the pros and cons that you see for each method?
Do you have any other method for solving Piecewise Function applications?



Main

General Project Requirements

(1.) You may work as a group (peer tutor to teach/correct one another).
However, this is an individual project.
In other words, you will submit your own project.

(2.) No two projects should be the same.
(a.) You may not do any of my examples even if the rates of the company have changed.
Use my examples as guides to completing your own project.

(b.) You may not do any of the projects of my previous students.
The Student Project samples are provided below. Use them as guides to completing your own project.

(3.) Research any real-world application of piecewise function.
(a.) All information used for this project should be verifiable on the direct website of the company/organization.
(b.) Textbook examples are NOT allowed.
(c.) Find any application that has at least 2 pieces, and has at least a function in each piece that includes the independent variable.

(4.) As a student, you have free access to Microsoft Office suite of apps.
(a.) Please download the desktop apps of Microsoft Office on your desktop/laptop (Windows and/or Mac only).
Do not use a chromebook.
Do not use a tablet/iPad.
Do not use a smartphone.
Do not use the web app/sharepoint access of Microsoft Office.
(Please contact the IT/Tech Support for assistance if you do not know how to download the desktop app.)
In that regard, the project is to be typed using the desktop version/app of Microsoft Office Word only.

(b.) The file name for the Microsoft Office Word project should be saved as: firstNamelastNameproject
Use only hyphens between your first name and your last name; and between your last name and the word, project.
No spaces.

(c.) For all English terms/work (entire project): use Times New Roman; font size of 14; line spacing of 1.5.
Further, please make sure you have appropriate spacing between each heading and/or section as applicable.
Your work should be well-formatted and visually appealing. first step

(d.) For all Math terms/work: symbols, variables, numbers, formulas, expressions, equations and fractions among others, the Math Equation Editor is required.
(i.) The font is set to Cambria Math by default (set it to that font if it is not); font size of 14, and align accordingly (preferably left-aligned).
(ii.) To ensure appropriate spacing between your Math work, use a line spacing of 2.0.
Alternatively, you may use line spacing of 1.5 but insert a space after each equation as applicable.
Your work should be well-formatted, organized, well-spaced (not compact), and visually appealing.

(iii.) Align the functions in each piece of the piecewise function accordingly.

second step

third step

fourth step

(e.) Include page numbers. You may include at the top of the pages or at the bottom of the pages but not both.
fifth step

(5.) Research Skills: Cite your source properly. Use APA, MLA, or Chicago Manual of Style.
Indicate the style you used.

(6.) Writing Skills: Write the complete address of the direct page of the website where you found the application.
Write the main application completely.
Write all the information accoridngly as noted in the Example Guide and the Checklist.

(7.) (a.) Mathematical Skills: Show all work.
Arithmetic: This is the Arithmetic method.
Use random numbers to test the real-world application manually for each piece.
Show all work including intermediate calculations/values.
Write down your results.

(b.) Algebra: This is the Algebraic Method (Piecewise Function Method).
Define your variables accordingly.
Write a piecewise function for that application.
Test the piecewise function with the same random numbers that you used for the Arithmetic method.

Please NOTE:
(i.) The intermediate results should be the same for both methods.
(ii.) The final results should be the same for both methods.
If either of the results are not the same, there are issues. Please fix them.

These are the required information.
You may or may not not use a table format. Use whatever format that is visually appealing.
Please be creative.

(8.) Mr. C (SamDom For Peace) wants you to do this real-world project very well.
Hence, he highly recommends that you submit a draft so he can give you feedback.

(a.) First: (Required): Please submit the required information in the Projects: Company Names and Websites page in the Discussions forum on the Canvas course.
An example was given in the forum.
The name of the company that has the application should be written.
The complete web address of the web page that has the application should be written.
The objectives should be written.
Please be very specific. In other words, I do not have to click on anything to see the application.
Once I visit the webpage that you provided, I must see the application directly on that page.
I shall review and respond.

(b.) Second: (Highly Recommended): When the company name and website is approved, please submit your draft.
Draft projects are not graded because they are drafts. They are only for feedback.
If your professor gives you an opportunity to submit a draft, please use that opportunity.
Submitting drafts is highly recommended. Submitting drafts is not required.
It is highly recommended because I want to give you the opportunity to do your project very well and make an excellent grade in it.

Please turn in your draft in the Discussions page → Projects: Drafts forum in the Canvas course (if you would like your colleagues to read my comments and avoid any mistakes that you made).
You may also send it to me via email (if you do not want your colleagues to see my comments and learn from the comments).
I shall review and provide feedback.
Then, review my feedback and make changes as necessary.
Keep working with me until I give you the green light to turn in your actual project. This must be done before the final due date to turn in the actual project.

When everything is fine (after you make changes as applicable based on my feedback), please submit your work in the appropriate area: Assignments page → Piecewise Functions Project in the Canvas course.
Only the projects submitted in the appropriate place in the Canvas course are graded.

(9.) All work must be turned in by the final due date to receive credit.
Please note the due dates listed in the course syllabus for the submission of the draft and the actual project. In the course syllabus, we have the:
(a.) Initial due date for the Project Draft: Please turn in your draft.

(b.) Initial due date for the Project: If your draft is not ready for submission, keep working with me. Make changes based on my feedback and keep working with me.
If you prefer not to turn in a draft, please review all the resources provided for you and do your project well and submit.


(c.) Final due date for the Project Draft: This is necessary if you want a written feedback for your draft.
After this date, written feedback would not be provided for your draft. However, verbal feedback would still be provided during Office Hours/Student Engagement Hours/Live Sessions.

(d.) Final due date for the Project: All work must be turned in by this date to receive credit.
After this date, no work may be accepted.

Required Information
Name: Your name
Date: The date
Instructor: Samuel Chukwuemeka
Project: Water Bill: Residential Rates
Company: Calhoun County Water Authority
(https://calhouncwa.com/rates.html)
(Name of the company and the direct Website of company that has the piecewise function)
Objectives: (1.) Calculate the water bill of the residents of Calhoun County in the State of Alabama within each range of specific water usage manually using Arithmetic method.
(2.) Write a piecewise function of the residential rates.
(3.) Recalculate the same water bill of the residents of Calhoun County in the State of Alabama within each range of specific water usage algebraically using the Piecewise Function method.
Information: Write the direct information from the direct website
Arithmetic Method: Test each piece manually
Piecewise Function: Write the piecewise function of the information
Piecewise Function Method: Test the same piece algebraically
Citation: Indicate the type of citation format.
Cite your source(s) accordingly.


Main

Students Projects

First Sample: Sara: Water bill: Residential Rates: The Town of Cary, NC Public Utilities


Second Sample: Omar: Blue Ridge Rural Water Company: Water Rates


Third Sample: Quinn: The City of Richmond Department of Public Utilities: Water Bill: Single-Family Residential Rates


Fourth Sample: Calum: The Town of Broadway: Water Bill: Residential Rates


The teacher should guide each student to the successful completion of the project.
Let students know you are willing to help.


Main

Checklist

Checklist for Piecewise Function Project: Water Bill
(1.) Project is a piecewise function that has at least 2 pieces, and has at least a function in each piece that includes the independent variable.
(2.) Title of project.
(3.) Name of Student.
(4.) Name of Instructor.
(5.) Objectives of project.
(6.) Name of company.
(7.) Direct website of company.
(8.) Information on website written as is
(9.) Arithmetic Method:
(a.) Numbers in each piece, including 0 are tested.
(b.) All work including conversions are shown.
(c.) Intermediate calculations and values (before rounding) are shown.
(d.) Final results (rounded) are written and unit (currency) is included.
(10.) Piecewise Function:
(a.) Variables are defined.
(b.) All work is shown to determine the algebraic function for each piece.
(c.) Piecewise function is developed and written well using beginning brace.
(d.) The function in each piece and the corresponding domain is written well using any of the approved formats including the use of semicolon or comma.
(e.) The functions in the piecewise function are aligned properly.
(11.) Algebraic Method (Piecewise Function Method):
(a.) The same numbers including 0 tested using the Arithmetic Method, are also tested using the Algebraic Method.
Testing each number implies that each number within the domain of each piece in the piecewise function is tested in the function for that piece.
(b.) Intermediate calculations and values (before rounding) are shown. Intermediate values must be the same as the Arithmetic Method.
(c.) Final results (rounded) are the same as the Arithmetic Method and the unit is included.
(12.) References:
(a.) The reference style is specified.
(b.) Sources are cited according to the specified reference style.
(13.) Page numbers are included in every page.
(14.) Times New Roman font, font size of 14, and line spacing of 1.5 is used for the project.
(15.) Cambria Math font, font size of 14, and the Math Equation Editor is used for all Math terms including numbers, arithmetic operations, symbols, variables, fractions, formulas, expressions, and equations among others.
(16.) Correct file name.



Main

References

Chukwuemeka, S.D (2016, April 30). Samuel Chukwuemeka Tutorials - Math, Science, and Technology. Retrieved from https://precalculus.appspot.com/

Calhoun County Water Association. (n.d.). Calhoun County Water Association. Retrieved from http://www.calhouncwa.com/rates.htm



Main