Q.Examine the differentiability of f, where f is defined by f(x)={1+x,5−x,x≤2x>2 at x=2.
🔒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 — Continuity Differentiability Relationship
How Continuity and Differentiability Are Related
Two properties describe how "well-behaved" a function is at a point. Continuity means the graph has no break there — you can draw through the point without lifting your pen. Differentiability means the graph is smooth there — it has one definite tangent line, so a well-defined slope f′(a). This concept is about the exact link between the two.
The theorem: If f is differentiable at x=a, then f is continuous at x=a.
Why differentiability forces continuity
If f′(a) exists, then
limx→a(f(x)−f(a))=limx→ax−af(x)−f(a)⋅(x−a)=f′(a)⋅0=0.
So limx→af(x)=f(a), which is exactly continuity at a. A curve that has a tangent cannot also have a jump — a break would send the difference quotient to infinity and the derivative would not exist.
The converse is FALSE
Continuity does not guarantee differentiability. A graph can be unbroken yet still have a sharp corner, and a corner has no single tangent.
The classic counterexample is f(x)=∣x∣ at x=0. It is continuous there (limx→0∣x∣=0=f(0)), but the slope from the left is −1 and from the right is +1. Since these disagree, f′(0) does not exist.
Putting it together
- Differentiable at a ⇒ continuous at a.
- Continuous at a ⇒ differentiable at a.
- Not continuous at a ⇒ not differentiable at a (the contrapositive of the theorem). …
Concept: Continuity Differentiability Relationship — a piecewise-linear function is continuous where its pieces meet in value, but is only differentiable there if the slopes on both sides also match.
Step 1 — Continuity: limx→2−f(x)=3, limx→2+f(x)=3, f(2)=3 — so f is continuous at x=2.
Step 2 — Left-hand derivative: the piece 1+x has slope 1, so f−′(2)=1. …
f is continuous at x=2 (both sides give 3), but the left-hand derivative (1) and right-hand derivative (−1) disagree, so f is not differentiable at x=2 — a corner point.
Why This Is a Corner
f is piecewise linear: slope 1 on x≤2, slope −1 on x>2. Two different slopes meeting at a point always produce a corner, and a corner has no single tangent. Let's verify this formally.
Step 1 — Continuity at x=2
limx→2−f(x)=1+2=3,limx→2+f(x)=5−2=3,f(2)=1+2=3.
All three agree, so f is continuous at x=2 — differentiability is still on the table.
Step 2 — Left-hand derivative
For h<0, 2+h≤2 uses f(2+h)=1+(2+h)=3+h:
f−′(2)=limh→0−h(3+h)−3=1.
Step 3 — Right-hand derivative
For h>0, 2+h>2 uses f(2+h)=5−(2+h)=3−h: …
Method: Checking Differentiability at a Corner of a Piecewise Linear Function
This method applies to piecewise functions made of two (or more) linear pieces meeting at a junction point, where you must determine whether the graph has a smooth tangent or a sharp corner there.
Steps
Step 1: Confirm continuity at the junction first
Compute the left-hand limit, right-hand limit, and the function's value at the junction; if all three agree, the function is continuous there, and differentiability remains a genuine possibility (though not yet guaranteed).
Step 2: Read off the slope of each linear piece
For a linear piece f(x)=mx+c, the derivative is simply the constant slope m — no limit computation is strictly needed once the piece is recognised as linear, since f−′(a) equals the left piece's slope and f+′(a) equals the right piece's slope.
Step 3: Formally confirm using the definition, if required …
Common Mistakes
Mistake 1: Assuming continuity at the junction guarantees differentiability
Why it's wrong: many students verify the function is continuous at the point and stop there, treating that as sufficient proof of differentiability — but continuity only rules out a jump; it says nothing about whether the slopes on either side match. Correct approach: always compute and compare both one-sided derivatives separately, even after continuity has already been confirmed.
Mistake 2: Confusing the linear-piece slope shortcut with the general limit definition …
- TG EAPCET 2026Set eng-2026-05-09-FN1 markMCQQ.f(x) is an nth degree polynomial and a1,a2,...,an are distinct n zeros of f(x). g(x) is a polynomial having three zeros common with the zeros of f(x). Assertion (A) : ∣f(x)∣g(x)∣ is continuous and differentiable at all ai's. Reason (R) : limx→ax−a∣x−a∣ does not exist and limx→a∣x−a∣=0 The correct answer is (A) Both (A) and (R) are correct, (R) is the correct explanation of (A) (B) Both (A) and (R) are correct, (R) is not the correct explanation of (A) (C) (A) is correct, but (R) is not correct (D) (A) is not correct, but (R) is correct
›Reveal solutionSolution
The key idea is that the product ∣f(x)∣g(x) is continuous everywhere but not differentiable at the zeros of f unless g also vanishes there to "smooth out" the absolute value. Since g shares only three zeros with f, the product fails differentiability at the other n−3 zeros, making Assertion (A) false. Reason (R) is a true statement about limits, but it does not explain (A) because (A) is false. The correct option is (D).
We need to analyze the behavior of the function h(x)=∣f(x)∣g(x) at the zeros a1,a2,…,an of f. The question tests two things: continuity and differentiability of a product involving an absolute value, and the logical connection between the assertion and the reason.
Concept and intuition:
The absolute value function ∣x−a∣ is continuous everywhere but not differentiable at x=a (its graph has a sharp corner). Multiplying by another function can sometimes "fix" differentiability if that function also vanishes at a — because then the corner gets flattened. Here f(x) vanishes at all ai, so ∣f(x)∣ has corners at each ai. The factor g(x) may or may not vanish at those points. If g(ai)=0, the corner remains; if g(ai)=0, the product might become differentiable. Since g shares only three zeros with f, at the other n−3 zeros g is nonzero, so h is not differentiable there. Hence Assertion (A) is false.
Now let’s go step by step.
-
Continuity of h(x)=∣f(x)∣g(x) at any ai
Since f(ai)=0, we have ∣f(ai)∣=0, so h(ai)=0.
As x→ai, ∣f(x)∣→0 because f is continuous. Multiplying by g(x) (which is finite) gives h(x)→0.
Thus limx→aih(x)=h(ai), so h is continuous at every ai.
So far, the continuity part of Assertion (A) is true.
-
Differentiability of h at a zero ai
Differentiability requires the limit of the difference quotient to exist:
limx→aix−aih(x)−h(ai)=limx→aix−ai∣f(x)∣g(x).
Near ai, f(x)≈f′(ai)(x−ai) (since f(ai)=0 and f is a polynomial). So ∣f(x)∣≈∣f′(ai)∣∣x−ai∣.
Hence the difference quotient behaves like
x−ai∣f′(ai)∣∣x−ai∣g(x)=∣f′(ai)∣g(x)x−ai∣x−ai∣.
The factor x−ai∣x−ai∣ equals 1 for x>ai and −1 for x<ai.
Therefore, as x→ai, the limit exists if and only if g(ai)=0. Why? Because if g(ai)=0, the left-hand and right-hand limits are ∣f′(ai)∣g(ai) and −∣f′(ai)∣g(ai), which are different (nonzero). If g(ai)=0, then the product g(x)x−ai∣x−ai∣ might still have a limit if g vanishes to at least first order — but here g is a polynomial, so if g(ai)=0, then g(x)≈g′(ai)(x−ai), and the difference quotient becomes ∣f′(ai)∣g′(ai)∣x−ai∣, which tends to 0 from both sides. So differentiability holds exactly at those ai where g also vanishes.
- Apply to the given situation …
-
- TG EAPCET 2026Set eng-2026-05-11-FN1 markMCQQ.If a function f(x)=⎩⎨⎧∣x∣ax2+bwhen x≤−1 or x≥1when −1<x<1 is differentiable on R, then a+b= (A) 3 (B) −2 (C) −5 (D) 2
›Reveal solutionSolution
For a piecewise function to be differentiable on R, it must be both continuous and have matching derivatives at every boundary point. Matching values and slopes at x=−1 and x=1 gives a=−2 and b=3, so a+b=1.
The key idea is that differentiability on the whole real line forces two conditions at each point where the definition changes: the function must be continuous there (no jumps), and the left-hand and right-hand derivatives must be equal. Here the boundaries are x=−1 and x=1. The function is already smooth on each separate piece — the only possible trouble is at these two join points.
Let’s work through it systematically.
-
Write the pieces clearly.
For x≤−1 or x≥1, f(x)=∣x∣a.
Since ∣x∣=−x when x≤−1 (negative), and ∣x∣=x when x≥1 (positive), we can rewrite:
- For x≤−1: f(x)=−xa=−xa.
- For x≥1: f(x)=xa. For −1<x<1, f(x)=x2+b.
-
Continuity at x=1.
The left-hand limit (from inside (−1,1)) is limx→1−(x2+b)=1+b.
The right-hand limit (from x≥1) is limx→1+xa=a.
For continuity, these must be equal:
1+b=a.(1)
- Differentiability at x=1. The left-hand derivative: for x<1, f′(x)=2x, so at x=1− it is 2. The right-hand derivative: for x>1, f′(x)=−x2a, so at x=1+ it is −a. For differentiability, these must match:
2=−a⇒a=−2.
- Continuity at x=−1. The left-hand limit (from x≤−1) is limx→−1−(−xa)=−−1a=a. The right-hand limit (from inside (−1,1)) is limx→−1+(x2+b)=1+b. Continuity gives: a=1+b.(2) …
-
- TG EAPCET 2025Set eng-2025-05-02-AN1 markMCQQ.If the function g(x)={Kx+1,mx+2,0≤x≤33<x≤5 is differentiable, then K+m= (A) 4 (B) 2 (C) 6 (D) 0
›Reveal solutionSolution
For a piecewise function to be differentiable at the join point, it must be both continuous and have matching derivatives there. Solving those two conditions gives K=4 and m=2, so K+m=6.
We have a function defined by two different rules on either side of x=3. For it to be differentiable at that point, it must first be continuous there (no jump), and the slopes from left and right must agree. That gives us two equations in the unknowns K and m.
- Continuity at x=3 The left-hand limit as x→3− uses Kx+1:
limx→3−g(x)=K3+1=K4=2K.
The right-hand limit as x→3+ uses mx+2:
limx→3+g(x)=m(3)+2=3m+2.
For continuity, these must be equal:
2K=3m+2.(1)
- Differentiability at x=3 The derivative from the left: for 0≤x≤3, g(x)=Kx+1.
g′(x)=K⋅2x+11⇒g′(3−)=24K=4K.
The derivative from the right: for 3<x≤5, g(x)=mx+2.
g′(x)=m⇒g′(3+)=m.
For differentiability, these must match:
4K=m.(2)
- Solve the system Substitute m=4K from (2) into (1):
2K=3(4K)+2⇒2K=43K+2.
Multiply through by 4:
8K=3K+8⇒5K=8⇒K=58.… - TG EAPCET 2025Set eng-2025-05-03-AN1 markMCQQ.If the real valued function f(x)=⎩⎨⎧xsinxcos3x−cosxpxlog(1+qsinx)if x<0if x=0if x>0 is continuous at x=0 then p+q= (A) 4 (B) −4 (C) 8 (D) −8
›Reveal solutionSolution
For continuity at x=0, the left-hand limit, right-hand limit, and f(0)=p must all be equal. Evaluating the limits gives p=−4 and q=−4, so p+q=−8, which corresponds to option (D).
The key idea is that a function is continuous at a point if the value of the function at that point equals the limit from both sides. Here, the function is defined piecewise, so we must compute the left-hand limit (as x→0−), the right-hand limit (as x→0+), and set them equal to p=f(0). This yields equations for p and q, and then we sum them.
- Left-hand limit (x→0−) For x<0, f(x)=xsinxcos3x−cosx. Use the identity cosA−cosB=−2sin(2A+B)sin(2A−B):
cos3x−cosx=−2sin(23x+x)sin(23x−x)=−2sin(2x)sin(x).
So the expression becomes:
xsinx−2sin(2x)sinx=x−2sin(2x),for x=0.
Now use sin(2x)∼2x as x→0:
limx→0−x−2⋅2x=−4.
Thus the left-hand limit is −4.
- Right-hand limit (x→0+) For x>0, f(x)=xlog(1+qsinx). As x→0, sinx∼x, so qsinx→0. Use the standard limit log(1+u)∼u for u→0:
log(1+qsinx)∼qsinx∼qx.
Hence:
limx→0+xlog(1+qsinx)=limx→0+xqx=q.
So the right-hand limit is q.
- Continuity condition …
- TG EAPCET 2025Set eng-2025-05-04-AN1 markMCQQ.The set of all values of x for which f(x)=∣∣x∣−1∣ is differentiable is (A) {−1,1} (B) R−{−1,1,0} (C) R (D) (0,∞)
›Reveal solutionSolution
The function f(x)=∣x∣−1 is differentiable everywhere except at the points where its graph has a corner: x=−1,0,1. Thus the set of differentiable points is R∖{−1,0,1}, which corresponds to option (B).
Concept and Intuition
The function involves two nested absolute values. Each absolute value creates a potential "corner" (a cusp or a sharp turn) where the derivative does not exist. The outer absolute value acts on ∣x∣−1, so we need to find where the inner expression changes sign and where the outer expression changes sign. The key is to break the domain into intervals where the expressions inside the absolute values have constant sign, then check differentiability at the boundaries.
Step-by-step reasoning
- Rewrite the function piecewise Start with the inner absolute value:
∣x∣={x,−x,x≥0,x<0.
Then f(x)=∣x∣−1 becomes:
- For x≥0: f(x)=∣x−1∣.
- For x<0: f(x)=∣−x−1∣=∣−(x+1)∣=∣x+1∣.
- Further break each piece
- On x≥0, ∣x−1∣ has a corner at x=1:
∣x−1∣={x−1,1−x,x≥1,0≤x<1.
- On x<0, ∣x+1∣ has a corner at x=−1:
∣x+1∣={x+1,−x−1,x≥−1 (but here x<0, so −1≤x<0),x<−1.
- Combine into a full piecewise definition
f(x)=⎩⎨⎧−x−1,x+1,1−x,x−1,x<−1,−1≤x<0,0≤x<1,x≥1.
- Check differentiability at the transition points
- At x=−1: Left derivative: for x<−1, f′(x)=−1. Right derivative: for −1<x<0, f′(x)=1. Since −1=1, the derivative does not exist at x=−1.
- At x=0: Left derivative: for −1<x<0, f′(x)=1. Right derivative: for 0<x<1, f′(x)=−1. Since 1=−1, the derivative does not exist at x=0. …
- TG EAPCET 2025Set eng-2025-05-04-FN1 markMCQQ.The set of all values of x for which f(x)=∣∣x∣−1∣ is differentiable is (A) R (B) R−{−1,1,0} (C) (0,∞) (D) {−1,1}
›Reveal solutionSolution
The function f(x)=∣∣x∣−1∣ is non-differentiable at points where the inner absolute value or the outer absolute value has a corner — these occur at x=−1,0,1. So the set of all x where it is differentiable is R−{−1,0,1}, which corresponds to option (B).
The key idea: absolute value functions create sharp corners (cusps) where their argument is zero. For f(x)=∣∣x∣−1∣, there are two layers of absolute values. The inner layer ∣x∣ has a corner at x=0. The outer layer ∣⋅−1∣ has a corner wherever its argument ∣x∣−1 equals zero — that is, when ∣x∣=1, so at x=1 and x=−1. At each of these three points, the function changes slope abruptly, so it is not differentiable there. Everywhere else, the function is a straight line (or a combination of straight-line pieces), hence differentiable.
Let’s walk through it step by step.
-
Break the function into pieces.
Start from the inside: ∣x∣ is x for x≥0 and −x for x<0.
So f(x)=∣∣x∣−1∣ becomes:
- For x≥0: f(x)=∣x−1∣.
- For x<0: f(x)=∣−x−1∣=∣−(x+1)∣=∣x+1∣ (since absolute value removes the minus sign).
-
Now break each piece further at the points where the inner expression changes sign.
- For x≥0: ∣x−1∣ is 1−x when 0≤x≤1, and x−1 when x≥1.
- For x<0: ∣x+1∣ is −(x+1) when x≤−1 (since x+1≤0 there), and x+1 when −1≤x<0.
So the full piecewise definition is:
f(x)=⎩⎨⎧−(x+1),x+1,1−x,x−1,x≤−1−1≤x<00≤x≤1x≥1
- Check differentiability at the boundary points.
A function is differentiable at a point if the left-hand derivative equals the right-hand derivative there. Let’s test each candidate:
- At x=−1: Left side (x→−1−): derivative of −(x+1) is −1. Right side (x→−1+): derivative of x+1 is +1. They differ, so not differentiable at x=−1.
- At x=0: Left side (x→0−): derivative of x+1 is +1. Right side (x→0+): derivative of 1−x is −1. They differ, so not differentiable at x=0.
- At x=1: Left side (x→1−): derivative of 1−x is −1. …
-
- TG EAPCET 2024Set eng-2024-05-09-FN1 markMCQQ.If f(x)=⎩⎨⎧x38−6x,x−1x−1,if 0<x≤1if x>1 is a real valued function, then at x=1, f is (A) continuous and differentiable (B) continuous but not differentiable (C) neither continuous nor differentiable (D) differentiable but not continuous
›Reveal solutionSolution
f(1)=2 but limx→1+f(x)=0, so f is discontinuous at x=1; discontinuity automatically rules out differentiability.
Concept. At a point where a piecewise function switches branches, check continuity first: f is continuous at x=1 iff limx→1−f(x)=f(1)=limx→1+f(x). Differentiability at a point requires continuity there, so a discontinuous function is automatically non-differentiable.
Step 1 — value and left limit. For 0<x≤1, f(x)=x38−6x. So
f(1)=8−6=2,limx→1−f(x)=2.
Step 2 — right limit. For x>1,
f(x)=x−1x−1=x−1x→1+0. …
- TG EAPCET 2021Set eng-2021-08-04-FN1 markMCQQ.Consider the following statements.a) If a function is differentiable at a point ‘p’ then it is not continuous at ‘p’b) If a function is not continuous at x=a, then it is not differentiable at x=ac) If f(x)=∣x∣ then f(x) is not differentiable but continuous on Rd) If f(x)=x−⌊x⌋, then f′(1)=1 Which of the above statements are (is) correct? (A) Only(b) (B)(b) and(c) (C) Only(c) (D)(c) and (d)
›Reveal solutionSolution
Differentiability implies continuity, so a function cannot be differentiable but discontinuous; the converse is false. Statement (b) is correct, (c) is correct, (d) is false. The correct option is (B).
The core idea here is the relationship between continuity and differentiability. If a function is differentiable at a point, it must be continuous there — but a continuous function need not be differentiable. This asymmetry is the key to checking each statement.
Let’s examine them one by one.
-
Statement (a): “If a function is differentiable at a point ‘p’ then it is not continuous at ‘p’.”
This is the exact opposite of the truth. Differentiability at a point implies continuity at that point. So (a) is false.
-
Statement (b): “If a function is not continuous at x=a, then it is not differentiable at x=a.”
This is the contrapositive of “differentiable ⇒ continuous”. Since the original implication is true, its contrapositive is also true. A break in the graph means no tangent line can exist. So (b) is correct.
-
Statement (c): “If f(x)=∣x∣ then f(x) is not differentiable but continuous on R.”
∣x∣ is continuous everywhere — no jumps, no holes. At x=0, the left-hand derivative is −1 and the right-hand derivative is +1, so the derivative does not exist. Everywhere else it is differentiable. So the statement is correct.
-
Statement (d): “If f(x)=x−⌊x⌋, then f′(1)=1.” …
-
- TG EAPCET 2021Set eng-2021-08-06-AN1 markMCQQ.If f:R→R defined as f(x)=x2+x−2x3+2x2+x+2 (when x=−2) is continuous at x=−2, then f(−2)= (A) 5 (B) 3−5 (C) 2 (D) 53
›Reveal solutionSolution
The function has a removable discontinuity at x=−2; factoring and cancelling the common factor gives a simplified form whose value at x=−2 is the required f(−2), which is −35.
The core idea here is that a rational function can be discontinuous at a point where the denominator vanishes, but if the numerator also vanishes at that same point, the discontinuity might be removable — meaning we can redefine the function at that point to make it continuous. The value we assign is simply the limit of the function as x approaches that point.
For f to be continuous at x=−2, we need f(−2)=limx→−2f(x). So the problem reduces to finding that limit.
-
Check what happens at x=−2.
The denominator is x2+x−2. At x=−2:
(−2)2+(−2)−2=4−2−2=0.
The numerator is x3+2x2+x+2. At x=−2:
(−2)3+2(4)+(−2)+2=−8+8−2+2=0.
Both numerator and denominator are zero — this is a 00 indeterminate form, so the discontinuity is removable if the factors cancel.
-
Factor both polynomials.
Denominator: x2+x−2=(x+2)(x−1).
Numerator: try synthetic division by (x+2).
Coefficients: 1,2,1,2.
Bring down 1, multiply by −2 → −2, add to 2 → 0, multiply by −2 → 0, add to 1 → 1, multiply by −2 → −2, add to 2 → 0.
The quotient is x2+0x+1=x2+1, with remainder 0. So
x3+2x2+x+2=(x+2)(x2+1).
-
Cancel the common factor.
For x=−2 and x=1 (the other point where denominator vanishes),
f(x)=(x+2)(x−1)(x+2)(x2+1)=x−1x2+1.
- Take the limit as x→−2. …
-
🎓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.