Q.The function f(x)=e∣x∣ is
(A) continuous everywhere but not differentiable at x=0
(B) continuous and differentiable everywhere
(C) not continuous at x=0
(D) none of these
🔒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 …
The key idea is that ∣x∣ has a sharp corner at x=0, making it non-differentiable there, but the exponential function is smooth and preserves continuity.
-
Continuity: ∣x∣ is continuous everywhere, and et is continuous for all real t. The composition e∣x∣ is therefore continuous everywhere, including at x=0.
-
Differentiability at x=0: Check the left and right derivatives.
For x>0, f(x)=ex, so f′(x)=ex and f′(0+)=1.
For x<0, f(x)=e−x, so f′(x)=−e−x and f′(0−)=−1. …
The absolute value in the exponent creates a sharp corner at x=0: e∣x∣ is continuous everywhere (composition of continuous functions), but its left and right derivatives at 0 differ (−1 vs +1), so it is not differentiable at x=0. The correct option is (A).
The key to this problem is understanding how the absolute value function behaves inside another function. ∣x∣ is continuous everywhere but has a corner at x=0 — its derivative jumps from −1 to +1. When you wrap that inside eu, which is smooth and strictly increasing, the corner is preserved: the exponential stretches the values but does not smooth out the kink.
Let’s walk through the reasoning step by step.
-
Check continuity at x=0.
The function f(x)=e∣x∣ is a composition of ∣x∣ (continuous everywhere) and eu (continuous everywhere). A composition of continuous functions is continuous.
At x=0, we have f(0)=e0=1. The left-hand limit: limx→0−e∣x∣=e0=1. The right-hand limit: limx→0+e∣x∣=e0=1. All three match, so f is continuous at 0.
NoteContinuity is never the issue here — the absolute value function is continuous, and exponentiating preserves that.
-
Now test differentiability at x=0.
Differentiability requires that the left-hand derivative equals the right-hand derivative. For x<0, ∣x∣=−x, so f(x)=e−x. For x>0, ∣x∣=x, so f(x)=ex.
Compute the left-hand derivative at 0:
f−′(0)=limh→0−hf(0+h)−f(0)=limh→0−he−h−1.
Using the standard limit limt→0tet−1=1, with t=−h, we get:
f−′(0)=limh→0−he−h−1=limh→0−−he−h−1⋅(−1)=1⋅(−1)=−1.
Compute the right-hand derivative at 0:
f+′(0)=limh→0+heh−1=1.
Since f−′(0)=−1=1=f+′(0), the derivative does not exist at x=0. …
Method: Continuity and Differentiability of g(∣x∣) at x=0
Use this whenever a smooth function g is applied to ∣x∣, creating a possible corner at the origin.
Steps
Step 1: Establish continuity first, separately from differentiability.
∣x∣ is continuous everywhere, and if g is continuous everywhere (like g(u)=eu), the composition g(∣x∣) is continuous everywhere too — composition of continuous functions is continuous. This step usually settles quickly and rules out any 'discontinuous' option.
Step 2: Split into two smooth pieces using ∣x∣=x for x>0 and ∣x∣=−x for x<0.
f(x)={g(x),g(−x),x>0x<0
Step 3: Differentiate each piece using the chain rule, then take the limit of each formula as x→0 from its own side. …
Common Mistakes
Mistake 1: Differentiating e∣x∣ using the single formula e∣x∣⋅∣x∣x and then substituting x=0 directly.
Why it's wrong: ∣x∣x itself is undefined at x=0 (it jumps between −1 and +1), so plugging in x=0 gives a meaningless or misleading result instead of revealing the actual one-sided behaviour.
Correct approach: split into the two smooth pieces ex (for x>0) and e−x (for x<0), and evaluate the left-hand and right-hand derivatives separately using the limit definition at x=0.
Mistake 2: Assuming that because e∣x∣ is continuous everywhere, it must also be differentiable everywhere. …
Showing the 12 most recent of 22 on this concept.
- AP EAPCET 2022Set eng-2022-07-07-AN1 markMCQQ.Assertion (A): f(x)=∣x∣ is differentiable at x=a=0 and continuous but not differentiable at x=0 Reason (R): If a function is differentiable at a point then it is continuous at that point. But converse is not true. (A) A is correct, R is correct, R is correct explanation of A (B) A is correct, R is correct, but R is not correct explanation of A (C) A is correct, R is false. (D) A is false, R is correct.
›Reveal solutionSolution
Both the assertion and reason are individually true standard facts about ∣x∣ and about differentiability vs. continuity, and R does explain why A is true. Answer: (A).
Concept and Intuition
f(x)=∣x∣ has slope −1 for x<0 and slope +1 for x>0 — these are unequal, so the two one-sided derivatives at x=0 never match, and f isn't differentiable there, even though f is perfectly continuous at x=0 (no jump or break). This is the textbook example showing that continuity is a necessary but not sufficient condition for differentiability — which is exactly what Reason (R) states in general.
Step-by-Step Solution
- Verify Assertion (A): for a=0, ∣x∣ equals either x or −x in a neighbourhood of a, both of which are differentiable, so f′(a) exists. At x=0: left derivative =−1, right derivative =+1; unequal, so not differentiable, but limx→0∣x∣=0=f(0), so it is continuous. A is TRUE.
- Verify Reason (R): this is the standard theorem "differentiable ⇒ continuous", and ∣x∣ at 0 is the classic counterexample to the converse. R is TRUE and is a general statement. …
- AP EAPCET 2022Set eng-2022-07-07-FN1 markMCQQ.Which of the following is differentiable at x = 0 ? (A) f(x)=cos∣x∣+∣x∣ (B) f(x)=sin∣x∣+∣x∣ (C) f(x)=cos∣x∣−∣x∣ (D) f(x)=sin∣x∣−∣x∣
›Reveal solutionSolution
Writing each function separately for x>0 and x<0 and comparing the one-sided derivatives at 0, only f(x)=sin∣x∣−∣x∣ has equal left- and right-hand derivatives (both 0), making it the only one differentiable at x=0.
Concept and Intuition
A function built from ∣x∣ typically has a "kink" at x=0 because dxd∣x∣ jumps from −1 to +1. But if the other piece of the function also contributes a matching jump that exactly cancels this discontinuity in slope, the combination can become smooth at 0 even though ∣x∣ alone is not differentiable there. Since cos∣x∣≡cosx (cosine is even), only ∣x∣'s own kink matters in options (A) and (C). Since sin∣x∣ is itself non-smooth at 0 (behaving like ∣x∣ for options B and D), we must check each combination directly.
Step-by-Step Solution
- (A) f=cos∣x∣+∣x∣=cosx+∣x∣. Right derivative at 0: −sin(0)+1=1. Left derivative: −sin(0)−1=−1. Not equal — not differentiable.
- (B) f=sin∣x∣+∣x∣. For x>0: f=sinx+x,f′=cosx+1→2. For x<0: ∣x∣=−x,sin∣x∣=sin(−x)=−sinx, so f=−sinx−x,f′=−cosx−1→−2. Not equal.
- (C) f=cos∣x∣−∣x∣=cosx−∣x∣. Right derivative: −sin(0)−1=−1. Left derivative: −sin(0)+1=1. Not equal. …
- 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 2021Set eng-2021-08-25-AN1 markMCQQ.The set of all points where the function f(x)=2x∣x∣ is differentiable is ________ (A) (−∞,∞) (B) (−∞,0)∪(0,∞) (C) (0,∞) (D) [0,∞)
›Reveal solutionSolution
f(x)=2x∣x∣ is a smoothly-joined piecewise quadratic; it is differentiable at every real number, including x=0. Answer: all of R.
Concept and Intuition
Functions built from ∣x∣ often fail to be differentiable at 0 (like ∣x∣ itself), but multiplying by an extra factor of x can "soften" the corner into a genuine smooth point — that's exactly what happens here.
Step-by-Step Solution
- Write f(x)=2x∣x∣={2x2,−2x2,x≥0x<0.
- For x>0: f′(x)=4x. For x<0: f′(x)=−4x.
- Check differentiability at x=0 directly from the definition: f′(0)=limh→0hf(h)−f(0)=limh→0h2h∣h∣=limh→02∣h∣=0. …
- 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 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 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 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 2022Set eng-2022-07-06-AN1 markMCQQ.Let f(x)={∣x∣,∣2x−4∣,−∞<x<22≤x≤20. x=a is a point where f(x) is continuous but not differentiable and x=b is a point where f(x) is not differentiable (a=b). Then a+b= (A) 1 (B) 2 (C) -2 (D) 0
›Reveal solutionSolution
The piecewise function has exactly one genuine "corner" (continuous but non-differentiable) at x=0 from the ∣x∣ piece, and a jump discontinuity (hence non-differentiable) at the junction x=2; their sum is 2.
Concept and Intuition
A function can fail to be differentiable at a point either because it has a sharp corner while still being continuous there (like ∣x∣ at 0), or because it's outright discontinuous there (any jump automatically kills differentiability too, but that's a stronger failure). This problem asks us to identify one of each type.
Step-by-Step Solution
- For −∞<x<2: f(x)=∣x∣. This has its classic corner at x=0 — continuous there (f(0)=0 from both sides) but the left and right derivatives are −1 and +1, unequal, so not differentiable. This is our point a=0.
- Check continuity at the junction x=2: from the left, using the first piece, limx→2−∣x∣=2. From the definition at x=2 (second piece applies since 2≤x≤20): f(2)=∣2(2)−4∣=∣0∣=0.
- Since 2=0, f has a jump discontinuity at x=2 — so f is not differentiable there (discontinuity is a stronger failure than a mere corner). This is our point b=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 2023Set eng-2023-05-17-AN1 markMCQQ.If α∈R−{−1} and f(x)=(∣x∣+α)(∣x∣−1), then the number of points at which f(x) is not differentiable, is (A) 3, when α<0 (B) 5, when α>0 (C) 4, when α>0 (D) 5, when α<0
›Reveal solutionSolution
Writing f as ∣x2+(α−1)∣x∣−α∣ and counting its zero-crossings plus the origin kink shows f fails to be differentiable at exactly 5 points whenever α<0 (and only 3 points when α>0).
Concept and Intuition
f(x)=∣(∣x∣+α)(∣x∣−1)∣ is built by composing an absolute value of x (kink at x=0 unless its coefficient vanishes) with another outer absolute value (kinks wherever the inner expression crosses zero with nonzero slope). We must count both kinds of kink.
Step-by-Step Solution
- Expand: (∣x∣+α)(∣x∣−1)=∣x∣2+(α−1)∣x∣−α=x2+(α−1)∣x∣−α=g(x).
- Substituting u=∣x∣≥0: g=u2+(α−1)u−α. Its discriminant is (α−1)2+4α=(α+1)2, so roots are u=2(1−α)±∣α+1∣, giving u=1 and u=−α.
- u=1 is always a valid root (x=±1). u=−α is valid (i.e. ≥0) only when α≤0.
- For α<0: both roots valid, distinct from each other and from 0 (since α=0,−1), giving zero-crossings at x=1,−1,α,−α — four points. Checking g′ at each (using g′(x)=2x±(α−1) on the two branches) shows the slope is nonzero there in all cases, so each is a genuine corner of ∣g∣. …
🎓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.