VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Mathematics in Bukit Timah | Piecewise Functions, Tiered Prices and Thresholds

Geography and mathematics books lie among open notes, other textbooks and a calculator on a bright study desk.

What does “first ten pages at one price, subsequent pages at another” mean mathematically? It means the rule changes at a threshold. Multiplying every page by one advertised rate would miss the change, and treating a fixed setup fee as a per-page charge would introduce a second error. These are problems best represented by piecewise functions.

This Mathematics in Bukit Timah guide uses a fully fictional study-material printing counter to teach thresholds, marginal and average rates, domain restrictions, continuity, graphs, simultaneous equations and decision checks. The local names Beauty World, Sixth Avenue and Bukit Timah are contextual only. All rates, charges, quantities and services in the examples are invented; they are not offers from any local shop, school or tuition centre.

The central example charges a fictional $4 setup fee, then $0.40 per page for the first ten whole pages, then $0.25 for each additional page. Ten pages cost $8.00. Twenty pages cost $10.50, not $9.00, because only the ten pages beyond the threshold use the discounted rate.

Article contents

Mathematics and geography books beside a study notebook and calculator, for a fictional Bukit Timah lesson on tiered costs and piecewise functions, not a real printing-price offer.

Quick answer: a piecewise function gives different rules on different input intervals

Let n represent a nonnegative whole-number count of printed pages. Our fictional total cost is C(n)=4+0.40n for 0≤n≤10, and C(n)=8+0.25(n−10) for n>10.

The first branch adds the setup fee to the cost of up to ten pages. The second starts at the already-incurred $8 for those ten pages and adds $0.25 for each page beyond ten.

The threshold is n=10. The formula does not “restart” the printing order after page ten. The amount already charged under the earlier tier remains part of the total.

Why a Bukit Timah example needs an explicit fictional label

Parents near Sixth Avenue or King Albert Park may recognise the everyday experience of printing school notes, buying bundles or comparing package prices. Familiarity makes the model easy to picture.

However, putting the name of a neighbourhood beside a made-up price does not establish that a particular business charges it. The figures here were chosen so that students can verify each step and examine threshold behaviour.

The mathematical habit is to state what is measured, which rule applies and whether the context supports the inputs. A useful example does not need to imitate an actual retailer.

Define the input and output before calculating

The input n is the number of whole pages, so the domain is 0,1,2,… if a job with zero pages is permitted for the sake of the simplified model. The output C(n) is a total cost in dollars.

The domain matters. An algebraic expression can be evaluated at n=10.5, but half a physical printed page may not be a purchasable item under these stated rules.

A table showing page count and total cost is more informative than a formula with no unit labels. The next stage is to identify whether each input is on or below ten or above it.

Worked example 1: eight pages

Eight lies in the first tier. Calculate C(8)=4+0.40×8=4+3.20=$7.20.

The result includes one setup fee and eight pages at forty cents each. It does not include any twenty-five-cent pages, because the discount threshold has not been passed.

A learner should explain the selection of the first branch before substituting. Correct arithmetic in the wrong branch is still an incorrect answer.

Worked example 2: exactly ten pages

Ten pages are included in the first branch because the condition reads n≤10. Therefore C(10)=4+0.40×10=$8.00.

The second branch, if algebraically extended to n=10, also yields $8.00 because 8+0.25(10−10)=8. That agreement is intentional: the cost model does not jump at the tier boundary.

To avoid ambiguity, assign n=10 to only one branch of the formal function even when both expressions happen to agree there.

Worked example 3: eleven pages

Eleven is one page above the threshold. The first ten pages cost $8 including setup; the additional page costs $0.25.

Therefore C(11)=8+0.25(11−10)=$8.25. The formula 4+0.25×11=$6.75 would incorrectly apply the discounted rate to all eleven pages and ignore the first-tier accounting.

The fixed fee and already-purchased first-tier quantity must carry through into the second branch.

Worked example 4: twenty pages

For twenty pages, the first ten cost 10×$0.40=$4, and the next ten cost 10×$0.25=$2.50. Add the $4 setup fee.

Total C(20)=4+4+2.50=$10.50. The second-branch formula gives 8+0.25×10=$10.50 as an independent check.

The quantity “ten additional pages” is 20−10, not twenty. Most tiered-pricing mistakes begin with misreading what the rate applies to.

A marginal rate is not the average rate

For the first ten pages, each extra page adds $0.40 to the total. After the threshold, each extra page adds $0.25. Those are marginal prices within the two tiers.

Average cost per page instead divides the whole order’s total by the number of pages. For ten pages it is $8/10=$0.80, while for twenty it is $10.50/20=$0.525.

The average includes the setup fee spread across purchased pages. Calling the average “forty cents” ignores that fixed component.

Worked example 5: average cost at five and twenty pages

At five pages, C(5)=4+2=$6. Average per page is $6/5=$1.20.

At twenty pages, C(20)=$10.50. Average per page is $10.50/20=$0.525.

The average falls as more pages spread the fixed setup fee over more units and later pages use the lower tier. That does not mean the next printed page costs the same as the current average.

A graph helps separate fixed charges from page charges

Plot n horizontally and C(n) vertically. The first branch starts at (0,4) in the continuous extension and rises by $0.40 for every additional page until (10,8).

Beyond ten pages, the slope is $0.25 per page, so the line becomes flatter. It continues upward; it does not fall when a discount begins.

For the physical whole-page model, the actual valid inputs are integer page counts. Connecting the points is a visual aid describing the same piecewise rule between those discrete positions, not a claim of purchasable fractional pages.

A slope change is not automatically a jump

At n=10, both branches agree at $8. The graph changes gradient there, but it has no vertical discontinuity in the continuous model.

A jump would occur if a new fixed surcharge suddenly appeared once a threshold was crossed. A rate change affecting only additional units need not create a jump.

Students should distinguish an abrupt change in slope from an abrupt change in function value. Both can occur in piecewise graphs, but they are different.

Worked example 6: model an actual jump in an invented schedule

Consider another fictional formula D(n)=4+0.30n for 0≤n≤20, but D(n)=7+0.30n for n≥21, with n a nonnegative integer.

D(20)=$10.00, and D(21)=$13.30. The extra page adds $0.30 and also triggers a separate $3 charge under this new rule.

There is a jump between adjacent allowed input counts. It is not a discount; the classroom scenario explicitly inserted a new fixed threshold charge. Do not confuse this D model with the opening C model.

“Beyond ten” and “ten or more” have different boundary meanings

If a rule applies only to quantities beyond ten, then page eleven is the first item receiving the new rate. Page ten remains inside the original tier.

If a sign says an entirely different package rate applies to orders of ten or more, the change could begin at ten and affect the whole order, depending on the exact wording.

Teach learners to rewrite the boundary as ≤, <, ≥ or > before performing arithmetic. A single word can alter both the piecewise formula and the checkout total.

Progressive tiers differ from an all-units discount

Our original model is progressive: each first-tier page keeps its original rate, while additional pages use a cheaper rate.

An all-units discount might instead specify that once an order reaches eleven pages, every page is billed at twenty-five cents, plus the same setup fee. That would create a different cost function, potentially with a downward jump at the threshold.

Neither interpretation should be silently assumed. The mathematical rule must reflect the precise wording given in the problem.

Worked example 7: an all-units threshold contrast

Imagine plan E charging $4 plus $0.40 per page up to ten pages, but $4 plus $0.25 per page for the whole order once n≥11.

Then E(10)=4+4=$8.00, while E(11)=4+2.75=$6.75. The total falls when the threshold is crossed because the old pages are repriced as well.

This is a mathematically defined promotion with a discontinuity. It is not the progressive pricing model C(n), where C(11)=$8.25.

Build a table before graphing

For the original C function, useful pairs include n=0→$4, n=5→$6, n=10→$8, n=11→$8.25, n=15→$9.25 and n=20→$10.50.

The table shows that cost increases throughout the allowed domain, but at a slower marginal rate after n=10.

It also exposes an arithmetic mistake immediately if a student reports C(11) less than C(10). Under the stated progressive plan, printing an additional page cannot reduce the total.

Worked example 8: derive a simpler second-branch expression

For n>10, C(n)=8+0.25(n−10). Expand to obtain 8+0.25n−2.50=5.50+0.25n.

Both expressions give the same value in their valid second-tier domain. The form 8+0.25(n−10) tells a clearer story about first-tier and additional-page costs.

The expression 5.50+0.25n is useful for algebraic comparison with another line, but $5.50 is not the original setup fee. It is an algebraic intercept of the extended second-branch line.

Compare a second fictional pricing model fairly

Imagine Plan B instead charges $6 fixed plus $0.20 per page, with no threshold. Its total is B(n)=6+0.20n for nonnegative whole-number n.

Plan A is the original progressive function C(n). At n=5, Plan A costs $6 while Plan B costs $7. At n=10, both cost $8.

At n=20, A costs $10.50 and B costs $10. The preferred plan depends on the page count, not simply the lowest advertised per-page rate.

Worked example 9: find the first-tier break-even

In the first tier, set C(n)=B(n): 4+0.40n=6+0.20n.

Subtract 0.20n and four: 0.20n=2, so n=10. This solution is inside the first-tier domain 0≤n≤10 and therefore valid.

At n=10, both plans cost $8. The break-even point arises at the tier boundary, an outcome deliberately chosen for clear teaching.

Solving a branch without checking its domain can mislead

For the second tier, equate 5.50+0.25n with 6+0.20n. Then 0.05n=0.50, giving n=10.

But the second branch is defined only for n>10. Therefore n=10 is not an admissible solution of that branch, even though both extended straight lines meet there.

The actual complete piecewise plan does tie at n=10 through the first branch. The point is that an algebraic solution must be checked against the interval in which its particular equation was used.

Worked example 10: compare plans above the threshold

For n>10, difference C(n)−B(n)=(5.50+0.25n)−(6+0.20n)=0.05n−0.50.

When n>10, the difference is positive, so B is cheaper for every such permitted n. At n=20, difference is 1−0.5=$0.50, matching the direct totals.

For 0≤n<10, difference is (4+0.4n)−(6+0.2n)=0.2n−2<0, so A is cheaper. The piecewise comparison establishes an entire range, not only two sample purchases.

A fixed fee changes the y-intercept

In the fictional Plan B line B(n)=6+0.20n, the continuous extension intersects the vertical axis at $6, reflecting the fixed amount before any pages.

The slope $0.20 is a per-page rate. Those two coefficients play different roles.

A learner who switches them and writes B(n)=0.20+6n will predict enormous totals after several pages. Label “fixed amount” and “per additional unit” beside the relevant coefficients.

Rates and functions are linked but not identical

A rate such as $0.25 per page describes how much total cost changes after the threshold. The total function includes every relevant fixed amount and earlier tier.

Knowing only a marginal rate does not identify the entire total without a starting reference or other conditions.

This is the same distinction seen in Bukit Timah electricity-use and bill comparisons, but piecewise modelling adds boundaries where the rule itself changes.

Inverse questions require a branch check

Suppose a fictional receipt under C totals $9.25. What number of whole pages does that represent?

The total exceeds the first tier’s maximum of $8, so use C(n)=8+0.25(n−10). Solve 9.25−8=0.25(n−10), giving 1.25/0.25=5 additional pages.

Therefore n=15. Check C(15)=8+0.25×5=$9.25. The reverse calculation is meaningful because the total lies in the second branch’s attainable range.

Worked example 11: an unattainable total

Suppose the fictional original C model produces a displayed charge of $8.10, with no tax or other fee and only whole pages allowed.

C(10)=$8.00 and C(11)=$8.25. No whole-number page count produces $8.10, even though the continuous second-branch equation would give n=10.4.

The mathematical response is that the stated total is not attainable under the exact discrete model. Do not round 10.4 to ten and claim the recorded amount is reproduced.

Continuous and discrete piecewise functions differ in domain

A continuous graph might allow any nonnegative real n, representing a divisible quantity such as measured length. A printing order measured in whole pages permits nonnegative integers instead.

Both can use a similar algebraic expression while representing different mathematical functions because their domains differ.

When discussing graph continuity at a threshold, distinguish the continuous extension of the pricing rule from the discrete purchase model. There are no physical page counts between ten and eleven under our assumptions.

Average cost may not match marginal cost

For n>10, C(n)=5.50+0.25n. Average cost per page is C(n)/n=5.50/n+0.25.

As n increases, the first term decreases, and the average approaches $0.25 per page from above. Yet the marginal cost remains $0.25 for each additional post-threshold page.

A student who confuses the asymptotic average with the exact total may omit the positive fixed component at every finite n.

Worked example 12: average at one hundred pages

Under original C, C(100)=8+0.25(100−10)=8+22.50=$30.50.

Average cost per page is $30.50/100=$0.305. That is higher than the marginal $0.25 because the earlier tiers and setup fee still contribute.

The mathematical limit of average cost as n grows may approach the marginal tier rate, but the two are not identical at a finite order.

A threshold can express a cap instead of a new price

Piecewise rules also describe quantity caps. Suppose a fictional lesson allows at most fifteen resource cards per group, and the number actually issued is R(n)=n for 0≤n≤15 but R(n)=15 for n>15.

The graph rises until fifteen and then becomes horizontal. It has a plateau rather than a new upward slope.

This function models the smaller of demand n and available cap fifteen: R(n)=min(n,15). A student should explain why more requests beyond fifteen do not create additional issued cards.

Worked example 13: interpret a cap

If twenty fictional cards are requested but the issue cap is fifteen, the delivered number is R(20)=15.

If eight are requested, R(8)=8. The two branches describe different ranges of demand, not two separate classes of card.

The model does not say the cap is a rule of any actual school. It is a simple example of piecewise behaviour generated by a constraint.

Absolute value is itself a piecewise expression

For real x, |x| equals x when x≥0 and −x when x<0. The formula chooses the sign so the output is never negative.

Its graph has a corner at the origin: a slope of −1 on the left and +1 on the right. The two branches join without a jump.

This is a powerful familiar example because it shows how one compact notation can hide a two-branch rule.

Worked example 14: simplify an absolute-value expression

Take f(x)=|x−3|. For x≥3, f(x)=x−3. For x<3, f(x)=3−x.

At x=1 the output is two; at x=5 it is also two. The function measures distance along the number line from x to three.

The graph forms a V centred at (3,0), and its minimum value is zero. The threshold is the input where the absolute-value expression changes sign.

Floor and ceiling functions introduce steps

A floor function ⌊x⌋ returns the greatest integer not exceeding x. A ceiling function ⌈x⌉ returns the smallest integer not less than x.

If a fictional shipment requires one packet per four whole cards, the number of packets needed for n nonnegative cards is ⌈n/4⌉. That function jumps at positive multiples of four plus one.

For n=8 it yields two packets; for n=9 it yields three. A continuous line would misrepresent the whole-packet requirement.

Worked example 15: a whole-packet threshold

Suppose packets can contain at most four cards and cannot be split. A fictional group needs ten cards.

Compute ⌈10/4⌉=⌈2.5⌉=3 packets. Two packets would hold only eight and would fail the requirement.

This is a threshold model distinct from progressive unit pricing: the number of packets changes in discrete jumps as demand crosses capacity multiples.

Piecewise rules also represent time windows

Imagine a fictional supervised activity allowed from minute zero through minute thirty, with a five-minute break beginning at minute fifteen.

A mathematical activity indicator can be one while work is permitted and zero during the stipulated break. Its time-domain boundaries must be defined clearly.

Such a step model is different from a smooth sine wave, and a diagram should show open and closed endpoint conventions as needed. There is no reason every repeating schedule must be sinusoidal.

Worked example 16: avoid a double-counted boundary

Suppose fictional operation state S(t)=1 for 0≤t<15, S(t)=0 for 15≤t<20, and S(t)=1 for 20≤t≤30.

At minute fifteen, only the break branch applies; at minute twenty, only the resumed branch applies. The half-open conditions prevent contradictory outputs at the boundaries.

A function cannot assign two different operation states to the same time under one definition. Proper interval notation preserves that requirement.

A piecewise rule still has to be a function

A set of branches is not automatically a valid function. If two conditions overlap at one input and give different outputs there, the proposed rule assigns two answers and is inconsistent.

For example, f(x)=x+1 when x≤2 and f(x)=2x when x≥2 gives f(2)=3 from one branch and f(2)=4 from the other. Both conditions include x=2.

The repair is to adjust the domain conditions or define the intended value at the threshold explicitly. The issue is mathematical consistency, not a mere formatting preference.

Worked example 17: repair a conflicting definition

Keep the two formulas but change the second condition to x>2. Then f(2)=3 from the first branch only.

Immediately to the right of two, the second expression approaches four. The resulting function has a jump at x=2.

This is valid as a function because each input receives only one output, even though the graph is discontinuous. Single-valuedness and continuity are different properties.

Boundary tests are more useful than guessing from a graph

For any piecewise question, evaluate values immediately below, at and immediately above the threshold. This reveals the correct branch and any possible jump.

For discrete pages at threshold ten, evaluate n=9,10,11: C(9)=$7.60, C(10)=$8.00, C(11)=$8.25.

The different changes $0.40 and $0.25 establish the marginal-rate change directly. The total cost does not fall.

Worked example 18: compare threshold neighbours

Using C(9), C(10) and C(11), calculate C(10)−C(9)=0.40 and C(11)−C(10)=0.25.

The first difference is the last page in the first tier; the second is the first discounted additional page. Both increments are nonnegative.

If a learner gets a negative increment, check whether the second branch inadvertently repriced the entire order rather than only additional pages.

A piecewise graph can be continuous but not differentiable

The continuous extension of C changes slope at n=10 from 0.40 to 0.25. Its two line segments meet, so the function is continuous there.

However, the left-hand and right-hand gradients differ. A single instantaneous derivative at that corner is not defined under the standard differentiability condition.

This is an advanced extension rather than a requirement for every Secondary student. It shows that “no jump” does not imply “no change of gradient”.

Differentiability is not needed to choose a price plan

For a normal page-count comparison, substituting permitted values and using algebraic inequalities is enough. No calculus is necessary.

Advanced students can connect the derivative of a smooth segment with its marginal rate, but the original discrete purchase model does not require an instantaneous rate between whole page counts.

Teaching methods should match the question and learner’s level. Using advanced notation merely to impress does not make the core reasoning clearer.

Word problems can include competing definitions of “discount”

A promotion may reduce the price of all units, only additional units, a fixed order fee or an entire pre-tax subtotal. These interpretations lead to different functions.

Before forming an equation, rewrite the exact rule in plain words. Identify which quantity receives the reduction and whether the change begins at, below or after a threshold.

No calculation can compensate for choosing the wrong purchase model. The first incorrect mental step often occurs before any arithmetic.

A two-column check can diagnose understanding

Create a column headed rule selected and one headed reason selected. For n=8 write first tier because 8≤10. For n=15 write second tier because 15>10.

Then calculate C(n), compare with an independent breakdown of first and additional pages, and finally interpret the result in dollars.

This procedure helps tutors distinguish a branch-selection misunderstanding from a multiplication error or a forgotten setup fee.

Primary foundations: unit price and thresholds

Younger pupils can begin with concrete packs: the first three notebooks cost a known amount and each additional notebook costs another amount. They can count and add without formal function notation.

A number line with the threshold marked clearly helps make “first” and “extra” visible. The learner should identify exactly when a new rate begins.

The Primary foundation is understanding equal groups, unit rates and total cost. Formal piecewise graphing belongs to later readiness.

Lower Secondary: variables, inequalities and graph segments

Secondary learners can define input n, choose a branch using inequalities, calculate total costs and plot simple linear relationships.

Ask students to explain the y-intercept as a fixed charge and the slope as marginal cost. Then change the threshold and observe how the graph changes.

The success criterion is that the pupil can translate an unfamiliar price sentence into correct domains and equations, not merely copy the teacher’s graph.

Upper Secondary extension: inverse functions and continuity

Learners ready for functions can analyse ranges, work backwards from attainable totals and distinguish a jump from a corner.

They can also compare piecewise cost functions algebraically and identify break-even solutions valid in each branch. These ideas connect to inverse functions, inequalities and graphs.

Specific assessment requirements vary across Mathematics and Additional Mathematics; the entire extension should not be described as examinable for every Secondary 1 class.

A twenty-minute parent diagnostic

Minutes 1–5: State the fictional rule in words and identify n≤10 and n>10. Find C(8)=$7.20 and C(10)=$8.00.

Minutes 6–10: Find C(11)=$8.25 and C(20)=$10.50. Ask why the discounted rate applies only to the additional ten pages.

Minutes 11–15: Compare B(n)=6+0.20n and C(n). Verify n=10 is a tie and n=20 favours B.

Minutes 16–20: Ask whether $8.10 is an attainable C total for a whole-page order. It is not. Check if the learner distinguishes continuous algebra from the discrete purchase domain.

A seven-day practice sequence

Day one covers fixed charges and per-item rates. Day two uses threshold language and inequalities. Day three writes a two-branch formula.

Day four checks values on both sides of the boundary. Day five compares two plans and validates break-even points. Day six studies a jump from a fixed surcharge or a cap.

Day seven gives a new fictional tiered rule and asks for the entire explanation without a template. Revisit whichever prerequisite produced the first wrong step.

Five challenge questions with answers

A. Under C, what is the total for five pages? Answer: $6.00.

B. What is the cost for twelve pages? Answer: $8+0.25×2=$8.50.

C. How many whole pages produce a $9.25 total? Answer: fifteen.

D. Does n=10 belong to n≤10 or n>10? Answer: the first branch only.

E. Which is cheaper at twenty pages, C or B(n)=6+0.20n? Answer: B costs $10.00; C costs $10.50.

Frequently asked questions

What is a piecewise function?

It is a function defined by different formulas on different parts of its input domain, with conditions stating when each rule applies.

Does a new rate necessarily make the total jump?

No. Progressive rates can change the slope while the total remains continuous at the boundary. A separate fee or all-units repricing can create a jump.

Why do I need both a fixed charge and a page rate?

They are different cost components. The fixed amount is incurred once under the model; the marginal rate applies per qualifying additional unit.

Can one price model have multiple break-even points?

Yes. Two piecewise functions may intersect on different intervals. Each candidate must be checked against the branch conditions that produced it.

Can a cost function be defined for fractional pages?

The algebraic extension can be, but our original fictional purchase model accepts only whole-page inputs.

Does every piecewise graph have a gap?

No. It can be continuous, have a corner, contain jumps or take other forms depending on its branches and domain rules.

Are these current printing rates in Bukit Timah?

No. All quoted fees and tiers are fictional educational amounts.

What shows a student understands the topic?

They can select the correct branch, explain the threshold, calculate all prior-tier costs, preserve the domain and reject an invalid inverse or break-even answer.

Official curriculum references and continuing lessons

The SEAB 2027 G3 Mathematics syllabus directory distinguishes Mathematics and Additional Mathematics. The 2027 G3 Additional Mathematics syllabus gives formal context for functions and related algebra. Piecewise pricing is used here as an explanatory application; do not assume every advanced aspect is assessed at every level.

Continue with Bukit Timah functions and inverse functions and Bukit Timah unit-price comparisons. The immutable Clementi Secondary 1 small-group Mathematics reference anchors the learning approach: explain the structure, use consistent units, diagnose the earliest wrong move and practise independent transfer.

The habit to retain is to write the input domain, locate every threshold, apply each rate to exactly the quantities it governs, and verify both sides of every boundary before making a comparison.

Other Mathematics in Bukit Timah articles in this four-part batch: Quartiles, box plots and IQR · Dijkstra and weighted shortest paths · Matrix transformations and operation order. These original lessons develop different relationships through fictional examples, official curriculum context, worked checks and clear limits on model interpretation.

Read the other three Mathematics in Bukit Timah articles in this batch: Quartiles, box plots and interquartile range · Dijkstra’s shortest paths and weighted graphs · Matrix transformations and operation order. Each companion guide teaches a distinct mathematical relationship through worked examples, checks and clearly defined models.

Discover more from eduKate Singapore

Subscribe now to keep reading and get access to the full archive.

Continue reading