Write and evaluate a piecewise function — quick review
Picture a parking sign with different prices for different lengths of stay.
Choose the condition your input satisfies, then use that piece's formula.
The whole domain is the union of the pieces' domains; each allowed input must receive one output.
1. Identify what the input measures and where the rule changes.
2. Write a formula for each region and state its condition with the boundary ownership explicit.
3. Include any context limits, such as positive whole-number people counts.
4. To evaluate, compare the input with all conditions before using a formula.
5. Substitute into the selected formula and follow the order of operations.
6. At a boundary, check which condition includes equality. Do not add the outputs of different pieces.
A data plan has C(g) = 25 for 0 < g < 2, and C(g) = 25 + 10(g − 2) for g ≥ 2. Here g is gigabytes and C is dollars. Find C(1.5) and C(4).
C(1.5) = $25.
C(4) = $45.
Using a formula because it is familiar before reading its condition. At g = 2 the data plan uses the g ≥ 2 piece. At g = 0 neither piece applies.
1. Identify what the input measures and where the rule changes.
2. Write a formula for each region and state its condition with the boundary ownership explicit.
3. Include any context limits, such as positive whole-number people counts.
4. To evaluate, compare the input with all conditions before using a formula.
5. Substitute into the selected formula and follow the order of operations.
6. At a boundary, check which condition includes equality. Do not add the outputs of different pieces.
Function
A rule assigning exactly one output to each allowed input. Different inputs may share an output.
Input
The value you choose or supply to a function before its rule calculates an output.
Output
The result a function produces from a chosen allowed input.
Formula
A mathematical recipe describing how quantities are related or how to calculate a result.
Domain
The set of all inputs allowed for a function, considering its arithmetic and any stated context or restrictions.
Range
The set of all outputs a function actually produces from its allowed inputs.
Coordinate
One number describing a point's position along an axis. In (x, y), x is horizontal and y is vertical.
Discrete function
A function with separate allowed inputs, such as whole-number counts. Its graph has isolated points rather than every intervening input.
Continuous function
A function with no break at its domain points. On an interval, its graph has no jumps or holes between allowed inputs.
Undefined
Having no assigned value in the number system or function being used. Division by zero is undefined in real arithmetic.
Inequality
A comparison using <, >, ≤ or >=. It describes which amount is smaller or larger and whether equality is allowed.
Nonnegative
Greater than or equal to 0. It includes positive numbers and 0, but excludes negative numbers.
Positive
Strictly greater than 0. Zero is excluded.
Negative
Strictly less than 0. Negative numbers lie to the left of 0 on a number line.
Number line
A straight line placing real numbers in order, with smaller numbers left and greater numbers right.
Interval
A set containing every real number between its limits, with endpoints included or excluded as specified. It may extend without bound.
Bracket
The interval symbols [ and ], indicating that the adjacent finite endpoint belongs to the set.
Graph
A picture of points representing input and output pairs, usually with inputs horizontal and outputs vertical.
Magnitude
A real number's size without its sign, measured by its absolute value or distance from 0.
Modulus
Another name for the absolute value of a real number, its nonnegative distance from 0.
Piecewise function
A function using different formulas on specified parts of its domain. Each allowed input must have exactly one output.
Piece
One formula together with the input condition telling you where it is used in a piecewise function.
Boundary
An input where an interval starts or ends, or where a piecewise condition changes. Check which condition includes it.
Tax bracket
An income interval with its assigned tax rule. In a marginal model, a higher rate applies only to income within its bracket.