If $f(x) = \begin{cases} 1 + \cos x, & x \le 0 \\ a - x, & 0 < x < 2 \\ (x - b)^2, & x \ge 2 \end{cases}$ is continuous at $x=0$ and $x=2$, then find the value of $a^2+b^2$.

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

Explore More

Similar Questions

If a function $f(x)$ defined on $[a, b]$ is discontinuous at $x=\alpha \in(a, b)$,then

$f(x) = \begin{cases} \frac{1-\cos kx}{x^2}, & x \le 0 \\ \frac{\sqrt{x}}{\sqrt{16+\sqrt{x}}-4}, & x > 0 \end{cases}$ is continuous at $x = 0$,then the value of $k$ is:

Consider $f(x) = [x] + \sqrt{\{x\}}$,where $[.]$ denotes the greatest integer function and $\{.\}$ denotes the fractional part function. Identify the correct statement.

For the function $f(x) = \frac{1}{x + 2^{\frac{1}{x - 2}}}$,$x \neq 2$,which of the following holds?

Let $f(x) = \begin{cases} \frac{1 - \cos 4x}{x^2}, & x < 0 \\ a, & x = 0 \\ \frac{\sqrt{x} + \sqrt{2}}{\sqrt{16 + \sqrt{x}}}, & x > 0 \end{cases}$
If $f(x)$ is continuous at $x = 0$,then the value of $a$ 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