Q.Prove that the function f given by f(x)=∣x−1∣,x∈R is not differentiable at x=1.
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →Concept understanding — Differentiability of Absolute Value
Differentiability of the Absolute Value Function
Start with something familiar: the absolute value of x, written ∣x∣, is its distance from zero on the number line. So ∣3∣=3, ∣−5∣=5, and ∣0∣=0. Graphically, it looks like a V-shape — two straight lines meeting at the origin.
Differentiability is about whether a function has a well-defined slope (derivative) at a point. For smooth curves like x2 or sinx, the slope exists everywhere. But the absolute value function has a sharp corner at x=0 — and that corner is the whole story.
Intuition: Why the corner matters
Walk along y=∣x∣ from left to right. Approaching x=0 from the left, the slope is −1 (the line goes downward). Leaving x=0 to the right, the slope is suddenly +1 (the line goes upward). At x=0, there's no single slope — it changes abruptly. That's why ∣x∣ is not differentiable at x=0. Everywhere else — for x<0 and x>0 — the graph is a straight line with constant slope, so ∣x∣ is differentiable at every point except x=0.
A function must be continuous to be differentiable, but continuity alone isn't enough. The absolute value function is continuous at x=0 (no break), yet fails to be differentiable there because of the sharp corner.
The precise statement
Let f(x)=∣x∣. Then:
- For x>0: f(x)=x, so f′(x)=1.
- For x<0: f(x)=−x, so f′(x)=−1.
- At x=0: the derivative does not exist, because the left-hand and right-hand derivatives are different numbers.
f′(0)=limh→0h∣0+h∣−∣0∣=limh→0h∣h∣
This limit does not exist because:
- From the right (h→0+): h∣h∣=hh=1
- From the left (h→0−): h∣h∣=h−h=−1
Since the two one-sided limits differ, the two-sided limit does not exist.
A common mistake is to think that because ∣x∣ is continuous at x=0, it must be differentiable there. Continuity is necessary for differentiability, but not sufficient. The absolute value function is the classic counterexample.
The bigger picture …
Concept: Differentiability & Left/Right-Hand Derivatives
A function is differentiable at a point if the left-hand derivative equals the right-hand derivative there.
Step 1 – Write the definition for x=1
The derivative at x=1 is
limh→0hf(1+h)−f(1)=limh→0h∣h∣−0=limh→0h∣h∣.
Step 2 – Evaluate left-hand and right-hand limits
For h→0+, ∣h∣=h, so the limit is 1.
For h→0−, ∣h∣=−h, so the limit is −1. …
The function f(x)=∣x−1∣ has a sharp corner at x=1, so its left-hand and right-hand derivatives are different (−1 and +1 respectively). Since these one-sided derivatives are not equal, the derivative does not exist at x=1.
The Concept: Differentiability Means a Smooth, Unambiguous Slope
For a function to be differentiable at a point, the graph must have a well-defined tangent line there. This means the slope of the secant line from the left must approach the same number as the slope of the secant line from the right. If these two limits disagree, the function has a "corner" or "cusp" — and the derivative does not exist.
The absolute value function ∣x−1∣ is the classic example of this. Its graph is a V-shape with the vertex at x=1. To the left of 1, the slope is −1; to the right, the slope is +1. At the vertex itself, there is no single tangent line — the slope changes abruptly.
The derivative of f at x=a exists if and only if
limh→0−hf(a+h)−f(a)=limh→0+hf(a+h)−f(a)
i.e., the left-hand derivative equals the right-hand derivative.
Let's apply this definition to f(x)=∣x−1∣ at a=1.
Step-by-Step Proof
1. Write the function without the absolute value.
The definition of absolute value gives us two cases:
∣x−1∣={−(x−1)=1−x,x−1,if x<1if x≥1
This split is crucial: the rule changes at x=1.
2. Compute the left-hand derivative at x=1.
We approach 1 from the left, so h<0 and 1+h<1. Using the 1−x branch:
f(1+h)=1−(1+h)=−h
and f(1)=∣1−1∣=0.
The left-hand derivative is:
f−′(1)=limh→0−hf(1+h)−f(1)=limh→0−h−h−0=limh→0−(−1)=−1
Notice that h is negative, but it cancels cleanly. The result −1 is simply the slope of the line y=1−x for x<1.
3. Compute the right-hand derivative at x=1.
Now approach from the right, so h>0 and 1+h>1. Using the x−1 branch:
f(1+h)=(1+h)−1=h
and again f(1)=0.
The right-hand derivative is: …
Method: Testing Differentiability at a Corner Point Using One-Sided Derivatives
Use this method to prove a function is (or isn't) differentiable at a specific point where its formula changes — typically because of an absolute value, a piecewise definition, or a sharp corner in the graph.
Steps
Step 1: Rewrite the function without the absolute value, as a piecewise rule
Split ∣E(x)∣ into two cases based on the sign of E(x): one formula for where E(x)≥0, another (with a flipped sign) for where E(x)<0. This tells you which formula applies on each side of the point in question.
Step 2: Write the difference-quotient definition of the derivative at the point a
f′(a)=limh→0hf(a+h)−f(a).
This is the definition to fall back on whenever a function isn't given by a single smooth formula everywhere.
Step 3: Evaluate the limit separately as h→0+ and h→0− …
Common Mistakes
Mistake 1: Assuming continuity at x=1 is enough to prove differentiability
Why it's wrong: continuity only means the graph has no break or jump — it says nothing about whether the two sides meet at the same slope. ∣x−1∣ is perfectly continuous at x=1 (both pieces meet at height 0) but still has a sharp corner there. Correct approach: always remember continuity is necessary but not sufficient — differentiability additionally requires the left- and right-hand derivatives to agree.
Mistake 2: Using the wrong piecewise formula on each side when computing the one-sided limits
Why it's wrong: for x<1, ∣x−1∣=1−x (not x−1), and mixing these up flips the sign of the resulting derivative. Correct approach: substitute a specific nearby value (like x=0.9) into ∣x−1∣ mentally to double-check which branch is active before computing the limit. …
Showing the 12 most recent of 22 on this concept.
- AP EAPCET 2026Set eng-2026-05-12-AN1 markMCQQ.A function f:R→R defined as f(x)=⎩⎨⎧∣x∣x,4x∣x∣,x∣x∣,x<−2−2≤x≤2x>2 is (A) Differentiable for all real x (B) Differentiable for all real x except for x=−2,0,2 (C) Continuous for all real x and differentiable for all real x except for x=−2,2 (D) Continuous for all real x except for x=0,−2,2 and differentiable at x=−2,0,2
›Reveal solutionSolution
The function is continuous everywhere (the pieces meet exactly at x=±2), but the slope jumps at x=±2 (constant slope 0 outside vs. slope ±1 from the middle piece) while it is smooth through x=0.
Concept and Intuition
Outside [−2,2] the function reduces to constants (x/∣x∣=∓1), while inside it is the smooth-looking x∣x∣/4, which is actually x2/4 for x≥0 and −x2/4 for x<0 — a function that is itself differentiable everywhere including at 0 (both one-sided derivatives are 0 there). The only risk of a kink is at the junctions x=±2 where the constant pieces meet the quadratic piece.
Step-by-Step Solution
- Continuity at x=−2: left piece value =−1 (constant); middle piece at x=−2: (−2)∣−2∣/4=(−2)(2)/4=−1. Equal — continuous.
- Continuity at x=2: middle piece at x=2: (2)(2)/4=1; right piece value =1. Equal — continuous. So f is continuous for all real x.
- Differentiability at x=0: for 0≤x≤2, f=x2/4, f′=x/2→0 as x→0+; for −2≤x≤0, f=−x2/4, f′=−x/2→0 as x→0−. Both one-sided derivatives are 0 — differentiable at x=0.
- Differentiability at x=−2: left piece (constant −1) has derivative 0; middle piece derivative at x=−2+ is −x/2=1. 0=1 — NOT differentiable. …
- AP EAPCET 2026Set eng-2026-05-14-FN1 markMCQQ.The set of all the points at which f(x)=∣2−∣x∣∣ is continuous but not differentiable is (A) {0,1,2} (B) {−1,0,2} (C) {−2,0,2} (D) {−2,1,2}
›Reveal solutionSolution
∣2−∣x∣∣ is continuous everywhere but fails to be differentiable exactly where an absolute value "folds" the graph — at x=0 and at x=±2 where 2−∣x∣=0.
Concept and Intuition
An absolute value ∣g(x)∣ is always continuous if g is continuous (composition with the continuous function ∣⋅∣). But it fails to be differentiable at any point where g itself is not differentiable, and additionally at any point where g(x)=0 with g′=0 there (because ∣g(x)∣ has a sharp corner/fold exactly where g crosses zero). We must check both sources of non-differentiability for f(x)=∣2−∣x∣∣.
Step-by-Step Solution
- Let g(x)=2−∣x∣. Then f(x)=∣g(x)∣.
- g(x) itself is not differentiable at x=0 because of the inner ∣x∣ (corner there), and g(0)=2=0, so near x=0, g(x)>0 and f(x)=g(x) — f inherits g's corner at x=0.
- g(x)=0 when ∣x∣=2, i.e. at x=2 and x=−2. Near these points g is differentiable (it's just 2−x or 2+x, linear pieces with nonzero slope ∓1), but since g changes sign there, f=∣g∣ has a "V"-shaped corner at each of x=2 and x=−2. …
- AP EAPCET 2026Set eng-2026-05-18-AN1 markMCQQ.If f(x)=∣x−2∣(34∣x∣−1) is a real valued function, then the set of points at which f is not differentiable, is (A) {0} (B) {2} (C) {0,2} (D) ∅
›Reveal solutionSolution
Both ∣x−2∣ and the ∣x∣ hidden inside the exponent create corners; check whether the other factor vanishes at each corner to see if it's smoothed away — here neither is, so both survive.
Concept and Intuition
∣g(x)∣-type expressions are non-differentiable exactly where g(x)=0 (a corner), unless multiplied by a factor that is itself zero there with enough smoothness to cancel the kink. Here there are two potential kink locations — x=2 from ∣x−2∣, and x=0 hidden inside 34∣x∣ — so each must be checked independently against the other factor.
Step-by-Step Solution
- At x=2: near x=2, f(x)=±(x−2)(34∣x∣−1), a corner from ∣x−2∣ times a smooth nonzero factor (34⋅2−1=38−1=0 at x=2). Computing one-sided derivatives: for x→2−, f′(2−)=−(38−1); for x→2+, f′(2+)=+(38−1). These differ, so f is not differentiable at 2.
- At x=0: here ∣x−2∣=2−x is smooth (equals 2 at x=0, nonzero). Expand 34∣x∣−1 near 0: for x>0, 34x−1≈4xln3; for x<0, 3−4x−1≈−4xln3=4∣x∣ln3. So 34∣x∣−1≈(4ln3)∣x∣ — itself a corner (like c∣x∣), not smoothed to a higher power. …
- AP EAPCET 2025Set eng-2025-05-21-FN1 markMCQQ.Match the functions in Column I with their properties in Column II. In the following [x] denotes the greatest integer less than or equal to x. Column I: A) x∣x∣ B) ∣x∣ C) x+[x] D) ∣x−1∣+∣x+1∣+∣x∣ Column II: I. Strictly increasing and continuous in (-1, 1) II. Continuous but not differentiable in (-1,1) III. Differentiable in (-1,1) IV. Differentiable in (−1,0)∪(0,1) V. Strictly increasing and not differentiable in (-1,1) The correct match is (A) A-III, B-V, C-II, D-I (B) A-II, B-III, C-I, D-V (C) A-I, B-II, C-V, D-IV (D) A-IV, B-I, C-V, D-III
›Reveal solutionSolution
A continuity/differentiability matching problem — reduce each function to its explicit form on (−1,1) and classify by monotonicity, continuity, and differentiability. Answer: A-I, B-II, C-V, D-IV.
Concept and Intuition
Differentiability ⇒ continuity, but not conversely. Kinks (unequal finite one-sided derivatives) and cusps (infinite one-sided derivatives) both break differentiability but keep continuity; jump discontinuities break both. Monotonicity is checked directly from the explicit piecewise form.
Step-by-Step Solution
- A) f(x)=x∣x∣. On x≥0: f=x2; on x<0: f=−x2. Both pieces meet smoothly at 0: f′(x)=2∣x∣, continuous, and f′(0)=0 (both one-sided derivatives are 0). So f is differentiable on all of (−1,1), continuous, and strictly increasing (since x1<x2⇒x1∣x1∣<x2∣x2∣ always). The description that uniquely fits it among the five (once the others are assigned) is I: strictly increasing and continuous.
- B) f(x)=∣x∣. Continuous at 0 (f(0)=0). Differentiability at 0: xf(x)−f(0)=x∣x∣; as x→0+ this is x1→+∞ — no finite derivative, a cusp. Also not monotonic on (−1,1) (falls on (−1,0), rises on (0,1)). So it is continuous but not differentiable → II.
- C) f(x)=x+[x]. On [−1,0): [x]=−1⇒f=x−1 (rising from near −2 to just below −1). At x=0: [0]=0⇒f=0 — a jump upward from the left-limit −1. On [0,1): [x]=0⇒f=x. Every piece is increasing and the jump itself is upward, so f is strictly increasing on the whole interval despite the discontinuity — and being discontinuous, it certainly is not differentiable. This matches V: strictly increasing and not differentiable. …
- AP EAPCET 2025Set eng-2025-05-22-FN1 markMCQQ.Assertion (A): If y=f(x)=(∣x∣−∣x−1∣)2, then (dxdy)x=1=1. Reason (R): If x→alimx−af(x)−f(a) exist, then it is called derivative of f(x) at x = a. Then (A) (A) is true, (R) is true, (R) is correct explanation to (A) (B) (A) is true, (R) is true, (R) is not the correct explanation to (A) (C) (A) is true, (R) is false (D) (A) is false, (R) is true
›Reveal solutionSolution
Splitting the modulus function on both sides of x=1 shows the left- and right-hand derivatives are 4 and 0 respectively — they disagree, so the derivative doesn't exist at x=1 (certainly not 1), making (A) false; (R) is the correct textbook definition, so it is true.
Concept and Intuition
A function built from absolute values changes its algebraic form at the points where the inner expressions vanish (here x=0 and x=1). To differentiate at a 'corner' point like x=1, you must examine the one-sided formulas separately — a derivative exists only if both one-sided derivatives agree.
Step-by-Step Solution
- In a neighbourhood of x=1, x>0, so ∣x∣=x throughout.
- For 0<x<1: ∣x−1∣=1−x, so y=(x−(1−x))2=(2x−1)2.
- For x>1: ∣x−1∣=x−1, so y=(x−(x−1))2=12=1 (a constant).
- Left-hand derivative at x=1: dxd(2x−1)2=4(2x−1), which at x=1 gives 4(1)=4.
- Right-hand derivative at x=1: the derivative of the constant 1 is 0.
- Since 4=0, y is not differentiable at x=1 — the assertion's claim that (dy/dx)x=1=1 is false. …
- AP EAPCET 2025Set eng-2025-05-22-FN1 markMCQQ.If y=∣cosx−sinx∣+∣tanx−cotx∣, then (dxdy)x=3π+(dxdy)x=6π= (A) 1 (B) −1 (C) 2 (D) 0
›Reveal solutionSolution
Removing the moduli using the correct sign of each expression near x=π/3 and x=π/6 gives two derivative expressions that are exact negatives of one another, so their sum is 0.
Concept and Intuition
With modulus terms, always check the sign of the inner expression at the point in question (and its neighbourhood) before differentiating — the derivative formula only applies to the branch that is actually active there.
Step-by-Step Solution
- At x=π/3: cosx=21, sinx=23, so cosx−sinx=21−3<0⇒∣cosx−sinx∣=sinx−cosx. Also tanx=3, cotx=31, so tanx−cotx=32>0⇒∣tanx−cotx∣=tanx−cotx.
- So near x=π/3: y=(sinx−cosx)+(tanx−cotx), and dxdy=(cosx+sinx)+(sec2x+csc2x) (using dxd(−cotx)=csc2x).
- At x=π/6: cosx=23, sinx=21, so cosx−sinx>0⇒∣cosx−sinx∣=cosx−sinx. Also tanx=31, cotx=3, so tanx−cotx<0⇒∣tanx−cotx∣=cotx−tanx.
- So near x=π/6: y=(cosx−sinx)+(cotx−tanx), and dxdy=−(sinx+cosx)−(sec2x+csc2x). …
- AP EAPCET 2025Set eng-2025-05-26-FN1 markMCQQ.If f(x)=2+∣sin−1x∣ and A={x∈R∣f′(x) exists}, then A= (A) {0} (B) [−1,1] (C) (−∞,−1)∪(1,∞) (D) (−1,0)∪(0,1)
›Reveal solutionSolution
f(x)=2+∣sin−1x∣ fails to be differentiable at x=0 (a corner from the absolute value) and at x=±1 (vertical tangent of sin−1x); it's differentiable everywhere else in its domain.
Concept and Intuition
An absolute value ∣g(x)∣ is non-differentiable wherever g(x)=0 and g changes sign there (a corner point), unless g′ also vanishes there smoothly. Also, sin−1x itself is only defined on [−1,1] and has an infinite (vertical) derivative at the endpoints, so no extension of it can be differentiable there.
Step-by-Step Solution
- The domain of f is the domain of sin−1x, namely [−1,1].
- On (0,1], sin−1x>0, so f(x)=2+sin−1x, and f′(x)=1−x21 — defined for x∈(0,1) but →∞ as x→1−.
- On [−1,0), sin−1x<0, so f(x)=2−sin−1x, and f′(x)=−1−x21 — defined for x∈(−1,0) but →−∞ as x→−1+.
- At x=0: left derivative =−1−01=−1, right derivative =1−01=1. These disagree, so f′(0) does not exist (a corner, exactly like ∣x∣). …
- AP EAPCET 2025Set eng-2025-05-27-FN1 markMCQQ.The domain of the derivative of the function f(x)=1+∣x∣x is (A) [0,∞) (B) (−∞,0) (C) (−∞,∞) (D) (0,∞)
›Reveal solutionSolution
f(x)=x/(1+∣x∣) is smooth on each side of 0, and the one-sided derivatives at 0 actually agree, so it is differentiable everywhere. Answer: domain of f′ is R.
Concept and Intuition
Functions involving ∣x∣ are often not differentiable at x=0 (like ∣x∣ itself), so the natural first suspicion is that the derivative fails to exist there. But here the two branches of f are constructed so that they meet not just in value but in slope at x=0 — the modulus is "softened" by the 1+∣x∣ denominator, so this particular function turns out to be differentiable at every point.
Step-by-Step Solution
- For x≥0: f(x)=1+xx. Quotient rule: f′(x)=(1+x)2(1+x)(1)−x(1)=(1+x)21.
- For x<0: f(x)=1−xx. Quotient rule: f′(x)=(1−x)2(1−x)(1)−x(−1)=(1−x)21−x+x=(1−x)21.
- Check differentiability at x=0: right-hand derivative =(1+0)21=1; left-hand derivative =(1−0)21=1. They match, so f′(0)=1 exists. …
- AP EAPCET 2024Set eng-2024-05-20-FN1 markMCQQ.For x<0,dxd[∣x∣x]= (A) (−x)x[−1+log(−x)] (B) (−x)x[1+log(−x)] (C) (−x)x[1−log(−x)] (D) (−x)x[−1−log(−x)]
›Reveal solutionSolution
This is logarithmic differentiation of a variable-base, variable-exponent function; for x<0 the base becomes −x>0 so it's well defined.
Concept and Intuition
Whenever the base and the exponent both depend on x (as in f(x)g(x)), take logarithms first to turn the power into a product, then differentiate implicitly. Here for x<0, ∣x∣=−x is positive, so ∣x∣x=(−x)x is a genuine positive real number and logarithmic differentiation applies cleanly.
Step-by-Step Solution
- Let y=(−x)x for x<0. Take natural log: logy=xlog(−x).
- Differentiate both sides with respect to x: yy′=dxd[xlog(−x)].
- By product rule: dxd[xlog(−x)]=log(−x)+x⋅dxdlog(−x).
- dxdlog(−x)=−x1⋅(−1)=x1, so x⋅x1=1. …
- AP EAPCET 2024Set eng-2024-05-20-AN1 markMCQQ.In the interval [0,3], the function f(x)=∣x−1∣+∣x−2∣ is (A) Discontinuous (B) differentiable (C) Continuous but not differentiable at x=2 only (D) Continuous but not differentiable at x=1 and x=2
›Reveal solutionSolution
∣x−1∣+∣x−2∣ is continuous everywhere but has corners at the two points where the absolute values "switch," x=1 and x=2 — (D).
Concept and Intuition
∣x−a∣ is continuous everywhere (as a composition of continuous functions) but fails to be differentiable exactly at x=a, where its graph has a sharp corner (the left and right slopes are −1 and +1, which don't match). A sum of such functions is continuous everywhere (sum of continuous functions) and non-differentiable at each individual corner point (unless the kinks happen to cancel, which they don't here).
Step-by-Step Solution
- Break [0,3] into three pieces based on where x−1 and x−2 change sign: [0,1), [1,2), [2,3].
- On [0,1): x−1<0,x−2<0, so f(x)=(1−x)+(2−x)=3−2x.
- On (1,2): x−1>0,x−2<0, so f(x)=(x−1)+(2−x)=1 (constant!).
- On (2,3]: both positive, f(x)=(x−1)+(x−2)=2x−3.
- All three pieces match up in value at the junctions (f(1)=1 from both sides, f(2)=1 from both sides), so f is continuous throughout. …
- AP EAPCET 2024Set eng-2024-05-22-FN1 markMCQQ.The function f(x)=∣x−24∣ is (A) Differentiable on [0,25] (B) not continuous at x=24 (C) neither continuous nor differentiable on [0,25] (D) Continuous on [0,25], but not differentiable on [0,25]
›Reveal solutionSolution
The absolute value function is always continuous, but fails to be differentiable exactly at its "kink" — here x=24, which lies inside the given interval.
Concept and Intuition
∣x−a∣ equals −(x−a) for x<a and (x−a) for x>a; both pieces are continuous and their values agree at x=a, so the whole function is continuous. But the left derivative there is −1 and the right derivative is +1 — they disagree, so the function is not differentiable at x=a.
Step-by-Step Solution
- f(x)=∣x−24∣ is a composition of continuous functions, hence continuous for all real x, in particular on [0,25].
- Check differentiability at x=24 (which lies in [0,25]): left derivative =limh→0−h∣24+h−24∣−0=limh→0−h∣h∣=−1.
- Right derivative =limh→0+h∣h∣=1.
- Since −1=1, f is not differentiable at x=24. …
- AP EAPCET 2023Set eng-2023-05-15-AN1 markMCQQ.If f(x)=∣x−5∣+∣x+5∣+∣x−4∣+∣x+4∣, then f′(−1)+f′(6)f′(1)−f′(−6)= (A) 1 (B) 0 (C) 4/5 (D) 3/2
›Reveal solutionSolution
Each ∣x−a∣ contributes ±1 to f′(x) depending on the sign of x−a; plugging in the four given x-values and simplifying gives the ratio 1.
Concept and Intuition
The derivative of ∣x−a∣ is +1 for x>a and −1 for x<a (undefined only exactly at x=a). So f′(x) for a sum of such terms is just the sum of these signs, evaluated at points away from the corners x=±4,±5.
Step-by-Step Solution
- f(x)=∣x−5∣+∣x+5∣+∣x−4∣+∣x+4∣, so f′(x)=sgn(x−5)+sgn(x+5)+sgn(x−4)+sgn(x+4).
- At x=1: signs of (1−5,1+5,1−4,1+4)=(−,+,−,+)⇒f′(1)=−1+1−1+1=0.
- At x=−6: signs of (−11,−1,−10,−2) all negative ⇒f′(−6)=−1−1−1−1=−4.
- At x=−1: signs of (−6,4,−5,3)=(−,+,−,+)⇒f′(−1)=−1+1−1+1=0. …
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.