Evaluate a piecewise-defined function at x by selecting the matching interval branch.
A piecewise function uses different expressions on different intervals. This calculator evaluates a two-piece function: f₁(x) when x < boundary, and f₂(x) when x ≥ boundary. It also checks the one-sided limits at the boundary to indicate continuity.
Piecewise definition
f(x) = { f₁(x) if x < c ; f₂(x) if x ≥ c }
This calculator supports two pieces. For more complex piecewise functions, evaluate each piece separately using the Function Calculator.
Compare the left limit and right limit at the boundary. If they are equal, the function is continuous at that point.