If the function $f(x) = \begin{cases} 1+\cos x, & x \leq 0 \\ a-x, & 0 < x \leq 2 \\ x^2-b^2, & x > 2 \end{cases}$ is continuous everywhere,then $a^2+b^2=$

  • A
    $4$
  • B
    $8$
  • C
    $6$
  • D
    $12$

Explore More

Similar Questions

If $f(x) = \begin{cases} \frac{x^2 - 4x + 3}{x^2 - 1}, & x \ne 1 \\ 2, & x = 1 \end{cases}$,then:

The set of values of $x$ for which the function $f(x) = \log \left(\frac{x-1}{x+2}\right)$ is continuous, is

If $f(x) = \frac{x^2-10x+25}{x^2-7x+10}$ and $f$ is continuous at $x=5$,then $f(5)$ is equal to

Let $f(x) = \begin{cases} -2 \sin x, & \text{if } x \leq -\frac{\pi}{2} \\ A \sin x + B, & \text{if } -\frac{\pi}{2} < x < \frac{\pi}{2} \\ \cos x, & \text{if } x \geq \frac{\pi}{2} \end{cases}$. For what values of $A$ and $B$ is $f$ continuous?

If $f(x) = \begin{cases} x, & \text{if } x \text{ is irrational} \\ 0, & \text{if } x \text{ is rational} \end{cases}$,then $f$ is

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo