Skip to content
Exercise 5.1 · Q28

Q.Find the values of kk so that the function ff is continuous at the indicated point, where ff is defined by f(x)={kx+1,if x≤πcos⁡x,if x>πf(x) = \begin{cases} kx+1, & \text{if } x \leq \pi \\ \cos x, & \text{if } x > \pi \end{cases} at x=πx = \pi

Yanam CbseNCERTSubjective· 2mImportance★★★★★
Appeared in past exams:GUJCET 2026· Set x· 1mreworded
10% · 28/281 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

For a piecewise function to be continuous at the junction point, the left-hand limit, right-hand limit, and the function's value there must all be equal. At x=πx = \pi, this forces kπ+1=cos⁡π=−1k\pi + 1 = \cos \pi = -1, giving k=−2πk = -\frac{2}{\pi}.

We are checking continuity at the point where the definition of ff changes — x=πx = \pi. The function is given by two different expressions on either side of this point. For continuity, the function must not "jump" when we cross x=πx = \pi; the value coming from the left must match the value coming from the right, and both must match what the function actually gives at x=πx = \pi.

The left-hand piece (x≤πx \leq \pi) gives f(x)=kx+1f(x) = kx + 1, so at x=πx = \pi itself, the function is defined as f(π)=kπ+1f(\pi) = k\pi + 1. The right-hand piece (x>πx > \pi) gives f(x)=cos⁡xf(x) = \cos x, which does not include x=πx = \pi — but it tells us what values the function takes as we approach π\pi from the right.

Let’s work through the three conditions for continuity at x=πx = \pi.

  1. Find f(π)f(\pi) directly. Since π\pi satisfies x≤πx \leq \pi, we use the first piece:

f(π)=kπ+1.f(\pi) = k\pi + 1.

  1. Compute the left-hand limit as x→π−x \to \pi^-. For xx just less than π\pi, the function is still kx+1kx + 1. Since kx+1kx + 1 is a polynomial (continuous everywhere), the limit as xx approaches π\pi from the left is simply the value at π\pi:

lim⁡x→π−f(x)=lim⁡x→π−(kx+1)=kπ+1.\lim_{x \to \pi^-} f(x) = \lim_{x \to \pi^-} (kx + 1) = k\pi + 1.

  1. Compute the right-hand limit as x→π+x \to \pi^+. For xx just greater than π\pi, the function is cos⁡x\cos x. The cosine function is continuous everywhere, so the limit as xx approaches π\pi from the right is:

lim⁡x→π+f(x)=lim⁡x→π+cos⁡x=cos⁡π=−1.\lim_{x \to \pi^+} f(x) = \lim_{x \to \pi^+} \cos x = \cos \pi = -1.

  1. Set the three equal for continuity. For ff to be continuous at x=πx = \pi, we need: lim⁡x→π−f(x)=f(π)=lim⁡x→π+f(x).\lim_{x \to \pi^-} f(x) = f(\pi) = \lim_{x \to \pi^+} f(x). …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.