ExamBro
ExamBro
AP EAMCET · Maths · Continuity and Differentiability

If the function \(f(x)=\left\{\begin{array}{l}1+\cos x, x \leq 0 \\ a-x, 0 < x \leq 2 \\ x^2-b^2, x>2\end{array}\right.\) is continuous everywhere, then \(\mathrm{a}^2+\mathrm{b}^2=\)

  1. A 4
  2. B 8
  3. C 6
  4. D 12
Verified Solution

Answer & Solution

Correct Answer

(B) 8

Step-by-step Solution

Detailed explanation

\(\lim _{x \rightarrow 0^{-}} f(x) = 1+\cos(0) = 2\) \(\lim _{x \rightarrow 0^{+}} f(x) = a-0 = a\) \(a=2\) \(\lim _{x \rightarrow 2^{-}} f(x) = a-2\) \(\lim _{x \rightarrow 2^{+}} f(x) = 2^2-b^2 = 4-b^2\) \(a-2 = 4-b^2\) \(2-2 = 4-b^2\) \(0 = 4-b^2 \Rightarrow b^2=4\)…