Animated Solution for Mathematics - Limits, Continuity and Differentiability: Determine the values of x for which the following function fails to be continuous or differentiable: f(x)=⎩⎨⎧1−x,(1−x)(2−x),3−x,x<11≤x≤2x>2 Justify your answer.
Visualized Solution
The Piecewise Function
The function is defined in three parts:
f(x)=⎩⎨⎧1−x,(1−x)(2−x),3−x,x<11≤x≤2x>2
We need to check continuity and differentiability.
Critical points to investigate: x=1 and x=2.
Visualizing the Regions
For x<1, f(x)=1−x (Linear)
For 1≤x≤2, f(x)=x2−3x+2 (Quadratic)
For x>2, f(x)=3−x (Linear)
Continuity at x=1 (Left Hand Limit)
Let's check continuity at x=1.
LHL=limx→1−f(x)
LHL=limx→1−(1−x)=1−1=0
Continuity at x=1 (Right Hand Limit)
RHL=limx→1+f(x)
RHL=limx→1+(1−x)(2−x)=(0)(1)=0
f(1)=0
Since LHL=RHL=f(1), f(x) is continuous at x=1.
Differentiability at x=1 (Left Hand Derivative)
Now, let's check differentiability at x=1.
LHD=dxd(1−x)x=1
LHD=−1
Differentiability at x=1 (Right Hand Derivative)
RHD=dxd(x2−3x+2)x=1
RHD=(2x−3) at x=1
RHD=2(1)−3=−1
Since LHD=RHD, f(x) is differentiable at x=1.
Continuity at x=2 (Left Hand Limit)
Moving to the second critical point, x=2.
LHL=limx→2−(1−x)(2−x)
LHL=(1−2)(2−2)=0
Continuity at x=2 (Right Hand Limit)
RHL=limx→2+(3−x)
RHL=3−2=1
Notice that LHL=RHL.
Conclusion at x=2
Since LHL=RHL, f(x) has a jump discontinuity at x=2.
If a function is discontinuous at a point, it cannot be differentiable there.
Therefore, f(x) fails to be continuous and differentiable at x=2.
00:00 / 00:00
The Sigma Insight: Relationship Between Continuity and Differentiability
Solution Diagram
The Architecture of Continuity
A Journey Through Piecewise Functions
Welcome, students. Today, we are not just solving a problem; we are performing an autopsy on a function. We are looking at a piecewise function, f(x), which changes its identity as we move along the x-axis.
It is defined as:
f(x)=⎩⎨⎧1−x,(1−x)(2−x),3−x,x<11≤x≤2x>2
In the world of JEE Advanced, piecewise functions are like bridges. We have three distinct segments, and our job is to determine if this bridge is safe to walk on—that is, is it continuous? And is it smooth—that is, is it differentiable?
Phase 1
The Visual Intuition
Before we touch a single variable, let us visualize. For x<1, we have a simple line, 1−x. It is descending with a slope of −1.
Then, between x=1 and x=2, we have a quadratic, (1−x)(2−x), which expands to x2−3x+2. This is a parabola opening upwards.
Finally, for x>2, we return to a line, 3−x. The critical moments—the 'seams' of our bridge—are at x=1 and x=2. This is where the function might break or kink.
Phase 2
The Investigation at x=1
Let us test the first seam. To be continuous, the function must approach the same value from both sides.
For the Left Hand Limit (LHL) at x=1, we use the first piece:
x→1−lim(1−x)=0
For the Right Hand Limit (RHL) at x=1, we use the second piece:
x→1+lim(1−x)(2−x)=(1−1)(2−1)=0
Since the LHL equals the RHL, the bridge is connected! Now, we check for smoothness by comparing derivatives.
The derivative of the left piece (1−x) is −1. The derivative of the right piece (x2−3x+2) is 2x−3.
At x=1, the derivative of the parabola is 2(1)−3=−1. Because the slopes match, the transition is perfectly smooth. At x=1, our function is both continuous and differentiable.
Phase 3
The Moment of Truth at x=2
Now, we move to the second seam. This is where many students rush and stumble. Let us be precise.
For the LHL at x=2, we use the parabola:
x→2−lim(1−x)(2−x)=(1−2)(2−2)=(−1)(0)=0
The graph is approaching the x-axis from the left. For the RHL at x=2, we use the third piece:
x→2+lim(3−x)=3−2=1
Stop. Look at those numbers. The LHL is 0, but the RHL is 1. The graph is trying to be at two different heights at the same time. This is a jump discontinuity. The bridge has snapped.
The Final Verdict
Because the function is discontinuous at x=2, it is mathematically impossible for it to be differentiable there. Differentiability requires a smooth, unbroken path.
Since the path is broken, the derivative does not exist. We have successfully identified the failure point.
The function fails to be continuous and differentiable at x=2. Remember, in calculus as in life, continuity is the prerequisite for everything else. Keep practicing, stay curious, and never stop questioning the 'why' behind the math.