What Is The Limit Of A Piecewise Function?
The limit of a piecewise function at is the value the function approaches as gets close to , worked out from whichever piece (or pieces) apply near . Away from a break point only one piece matters. At a break point, the -value where one formula hands over to the next, a different piece acts on each side, so you have to check both sides separately.
The rule that decides every case is the one-sided limit test:
Here means approaches through values smaller than (the left-hand limit), and means through values larger than (the right-hand limit). OpenStax states the same result as Theorem 2.2 in Calculus Volume 1, Section 2.2.
This article is about the limits, not the functions themselves. For reading the notation, graphing pieces and evaluating at a point, start with piecewise functions. For the general idea of a limit, see limit of a function.
How Do Limits Behave For Piecewise Functions At Specific Points?
That Physics Forums thread title asks the right question, and the answer splits into two cases. If is not a break point, only one piece applies on both sides of , so the limit is just the limit of that piece. If is a break point, the left and right pieces can disagree, and that is where every interesting question lives.
For a point away from any break, find the piece whose condition covers a small open interval around , then evaluate that piece's limit. For polynomial pieces, direct substitution works. Take
At only the first piece is in play, so . At only the second piece is in play, so the limit is .
How Do You Find The Limit At A Break Point?
At a break point, compute the left-hand limit with the left piece and the right-hand limit with the right piece, then compare. The steps are always the same:
Locate the break. Read the conditions and find the -value where the formula changes.
Assign the pieces. Decide which formula covers values just below and which covers values just above . The point itself can belong to either piece, and that choice does not affect the limit.
Take the left-hand limit using only the left piece.
Take the right-hand limit using only the right piece.
Compare. If the two one-sided limits are equal, that common value is the limit. If they differ, the two-sided limit does not exist.
A Quora reader asks this in one line: "If the right hand limit and left hand limit for a piecewise function are not equal, do limits at that point exist?" The two one-sided limits still exist separately and can be reported. Only the two-sided limit fails. On a graph, that disagreement is a jump discontinuity.
Does The Function's Value At The Break Point Change The Limit?
No. The limit describes the heights near , not the height at . A Quora question captures the confusion well: "If a limit of a piecewise function approaches the same value of y from both sides of x, but at f(x), the value of y is different, does the limit exist?" Yes, it does.
Piecewise definitions make this easy to build on purpose. For example:
Both sides approach , so , even though . The limit exists, but is not continuous at 1. This mismatch is a removable discontinuity: redefine one point and the break disappears.
How Do You Find A Constant That Makes A Piecewise Function Continuous?
To find a missing constant, set the left-hand limit equal to the right-hand limit at the break point and solve. Brainly titles like "Find the value of k which makes the following piecewise function continuous for all values of x" are exactly this problem. One thing changes the setup: whether the question asks for the limit to exist, or for the function to be continuous.
"Make the limit exist": you only need the left-hand limit to equal the right-hand limit.
"Make the function continuous": you also need that common value to equal , as in continuity of a function.
When the point belongs to one of the two pieces (the usual setup, with or in a condition), is automatically that piece's value, so matching the two one-sided limits is enough. When is defined by a separate line, it needs its own check.
With two unknown constants you need two equations. That usually means two break points, and each break point gives one equation. Example 5 below works through one.
How Do Absolute Value And Greatest Integer Functions Fit In?
Absolute value and greatest integer functions are piecewise functions in disguise, so their limits use exactly the same method. Rewrite them in pieces first, then take one-sided limits.
Absolute value. Since for and for , the quotient equals on the left and on the right. Its limit at 3 does not exist. See absolute value functions for the graph.
Greatest integer (floor). is constant between integers and jumps at each integer. At , the left-hand limit is 1 and the right-hand limit is 2, so the limit does not exist. At , it is simply 2. The greatest integer function page has the full staircase graph.
The second-guesser often stalls here, convinced that these "aren't really piecewise". Writing the cases out by hand removes the doubt in one line.
Examples Of Limits Of Piecewise Functions
Example 1
For when and when , find .
Left piece:
Right piece:
Both one-sided limits equal 3.
Final answer: (and since , is also continuous at 2).
Example 2
For when and when , find .
The tempting move is to look up which piece owns , see the sign, and substitute into .
Check the left side before trusting that. Values like use the other formula, , which gives about , nowhere near 2. The answer of 2 only described the right side.
The correct method takes each side with its own piece:
The one-sided limits differ.
Final answer: does not exist. (The left-hand limit is 4, the right-hand limit is 2, and .)
Example 3
For when and , find .
Near 3 (but not at 3) only the first rule applies. Factor and cancel:
Final answer: , even though .
Example 4
For when and when , find .
The left piece gives on direct substitution, so simplify first:
Right piece:
Final answer: . Since as well, is continuous at 2.
The first instinct on this one is to stop at and write "does not exist". A result is a signal to simplify, not an answer.
Example 5
Find and so that is continuous everywhere, where for , for , and for .
Each piece is a polynomial, so only the break points and need checking.
At , the left piece is and the right piece is :
At , the left piece is and the right piece is :
Final answer: and . (Solving the break point with only one unknown first saves a step.)
Example 6
Find .
Rewrite the absolute value in pieces. For , :
For , :
Final answer: The limit does not exist (the left-hand limit is and the right-hand limit is ).
Why Do Limits Of Piecewise Functions Matter?
Limits of piecewise functions matter because real rules change at thresholds, and the limit is the tool that tells you whether the outcome jumps when you cross one. In short, the limit at a break point decides whether a rule is fair at the boundary. A formula that changes at a threshold can still give a smooth outcome, but only if the pieces agree there.
Fair tax schedules. For tax year 2025, a single filer pays 10% on taxable income up to 11,925 dollars and 12% on the next band, up to 48,475 dollars. Written as tax owed, for and above it. Both pieces give 1,192.50 dollars at the boundary, so is continuous there and earning more never lowers your take-home pay.
Derivatives at a corner. Whether a piecewise function has a slope at its break point is decided by comparing one-sided limits of the difference quotient, the same move used throughout this article. That is the route into differentiability of a function.
Models that switch regimes. A spring that stiffens past a certain stretch, or a pricing plan that changes per-unit cost after a usage cap: the model is safe to use across the threshold only if its limit from each side matches.
The tax example is worth a second look, because it is the cleanest real case of "limit exists, rate does not". The tax owed has a corner at 11,925 dollars, not a jump. In calculus terms, that is a continuous function whose derivative (the marginal rate) has a jump.
Common Errors When Working With Limits Of Piecewise Functions
Almost every lost mark comes from using the wrong piece on one side of a break point. These three errors cover most of them.
Mistake 1: Using The Piece That Owns The Point For Both Sides
Where it slips in:
Any break point where one condition uses or , so one piece "owns" .
Don't do this:
Do not substitute into the owning piece and call that the limit. That gives , which may not even match the other side.
The correct way:
Take the left-hand limit with the left piece and the right-hand limit with the right piece, whoever owns the point.
The rusher makes this one: they spot the , plug in, and move on without noticing the other side ever existed. The habit that fixes it is writing both one-sided limits as two separate lines before computing either one.
Mistake 2: Treating "The Limit Exists" As "The Function Is Continuous"
Where it slips in:
Problems where is defined by a separate line, such as in Example 3.
Don't do this:
Do not conclude "continuous at 3" just because both one-sided limits agree.
The correct way:
Continuity needs three things: the limit exists, is defined, and they are equal. A matching pair of one-sided limits only proves the first.
The memorizer is most likely to blur these: they have learned "left equals right means good" as a single rule, and never separated the limit question from the continuity question.
Mistake 3: Stopping At 0/0 Inside A Piece
Where it slips in:
Rational pieces, such as the left piece in Example 4.
Don't do this:
Do not write "undefined, so the limit does not exist" after direct substitution returns .
The correct way:
Factor and cancel (or rationalise), then take the one-sided limit of the simplified piece. is an indeterminate form, not a verdict.
Mistake 1 has a famous real-world twin. Many people believe that moving into a higher tax bracket taxes their whole income at the higher rate, which is the "use one piece for everything" error. The IRS explains that the higher rate applies only to the income inside the new bracket. Each band of income uses its own piece, just as each side of a break point does.
Practice Problems On Limits Of Piecewise Functions
For when and when , find .
For when and when , find both one-sided limits at . Does the limit exist?
Find so that for and for is continuous at .
For when and , find . Is continuous at 2?
Let . Find and compare it with .
Answer to Problem 1: Both one-sided limits equal 10 ( and ), so the limit is 10.
Answer to Problem 2: The left-hand limit is 1 and the right-hand limit is 3, so the limit does not exist.
Answer to Problem 3: , so .
Answer to Problem 4: The limit is 5 (the expression simplifies to ), but , so is not continuous at 2.
Answer to Problem 5: Just left of 3, and , giving ; just right of 3, they are and , again giving . So the limit is , but .
Key Takeaways
For limits of piecewise functions, only one piece matters away from a break point, and both neighbouring pieces matter at a break point.
The limit at a break point exists exactly when the left-hand limit (left piece) equals the right-hand limit (right piece).
The value never changes the limit, but it does decide continuity.
To find a missing constant, set the one-sided limits equal at each break point, one equation per break.
Absolute value and greatest integer expressions are piecewise functions and follow the same method.
Where To Go From Here
Work through practice problems 1 to 5; if Problem 2 or Problem 5 trips you up, return to the section on finding the limit at a break point and redo Example 2.
Want a live Bhanzu trainer to walk through more piecewise limit problems with you? Book a free demo class
Read More
Was this article helpful?
Your feedback helps us write better content
