If f(x) = |x| + |x – 1|, then which one of the followings is correct?
- AOption (a)
f(x) is continuous at x = 0 and x = 1
- BOption (b)
f(x) is continuous at x = 0 but not at x = 1
- COption (c)
f(x) is continuous at x = 1 but not at x = 0
- DOption (d)
f(x) is neither continuous at x = 0 nor at x = 1
View answer & explanationHide answer & explanation
Correct answer
f(x) is continuous at x = 0 and x = 1
Why this answer is correct
Concept:
- A function f(x) is said to be continuous at a point x = a, in its domain if \(\mathop {\lim }\limits_{x \to {\rm{a}}} f\left( x \right) = f\left( a \right)\) exists or its graph is a single unbroken curve.
- f(x) is Continuous at x = a ⇔ \(\mathop {\lim }\limits_{x \to {{\rm{a}}^ + }} f\left( x \right){\rm{}} = {\rm{}}\mathop {\lim }\limits_{x \to {{\rm{a}}^ - }} f\left( x \right){\rm{}} = {\rm{}}\mathop {\lim }\limits_{x \to {\rm{a}}} f\left( x \right)\)
Calculation:
Given: f(x) = |x| + |x – 1|
The possible points of discontinuity are x = 0, 1 since the sign of the modulus changes at these points.
For continuity at x = 0
\({\rm{LHL}} = \mathop {\lim }\limits_{x \to {0^ - }} f\left( x \right) = \;\mathop {\lim }\limits_{x \to {0^ - }} \left| {\rm{x}} \right|{\rm{\;}} + {\rm{\;}}\left| {{\rm{x\;}}-{\rm{\;}}1} \right|\)
\( = \;\mathop {\lim }\limits_{h \to 0} \left| {0 - {\rm{h}}\left| {{\rm{\;}} + {\rm{\;}}} \right|0 - {\rm{h\;}}-{\rm{\;}}1} \right|\) ...(∵ x → 0- ⇒ x = 0 – h)
\( = \;\mathop {\lim }\limits_{h \to 0} \left| {\rm{h}} \right|{\rm{\;}} + {\rm{\;}}\left| {{\rm{h}} + {\rm{\;}}1} \right|\) ...(∵ |-x| = x)
= 0 + 1 = 1
\({\rm{RHL}} = \mathop {\lim }\limits_{x \to {0^ + }} f\left( x \right) = \;\mathop {\lim }\limits_{x \to {0^ + }} \left| {\rm{x}} \right|{\rm{\;}} + {\rm{\;}}\left| {{\rm{x\;}}-{\rm{\;}}1} \right|\)
\( = \;\mathop {\lim }\limits_{h \to 0} \left| {0 + {\rm{\;h}}\left| {{\rm{\;}} + {\rm{\;}}} \right|0 + {\rm{\;h\;}}-{\rm{\;}}1} \right|\) ...(∵ x → 0+ ⇒ x = 0 + h)
\( = \;\mathop {\lim }\limits_{h \to 0} \left| {\rm{h}} \right|{\rm{\;}} + {\rm{\;}}\left| {{\rm{h}} - {\rm{\;}}1} \right|\)
= 0 + 1 = 1 ...(∵ |-x| = x)
Value of f(x) at x = 0
⇒ f(0) = |0| + |0 – 1| = 1
Since LHL = RHL = f(0)
So, Function is continuous at x = 0
For continuity at x = 1
\({\rm{LHL}} = \mathop {\lim }\limits_{x \to {1^ - }} f\left( x \right) = \;\mathop {\lim }\limits_{x \to {1^ - }} \left| {\rm{x}} \right|{\rm{\;}} + {\rm{\;}}\left| {{\rm{x\;}}-{\rm{\;}}1} \right|\)
\(= \mathop {\lim }\limits_{h \to 0} \left| {1 - {\rm{h}}\left| {{\rm{\;}} + {\rm{\;}}} \right|1 - {\rm{h\;}}-{\rm{\;}}1} \right|\) ...(∵ x → 1- ⇒ x = 1 – h)
\( = \;\mathop {\lim }\limits_{h \to 0} \left| {1 - {\rm{\;h}}\left| {{\rm{\; + }}} \right| - {\rm{h}}} \right|\)
\( = \;\mathop {\lim }\limits_{h \to 0} \left| {1 - {\rm{\;h}}} \right|{\rm{\;}} + {\rm{\;}}\left| {\rm{h}} \right|\) ...(∵ |-x| = x)
= 1 + 0 = 1
\({\rm{RHL}} = \mathop {\lim }\limits_{x \to {1^ + }} f\left( x \right) = \;\mathop {\lim }\limits_{x \to {1^ + }} \left| {\rm{x}} \right| + \left| {{\rm{x}}-1} \right|\)
\( = \;\mathop {\lim }\limits_{h \to 0} \left| {1 + {\rm{\;h}}\left| {{\rm{\;}} + {\rm{\;}}} \right|1 + {\rm{\;h\;}}-{\rm{\;}}1} \right|\) ...(∵ x → 1+ ⇒ x = 1 + h)
\( = \;\mathop {\lim }\limits_{h \to 0} \left| {1 + {\rm{\;h}}} \right|{\rm{\;}} + {\rm{\;}}\left| {\rm{h}} \right|\)
= 1 + 0 = 1
Value of f(x) at x = 1
⇒ f(1) = |1| + |1 – 1| = 1
Since LHL = RHL = f(1)
So, Function is continuous at x = 1
∴ f(x) is continuous at x = 0 and x = 1