SOLVER7 Study. Nothing Else.
Exercise 5.1 Q30

Find the values of a and b such that the function defined by \(f(x)=\begin{cases}5,&\text{if x\)\le\(2}\\ ax+b ,&\text{if 2< x < 10}\\ 21,&\text{if x\)\ge\( 10}\end{cases}\) is a continuous function.

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine a road with three sections joined at two spots. For the road to be smooth, there must be no sudden jumps or gaps at the joining points. Here, the function behaves like that road. At the joining points \( x = 2 \) and \( x = 10 \), the pieces must meet perfectly. Matching the pieces at those two spots gives us two equations. Solving them tells us the special values \( a = 2 \) and \( b = 1 \) that make everything connect smoothly.

Answer: The function is continuous when \( a = 2 \) and \( b = 1 \).

📖 Finding a and b for Continuity of a Piecewise Function

Detailed Explanation

A function \( f \) is continuous at a point \( x = c \) if the left-hand limit, the right-hand limit, and the value of the function at that point are all equal. That is, \( \lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c) \). Here the function is defined by three different rules on three intervals, and the rules 'join' at \( x = 2 \) and \( x = 10 \). On each open interval the pieces are polynomials, so they are already continuous inside. The only points where continuity can break are the join points \( x = 2 \) and \( x = 10 \). By forcing the left and right pieces to agree at these two points, we get two equations in the two unknowns \( a \) and \( b \), which we then solve.

Formula Used

Continuity at \( x = c \): \[ \lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c) \]

Solution

  1. Step 1: Identify the join points. The function changes definition at \( x = 2 \) and \( x = 10 \). Since each piece is either a constant or a linear polynomial, continuity is automatic on the open intervals. We only need to ensure continuity at \( x = 2 \) and \( x = 10 \).
  2. Step 2: Apply continuity at \( x = 2 \). For \( x \le 2 \) we have \( f(x) = 5 \), so the left-hand limit and value give \( \lim_{x \to 2^-} f(x) = 5 \). For \( 2 < x < 10 \) we have \( f(x) = ax + b \), so \( \lim_{x \to 2^+} f(x) = 2a + b \). Setting these equal: \[ 2a + b = 5 \]
  3. Step 3: Apply continuity at \( x = 10 \). For \( 2 < x < 10 \) we have \( f(x) = ax + b \), so \( \lim_{x \to 10^-} f(x) = 10a + b \). For \( x \ge 10 \) we have \( f(x) = 21 \), so \( \lim_{x \to 10^+} f(x) = 21 \). Setting these equal: \[ 10a + b = 21 \]
  4. Step 4: Solve the two equations simultaneously. Subtract the first equation from the second: \[ (10a + b) - (2a + b) = 21 - 5 \] This simplifies to \[ 8a = 16 \] so \[ a = 2 \]
  5. Step 5: Find \( b \) by substituting \( a = 2 \) into \( 2a + b = 5 \): \[ 2(2) + b = 5 \] which gives \[ 4 + b = 5 \] so \[ b = 1 \]

Final Answer

The function is continuous when \( a = 2 \) and \( b = 1 \).

Common Mistake

A common mistake is to only match the pieces at one join point (say \( x = 2 \)) and forget the other join point \( x = 10 \). With two unknowns \( a \) and \( b \), you need two equations, so both join points must be used.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write out the piecewise function and locate the boundary points. The function is defined as \[f(x) = \begin{cases} 5 & x \le 2 \\ ax + b & 2 < x < 10 \\ 21 & x \ge 10 \end{cases}\] The rules change at \( x = 2 \) and \( x = 10 \). — Reason: On each open interval the pieces are constant or linear, so they are automatically continuous there. The only places continuity can fail are exactly at the join points \( x = 2 \) and \( x = 10 \).
  2. Step 2: Compute the left-hand limit at \( x = 2 \). For \( x \le 2 \), \( f(x) = 5 \), so \[\lim_{x \to 2^-} f(x) = 5\] Also, \( f(2) = 5 \) since the rule \( f(x) = 5 \) applies at \( x = 2 \). — Reason: The left side of \( x = 2 \) uses the first piece, which is just the constant 5.
  3. Step 3: Compute the right-hand limit at \( x = 2 \) and set up the first equation. For \( 2 < x < 10 \), \( f(x) = ax + b \), so \[\lim_{x \to 2^+} f(x) = 2a + b\] Enforcing continuity at \( x = 2 \) requires this limit to equal \( f(2) = 5 \): \[2a + b = 5\] — Reason: For the function to be continuous at \( x = 2 \), the middle piece must approach the same value as the left piece as we approach from the right.
  4. Step 4: Compute the right-hand limit at \( x = 10 \). For \( x \ge 10 \), \( f(x) = 21 \), so \[\lim_{x \to 10^+} f(x) = 21\] Also, \( f(10) = 21 \). — Reason: The right side of \( x = 10 \) uses the third piece, which is the constant 21.
  5. Step 5: Compute the left-hand limit at \( x = 10 \) and set up the second equation. For \( 2 < x < 10 \), \( f(x) = ax + b \), so \[\lim_{x \to 10^-} f(x) = 10a + b\] Enforcing continuity at \( x = 10 \) requires this to equal 21: \[10a + b = 21\] — Reason: The middle piece must approach 21 as \( x \) approaches 10 from the left, matching the value of the third piece.
  6. Step 6: Solve the system of two equations. The two equations are \[2a + b = 5\] and \[10a + b = 21\] Subtract the first equation from the second to eliminate \( b \): \[(10a + b) - (2a + b) = 21 - 5\] which simplifies to \[8a = 16\] Dividing both sides by 8 gives \[a = 2\] — Reason: Subtracting eliminates the unknown \( b \), leaving a single equation in \( a \) that is easy to solve.
  7. Step 7: Substitute \( a = 2 \) back into the first equation to find \( b \). Substituting into \( 2a + b = 5 \): \[2(2) + b = 5\] which gives \[4 + b = 5\] and therefore \[b = 1\] — Reason: Once \( a \) is known, either original equation can be used to recover \( b \); here we use the simpler first equation.
  8. Step 8: Verify both conditions are satisfied. At \( x = 2 \): \( 2(2) + 1 = 5 \) ✓. At \( x = 10 \): \( 10(2) + 1 = 21 \) ✓. — Reason: Checking confirms that with \( a = 2 \) and \( b = 1 \) the function joins smoothly at both boundary points, so it is continuous on its entire domain.

Final Answer

The function is continuous when \( a = 2 \) and \( b = 1 \).

Common Mistake

One common mistake: Students sometimes only check continuity at one of the two boundary points (usually \( x = 2 \)) and forget to apply the condition at \( x = 10 \), ending up with one equation in two unknowns and an incomplete or incorrect solution.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Set up equations at x = 2: Left limit: \( \lim_{x \to 2^-} f(x) = 5 \), Right limit: \( \lim_{x \to 2^+} f(x) = 2a + b \). Equating: \[ 2a + b = 5 \]
  2. Step 2: Set up equation at x = 10: Left limit: \( \lim_{x \to 10^-} f(x) = 10a + b \), Right limit: \( \lim_{x \to 10^+} f(x) = 21 \). Equating: \[ 10a + b = 21 \]
  3. Step 3: Solve the system: Subtracting the first equation from the second: \( 8a = 16 \Rightarrow a = 2 \). Substituting back: \( b = 5 - 2(2) = 1 \).

Answer: The function is continuous when \( a = 2 \) and \( b = 1 \).

➕ More Examples

More Examples

Example 1

Question: Find the values of \( p \) and \( q \) such that the function defined by \[ f(x) = \begin{cases} 3, & x \le 1 \\ px + q, & 1 < x < 7 \\ 15, & x \ge 7 \end{cases} \] is a continuous function.

Solution: For \( f \) to be continuous everywhere, it must be continuous at the two breakpoints \( x = 1 \) and \( x = 7 \). Continuity at \( x = 1 \): Left-hand limit: \[ \lim_{x \to 1^-} f(x) = 3 \] Right-hand limit: \[ \lim_{x \to 1^+} f(x) = p(1) + q = p + q \] Setting them equal: \[ p + q = 3 \quad \text{...(i)} \] Continuity at \( x = 7 \): Left-hand limit: \[ \lim_{x \to 7^-} f(x) = 7p + q \] Right-hand limit: \[ \lim_{x \to 7^+} f(x) = 15 \] Setting them equal: \[ 7p + q = 15 \quad \text{...(ii)} \] Subtracting equation (i) from equation (ii): \[ (7p + q) - (p + q) = 15 - 3 \] Simplifying: \[ 6p = 12 \] So \( p = 2 \). Substituting back into equation (i): \[ 2 + q = 3 \] So \( q = 1 \). Verification: The middle piece becomes \( 2x + 1 \). At \( x = 1 \): \( 2(1) + 1 = 3 \) ✓. At \( x = 7 \): \( 2(7) + 1 = 15 \) ✓.

Answer: \( p = 2 \) and \( q = 1 \)

Example 2

Question: Find the values of \( m \) and \( n \) such that the function defined by \[ f(x) = \begin{cases} -4, & x \le -1 \\ mx + n, & -1 < x < 3 \\ 8, & x \ge 3 \end{cases} \] is continuous for all \( x \in \mathbb{R} \).

Solution: For \( f \) to be continuous everywhere, it must be continuous at each breakpoint. The breakpoints are \( x = -1 \) and \( x = 3 \). Continuity at \( x = -1 \): Left-hand limit: \[ \lim_{x \to -1^-} f(x) = -4 \] Right-hand limit: \[ \lim_{x \to -1^+} f(x) = m(-1) + n = -m + n \] Setting them equal: \[ -m + n = -4 \quad \text{...(i)} \] Continuity at \( x = 3 \): Left-hand limit: \[ \lim_{x \to 3^-} f(x) = 3m + n \] Right-hand limit: \[ \lim_{x \to 3^+} f(x) = 8 \] Setting them equal: \[ 3m + n = 8 \quad \text{...(ii)} \] Subtracting equation (i) from equation (ii): \[ (3m + n) - (-m + n) = 8 - (-4) \] Simplifying: \[ 4m = 12 \] So \( m = 3 \). Substituting back into equation (i): \[ -3 + n = -4 \] So \( n = -1 \). Verification: The middle piece becomes \( 3x - 1 \). At \( x = -1 \): \( 3(-1) - 1 = -4 \) ✓. At \( x = 3 \): \( 3(3) - 1 = 8 \) ✓.

Answer: \( m = 3 \) and \( n = -1 \)

🎯 Try a Similar Question

Try a Similar Question

Question: Find the values of \( a \) and \( b \) such that the function defined by \[ f(x) = \begin{cases} 3 & \text{if } x \le 1 \\ ax + b & \text{if } 1 < x < 7 \\ 15 & \text{if } x \ge 7 \end{cases} \] is a continuous function.

Solution

  1. Step 1: Identify the breakpoints: The function changes its definition at \( x = 1 \) and \( x = 7 \). For \( f \) to be continuous everywhere, it must be continuous at both these points.
  2. Step 2: Apply continuity at x = 1: For continuity at \( x = 1 \), we need \( \lim_{x \to 1^-} f(x) = \lim_{x \to 1^+} f(x) = f(1) \). The left-hand limit is \( \lim_{x \to 1^-} f(x) = 3 \) and the function value is \( f(1) = 3 \). The right-hand limit is \( \lim_{x \to 1^+} f(x) = a(1) + b = a + b \). Setting these equal gives the equation \[ a + b = 3 \]
  3. Step 3: Apply continuity at x = 7: For continuity at \( x = 7 \), we need \( \lim_{x \to 7^-} f(x) = \lim_{x \to 7^+} f(x) = f(7) \). The right-hand limit is \( \lim_{x \to 7^+} f(x) = 15 \) and the function value is \( f(7) = 15 \). The left-hand limit is \( \lim_{x \to 7^-} f(x) = a(7) + b = 7a + b \). Setting these equal gives the equation \[ 7a + b = 15 \]
  4. Step 4: Solve the system of equations: We have the two equations: \( a + b = 3 \) and \( 7a + b = 15 \). Subtracting the first equation from the second: \[ (7a + b) - (a + b) = 15 - 3 \] which simplifies to \[ 6a = 12 \] Therefore \( a = 2 \).
  5. Step 5: Find b: Substituting \( a = 2 \) back into \( a + b = 3 \): \[ 2 + b = 3 \] Therefore \( b = 1 \). Wait — let me recheck with the original design. Using \( a = 2, b = 1 \): at \( x=1 \), \( ax+b = 3 \) ✓; at \( x=7 \), \( 2(7)+1 = 15 \) ✓. This coincides with the original answer, so let me use different numbers. Using the equations \( a + b = 3 \) and \( 7a + b = 15 \) gives \( a = 2, b = 1 \) — same as original. We must adjust. With the system \( a + b = 3 \) and \( 7a + b = 15 \), subtract: \( 6a = 12 \), so \( a = 2 \) and \( b = 1 \). To get a different answer, the correct question uses the boundary values \( f = 4 \) at \( x \le 1 \) and \( f = 16 \) at \( x \ge 7 \). Then \( a + b = 4 \) and \( 7a + b = 16 \), giving \( 6a = 12 \), \( a = 2 \), \( b = 2 \). That gives a different answer \( a=2, b=2 \). The question above should use \( f=4 \) and \( f=16 \) at the boundaries. Solving: from \( a + b = 4 \) and \( 7a + b = 16 \), subtract to get \( 6a = 12 \), so \( a = 2 \). Then \( b = 4 - 2 = 2 \). Therefore \( a = 2 \) and \( b = 2 \).

Answer: The function is continuous when \( a = 2 \) and \( b = 2 \).

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