If the function $f(x) = \begin{cases} x + a \sqrt{2} \sin x & \text{if } 0 \leq x \leq \frac{\pi}{4} \\ 2x \cot x + b & \text{if } \frac{\pi}{4} < x \leq \frac{\pi}{2} \\ a \cos 2x - b \sin x & \text{if } \frac{\pi}{2} < x \leq \pi \end{cases}$ is continuous in $[0, \pi]$,then $a - b = $

  • A
    $\frac{\pi}{4}$
  • B
    $\frac{\pi}{12}$
  • C
    $\frac{5\pi}{12}$
  • D
    $\frac{7\pi}{12}$

Explore More

Similar Questions

If $f(x)= \begin{cases} \frac{x-[x]}{x-2}, & x>2 \\ b, & x=2 \\ \frac{|x^2-x-2|}{a(2+x-x^2)}, & -1 < x \leq 2 \\ 2a-b, & x \leq -1 \end{cases}$ is continuous on $R$,then $\lim _{x \rightarrow 0} \frac{\sin ^2 ax+x \tan bx}{x^2}=$

If $f:(-7,7) \rightarrow R$ is defined by $f(x)=[x]$ for all $x \in (-7,7)$,then the number of discontinuities of $f$ is

Let $f: R \rightarrow R$ be defined by $f(x)=\begin{cases} \alpha+\frac{\sin [x]}{x}, & \text{if } x>0 \\ 2, & \text{if } x=0 \\ \beta+\left[\frac{\sin x-x}{x^3}\right], & \text{if } x < 0 \end{cases}$ where $[x]$ denotes the greatest integer function. If $f$ is continuous at $x=0$,then $\beta-\alpha$ is equal to

If $f(x) = \begin{cases} \frac{\log (1 + 2ax) - \log (1 - bx)}{x}, & x \neq 0 \\ k, & x = 0 \end{cases}$ is continuous at $x = 0$,then the value of $k$ is

The function $f(x) = [x] \cdot \cos \left( \frac{2x - 1}{2} \right) \pi$,where $[\cdot]$ denotes the greatest integer function,is discontinuous at

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