One-sided limits of piecewise functions
Problem 1.351 · easy
Let \( \displaystyle f(x) = \begin{cases} x + 1 & x < 0 \\ 4 & x = 0 \\ 1 - 2 x^{2} & x > 0 \end{cases} \). Find \( \displaystyle \lim_{x\to 0^-} f(x) \), \( \displaystyle \lim_{x\to 0^+} f(x) \), \( \displaystyle \lim_{x\to 0} f(x) \) and \( \displaystyle f(0) \).
- For x < 0 only the first piece matters, so the left-hand limit is the limit of that polynomial.Reviewed
- \[ \lim_{x \to 0^-}\left(x + 1\right) = 1 \]Left-hand limit.✓ Proved
- \[ \lim_{x \to 0^+}\left(1 - 2 x^{2}\right) = 1 \]Right-hand limit.✓ Proved
- The two one-sided limits agree, so the limit exists and equals their common value.Reviewed
- The value f(0) = 4 is read straight from the middle line; it does not affect any of the limits.Reviewed
Answer \( \lim_{x\to 0^-} f(x) = 1,\ \lim_{x\to 0^+} f(x) = 1,\ \lim_{x\to 0} f(x) = 1,\ f(0) = 4 \)
✓ Nihil obstat Lines: 2 proved, 3 reviewed. The answer was also checked a second way, without looking at the solution. Reviewers found nothing wrong with the explanation.
The full receipt
| Line | Status | Checked by | Detail |
|---|---|---|---|
| 1 | Reviewed | reviewers: gpt-oss:20b, qwen3.6:27b-mlx | a sentence; read, not computed |
| 2 | ✓ Proved | sympy 1.14.0 | simplify(lhs - rhs) reduced to 0 |
| 3 | ✓ Proved | sympy 1.14.0 | simplify(lhs - rhs) reduced to 0 |
| 4 | Reviewed | reviewers: gpt-oss:20b, qwen3.6:27b-mlx | a sentence; read, not computed |
| 5 | Reviewed | reviewers: gpt-oss:20b, qwen3.6:27b-mlx | a sentence; read, not computed |
| answer, a second way | ✓ Checked independently | sympy 1.14.0 + mpmath 1.3.0 | the pieces evaluated at a ± 1e-12 |
Reviewers
gpt-oss:20b: passqwen3.6:27b-mlx: pass — The solution correctly identifies the relevant pieces for the one-sided limits, verifies their agreement to establish the two-sided limit, and correctly distinguishes the function value at the point from the limit.
Every verdict on record (4)
gpt-oss:20b: pass 2026-10-06qwen3.6:27b-mlx: pass 2026-10-06 — The solution correctly identifies the relevant pieces for the one-sided limits, verifies their agreement to establish the two-sided limit, and correctly distinguishes the function value at the point from the limit.qwen3.6:27b-mlx: pass 2026-10-06 — The solution correctly identifies the relevant pieces for the one-sided limits, applies the limit laws appropriately, and correctly distinguishes between the limit and the function value.gpt-oss:20b: pass 2026-10-06
Proved: SymPy reduced the difference between the two sides to zero. Checked independently: a separate
method, named above, confirmed it. Checked numerically: the two sides agree at every sampled point, which is evidence,
not proof. Reviewed: a model or a person read it; that is all a sentence can have. Solution by
generator:structured/one_sided_limits, checked 2026-10-06 with SymPy 1.14.0.