Making a piecewise function continuous
Problem 1.401 · medium
- Each piece is a polynomial, so f is continuous everywhere except possibly at x = 1. There the left-hand limit, the right-hand limit and f(c) must agree.Reviewed
- \[ \lim_{x \to 1^-}\left(k x^{2}\right) = k \]The left-hand limit, in terms of k.✓ Proved
- \[ \lim_{x \to 1^+}\left(1 - 4 x\right) = -3 \]The right-hand limit, which is also f(c).✓ Proved
- \[ -3 \]Setting them equal gives k = -3.✓ Proved
✓ Nihil obstat Lines: 3 proved, 1 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 | claude-sonnet-5-5 | claude-sonnet-5-5: This is a sentence, not an algebraic equivalence. Polynomials are continuous, so only x = 1 needs checking, and continuity there requires the left limit, right limit and f(1) to agree, which is the correct criterion. |
| 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 | ✓ Proved | sympy 1.14.0 | simplify(lhs - rhs) reduced to 0 |
| answer, a second way | ✓ Checked independently | sympy 1.14.0 + mpmath 1.3.0 | with that k the two pieces agree at c ± 1e-10 |
Reviewers
gpt-oss:20b: fail (error) — The final step incorrectly equates the right‑hand limit to itself instead of setting the left‑hand limit equal to the right‑hand limit. It should state "k = -3".qwen3.6:27b-mlx: fail (error) — Step 4 claims that setting the limits equal yields k = -3, but the equation shown is -3 = -3, which is a tautology and does not involve k. The correct equation should be k = -3.
Senior review claude-sonnet-5-5, 2026-10-07: pass — Both polynomial pieces are continuous, and the one-sided limits at x=1 are k and -3, so continuity requires k = -3. Line 4 would read better as 'k = -3', but it is not false or misleading.
qwen3.6:27b-mlx: dismiss — '-3 = -3' is a true statement, so it is not a mathematical error; the solver evidently substituted k = -3 into the equation k = -3, and the step note states k = -3, so at worst this is a stylistic weakness.
Every verdict on record (5)
gpt-oss:20b: fail (error) 2026-10-07 — The final step incorrectly equates the right‑hand limit to itself instead of setting the left‑hand limit equal to the right‑hand limit. It should state "k = -3".qwen3.6:27b-mlx: fail (error) 2026-10-07 — Step 4 claims that setting the limits equal yields k = -3, but the equation shown is -3 = -3, which is a tautology and does not involve k. The correct equation should be k = -3.claude-sonnet-5-5: pass 2026-10-07 — Both polynomial pieces are continuous, and the one-sided limits at x=1 are k and -3, so continuity requires k = -3. Line 4 would read better as 'k = -3', but it is not false or misleading.gpt-oss:20b: pass 2026-10-07qwen3.6:27b-mlx: fail (error) 2026-10-07 — Line 4 incorrectly states '-3 = -3' when equating the left-hand limit (k) and the right-hand limit (-3). The correct equation is k = -3.
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/continuity_parameter, checked 2026-10-07 with SymPy 1.14.0.