SOLVER7 Study. Nothing Else.
Exercise 5.1 Q28

Find the values of k so that the function \(f\) is continuous at the indicated point in Exercises 26 to 29.\(f(x)=\begin{cases}kx+1,&\text{if x \)\le$\(\pi\)}\\ cos\ x,&\text{if x>\(\pi\)}\end{cases}\ \ \ \ \ at\ \(x=\)\pi$

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine two roads that must join smoothly at a junction. One road follows a slanted path using \( kx + 1 \), and the other follows a wavy curve using \( \cos x \). At the meeting point \( x = \pi \), both roads must reach the exact same height. The slanted road reaches \( k\pi + 1 \) and the wavy road reaches \( -1 \). Setting them equal and solving gives us the magic value of \( k \). Without this value, the roads would have a sudden jump — a break in the path.

Answer: \( k = -\dfrac{2}{\pi} \)

📖 Continuity of a Piecewise Function at x = π

Detailed Explanation

A function \( f \) is continuous at a point \( x = a \) if three conditions hold: the function is defined at \( a \), the limit \( \lim_{x \to a} f(x) \) exists, and this limit equals \( f(a) \). For a piecewise function, the limit exists only when the left-hand limit (LHL) equals the right-hand limit (RHL). Here the rule for \( f \) changes at \( x = \pi \): for \( x \le \pi \) we use \( kx + 1 \) and for \( x > \pi \) we use \( \cos x \). To make \( f \) continuous at \( x = \pi \), we force the two pieces to meet, which gives an equation we solve for \( k \).

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: Identify the value of the function at the point. Since \( x = \pi \) satisfies \( x \le \pi \), we use the first piece: \[ f(\pi) = k\pi + 1 \]
  2. Step 2: Find the left-hand limit (LHL). For \( x \le \pi \), the function is \( kx + 1 \), so \[ \lim_{x \to \pi^-} f(x) = \lim_{x \to \pi^-} (kx + 1) = k\pi + 1 \]
  3. Step 3: Find the right-hand limit (RHL). For \( x > \pi \), the function is \( \cos x \), so \[ \lim_{x \to \pi^+} f(x) = \lim_{x \to \pi^+} \cos x = \cos \pi = -1 \]
  4. Step 4: Apply the continuity condition. For continuity at \( x = \pi \), the LHL must equal the RHL (and both equal \( f(\pi) \)). Therefore \[ k\pi + 1 = -1 \]
  5. Step 5: Solve for \( k \). Rearranging the equation: \[ k\pi = -1 - 1 = -2 \] Hence \[ k = \frac{-2}{\pi} \]

Final Answer

\( k = -\dfrac{2}{\pi} \)

Common Mistake

A common mistake is writing \( \cos \pi = 1 \) instead of the correct value \( \cos \pi = -1 \), which leads to the wrong value of \( k \). Always evaluate the trigonometric value carefully at the given point.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Identify the boundary point and the two pieces. The function switches its rule at \( x = \pi \): \[f(x) = \begin{cases} kx + 1 & x \le \pi \\ \cos x & x > \pi \end{cases}\] — Reason: Knowing exactly where the rule changes tells us the point at which we must enforce continuity.
  2. Step 2: Evaluate \( f(\pi) \) using the first piece, since \( x = \pi \) satisfies \( x \le \pi \): \[f(\pi) = k\pi + 1\] — Reason: The function's actual value at the boundary must be computed before comparing it with the limits.
  3. Step 3: Compute the Left-Hand Limit (LHL). As \( x \) approaches \( \pi \) from the left, the rule \( kx + 1 \) applies: \[\lim_{x \to \pi^-} f(x) = \lim_{x \to \pi^-} (kx + 1) = k\pi + 1\] — Reason: The LHL uses values of \( x \) just below \( \pi \), so the first piece of the function governs.
  4. Step 4: Compute the Right-Hand Limit (RHL). As \( x \) approaches \( \pi \) from the right, the rule \( \cos x \) applies: \[\lim_{x \to \pi^+} f(x) = \lim_{x \to \pi^+} \cos x = \cos \pi = -1\] — Reason: The RHL uses values of \( x \) just above \( \pi \), so the second piece governs, and \( \cos \pi = -1 \) is a standard value.
  5. Step 5: Set LHL equal to RHL (and to \( f(\pi) \)) to enforce continuity: \[k\pi + 1 = -1\] — Reason: All three quantities must be equal for the function to be continuous at \( x = \pi \); this single equation captures that requirement.
  6. Step 6: Solve for \( k \). Subtract 1 from both sides: \[k\pi = -1 - 1 = -2\] Then divide both sides by \( \pi \): \[k = \frac{-2}{\pi}\] — Reason: Basic algebra isolates \( k \), giving the unique value that makes the function continuous.

Final Answer

\( k = -\dfrac{2}{\pi} \)

Common Mistake

One common mistake: students substitute \( x = \pi \) into \( \cos x \) for the LHL instead of using the first piece \( kx + 1 \), which gives the wrong equation and an incorrect value of \( k \).

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: LHL: \( \lim_{x \to \pi^-} (kx + 1) = k\pi + 1 \) and \( f(\pi) = k\pi + 1 \)
  2. Step 2: RHL: \( \lim_{x \to \pi^+} \cos x = \cos \pi = -1 \)
  3. Step 3: Setting LHL = RHL: \( k\pi + 1 = -1 \Rightarrow k\pi = -2 \Rightarrow k = \dfrac{-2}{\pi} \)

Answer: \( k = -\dfrac{2}{\pi} \)

➕ More Examples

More Examples

Example 1

Question: Find the value of k so that the function f is continuous at x = 2, where \[f(x) = \begin{cases} kx^2 - 1 & \text{if } x \le 2 \\ 3x - 5 & \text{if } x > 2 \end{cases}\]

Solution: We need f to be continuous at x = 2, so we require LHL = RHL = f(2). First, find f(2) using the first piece (since x = 2 satisfies \( x \le 2 \)): \[f(2) = k(2)^2 - 1 = 4k - 1\] Next, find the Left-Hand Limit as x approaches 2 from the left: \[\lim_{x \to 2^-} f(x) = \lim_{x \to 2^-} (kx^2 - 1) = k(2)^2 - 1 = 4k - 1\] Next, find the Right-Hand Limit as x approaches 2 from the right: \[\lim_{x \to 2^+} f(x) = \lim_{x \to 2^+} (3x - 5) = 3(2) - 5 = 6 - 5 = 1\] For continuity, set LHL = RHL: \[4k - 1 = 1\] Adding 1 to both sides: \[4k = 2\] Dividing both sides by 4: \[k = \frac{1}{2}\]

Answer: \( k = \dfrac{1}{2} \)

Example 2

Question: Find the value of k so that the function f is continuous at \( x = \dfrac{\pi}{2} \), where \[f(x) = \begin{cases} k\cos x & \text{if } x < \dfrac{\pi}{2} \\ 3x - k & \text{if } x \ge \dfrac{\pi}{2} \end{cases}\]

Solution: We need f to be continuous at \( x = \dfrac{\pi}{2} \), so LHL = RHL = \( f\!\left(\dfrac{\pi}{2}\right) \). Find \( f\!\left(\dfrac{\pi}{2}\right) \) using the second piece (since \( x = \dfrac{\pi}{2} \) satisfies \( x \ge \dfrac{\pi}{2} \)): \[f\!\left(\frac{\pi}{2}\right) = 3 \cdot \frac{\pi}{2} - k = \frac{3\pi}{2} - k\] Find the Left-Hand Limit: \[\lim_{x \to \left(\frac{\pi}{2}\right)^-} f(x) = \lim_{x \to \left(\frac{\pi}{2}\right)^-} k\cos x = k \cos\left(\frac{\pi}{2}\right) = k \cdot 0 = 0\] Find the Right-Hand Limit: \[\lim_{x \to \left(\frac{\pi}{2}\right)^+} f(x) = \lim_{x \to \left(\frac{\pi}{2}\right)^+} (3x - k) = 3 \cdot \frac{\pi}{2} - k = \frac{3\pi}{2} - k\] For continuity, set LHL = RHL: \[0 = \frac{3\pi}{2} - k\] Solving for k: \[k = \frac{3\pi}{2}\] Verification: With \( k = \dfrac{3\pi}{2} \), we check \( f\!\left(\dfrac{\pi}{2}\right) = \dfrac{3\pi}{2} - \dfrac{3\pi}{2} = 0 \), LHL = 0, RHL = 0. All three are equal, so continuity is confirmed.

Answer: \( k = \dfrac{3\pi}{2} \)

🎯 Try a Similar Question

Try a Similar Question

Question: Find the value of \( k \) so that the function \( f \) is continuous at \( x = \dfrac{\pi}{2} \), where \[ f(x) = \begin{cases} kx^2 - 1 & \text{if } x \le \dfrac{\pi}{2} \\ \sin x & \text{if } x > \dfrac{\pi}{2} \end{cases} \]

Solution

  1. Step 1: State the condition for continuity: For \( f \) to be continuous at \( x = \dfrac{\pi}{2} \), we need: \[ \lim_{x \to \frac{\pi}{2}^-} f(x) = \lim_{x \to \frac{\pi}{2}^+} f(x) = f\!\left(\frac{\pi}{2}\right) \]
  2. Step 2: Find the value of f at x = π/2: Since \( x = \dfrac{\pi}{2} \) satisfies \( x \le \dfrac{\pi}{2} \), we use the first piece: \[ f\!\left(\frac{\pi}{2}\right) = k\left(\frac{\pi}{2}\right)^2 - 1 = \frac{k\pi^2}{4} - 1 \]
  3. Step 3: Find the left-hand limit: As \( x \to \dfrac{\pi}{2}^- \), we use \( f(x) = kx^2 - 1 \): \[ \lim_{x \to \frac{\pi}{2}^-} f(x) = k\left(\frac{\pi}{2}\right)^2 - 1 = \frac{k\pi^2}{4} - 1 \]
  4. Step 4: Find the right-hand limit: As \( x \to \dfrac{\pi}{2}^+ \), we use \( f(x) = \sin x \): \[ \lim_{x \to \frac{\pi}{2}^+} f(x) = \sin\!\left(\frac{\pi}{2}\right) = 1 \]
  5. Step 5: Set the limits equal and solve for k: For continuity, the left-hand limit must equal the right-hand limit: \[ \frac{k\pi^2}{4} - 1 = 1 \] Adding 1 to both sides: \[ \frac{k\pi^2}{4} = 2 \] Multiplying both sides by \( \dfrac{4}{\pi^2} \): \[ k = \frac{8}{\pi^2} \]

Answer: \( k = \dfrac{8}{\pi^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