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} ax + 7, & \text{if } x < 1 \\ 3x - 1, & \text{if } x = 1 \\ \frac{x + 3}{b}, & \text{if } x > 1 \end{cases}$ is continuous at $x = 1$, then

If $f: R \rightarrow R$ is defined by $f(x) = \begin{cases} \frac{2 \sin x-\sin 2 x}{2 x \cos x}, & \text{if } x \neq 0 \\ a, & \text{if } x=0 \end{cases}$, then the value of $a$ so that $f$ is continuous at $x=0$ is

Let $f(x) = \begin{cases} x^3+8; x < 0 \\ x^2-4; x \ge 0 \end{cases}$ and $g(x) = \begin{cases} (x-8)^{1/3}; x < 0 \\ (x+4)^{1/2}; x \ge 0 \end{cases}$. Then the number of points, where the function $g \circ f$ is discontinuous, is ————

If $f(x) = \begin{cases} \frac{a \sin x - b x + c x^2 + x^3}{2 \log(1+x) - 2x + x^2 - \frac{2}{3}x^3} &, x \neq 0 \\ 0 &, x=0 \end{cases}$ is continuous at $x=0$,then find the relation between $a, b, c$.

If the function $f(x) = \begin{cases} \frac{2}{x} \{\sin(k_1+1)x + \sin(k_2-1)x\} & , x < 0 \\ 4 & , x = 0 \\ \frac{2}{x} \log_e \left(\frac{2+k_1x}{2+k_2x}\right) & , x > 0 \end{cases}$ is continuous at $x = 0$,then $k_1^2 + k_2^2$ is equal to

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