Continuity & Differentiability: Numerical Problems Set (5)

medium 2 min read

Question

Find the values of aa and bb such that f(x)f(x) is continuous at x=1x = 1 and differentiable there: f(x)={ax+b,x<1x2,x1f(x) = \begin{cases} ax + b, & x < 1 \\ x^2, & x \ge 1 \end{cases}

Solution — Step by Step

Continuity at x=1x = 1 requires the left and right limits to match:

limx1(ax+b)=limx1+x2\lim_{x\to 1^-} (ax + b) = \lim_{x\to 1^+} x^2

a+b=1a + b = 1

The left derivative at x=1x = 1 is aa. The right derivative is 2xx=1=22x|_{x=1} = 2. For differentiability:

a=2a = 2

From a+b=1a + b = 1: b=12=1b = 1 - 2 = -1.

The values are a=2a = 2 and b=1b = -1.

Why This Works

Continuity at a point requires the function to “join up” — left limit = right limit = function value. Differentiability is stricter: the slopes from the left and right must also match. Together, two conditions pin down two unknowns.

This is the standard JEE/CBSE setup: a piecewise function with two parameters, joined at a single point. The trick is to write both conditions cleanly and solve the linear system.

Alternative Method

Compute the left and right derivatives from first principles. For x<1x < 1: f(x)=af'(x) = a, so f(1)=af'(1^-) = a. For x1x \ge 1: f(x)=2xf'(x) = 2x, so f(1+)=2f'(1^+) = 2. Equating gives a=2a = 2. Then continuity gives b=1b = -1. Same answer.

For a function defined piecewise at a join point: continuity is one equation, differentiability gives one more. Two parameters can be uniquely determined; three or more need extra conditions.

Common Mistake

Imposing only continuity and trying to find both aa and bb — leads to infinitely many solutions. The fix: read the problem carefully. If “differentiable” is stated, both conditions apply. CBSE 2023 had this exact phrasing.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next