📝 Piecewise defined functions examples (16 MCQs)
Functions Defined by Different Rules on Different Intervals
A piecewise-defined function uses two or more formulas, with each formula applying to a specified part of the domain. This representation belongs to precalculus and provides a foundation for analysing discontinuities, continuity, and derivatives. It accommodates relationships whose behaviour changes at thresholds, boundaries, or critical values without requiring one formula to describe every permitted input.
Why Mathematical Models Need Separate Cases
Some quantities follow different rules under different conditions. Shipping charges may depend on weight brackets, while a tax model may change at an income threshold. A single algebraic expression may fail to represent these rules accurately. Piecewise definitions preserve the distinct behaviour of each interval and specify what happens at their boundaries.
Writing Piecewise Rules with Domains and Conditions
A piecewise function is written with a formula beside each condition on . For example, when , and when . Evaluate an input by first identifying its applicable condition, then substituting it into the corresponding formula. Endpoint inequalities must cover the intended domain without ambiguity.
Evaluating a Function Across Its Breakpoint
Let for and for . Then , while using the second rule. The left-hand limit at 1 is also 2, so the function is continuous there. The example shows why endpoint conditions matter.
Piecewise Models, Continuity, and Differentiation
Piecewise functions model tariffs, motion with changing speed, and systems with operating thresholds. Calculus examines whether adjacent formulas meet continuously and whether their slopes agree at joining points. Continuity requires matching limiting values and the function value; differentiability additionally requires compatible one-sided derivatives. A boundary can therefore be continuous but not differentiable.
Common Errors at Piecewise Boundaries
'Use any branch at the boundary' is wrong because the stated inequalities determine the function value. 'Matching endpoint values guarantees differentiability' ignores the possibility of different one-sided slopes. 'A piecewise function must be discontinuous' is false because separate formulas may meet continuously and may even have matching derivatives at their joining points.
Piecewise Function Questions in Calculus Examinations
Practise evaluating values near and at breakpoints, sketching separate branches, and calculating one-sided limits. Continuity questions commonly require solving for an unknown constant so adjoining formulas agree. Differentiability questions require an additional comparison of one-sided derivatives. Carefully distinguish , the left-hand limit, and the right-hand limit at each boundary.
Key Terms of Piecewise Functions
- Piecewise function - Function defined by separate cases.
- Breakpoint - Input separating formula intervals.
- Branch - One formula with its condition.
- One-sided limit - Limit approached from one direction.
- Continuity - Agreement of limiting and actual values.
- Differentiability - Existence of a finite derivative.
📝 All Piecewise defined functions examples MCQs
Q1. In a piecewise-defined function, what term describes a point where the formula changes?
📖 Explanation: A breakpoint is the specific x‑value at which the rule defining the function switches from one expression to another. Recognizing breakpoints is essential because they determine where separate pieces of the graph meet or diverge, influencing continuity and differentiability.
Q2. Given the piecewise function \f(x)=\\begin{cases}0,& x\\le -1\\\\ \\sqrt{1-x^{2}},& -1
📖 Explanation: The definition explicitly assigns the value 0 to all x that satisfy \x\\le -1\. Since \-1\ meets this condition, the function value at \-1\ is 0. This direct substitution avoids any ambiguity that might arise from the other pieces of the definition.
Q3. Compare the continuity at \x=1\ for the function in the previous question with the function \g(x)=\\begin{cases}0,& x<1\\\\ 2x-1,& x\\ge 1\\end{cases}\. Which statement is correct?
📖 Explanation: For \f\, the right‑hand piece gives \f(1)=1\ and the left‑hand limit approaches 1, so \f\ is continuous. For \g\, the left limit as \x\\to1^{-}\ is 0 while the right limit (and value) is 1, creating a jump. Hence only \f\ is continuous.
Q4. If a piecewise function includes the segment \y=\\sqrt{1-x^{2}}\ on \(-1,1)\, what geometric shape does this segment represent?
📖 Explanation: The equation \y=\\sqrt{1-x^{2}}\ describes all points satisfying \x^{2}+y^{2}=1\ with \y\\ge0\. This is precisely the upper semicircle of a unit circle centered at the origin, spanning from \-1\ to \1\ on the x‑axis.
Q5. For the function \f\ above, what is the limit \\\displaystyle \\lim_{x\\to -1^{+}} f(x)\?
📖 Explanation: Approaching \-1\ from the right means using the middle piece \\\sqrt{1-x^{2}}\. As \x\ gets arbitrarily close to \-1\ from the right, the expression under the square root tends to \1-(-1)^{2}=0\, so the limit equals \\\sqrt{0}=0\.
Q6. Consider two piecewise functions: \f\ as defined above and \h(x)=\\begin{cases}0,& x\\le -1\\\\ 1-x^{2},& -1
📖 Explanation: The middle piece of \f\ is \\\sqrt{1-x^{2}}\, which traces the upper half of a unit circle—a curved, non‑linear shape. In contrast, \h\’s middle piece \1-x^{2}\ is a quadratic expression opening downward, forming a parabola. Thus the two middle pieces have fundamentally different algebraic forms.
Q7. Suppose we define a new piecewise function \p(x)\ that equals the absolute value of the middle piece of \f\: \p(x)=\\begin{cases}0,& x\\le -1\\\\ |\\sqrt{1-x^{2}}|,& -1
📖 Explanation: Since \\\sqrt{1-x^{2}}\ is always non‑negative for \-1<x<1\, taking its absolute value does not change any y‑values. Consequently, the graph of \p\ on that interval is identical to the original semicircular arc of \f\.
Q8. If the wind chill index formula \W(v)=55.628-22.07v^{0.16}\ for \v>3\ were mistakenly applied for \v\\le 3\, which logical error would occur?
📖 Explanation: The piecewise definition of the wind chill function explicitly restricts the empirical formula to speeds greater than 3 mi/h. Applying it to speeds 3 mi/h or less violates the stated domain, leading to results that are not supported by the underlying data. This is a classic domain‑error in logical reasoning.
Q9. Compare the domains of \f(x)\ and the wind chill function \W(v)\. Which statement is accurate?
📖 Explanation: The piecewise function \f\ is defined for every real x because each piece covers a portion of the entire real line, giving the domain \( -\\infty,\\infty)\. The wind chill function, however, is defined only for non‑negative wind speeds, so its domain is \[0,\\infty)\.
Q10. When graphing a piecewise function, why is it important to plot the function value at each breakpoint separately?
📖 Explanation: Breakpoints may belong to one piece, both pieces, or none, depending on the definition. Plotting the exact function value at each breakpoint clarifies whether the point is included (solid) or excluded (open) from the graph, which directly affects continuity and visual accuracy.
Q11. Given \f\ as before, if we modify the definition to \f_{1}(x)=\\begin{cases}0,& x\\le -1\\\\ \\sqrt{1-x^{2}},& -1
📖 Explanation: At \x=1\, the middle piece yields \\\sqrt{1-1^{2}}=0\ while the right‑hand piece gives \x=1\. However, the definition of \f_{1}\ assigns the value from the right‑hand piece (since \x>1\ is used) and also includes the point from the middle piece, both yielding the same y‑value of 1. Hence continuity is preserved.
Q12. Analyze the differentiability of \f\ at \x=-1\. Which of the following is true?
📖 Explanation: Approaching \-1\ from the left, \f\ is constant (zero), giving a derivative of 0. Approaching from the right, \f\ follows the semicircle \\\sqrt{1-x^{2}}\, whose derivative at \-1\ equals \\\frac{-x}{\\sqrt{1-x^{2}}}\ and tends to a finite non‑zero value. The mismatch of one‑sided derivatives creates a corner, so \f\ is not differentiable at \-1\.
Q13. Synthesize a piecewise function that is continuous everywhere and has a maximum at \x=0\ using the components of \f\. Which construction achieves this?
📖 Explanation: The function \g\ that retains the upper semicircle on \[-1,1]\ and is zero elsewhere is continuous at the endpoints because the semicircle meets the x‑axis at \x=\\pm1\. The highest y‑value of the semicircle occurs at \x=0\ where \\\sqrt{1-0}=1\, satisfying the requirement of a global maximum at the origin.
Q14. If a piecewise function has a breakpoint at \x=a\ where the left-hand limit equals the right-hand limit but the defined value at \a\ differs, what can be inferred about the function at \x=a\?
📖 Explanation: When the two one‑sided limits agree, the function approaches a single value from both sides. If the actual assigned value at the breakpoint does not match this common limit, the discontinuity can be removed by redefining the function value to equal the limit. Hence the situation describes a removable discontinuity.
Q15. Compare the effect on the graph when the middle piece of \f\ is replaced by \y=|x|\ on \(-1,1)\ versus the original semicircle. Which statement best describes the change?
📖 Explanation: The original middle piece is a smooth, curved semicircle. Substituting \|x|\ replaces that curvature with two straight lines meeting at the origin, forming a V‑shape. This eliminates the smooth arc and introduces a sharp corner, dramatically altering the visual and analytic properties of the function on that interval.
Q16. Explain why the piecewise definition \f(x)=\\begin{cases}0,& x\\le -1\\\\ \\sqrt{1-x^{2}},& -1
📖 Explanation: Approaching \-1\ from the left gives a constant value of 0, while from the right the semicircle also approaches 0, so the limit equals the function value—ensuring continuity. However, the derivative from the left is 0 (flat line) whereas the derivative of \\\sqrt{1-x^{2}}\ approaches a non‑zero value as \x\\to-1^{+}\. The mismatch of slopes means the derivative does not exist at that point.