Continuity and differentiability are about whether a function is “smooth” at a point. A continuous function has no breaks or jumps. A differentiable function has no sharp corners either — it’s smooth enough to have a tangent at every point.
This is one of the highest-weightage chapters in Class 12 maths. CBSE boards dedicate 8-10 marks to differentiation (this chapter + applications). JEE Main tests 1-2 questions on continuity/differentiability checks, and the chain rule is used in nearly every calculus problem.
Decision flowchart:
Is f defined at a? If no — not continuous.
Does limx→af(x) exist? If no — not continuous.
Does the limit equal f(a)? If no — not continuous. If yes — continuous at a.
Does LHD equal RHD? If no — not differentiable (corner or cusp). If yes — differentiable at a (has a tangent line).
Key Terms & Definitions
Continuity at a point — A function f is continuous at x=a if: (1) f(a) is defined, (2) limx→af(x) exists, and (3) limx→af(x)=f(a).
Differentiability — f is differentiable at x=a if LHD = RHD. A differentiable function is always continuous, but a continuous function may not be differentiable (e.g., ∣x∣ at x=0).
Differentiation Rules
Function
Derivative
xn
nxn−1
ex
ex
lnx
x1
sinx
cosx
cosx
−sinx
tanx
sec2x
ax
axlna
If y=f(g(x)), then:
dxdy=f′(g(x))⋅g′(x)
In words: differentiate the outer function (keeping inner as is), then multiply by the derivative of the inner function.
Product Rule:(uv)′=u′v+uv′
Quotient Rule:(vu)′=v2u′v−uv′
When y is not explicitly written as a function of x, differentiate both sides w.r.t. x, treating y as a function of x. Every time you differentiate a y-term, multiply by dxdy.
For y=f(x)g(x) or products of many functions:
Take ln of both sides: lny=g(x)lnf(x)
Differentiate both sides
Multiply both sides by y
Solved Examples — Easy to Hard
Example 1 (Easy — CBSE)
Differentiate y=sin(3x2+5).
By chain rule: dxdy=cos(3x2+5)⋅6x=6xcos(3x2+5)
Example 2 (Medium — CBSE)
Find dxdy if x2+y2=25.
Differentiating implicitly: 2x+2ydxdy=0
dxdy=−yx
Example 3 (Medium — JEE Main)
Differentiate y=xsinx.
Take ln: lny=sinx⋅lnx.
Differentiate: y1dxdy=cosx⋅lnx+sinx⋅x1
dxdy=xsinx(cosx⋅lnx+xsinx)
Example 4 (Hard — JEE Main)
Check continuity and differentiability of f(x)=∣x−1∣+∣x−2∣ at x=1 and x=2.
For x<1: f(x)=(1−x)+(2−x)=3−2x
For 1≤x<2: f(x)=(x−1)+(2−x)=1
For x≥2: f(x)=(x−1)+(x−2)=2x−3
At x=1: LHL =3−2=1, RHL =1, f(1)=1. Continuous. LHD =−2, RHD =0. Not differentiable (corner).
At x=2: LHL =1, RHL =1, f(2)=1. Continuous. LHD =0, RHD =2. Not differentiable (corner).
Exam-Specific Tips
CBSE Board: Expect 4-6 marks from this chapter. Typical questions: check continuity at a point for a piecewise function, differentiate using chain rule, implicit differentiation, or logarithmic differentiation. Rolle’s theorem and LMVT also appear.
JEE Main: Continuity + differentiability of piecewise and modulus functions is tested regularly. Also: finding f′(x) for composite or parametric functions, and questions where differentiability implies some condition on parameters.
Common Mistakes to Avoid
Mistake 1 — Assuming continuous implies differentiable.∣x∣ is continuous at x=0 but not differentiable there. Differentiability is a stronger condition.
Mistake 2 — Forgetting the chain rule. When differentiating sin(5x), students write cos(5x) instead of 5cos(5x). Always multiply by the derivative of the inner function.
Mistake 3 — Missing dy/dx in implicit differentiation. Every time you differentiate a term involving y, you must attach dy/dx. Missing it makes the entire solution wrong.
Mistake 4 — Wrong sign in the quotient rule. It’s u′v−uv′ (numerator derivative first, then subtract). Swapping gives the wrong sign.
Mistake 5 — Not checking both LHD and RHD at suspect points. For piecewise functions, you must check left and right limits AND left and right derivatives at every breakpoint.
Practice Questions
Q1. Differentiate y=etanx.
dy/dx=etanx⋅sec2x.
Q2. Is f(x)=x∣x∣ continuous at x=0?
f(x)=1 for x>0 and f(x)=−1 for x<0. f(0) is undefined. Not continuous (function not defined at 0, and limits from left and right don’t match).
Q3. Find dy/dx if sin2x+cos2y=1.
2sinxcosx+2cosy(−siny)dxdy=0. So dxdy=2sinycosysin2x=sin2ysin2x.
Q4. Differentiate y=(lnx)x.
lny=xln(lnx). Differentiate: y1dxdy=ln(lnx)+xlnxx=ln(lnx)+lnx1. So dxdy=(lnx)x[ln(lnx)+lnx1].
Q5. Find the value of k if f(x)=kx+1 for x≤5 and f(x)=3x−5 for x>5, given that f is continuous at x=5.
Continuity requires k(5)+1=3(5)−5=10. So 5k=9, giving k=9/5.
Q6. Differentiate y=sin−1(2x1−x2).
Put x=sinθ. Then 2sinθcosθ=sin2θ. So y=2sin−1x. dy/dx=1−x22 (for ∣x∣≤1/2).
Recognise: tan−11−x22x=2tan−1x (for |x| < 1). So dxdy=1+x22.
Summary of When to Use Each Differentiation Technique
Technique
When to use
Example
Chain rule
Composite functions
sin(ex), ln(cosx)
Product rule
Product of two functions
x2sinx, exlnx
Quotient rule
Ratio of two functions
x2+1sinx
Implicit
y not isolated
x2+y2=1
Logarithmic
Variable base and exponent
xx, (sinx)cosx
Parametric
x=f(t), y=g(t)
x=acost, y=bsint
When you see a function and cannot decide which rule to use, ask: is it a composition (chain), a product (product rule), a ratio (quotient rule), or does it have the variable in both base and exponent (logarithmic)? This decision tree covers 95% of differentiation problems.