Question 181
\[h(x) = \begin{cases} p(x) & \text{if } x \leq \pi/3 \\ \cos x + mx + 2 & \text{if } x \gt \pi/3 \end{cases}\]
where \(p(x)\) is differentiable and \(m\) is a constant. If \(h\) is differentiable at \(x = \pi/3\), which of the following could define \(p(x)\)?
Main Solution
Strategy: For differentiability at a boundary point, the function must be both continuous and have equal left and right derivatives at that point.
Key Insight: At x = π/3, we need p(π/3) = cos(π/3) + m(π/3) + 2 for continuity, and p'(π/3) = -sin(π/3) + m for differentiability.
Analysis of Choices:
- A. sin x + 2x - π/3 — Incorrect. At x = π/3: p'(π/3) = cos(π/3) + 2 = 1/2 + 2 = 5/2, but the right derivative is -sin(π/3) + m = -√3/2 + m, which cannot equal 5/2 for any reasonable m.
- B. -sin x + (π/6)x + 5/2 — Correct ✓. At x = π/3: p(π/3) = -√3/2 + π²/18 + 5/2 and p'(π/3) = -cos(π/3) + π/6 = -1/2 + π/6. This can satisfy both continuity and differentiability conditions.
- C. cos x - (3/π)x² + 1 — Incorrect. At x = π/3: p'(π/3) = -sin(π/3) - 6x/π = -√3/2 - 2/π, which creates inconsistent derivative matching.
- D. x sin x + (π/2)x + 3 — Incorrect. At x = π/3: p'(π/3) = sin(π/3) + (π/3)cos(π/3) + π/2 = √3/2 + π/6 + π/2, too large to match the right derivative.
Teacher Explanation
A strong AP Calculus BC student should first identify that differentiability at a piecewise boundary requires both continuity and equal one-sided derivatives. The key task is to find which option for p(x) allows both p(π/3) = cos(π/3) + m(π/3) + 2 and p'(π/3) = -sin(π/3) + m for some constant m. The correct answer is B because it provides the flexibility needed to satisfy both conditions simultaneously. The most common error is checking only the continuity condition without verifying that the derivatives can also be made equal.
Education Coach Advice
Strategy Tips:
- First, identify what this question is really testing: differentiability requires both continuity AND equal derivatives at the boundary.
- Second, set up two equations: one for continuity (function values equal) and one for differentiability (derivative values equal).
- Watch for this trap: don't just check if the functions are continuous - you need the derivatives to match too.
- Review tip: ask yourself whether there exists a value of the constant m that makes both conditions work simultaneously.
Traps
Students often check only continuity (function values match) but forget that differentiability also requires the derivatives to match at the boundary point.
Answer images


