Free Mathematics Class 12 ICSE notes · practise this chapter with an AI quiz

← All study notes

Why a Sharp Corner Stops a Function From Having a Derivative

Examine the continuity and differentiability of the modulus and greatest integer functions, derive the derivatives of exponential, logarithmic and inverse trigonometric functions, and relate continuity to differentiability.

When does a function have a derivative?

A derivative measures slope, so a function needs a single, well-defined tangent at a point to be differentiable there. Smooth curves pass this test, but sharp corners and jumps fail it — and knowing which functions are differentiable, and what their derivatives are, underpins the rest of calculus.

This lesson covers the modulus and greatest integer functions, derivatives of exponential and logarithmic functions, derivatives of inverse trigonometric functions, and the link between continuity and differentiability.

How do you examine the continuity and differentiability of the modulus and greatest integer functions?

A function is differentiable at a when its left-hand derivative lim⁡h→0−f(a+h)−f(a)h\lim_{h \to 0^-} \dfrac{f(a + h) - f(a)}{h} equals its right-hand derivative lim⁡h→0+f(a+h)−f(a)h\lim_{h \to 0^+} \dfrac{f(a + h) - f(a)}{h}; ∣x∣|x| is continuous at 0 but not differentiable there, and [x][x] is neither continuous nor differentiable at any integer.

Modulus function at 0:


- Continuous, since both one-sided limits and f(0)f(0) equal 0
- Left-hand derivative lim⁡h→0−∣h∣h=−1\lim_{h \to 0^-} \dfrac{|h|}{h} = -1
- Right-hand derivative lim⁡h→0+∣h∣h=1\lim_{h \to 0^+} \dfrac{|h|}{h} = 1
- Since −1≠1-1 \ne 1, ∣x∣|x| is not differentiable at 0

Greatest integer function at 2:

- The left-hand limit is 1 and the right-hand limit is 2, so [x][x] is discontinuous at 2
- A function that is not continuous at a point cannot be differentiable there
- Between integers [x][x] is constant, so its derivative there is 0

Worked example. For f(x)=∣x−3∣f(x) = |x - 3|, the one-sided derivatives at 3 are −1-1 and 1, so f is continuous but not differentiable at 3; at x=5x = 5, f(x)=x−3f(x) = x - 3 and f′(5)=1f'(5) = 1.

An everyday example. A cricket ball bouncing off the pitch changes direction abruptly — its height graph has a sharp corner at the bounce.

The substance. x∣x∣x|x| is differentiable at 0 — both its one-sided derivatives are 0, even though ∣x∣|x| alone is not differentiable there.

What are the derivatives of exponential and logarithmic functions, and how are they derived?

The derivative of exe^x is exe^x, of axa^x is axlog⁡aa^x\log a, of log⁡x\log x is 1x\dfrac{1}{x}, and of log⁡ax\log_a x is 1xlog⁡a\dfrac{1}{x\log a}, all derived from first principles using lim⁡h→0eh−1h=1\lim_{h \to 0} \dfrac{e^h - 1}{h} = 1 and lim⁡h→0log⁡(1+h)h=1\lim_{h \to 0} \dfrac{\log(1 + h)}{h} = 1.

Derivation for exe^x:


ex+h−exh=ex×eh−1h→ex\frac{e^{x + h} - e^x}{h} = e^x \times \frac{e^h - 1}{h} \to e^x

Derivation for log⁡x\log x:

log⁡(x+h)−log⁡xh=1x×log⁡(1+hx)hx→1x\frac{\log(x + h) - \log x}{h} = \frac{1}{x} \times \frac{\log\left(1 + \frac{h}{x}\right)}{\frac{h}{x}} \to \frac{1}{x}

Worked examples:

- ddx(e3x)=3e3x\dfrac{d}{dx}(e^{3x}) = 3e^{3x}
- ddx(2x)=2xlog⁡2\dfrac{d}{dx}(2^x) = 2^x\log 2, so at x=3x = 3 the slope is 8log⁡2≈5.558\log 2 \approx 5.55
- ddx(log⁡10x)=1xlog⁡10\dfrac{d}{dx}(\log_{10}x) = \dfrac{1}{x\log 10}, which is about 0.0869 at x=5x = 5
- ddx(x2ex)=ex(x2+2x)\dfrac{d}{dx}(x^2e^x) = e^x(x^2 + 2x)

An everyday example. A deposit growing continuously as PertPe^{rt} increases at a rate proportional to the amount already there — the defining property of the exponential function.

The substance. Here log means the natural logarithm, to base e
— for base 10 the extra factor 1log⁡10\dfrac{1}{\log 10} appears.

How do you derive the derivatives of inverse trigonometric functions using substitution?

Writing y=sin⁡−1xy = \sin^{-1}x as x=sin⁡yx = \sin y and differentiating gives dydx=11−x2\dfrac{dy}{dx} = \dfrac{1}{\sqrt{1 - x^2}}, and the same method gives ddx(tan⁡−1x)=11+x2\dfrac{d}{dx}(\tan^{-1}x) = \dfrac{1}{1 + x^2} and the other inverse trigonometric derivatives.

Derivation for sin⁡−1x\sin^{-1}x.
From x=sin⁡yx = \sin y, dxdy=cos⁡y=1−x2\dfrac{dx}{dy} = \cos y = \sqrt{1 - x^2}, taking the positive root because cos⁡y≥0\cos y \ge 0 on [−π2,π2]\left[-\dfrac{\pi}{2}, \dfrac{\pi}{2}\right]. So dydx=11−x2\dfrac{dy}{dx} = \dfrac{1}{\sqrt{1 - x^2}}.

Standard results:

- ddx(sin⁡−1x)=11−x2\dfrac{d}{dx}(\sin^{-1}x) = \dfrac{1}{\sqrt{1 - x^2}} and ddx(cos⁡−1x)=−11−x2\dfrac{d}{dx}(\cos^{-1}x) = -\dfrac{1}{\sqrt{1 - x^2}}
- ddx(tan⁡−1x)=11+x2\dfrac{d}{dx}(\tan^{-1}x) = \dfrac{1}{1 + x^2} and ddx(cot⁡−1x)=−11+x2\dfrac{d}{dx}(\cot^{-1}x) = -\dfrac{1}{1 + x^2}
- ddx(sec⁡−1x)=1∣x∣x2−1\dfrac{d}{dx}(\sec^{-1}x) = \dfrac{1}{|x|\sqrt{x^2 - 1}}

Worked example (substitution). Differentiate y=tan⁡−12x1−x2y = \tan^{-1}\dfrac{2x}{1 - x^2} for ∣x∣<1|x| < 1. Put x=tan⁡θx = \tan\theta: then y=tan⁡−1(tan⁡2θ)=2θ=2tan⁡−1xy = \tan^{-1}(\tan 2\theta) = 2\theta = 2\tan^{-1}x, so dydx=21+x2\dfrac{dy}{dx} = \dfrac{2}{1 + x^2}, which is 1.6 at x=0.5x = 0.5.

An everyday example. A lighthouse lamp turning to follow a boat sailing past the coast changes its angle at a rate given by the derivative of an inverse tangent.

The substance. Substitution turns a messy derivative into a one-liner — the chain rule applied directly to tan⁡−12x1−x2\tan^{-1}\dfrac{2x}{1 - x^2} gives the same answer only after far more algebra.

How are continuity and differentiability related, and where can a function be continuous but not differentiable?

Every function that is differentiable at a point is continuous there, but the converse fails: a function can be continuous yet not differentiable, typically at a sharp corner, a cusp or a vertical tangent.

Proof that differentiable implies continuous.

f(a+h)−f(a)=f(a+h)−f(a)h×h→f′(a)×0=0f(a + h) - f(a) = \frac{f(a + h) - f(a)}{h} \times h \to f'(a) \times 0 = 0

so f(a+h)→f(a)f(a + h) \to f(a), which is continuity.

Continuous but not differentiable:

- Corner — ∣x∣|x| at 0
- Cusp — x2/3x^{2/3} at 0
- Vertical tangent — x1/3x^{1/3} at 0

Worked example. Where is f(x)=∣x−1∣+∣x−4∣f(x) = |x - 1| + |x - 4| not differentiable? For x<1x < 1, f(x)=5−2xf(x) = 5 - 2x with slope −2-2; for 1<x<41 < x < 4, f(x)=3f(x) = 3 with slope 0; for x>4x > 4, f(x)=2x−5f(x) = 2x - 5 with slope 2. The slope changes suddenly at 1 and 4, so f is not differentiable there, though it is continuous everywhere.

An everyday example. A taxi fare graph that switches from one per-kilometre rate to another is continuous at the switch but has a corner there.

The substance. Discontinuity always rules out differentiability — so checking continuity first can save a derivative calculation.
Exam tip

What earns full marks on differentiability and standard derivatives?

Compute the left-hand and right-hand derivatives as separate limits and compare them, and state continuity first whenever you test differentiability.

- Differentiable at a: left-hand derivative equals right-hand derivative
- Differentiable implies continuous, but not the other way round
- ddx(ax)=axlog⁡a\dfrac{d}{dx}(a^x) = a^x\log a and ddx(log⁡x)=1x\dfrac{d}{dx}(\log x) = \dfrac{1}{x}
- ddx(tan⁡−1x)=11+x2\dfrac{d}{dx}(\tan^{-1}x) = \dfrac{1}{1 + x^2}

The trap. Concluding that ∣x∣|x| is differentiable at 0 because it is continuous there. Its one-sided derivatives are −1-1 and 1, so it is not.
Did you know

Can a curve be continuous everywhere but smooth nowhere?

It seems impossible to draw a curve without lifting the pen that has a sharp corner at every single point. Yet such functions exist.

One is built by adding infinitely many zigzag waves, each smaller and faster than the last. The sum is continuous, but zooming in anywhere reveals more zigzags, so no tangent ever settles.

Similar rough curves model the jagged outlines of coastlines and the erratic paths of tiny particles jostled in a liquid.
Exam relevance

How are differentiability and standard derivatives tested in JEE Main and JEE Advanced?

Continuity and Differentiability is a recurring JEE Main chapter, and JEE Advanced frequently combines it with the modulus and greatest integer functions.

What gets asked. The number of points of non-differentiability of expressions such as ∣x−1∣+∣x−4∣|x - 1| + |x - 4|, values of constants that make a function differentiable, and derivatives of inverse trigonometric expressions simplified by substitution.

Question types. Multiple-choice and numerical-value questions.

The trap that costs marks. Assuming every continuous function is differentiable — corners and vertical tangents break differentiability.
Key takeaways

What must you be able to do from this lesson?

- Modulus and greatest integer: ∣x∣|x| is continuous but not differentiable at 0; [x][x] is neither at the integers
- Exponential and logarithmic: (ex)′=ex(e^x)' = e^x, (ax)′=axlog⁡a(a^x)' = a^x\log a and (log⁡x)′=1x(\log x)' = \dfrac{1}{x}
- Inverse trigonometric: (sin⁡−1x)′=11−x2(\sin^{-1}x)' = \dfrac{1}{\sqrt{1 - x^2}} and (tan⁡−1x)′=11+x2(\tan^{-1}x)' = \dfrac{1}{1 + x^2}, often reached by substitution
- Continuity and differentiability: differentiable implies continuous, but corners break differentiability

At how many points is f(x)=∣x∣+∣x−2∣+∣x+3∣f(x) = |x| + |x - 2| + |x + 3| not differentiable?

Ready to put this into practice?

Create a personalized quiz on this exact topic — free to start.

Create your own quiz on Differentiability and Standard DerivativesCreate a free account
← Back to all articles