SOLVER7 Study. Nothing Else.
Exercise 5.1 Q15

Discuss the continuity of the function \(f,\) where \(f\) is defined by \(f(x)=\begin{cases}2x,&\text{if x<0}\\ 0,&\text{if 0\)\le\( x\)\le\(1}\\ 4x,&\text{if x>1}\end{cases}\)

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine a road that changes surface at two spots. A smooth road means no sudden jumps — you drive right through without feeling a bump. This function is like that road, and we check two special spots: \( x = 0 \) and \( x = 1 \). At \( x = 0 \), the road joins perfectly with no bump. At \( x = 1 \), the road suddenly jumps from height 0 to height 4 — a big bump! So the function is smooth everywhere except at that one bumpy spot.

Answer: The function \( f \) is continuous at every real number except \( x = 1 \); it is discontinuous only at \( x = 1 \), where \( \lim_{x \to 1^-} f(x) = 0 \ne 4 = \lim_{x \to 1^+} f(x) \).

📖 Continuity of a Piecewise Function

Detailed Explanation

A function \( f \) is continuous at a point \( x = a \) if three conditions hold: \( f(a) \) is defined, the limit \( \lim_{x \to a} f(x) \) exists, and \( \lim_{x \to a} f(x) = f(a) \). For a piecewise function, the pieces are usually simple polynomials, so they are automatically continuous within each open interval. The only points we must examine carefully are the join points where the definition switches, here \( x = 0 \) and \( x = 1 \). At each join point we compute the left-hand limit (LHL) and the right-hand limit (RHL) and compare them with the function value.

Formula Used

\( f \) is continuous at \( x = a \) if \( \lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) = f(a) \).

Solution

  1. Step 1: Write the definition clearly. \[f(x) = \begin{cases} 2x & x < 0 \\ 0 & 0 \le x \le 1 \\ 4x & x > 1 \end{cases}\] Each piece is a polynomial, so \( f \) is continuous on the open intervals \( (-\infty, 0) \), \( (0, 1) \) and \( (1, \infty) \). We only need to test the join points \( x = 0 \) and \( x = 1 \).
  2. Step 2: Check continuity at \( x = 0 \). The function value is given by the middle piece: \[f(0) = 0.\] Left-hand limit uses \( 2x \): \[\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} 2x = 0.\] Right-hand limit uses \( 0 \): \[\lim_{x \to 0^+} f(x) = 0.\]
  3. Step 3: Compare the values at \( x = 0 \). Since \[\lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x) = f(0) = 0,\] the function is continuous at \( x = 0 \).
  4. Step 4: Check continuity at \( x = 1 \). The function value is given by the middle piece (since \( 0 \le x \le 1 \)): \[f(1) = 0.\] Left-hand limit uses \( 0 \): \[\lim_{x \to 1^-} f(x) = 0.\] Right-hand limit uses \( 4x \): \[\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} 4x = 4.\]
  5. Step 5: Compare the values at \( x = 1 \). Here \[\lim_{x \to 1^-} f(x) = 0 \quad \text{but} \quad \lim_{x \to 1^+} f(x) = 4.\] Since the left-hand and right-hand limits are not equal, the limit does not exist, so \( f \) is discontinuous at \( x = 1 \).
  6. Step 6: Combine the results. The function is continuous everywhere on \( \mathbb{R} \) except at the single point \( x = 1 \).

Final Answer

The function \( f \) is continuous at every real number except \( x = 1 \); it is discontinuous only at \( x = 1 \), where \( \lim_{x \to 1^-} f(x) = 0 \ne 4 = \lim_{x \to 1^+} f(x) \).

Common Mistake

A common error is using the wrong piece to find the function value or limit at a join point. At \( x = 1 \) the value \( f(1) \) comes from the middle piece (\( 0 \le x \le 1 \)), giving \( f(1) = 0 \); students often wrongly plug into \( 4x \) and conclude the function is continuous.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write out the piecewise definition clearly: \[ f(x) = \begin{cases} 2x & x < 0 \\ 0 & 0 \le x \le 1 \\ 4x & x > 1 \end{cases} \] — Reason: Identifying each piece and its domain lets us spot the join points (where the rule changes) immediately. Here the join points are \( x = 0 \) and \( x = 1 \). Since every piece is a polynomial, \( f \) is automatically continuous on the open intervals \( (-\infty, 0) \), \( (0, 1) \), and \( (1, \infty) \). Only the join points need careful checking.
  2. Step 2: Find the function value and both one-sided limits at \( x = 0 \). The function value (using the middle piece since \( 0 \le 0 \le 1 \)): \[ f(0) = 0 \] The left-hand limit (approaching from values \( x < 0 \), so use \( 2x \)): \[ \lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} 2x = 0 \] The right-hand limit (approaching from values \( 0 < x \le 1 \), so use \( 0 \)): \[ \lim_{x \to 0^+} f(x) = 0 \] — Reason: We must use the correct piece for each side; the left side corresponds to \( x < 0 \) and the right side to \( 0 \le x \le 1 \).
  3. Step 3: Compare all three values at \( x = 0 \): \[ \lim_{x \to 0^-} f(x) = 0, \quad \lim_{x \to 0^+} f(x) = 0, \quad f(0) = 0 \] Since all three are equal, we conclude \( f \) is continuous at \( x = 0 \). — Reason: The continuity condition requires all three to match; they do, so no discontinuity exists here.
  4. Step 4: Find the function value at \( x = 1 \). Since \( 0 \le 1 \le 1 \), the middle piece applies: \[ f(1) = 0 \] — Reason: Always evaluate \( f(a) \) first so it can be compared with the one-sided limits in the next step.
  5. Step 5: Compute the left-hand limit at \( x = 1 \). For values \( x \) approaching \( 1 \) from the left (i.e. \( 0 \le x < 1 \)), the rule is \( f(x) = 0 \): \[ \lim_{x \to 1^-} f(x) = 0 \] — Reason: We pick the piece whose domain covers the approach direction; just to the left of \( x = 1 \) we are in the interval \( [0, 1) \), where \( f(x) = 0 \).
  6. Step 6: Compute the right-hand limit at \( x = 1 \). For values \( x \) approaching \( 1 \) from the right (i.e. \( x > 1 \)), the rule is \( f(x) = 4x \): \[ \lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} 4x = 4 \times 1 = 4 \] — Reason: Just to the right of \( x = 1 \) we are in the interval \( (1, \infty) \), where \( f(x) = 4x \), so we substitute \( x = 1 \) into \( 4x \).
  7. Step 7: Compare all three values at \( x = 1 \): \[ \lim_{x \to 1^-} f(x) = 0, \quad \lim_{x \to 1^+} f(x) = 4, \quad f(1) = 0 \] Since \( 0 \ne 4 \), the left-hand and right-hand limits are unequal, so the overall limit does not exist at \( x = 1 \). Therefore \( f \) is discontinuous at \( x = 1 \). — Reason: For continuity all three quantities must agree; here the two one-sided limits differ, which is enough to confirm a jump discontinuity.
  8. Step 8: State the conclusion for the entire real line. The only suspect points were \( x = 0 \) and \( x = 1 \). We showed \( f \) is continuous at \( x = 0 \) and discontinuous at \( x = 1 \). Every other point lies inside one of the polynomial pieces, where continuity is automatic. — Reason: Summarising both join-point tests gives the complete picture of where \( f \) is and is not continuous.

Final Answer

The function \( f \) is continuous at every real number except \( x = 1 \); it is discontinuous only at \( x = 1 \), where \( \lim_{x \to 1^-} f(x) = 0 \ne 4 = \lim_{x \to 1^+} f(x) \).

Common Mistake

One common mistake: students sometimes evaluate the limit at \( x = 1 \) using the middle piece \( f(x) = 0 \) for both sides, forgetting that the right-hand limit must use the piece valid for \( x > 1 \), which is \( 4x \). Always match each one-sided limit to the piece whose domain covers that direction of approach.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Identify the function: \[f(x) = \begin{cases} 2x & x < 0 \\ 0 & 0 \le x \le 1 \\ 4x & x > 1 \end{cases}\] Each piece is a polynomial; check only join points \( x = 0 \) and \( x = 1 \).
  2. Step 2: Test at \( x = 0 \): \( f(0) = 0 \), \( \lim_{x \to 0^-} 2x = 0 \), \( \lim_{x \to 0^+} 0 = 0 \). All three equal, so \( f \) is continuous at \( x = 0 \).
  3. Step 3: Test at \( x = 1 \): \( f(1) = 0 \), \( \lim_{x \to 1^-} 0 = 0 \), \( \lim_{x \to 1^+} 4x = 4 \). Since \( 0 \ne 4 \), \( f \) is discontinuous at \( x = 1 \).

Answer: The function \( f \) is continuous at every real number except \( x = 1 \); it is discontinuous only at \( x = 1 \), where \( \lim_{x \to 1^-} f(x) = 0 \ne 4 = \lim_{x \to 1^+} f(x) \).

➕ More Examples

More Examples

Example 1

Question: Discuss the continuity of the function \( f \), where \( f \) is defined by \[ f(x) = \begin{cases} 3x + 1 & \text{if } x < -1 \\ 5 & \text{if } -1 \le x \le 2 \\ 2x - 1 & \text{if } x > 2 \end{cases} \]

Solution: The function has three pieces. The boundary points (where the definition changes) are \( x = -1 \) and \( x = 2 \). Elsewhere, each piece is a polynomial/constant, hence continuous. Step 1: Check continuity at \( x = -1 \). Left-hand limit: \[ \lim_{x \to -1^-} f(x) = \lim_{x \to -1^-} (3x + 1) = 3(-1) + 1 = -2 \] Right-hand limit: \[ \lim_{x \to -1^+} f(x) = \lim_{x \to -1^+} 5 = 5 \] Since \( \lim_{x \to -1^-} f(x) = -2 \ne 5 = \lim_{x \to -1^+} f(x) \), the function is discontinuous at \( x = -1 \). Step 2: Check continuity at \( x = 2 \). Left-hand limit: \[ \lim_{x \to 2^-} f(x) = \lim_{x \to 2^-} 5 = 5 \] Right-hand limit: \[ \lim_{x \to 2^+} f(x) = \lim_{x \to 2^+} (2x - 1) = 2(2) - 1 = 3 \] Value of the function: \( f(2) = 5 \) (since \( -1 \le 2 \le 2 \)). Since \( \lim_{x \to 2^-} f(x) = 5 \ne 3 = \lim_{x \to 2^+} f(x) \), the function is discontinuous at \( x = 2 \). Step 3: Everywhere else (i.e., for \( x < -1 \), \( -1 < x < 2 \), and \( x > 2 \)), each piece is a linear or constant function, which is continuous. Conclusion: \( f \) is discontinuous at \( x = -1 \) and at \( x = 2 \). It is continuous at all other points.

Answer: f is discontinuous at \( x = -1 \) and \( x = 2 \); continuous everywhere else.

Example 2

Question: Discuss the continuity of the function \( g \), where \( g \) is defined by \[ g(x) = \begin{cases} x^2 - 1 & \text{if } x < 0 \\ 0 & \text{if } 0 \le x \le 3 \\ x + 1 & \text{if } x > 3 \end{cases} \]

Solution: The boundary points are \( x = 0 \) and \( x = 3 \). Each individual piece (polynomial or constant) is continuous within its own domain. We check the boundary points. Step 1: Check continuity at \( x = 0 \). Left-hand limit: \[ \lim_{x \to 0^-} g(x) = \lim_{x \to 0^-} (x^2 - 1) = (0)^2 - 1 = -1 \] Right-hand limit: \[ \lim_{x \to 0^+} g(x) = \lim_{x \to 0^+} 0 = 0 \] Value of the function: \( g(0) = 0 \) (since \( 0 \le 0 \le 3 \)). Since \( \lim_{x \to 0^-} g(x) = -1 \ne 0 = \lim_{x \to 0^+} g(x) \), the function is discontinuous at \( x = 0 \). Step 2: Check continuity at \( x = 3 \). Left-hand limit: \[ \lim_{x \to 3^-} g(x) = \lim_{x \to 3^-} 0 = 0 \] Right-hand limit: \[ \lim_{x \to 3^+} g(x) = \lim_{x \to 3^+} (x + 1) = 3 + 1 = 4 \] Value of the function: \( g(3) = 0 \) (since \( 0 \le 3 \le 3 \)). Since \( \lim_{x \to 3^-} g(x) = 0 \ne 4 = \lim_{x \to 3^+} g(x) \), the function is discontinuous at \( x = 3 \). Step 3: For \( x < 0 \), \( g(x) = x^2 - 1 \) is a polynomial, hence continuous. For \( 0 < x < 3 \), \( g(x) = 0 \) is constant, hence continuous. For \( x > 3 \), \( g(x) = x + 1 \) is linear, hence continuous. Conclusion: \( g \) is discontinuous at \( x = 0 \) and at \( x = 3 \). It is continuous at all other real numbers.

Answer: g is discontinuous at \( x = 0 \) and \( x = 3 \); continuous everywhere else.

🎯 Try a Similar Question

Try a Similar Question

Question: Discuss the continuity of the function \( f \), where \( f \) is defined by \[ f(x) = \begin{cases} 3x + 1 & \text{if } x < 0 \\ 1 & \text{if } 0 \le x \le 2 \\ 5x - 3 & \text{if } x > 2 \end{cases} \]

Solution

  1. Step 1: Identify the boundary points: The function is defined by three different rules, so its definition changes at \( x = 0 \) and \( x = 2 \). We must check continuity at these two points. For all other values of \( x \), the function is a polynomial (or constant), so it is automatically continuous.
  2. Step 2: Check continuity at x = 0: Left-hand limit: \[ \lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} (3x + 1) = 3(0) + 1 = 1 \] Right-hand limit: \[ \lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} 1 = 1 \] Value of the function: \[ f(0) = 1 \] Since \( \lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x) = f(0) = 1 \), the function is continuous at \( x = 0 \).
  3. Step 3: Check continuity at x = 2: Left-hand limit: \[ \lim_{x \to 2^-} f(x) = \lim_{x \to 2^-} 1 = 1 \] Right-hand limit: \[ \lim_{x \to 2^+} f(x) = \lim_{x \to 2^+} (5x - 3) = 5(2) - 3 = 7 \] Value of the function: \[ f(2) = 1 \] Since \( \lim_{x \to 2^-} f(x) = 1 \ne 7 = \lim_{x \to 2^+} f(x) \), the left-hand and right-hand limits are not equal. Therefore, \( f \) is discontinuous at \( x = 2 \).
  4. Step 4: Conclusion: The function \( f \) is continuous everywhere on \( \mathbb{R} \) except at \( x = 2 \), where it has a jump discontinuity.

Answer: The function \( f \) is continuous at every real number except \( x = 2 \). It is discontinuous only at \( x = 2 \), where \( \lim_{x \to 2^-} f(x) = 1 \ne 7 = \lim_{x \to 2^+} f(x) \). At \( x = 0 \), the function is continuous since both one-sided limits and the function value equal \( 1 \).

Everything you get with Solver7

More questions in Continuity and Differentiability

Chapter 5 Examples Q1 Chapter 5 Examples Q2 Chapter 5 Examples Q3 65/1/1 2024 / Section A Q3 Chapter 5 Examples Q4 65/2/1 2024 / Section A Q4 65/3/1 2024 / Section A Q4 Chapter 5 Examples Q5 65/4/1 2026 / Section A Q5 Chapter 5 Examples Q6 65(B) 2026 / Section A Q6 65/4/1 2023 / Section A Q6 65/4/2 2024 / Section A Q6 65/5/1 2026 / Section A Q6 Chapter 5 Examples Q7 65/3/1 2026 / Section A Q7 65/4/1 2023 / Section A Q7 65/4/1 2026 / Section A Q7 65/4/2 2024 / Section A Q7 Chapter 5 Examples Q8 65/4/1 2026 / Section A Q8 65/5/1 2026 / Section A Q8 Chapter 5 Examples Q9 Chapter 5 Examples Q10 Chapter 5 Examples Q11 65/2/2 2023 / Section A Q11 65/2/3 2026 / Section A Q11 Chapter 5 Examples Q12 65/2/2 2023 / Section A Q12 Chapter 5 Examples Q13 65/1/1 2023 / Section A Q13 65/1/1 2024 / Section A Q13 65/2/1 2024 / Section A Q13 Chapter 5 Examples Q14 65/3/1 2024 / Section A Q14 Chapter 5 Examples Q15 65/3/1 2023 / Section A Q15 Chapter 5 Examples Q16 65/3/1 2023 / Section A Q16 Chapter 5 Examples Q17 Chapter 5 Examples Q18 Chapter 5 Examples Q19 Chapter 5 Examples Q20 Chapter 5 Examples Q21 65/1/1 2024 / Section B Q21(a) 65/1/1 2026 / Section B Q21(a) 65/3/1 2026 / Section B Q21 Chapter 5 Examples Q22 65/1/1 2024 / Section B Q21(b) 65/1/1 2026 / Section B Q21(b) 65/3/1 2024 / Section B Q22(a) 65/4/1 2026 / Section B Q22(a) 65/5/1 2026 / Section B Q22(a) Chapter 5 Examples Q23 65/2/1 2024 / Section B Q22(a) 65/3/1 2024 / Section B Q22(b) 65/4/1 2023 / Section B Q22 65/4/1 2026 / Section B Q22(b) 65/5/1 2026 / Section B Q22(b) Chapter 5 Examples Q24