← Continuity and differentiability

Class 12 Maths · 10 worked problems

Study the worked examples below, or retry these problems as a revision test.

Take topic test →

Continuity and one-sided derivatives

Check the function value and both one-sided limits at a join. Differentiability also requires matching one-sided slopes.

Practise with worked solutions

Problem 1

f(x) = x2−4x−2\frac{x^2-4}{x-2} away from 2. Choose f(2) for continuity.

Worked solution
  1. Choose the ruleContinuity requires the value to equal the limit.
  2. Why it appliesCheck the function value and both one-sided limits at a join. Differentiability also requires matching one-sided slopes.
  3. Work it outFactor the numerator and cancel for x ≠ 2, giving x + 2.
  4. ResultSet f(2) = 4.
Problem 2

f(x) = |x − 1|. Is f continuous at 1?

Worked solution
  1. Choose the ruleBoth one-sided limits must equal f(1).
  2. Why it appliesCheck the function value and both one-sided limits at a join. Differentiability also requires matching one-sided slopes.
  3. Work it outBoth branches approach zero, and f(1) = 0.
  4. ResultYes.
Problem 3

For x < 0 use f(x) = ax + b, and for x ≥ 0 use x2x^{2} + 2. Find b for continuity.

Worked solution
  1. Choose the ruleThe left and right values at the join must agree.
  2. Why it appliesCheck the function value and both one-sided limits at a join. Differentiability also requires matching one-sided slopes.
  3. Work it outThe left limit is b and the right value is 2.
  4. Resultb = 2.
Problem 4

Let y = ln⁡\ln (1 + x2x^{2}). Find dydx\frac{dy}{dx}.

Worked solution
  1. Choose the ruleApply the chain rule to ln⁡\ln u.
  2. Why it appliesCheck the function value and both one-sided limits at a join. Differentiability also requires matching one-sided slopes.
  3. Work it outu = 1 + x2x^{2} and u′ = 2x.
  4. Result2x/(1 + x2x^{2}).
Problem 5

The circle x2x^{2} + y2y^{2} = 25 contains (3,4). Find dydx\frac{dy}{dx} there.

Worked solution
  1. Choose the ruleDifferentiate implicitly, treating y as a function of x locally.
  2. Why it appliesCheck the function value and both one-sided limits at a join. Differentiability also requires matching one-sided slopes.
  3. Work it out2x + 2y y′ = 0, so y′ = −x/y.
  4. Result−34\frac{3}{4}.
Problem 6

Follows on from: Choose f(2) for continuity.

f(x) = x2−4x−2\frac{x^2-4}{x-2} away from 2. Is the resulting extension differentiable at 2?

Worked solution
  1. Choose the ruleUse the simplified formula that agrees in a neighbourhood after filling the hole.
  2. Why it appliesCheck the function value and both one-sided limits at a join. Differentiability also requires matching one-sided slopes.
  3. Work it outIt now agrees everywhere with x + 2.
  4. ResultYes, with slope 1.
Problem 7

Follows on from: Is f continuous at 1?

f(x) = |x − 1|. Is f differentiable there?

Worked solution
  1. Choose the ruleCheck the left and right difference quotients at the point.
  2. Why it appliesCheck the function value and both one-sided limits at a join. Differentiability also requires matching one-sided slopes.
  3. Work it outThe left slope is −1 and right slope +1.
  4. ResultNo common derivative exists.
Problem 8

Follows on from: Find b for continuity.

For x < 0 use f(x) = ax + b, and for x ≥ 0 use x2x^{2} + 2. Find a for differentiability as well.

Worked solution
  1. Choose the ruleMatch the one-sided derivatives in addition to the values.
  2. Why it appliesCheck the function value and both one-sided limits at a join. Differentiability also requires matching one-sided slopes.
  3. Work it outThe left derivative is a while the right derivative at 0 is zero.
  4. Resulta = 0.
Problem 9

Follows on from: Find dydx\frac{dy}{dx}.

Let y = ln⁡\ln (1 + x2x^{2}). Find the slope at x = −1.

Worked solution
  1. Choose the ruleEvaluate the derivative for the branch containing the given x.
  2. Why it appliesCheck the function value and both one-sided limits at a join. Differentiability also requires matching one-sided slopes.
  3. Work it outSubstitute −1 into the derivative.
  4. Result−1.
Problem 10

Follows on from: Find dydx\frac{dy}{dx} there.

The circle x2x^{2} + y2y^{2} = 25 contains (3,4). What happens to dydx\frac{dy}{dx} = −x/y at (5,0)?

Worked solution
  1. Choose the ruleA derivative formula obtained by division may fail where its denominator vanishes.
  2. Why it appliesCheck the function value and both one-sided limits at a join. Differentiability also requires matching one-sided slopes.
  3. Work it outThe radius is horizontal and the tangent vertical, so a finite dydx\frac{dy}{dx} is unavailable.
  4. ResultThe tangent line is x = 5.