Limits, Continuity & Differentiability
General
Grade 12
Question:
<p>Let <span class="math-inline">\(f(x)=\begin{cases}x^3+2x^2 & x\in\mathbb{Q}\\ -x^3+2x^2+ax & x\notin\mathbb{Q}\end{cases}\)</span>. Integral value of <span class="math-inline">\(a\)</span> so that <span class="math-inline">\(f\)</span> is differentiable at <span class="math-inline">\(x=1\)</span>:</p>
2
6
7
<strong>not possible</strong>
Step-by-Step Solution
Key Concept: General
<div class="solution"><p><strong>Step 1:</strong> For continuity at x=1 (both branches must agree at every point near 1, especially along rationals and irrationals approaching 1):</p><p>At x=1: <span class="math-inline">$f_\mathbb{Q}(1)=1+2=3$</span>, <span class="math-inline">$f_{\mathbb{Q}^c}(1)=-1+2+a=1+a$</span>. Need <span class="math-inline">$a=2$</span>.</p><p><strong>Step 2:</strong> For differentiability, need equal derivatives: <span class="math-inline">$f'_\mathbb{Q}(x)=3x^2+4x\big|_{x=1}=7$</span>, <span class="math-inline">$f'_{\mathbb{Q}^c}(x)=-3x^2+4x+a\big|_{x=1}=-3+4+2=3\neq 7$</span>. Not differentiable at a=2.</p><p><strong>Step 3:</strong> Actually, for a rational/irrational piecewise function to be differentiable at a point, BOTH pieces must be equal AND have equal derivatives there. Set equal derivatives: <span class="math-inline">$3+4=-3+4+a\implies a=6$</span>. Check continuity: <span class="math-inline">$1+2=3$</span> vs <span class="math-inline">$-1+2+6=7\neq 3$</span>. Not continuous.</p><p>The only way such a function is differentiable at x=1 is if both values AND derivatives match. Setting both: <span class="math-inline">$1+2+a=3\implies a=0$</span> and derivative check gives <span class="math-inline">$7\neq 4$</span>. Conclusion: <strong>not possible (D)</strong>.</p><p><strong>Answer: (D) not possible</strong></p><div class="trap-box"><strong>Trap:</strong> Trying to just set the derivatives equal without checking continuity first.</div><div class="key-concept"><strong>Key Concept:</strong> Rational/irrational piecewise: differentiable only if both pieces agree in value AND derivative at that point</div></div>
Correct Answer: 4