SOLVER7 Study. Nothing Else.
2023 Board Paper Q24(b)

If \(f(x)=\begin{cases}\text ax+b&;0< x\le1\\ 2x^2-x&;1< x < 2\end{cases}\ \) is a differentiable function in \((0, 2),\) then find the values of \(a\) and \(b.\)

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine two roads joining smoothly at a bridge. The bridge point here is at \( x = 1 \). For the road to feel smooth, two things must match: the height must be the same from both sides, and the slope must also be the same from both sides. We use these two matching rules to find the mystery numbers \( a \) and \( b \). When both conditions are satisfied, the roads join perfectly without any bump or sharp corner.

Answer: \( a = 3 \) and \( b = -2 \).

📖 Finding a and b for a Differentiable Piecewise Function

Detailed Explanation

A function defined in pieces can behave differently on either side of the point where the pieces meet. Here the two pieces join at \( x = 1 \). For the whole function to be differentiable on \( (0, 2) \), two conditions must hold at \( x = 1 \). First, the function must be continuous there, meaning the value from the left piece must equal the value from the right piece. Second, it must be differentiable there, meaning the derivative from the left must equal the derivative from the right. Differentiability is a stronger condition than continuity, so we always check continuity first and then match the derivatives. These two equations give us two conditions to solve for the two unknowns \( a \) and \( b \).

Formula Used

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

Solution

  1. Step 1: Identify the joining point. The function is \[ f(x) = \begin{cases} ax + b & 0 < x \le 1 \\ 2x^2 - x & 1 < x < 2 \end{cases} \] The two pieces meet at \( x = 1 \), so we must ensure continuity and differentiability at \( x = 1 \).
  2. Step 2: Apply the continuity condition at \( x = 1 \). The left piece gives \[ \lim_{x \to 1^-} f(x) = a(1) + b = a + b \] The right piece gives \[ \lim_{x \to 1^+} f(x) = 2(1)^2 - 1 = 1 \] Setting them equal for continuity: \[ a + b = 1 \] Call this Equation (1).
  3. Step 3: Find the derivative of each piece. For the left piece \( f(x) = ax + b \), \[ f'(x) = a \] For the right piece \( f(x) = 2x^2 - x \), \[ f'(x) = 4x - 1 \] We differentiate so we can compare the slopes approaching \( x = 1 \) from both sides.
  4. Step 4: Apply the differentiability condition at \( x = 1 \). The left-hand derivative is \[ \lim_{x \to 1^-} f'(x) = a \] The right-hand derivative is \[ \lim_{x \to 1^+} f'(x) = 4(1) - 1 = 3 \] Setting them equal for differentiability: \[ a = 3 \]
  5. Step 5: Substitute \( a = 3 \) into Equation (1). \[ 3 + b = 1 \] Solving gives \[ b = 1 - 3 = -2 \]

Final Answer

\( a = 3 \) and \( b = -2 \).

Common Mistake

A common mistake is to only apply the continuity condition (\( a + b = 1 \)) and forget that differentiability is a separate, stronger requirement. Without matching the derivatives, you get one equation with two unknowns and cannot find unique values. Always use both conditions.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write out the piecewise function and identify the joining point. The function is \[f(x) = \begin{cases} ax + b & 0 < x \le 1 \\ 2x^2 - x & 1 < x < 2 \end{cases}\] The two pieces meet at \( x = 1 \). — Reason: Continuity and differentiability can only break down where the formula changes, so this is the only point we need to investigate.
  2. Step 2: Compute the left-hand limit as \( x \to 1^- \) using the first piece: \[\lim_{x \to 1^-} f(x) = a(1) + b = a + b\] — Reason: As \( x \) approaches 1 from the left, the formula \( ax + b \) applies, so we substitute \( x = 1 \) into it.
  3. Step 3: Compute the right-hand limit as \( x \to 1^+ \) using the second piece: \[\lim_{x \to 1^+} f(x) = 2(1)^2 - 1 = 2 - 1 = 1\] Setting the two limits equal for continuity gives \[a + b = 1\] Call this Equation (1). — Reason: Continuity requires both one-sided limits to agree; this is our first equation relating \( a \) and \( b \).
  4. Step 4: Differentiate each piece separately. For the left piece, \( f(x) = ax + b \), so \[f'(x) = a\] meaning the left-hand derivative at \( x = 1 \) is \( a \). For the right piece, \( f(x) = 2x^2 - x \), so \[f'(x) = 4x - 1\] meaning the right-hand derivative at \( x = 1 \) is \( 4(1) - 1 = 3 \). — Reason: To enforce differentiability we must match the slopes from both sides; differentiating each piece separately gives those slopes.
  5. Step 5: Set the left-hand derivative equal to the right-hand derivative: \[a = 3\] Call this Equation (2). — Reason: Differentiability at \( x = 1 \) demands that the gradient from the left equals the gradient from the right, directly giving us the value of \( a \).
  6. Step 6: Substitute \( a = 3 \) into Equation (1): \[3 + b = 1\] Solving, \[b = 1 - 3 = -2\] — Reason: With one unknown already found, the continuity equation becomes a single-variable equation that we solve straightforwardly to find \( b \).
  7. Step 7: Verify both conditions are satisfied with \( a = 3 \) and \( b = -2 \). Left-hand limit: \( 3(1) + (-2) = 1 \). Right-hand limit: \( 2(1)^2 - 1 = 1 \). These are equal, confirming continuity. Left-hand derivative: \( 3 \). Right-hand derivative: \( 4(1) - 1 = 3 \). These are equal, confirming differentiability. — Reason: Always verify the solution satisfies both original conditions to rule out arithmetic errors.

Final Answer

\( a = 3 \) and \( b = -2 \).

Common Mistake

One common mistake: Students often check only the continuity condition and forget to match the derivatives, which means they get one equation in two unknowns and cannot determine both \( a \) and \( b \) uniquely.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Continuity at \( x = 1 \): Left limit: \( a(1) + b = a + b \). Right limit: \( 2(1)^2 - 1 = 1 \). Setting equal: \[ a + b = 1 \]
  2. Step 2: Differentiability at \( x = 1 \): Left derivative: \( a \). Right derivative: \( 4(1) - 1 = 3 \). Setting equal: \[ a = 3 \]
  3. Step 3: Solve for \( b \): Substituting \( a = 3 \) into \( a + b = 1 \): \[ b = 1 - 3 = -2 \]

Answer: \( a = 3 \) and \( b = -2 \).

➕ More Examples

More Examples

Example 1

Question: If \( f(x) = \begin{cases} px + q & ; \quad 0 < x \le 1 \\ 3x^2 - 2x & ; \quad 1 < x < 3 \end{cases} \) is differentiable in \( (0, 3) \), find the values of \( p \) and \( q \).

Solution: Since \( f \) is differentiable in \( (0,3) \), it must be both continuous and differentiable at the junction point \( x = 1 \). Step 1 — Continuity at \( x = 1 \): Left-hand limit: \[ \lim_{x \to 1^-} f(x) = p(1) + q = p + q \] Right-hand limit: \[ \lim_{x \to 1^+} f(x) = 3(1)^2 - 2(1) = 3 - 2 = 1 \] Setting them equal gives the first equation: \[ p + q = 1 \quad \cdots (1) \] Step 2 — Differentiability at \( x = 1 \): Note that \( f(1) = p + q = 1 \). Left-hand derivative: \[ \lim_{x \to 1^-} \frac{f(x) - f(1)}{x - 1} = \lim_{x \to 1^-} \frac{(px + q) - 1}{x - 1} \] Using \( p + q = 1 \), we write \( px + q - 1 = px + q - (p + q) = p(x - 1) \), so: \[ \lim_{x \to 1^-} \frac{p(x-1)}{x-1} = p \] Right-hand derivative: \[ \lim_{x \to 1^+} \frac{f(x) - f(1)}{x - 1} = \lim_{x \to 1^+} \frac{3x^2 - 2x - 1}{x - 1} \] Factoring the numerator: \( 3x^2 - 2x - 1 = (x-1)(3x+1) \), so: \[ \lim_{x \to 1^+} \frac{(x-1)(3x+1)}{x-1} = \lim_{x \to 1^+} (3x+1) = 4 \] Setting left-hand derivative equal to right-hand derivative: \[ p = 4 \quad \cdots (2) \] Step 3 — Solving for \( q \): Substituting \( p = 4 \) into equation (1): \[ 4 + q = 1 \implies q = -3 \]

Answer: \( p = 4 \) and \( q = -3 \)

Example 2

Question: If \( g(x) = \begin{cases} \alpha x^2 + \beta & ; \quad 0 < x \le 2 \\ 4x - 1 & ; \quad 2 < x < 5 \end{cases} \) is differentiable in \( (0, 5) \), find the values of \( \alpha \) and \( \beta \).

Solution: Since \( g \) is differentiable in \( (0,5) \), it must be both continuous and differentiable at the junction point \( x = 2 \). Step 1 — Continuity at \( x = 2 \): Left-hand limit: \[ \lim_{x \to 2^-} g(x) = \alpha(2)^2 + \beta = 4\alpha + \beta \] Right-hand limit: \[ \lim_{x \to 2^+} g(x) = 4(2) - 1 = 7 \] Setting them equal gives the first equation: \[ 4\alpha + \beta = 7 \quad \cdots (1) \] Step 2 — Differentiability at \( x = 2 \): Note that \( g(2) = 4\alpha + \beta = 7 \). Left-hand derivative: \[ \lim_{x \to 2^-} \frac{g(x) - g(2)}{x - 2} = \lim_{x \to 2^-} \frac{\alpha x^2 + \beta - 7}{x - 2} \] Using \( 4\alpha + \beta = 7 \), we write \( \alpha x^2 + \beta - 7 = \alpha x^2 - 4\alpha = \alpha(x^2 - 4) = \alpha(x-2)(x+2) \), so: \[ \lim_{x \to 2^-} \frac{\alpha(x-2)(x+2)}{x-2} = \lim_{x \to 2^-} \alpha(x+2) = 4\alpha \] Right-hand derivative: \[ \lim_{x \to 2^+} \frac{g(x) - g(2)}{x - 2} = \lim_{x \to 2^+} \frac{(4x - 1) - 7}{x - 2} = \lim_{x \to 2^+} \frac{4x - 8}{x - 2} = \lim_{x \to 2^+} \frac{4(x-2)}{x-2} = 4 \] Setting left-hand derivative equal to right-hand derivative: \[ 4\alpha = 4 \implies \alpha = 1 \quad \cdots (2) \] Step 3 — Solving for \( \beta \): Substituting \( \alpha = 1 \) into equation (1): \[ 4(1) + \beta = 7 \implies \beta = 3 \]

Answer: \( \alpha = 1 \) and \( \beta = 3 \)

🎯 Try a Similar Question

Try a Similar Question

Question: If \[f(x) = \begin{cases} ax + b & ; \quad 0 < x \le 1 \\ 3x^2 - 2x & ; \quad 1 < x < 2 \end{cases}\] is a differentiable function in \( (0, 2) \), then find the values of \( a \) and \( b \).

Solution

  1. Step 1: Identify the point where the pieces join: The two pieces of \( f(x) \) meet at \( x = 1 \). For \( f \) to be differentiable on \( (0, 2) \), it must be continuous and differentiable at \( x = 1 \).
  2. Step 2: Apply the differentiability condition at x = 1: The derivative of the left piece is \( f'(x) = a \) for \( 0 < x \le 1 \). The derivative of the right piece is \( f'(x) = 6x - 2 \) for \( 1 < x < 2 \). For differentiability, the left-hand and right-hand derivatives at \( x = 1 \) must be equal: \[ a = 6(1) - 2 \] Therefore \( a = 4 \).
  3. Step 3: Apply the continuity condition at x = 1: The left-hand limit as \( x \to 1^- \) is \( a(1) + b = a + b \). The right-hand limit as \( x \to 1^+ \) is \( 3(1)^2 - 2(1) = 3 - 2 = 1 \). Setting these equal for continuity: \[ a + b = 1 \]
  4. Step 4: Solve for b: Substituting \( a = 4 \) into \( a + b = 1 \): \[ 4 + b = 1 \] Therefore \( b = -3 \).
  5. Step 5: Verify the result: With \( a = 4 \) and \( b = -3 \), the function becomes \( f(x) = 4x - 3 \) for \( 0 < x \le 1 \) and \( f(x) = 3x^2 - 2x \) for \( 1 < x < 2 \). At \( x = 1 \): left value \( = 4(1) - 3 = 1 \), right value \( = 3(1) - 2(1) = 1 \). Continuity holds. Left derivative \( = 4 \), right derivative \( = 6(1) - 2 = 4 \). Differentiability holds.

Answer: \( a = 4 \) and \( b = -3 \).

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