Let a function $f: R \rightarrow R$ be defined as
$f(x) = \begin{cases} \sin x - e^x & \text{if } x \leq 0 \\ a + [-x] & \text{if } 0 < x < 1 \\ 2x - b & \text{if } x \geq 1 \end{cases}$
where $[x]$ is the greatest integer less than or equal to $x$. If $f$ is continuous on $R$,then $(a + b)$ is equal to:

  • A
    $5$
  • B
    $3$
  • C
    $2$
  • D
    $4$

Explore More

Similar Questions

Given $f(x) = b ([x]^2 + [x]) + 1$ for $x \geq -1$ and $f(x) = \sin(\pi(x+a))$ for $x < -1$,where $[x]$ denotes the greatest integer function,for what values of $a$ and $b$ is the function continuous at $x = -1$?

The number of points of discontinuity of the function $f(x) = [\frac{x^2}{2}] - [\sqrt{x}]$ for $x \in [0, 4]$,where $[\cdot]$ denotes the greatest integer function,is . . . . . . .

The set of points of discontinuity of the function $f(x) = \frac{\tan x \cdot \tan^{-1}\left(\frac{1}{x-1}\right)}{x(x-3)(x-5)}$ is

If $f(x) = \frac{(e^{2x} - 1) \sin x^{\circ}}{x^2}, x \neq 0$ is continuous at $x = 0$,then $f(0) =$

Find all the points of discontinuity of the function $f$ defined by
$f(x) = \begin{cases} x + 2, & \text{if } x < 1 \\ 0, & \text{if } x = 1 \\ x - 2, & \text{if } x > 1 \end{cases}$

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