Q.Determine the values of p and q that make the function f(x) differentiable on R where f(x)=px3, for x<2, =x2+q, for x≥2.
Concept understanding — Differentiability and Continuity
A function can be continuous at a point yet still fail to have a derivative there — differentiability is a strictly stronger requirement than continuity, never the other way around.
Three ways a derivative can fail to exist at x0:
- A corner or cusp (the graph comes to a sharp point ∨ or ∧). Example: f(x)=∣x−2∣ at x=2 — continuous there, but f′(2−)=−1=1=f′(2+), so f′(2) does not exist.
- A vertical tangent. Example: f(x)=x1/3 at x=0 — continuous, but f′(0)=limx→0x−2/3=+∞, not a finite number.
- A discontinuity. Example: f(x)=⌊x⌋ at any integer n — not even continuous there, so certainly not differentiable; or a jump function like f(x)=x (x≤0), f(x)=x+1 (x>0), where f′(0+) fails to exist because the right-hand difference quotient blows up as the jump is approached.
These three cases are exhaustive: a function fails to be differentiable at a point of its domain precisely when one of them holds. In short, discontinuity always forces non-differentiability — but continuity alone never guarantees differentiability, as cases (1) and (2) show.
The one implication that always holds:
Theorem 10.1. If f is differentiable at x0, then f is continuous at x0.
Proof. Since f′(x0)=limΔx→0Δxf(x0+Δx)−f(x0) exists, write f(x0+Δx)−f(x0)=Δxf(x0+Δx)−f(x0)×Δx. Taking the limit of both sides as Δx→0 (product of limits), limΔx→0[f(x0+Δx)−f(x0)]=f′(x0)×0=0, i.e. limΔx→0f(x0+Δx)=f(x0) — which is exactly continuity of f at x0. ■
The converse of Theorem 10.1 is false: ∣x−2∣ and x1/3 are both continuous at the flagged point but not differentiable there. "Continuous" is a necessary but never a sufficient condition for "differentiable".
Match values and slopes of the two pieces at x=2: two equations in p,q.
p=31, q=−34
f(x)=px3 for x<2, f(x)=x2+q for x≥2.
Continuity at x=2: f(2−)=8p; f(2)=4+q. Equating: 8p=4+q⇒q=8p−4 …(1)
Matching slopes: derivative of px3 is 3px2, at x=2: 12p; derivative of x2+q is 2x, at x=2: 4. Equating: 12p=4⇒p=31.
From (1): q=8(31)−4=38−4=38−312=−34.
p=31, q=−34
Solve the slope-matching equation first (it involves only p here), then substitute into the continuity equation to get q.
Arithmetic slip converting 8/3−4 to a single fraction, e.g. forgetting to write 4 as 12/3 first.
- CBSE 2022Set ANNUAL1 markMCQQ.If f(x)=⎩⎨⎧x+2,5,8−x,−1<x<3x=3x>3, then at x=3, f′(x) is:(a) 0(b) 1(c) does not exist(d) −1
›Reveal solutionSolution
The left-hand derivative at x=3 is 1 and the right-hand derivative is −1; since they differ, f′(3) does not exist.
First check continuity at x=3: from the left piece, limx→3−(x+2)=5; the function value is f(3)=5; from the right piece, limx→3+(8−x)=5. So f is continuous at x=3 -- continuity alone doesn't guarantee differentiability, though.
Left-hand derivative: for x<3, f(x)=x+2, so f′(x)=1 for x near 3 from the left.
Right-hand derivative: for x>3, f(x)=8−x, so f′(x)=−1 for x near 3 from the right.
Since the left-hand derivative (1) and right-hand derivative (−1) are not equal, f′(3) does not exist -- the graph has a sharp corner at x=3.
✓Final answerThe correct option is (c) does not exist.
- CBSE 2020Set ANNUAL1 markMCQQ.The number of points in R in which the function f(x)=∣x−1∣+∣x−3∣+sinx is not differentiable, is:(a) 3(b) 2(c) 1(d) 4
›Reveal solutionSolution
The only non-differentiable 'corners' come from the two absolute-value terms, at x=1 and x=3.
f(x)=∣x−1∣+∣x−3∣+sinx. The function ∣x−1∣ has a sharp corner (a kink where the left and right derivatives disagree) exactly at x=1, and is smooth everywhere else. Similarly ∣x−3∣ has a corner exactly at x=3. The term sinx is differentiable at every real number.
A sum of differentiable functions is differentiable at any point where all the individual terms are differentiable, and can fail to be differentiable only where one of the terms itself has a corner. Since x=1 and x=3 are distinct points, f is non-differentiable at exactly these 2 points.
✓Final answerThe correct option is (b) 2.
- CBSE 2019Set ANNUAL1 markMCQQ.If f(x)={2a−x,3x−2a,−a<x<ax≥a then which one of the following is true?(a) f(x) is continuous for all x in R(b) f(x) is differentiable for all x≥a(c) f(x) is not differentiable at x=a(d) f(x) is discontinuous at x=a
›Reveal solutionSolution
At x=a the left and right pieces give the same value (continuity holds) but different slopes (−1 and 3), so f is continuous but not differentiable at x=a; and since f isn't even defined for x≤−a, option (a) is false.
Check continuity at x=a: left piece value =2a−a=a; right piece value =3a−2a=a. They agree, so f is continuous at x=a.
Check differentiability at x=a: derivative of 2a−x is −1; derivative of 3x−2a is 3. Since −1=3, the left and right derivatives at x=a disagree, so f is NOT differentiable at x=a — this rules in option (c) and rules out (b).
Option (d) is false since f IS continuous at x=a (shown above).
Option (a) is false too: f's domain here is only x>−a (the pieces cover −a<x<a and x≥a), so f is not even defined — let alone continuous — for all x∈R.
✓Final answerThe correct option is (c) f(x) is not differentiable at x=a.
- CBSE 2018Set ANNUAL1 markMCQQ.Which of the function is not differentiable?(a) f(x)=sinx+cosx in (−∞,∞)(b) f(x)=sinx in (−∞,∞)(c) f(x)=cotx in (2−π,2π)(d) f(x)=cosx in [−π,π]
›Reveal solutionSolution
cotx is undefined (division by sinx=0) at x=0, which lies inside the stated interval, so option (c) fails to be differentiable — indeed not even defined — at that point.
- sinx+cosx is a sum of standard differentiable functions, differentiable on all of (−∞,∞).
- sinx is differentiable everywhere on (−∞,∞).
- cotx=sinxcosx requires sinx=0. But x=0 lies inside (2−π,2π) and sin0=0, so cotx is not even defined there, let alone differentiable.
- cosx is differentiable everywhere, including at the closed endpoints ±π (one-sided derivatives exist). So the function that fails to be differentiable is cotx on the given interval.
✓Final answerThe correct option is (c).
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.