Mathematics (JEE)Very hardJEE Advanced pattern
f(x) = x² when x is rational and f(x) = 2x − 1 when x is irrational. Which statement is correct?
- A. f is continuous only at x = 1 but not differentiable there
- B. f is continuous only at x = 1 and is differentiable there
- C. f is continuous at x = 0 and x = 1 only
- D. f is continuous nowhere
Correct answer: B. f is continuous only at x = 1 and is differentiable there
Continuity needs both rules to give the same limit: x² = 2x − 1 ⇔ (x − 1)² = 0 ⇔ x = 1. At x = 1, [f(1 + h) − f(1)]/h equals (2h + h²)/h = 2 + h (rational) or 2h/h = 2 (irrational); both → 2, so f′(1) = 2 exists. The line 2x − 1 is the tangent to x² at 1, which is why the derivative exists.
Practise more Limits, Continuity and Differentiability questionsLimits, Continuity and Differentiability: notes and key points