Skip to content
NCERT Exemplar · Q86

Q.If f(x)={mx+1,x≤π2sin⁡x+n,x>π2f(x) = \begin{cases} mx + 1, & x \le \dfrac{\pi}{2} \\ \sin x + n, & x > \dfrac{\pi}{2} \end{cases} is continuous at x=π2x = \dfrac{\pi}{2}, then
(A) m=1, n=0m = 1,\ n = 0
(B) m=nπ2+1m = \dfrac{n\pi}{2} + 1
(C) n=mπ2n = \dfrac{m\pi}{2}
(D) m=n=π2m = n = \dfrac{\pi}{2}

Uttarakhand UbseMCQ· 1mImportance★★★★★
Appeared in past exams:MHT-CET 2025· Set pcm-2025-04-20-M· 2mrewordedKEAM 2024· Set eng-2024-0609· 4mexact
95% · 266/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 join point, the left-hand limit and right-hand limit must be equal to the function value there. Equating the two expressions at x=π2x = \frac{\pi}{2} gives m⋅π2+1=1+nm \cdot \frac{\pi}{2} + 1 = 1 + n, which simplifies to n=mπ2n = \frac{m\pi}{2} — matching option (C).

The core idea is the Continuity Condition: a function is continuous at a point if the limit from the left equals the limit from the right, and both equal the function's value at that point. For a piecewise function that changes its rule at a boundary, this condition forces a relationship between the parameters on either side.

Here, the boundary is x=π2x = \frac{\pi}{2}. The function is defined by mx+1mx + 1 for x≤π2x \le \frac{\pi}{2} and by sin⁡x+n\sin x + n for x>π2x > \frac{\pi}{2}. At x=π2x = \frac{\pi}{2} itself, the definition uses the first piece (since x≤π2x \le \frac{\pi}{2} includes the equality). So f(π2)=m⋅π2+1f(\frac{\pi}{2}) = m \cdot \frac{\pi}{2} + 1.

Now, for continuity, the limit as xx approaches π2\frac{\pi}{2} from the left must equal the limit from the right, and both must equal that function value.

  1. Left-hand limit (x→π2−x \to \frac{\pi}{2}^-): For xx just less than π2\frac{\pi}{2}, the function is mx+1mx + 1. Since this is a polynomial (hence continuous everywhere), the limit is simply the value at x=π2x = \frac{\pi}{2}:

lim⁡x→π2−f(x)=m⋅π2+1.\lim_{x \to \frac{\pi}{2}^-} f(x) = m \cdot \frac{\pi}{2} + 1.

  1. Right-hand limit (x→π2+x \to \frac{\pi}{2}^+): For xx just greater than π2\frac{\pi}{2}, the function is sin⁡x+n\sin x + n. The sine function is continuous everywhere, so the limit is:

lim⁡x→π2+f(x)=sin⁡(π2)+n=1+n.\lim_{x \to \frac{\pi}{2}^+} f(x) = \sin\left(\frac{\pi}{2}\right) + n = 1 + n.

  1. Continuity condition: We require:

lim⁡x→π2−f(x)=lim⁡x→π2+f(x)=f(π2).\lim_{x \to \frac{\pi}{2}^-} f(x) = \lim_{x \to \frac{\pi}{2}^+} f(x) = f\left(\frac{\pi}{2}\right).

The left-hand limit already equals f(π2)f(\frac{\pi}{2}) by definition, so the key equation is:

m⋅π2+1=1+n.m \cdot \frac{\pi}{2} + 1 = 1 + n.

  1. Simplify: Subtract 11 from both sides:

m⋅π2=n.m \cdot \frac{\pi}{2} = n.

So n=mπ2n = \frac{m\pi}{2}. …

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.