MHT CET · Maths · Definite Integration
\(\int_0^{\frac{\pi}{2}}|\sin x-\cos x| d x\) has the value
- A \(2 \sqrt{2}+1\)
- B \(2(\sqrt{2}+1)\)
- C \(2(\sqrt{2}-1)\)
- D \(2 \sqrt{2}-1\)
Answer & Solution
Correct Answer
(C) \(2(\sqrt{2}-1)\)
Step-by-step Solution
Detailed explanation
\(\begin{aligned} I & =\int_0^{\frac{\pi}{2}}|\sin x-\cos x| d x \\ & =\int_0^{\frac{\pi}{4}}-(\sin x-\cos x) d x+\int_{\frac{\pi}{4}}^{\frac{\pi}{2}}(\sin x-\cos x) d x\end{aligned}\)
\(\cdots\left\{\begin{aligned} \mathrm{f}(x) & =\mathrm{f}(-x) & & 0 \leq x \leq \frac{\pi}{4} \\ & =\mathrm{f}(x) & & \frac{\pi}{4} \leq x \leq \frac{\pi}{2}\end{aligned}\right\}\)
\(\begin{aligned} & =\int_0^{\frac{\pi}{4}}(\cos x-\sin x) d x+\int_{\frac{\pi}{4}}^{\frac{\pi}{2}}(\sin x-\cos x) d x \\ & =(\sin x+\cos x)_0^{\frac{\pi}{4}}+(-\cos x-\sin x)_{\frac{\pi}{4}}^{\frac{\pi}{2}} \\ & =\left[\sin \frac{\pi}{4}+\cos \frac{\pi}{4}-\sin 0-\cos 0\right]\end{aligned}\)
\(-\left[\cos \frac{\pi}{2}+\sin \frac{\pi}{2}-\cos \frac{\pi}{4}-\sin \frac{\pi}{4}\right]\)
\(\begin{aligned} & =\left[\frac{1}{\sqrt{2}}+\frac{1}{\sqrt{2}}-0-1\right]-\left[0+1-\frac{1}{\sqrt{2}}-\frac{1}{\sqrt{2}}\right] \\ & =\left[\frac{2}{\sqrt{2}}-1\right]-\left[1-\frac{2}{\sqrt{2}}\right] \\ & =\frac{4}{\sqrt{2}}-2 \\ & =\frac{4 \sqrt{2}}{2}-2 \\ & =2 \sqrt{2}-2 \\ & =2(\sqrt{2}-1)\end{aligned}\)
\(\cdots\left\{\begin{aligned} \mathrm{f}(x) & =\mathrm{f}(-x) & & 0 \leq x \leq \frac{\pi}{4} \\ & =\mathrm{f}(x) & & \frac{\pi}{4} \leq x \leq \frac{\pi}{2}\end{aligned}\right\}\)
\(\begin{aligned} & =\int_0^{\frac{\pi}{4}}(\cos x-\sin x) d x+\int_{\frac{\pi}{4}}^{\frac{\pi}{2}}(\sin x-\cos x) d x \\ & =(\sin x+\cos x)_0^{\frac{\pi}{4}}+(-\cos x-\sin x)_{\frac{\pi}{4}}^{\frac{\pi}{2}} \\ & =\left[\sin \frac{\pi}{4}+\cos \frac{\pi}{4}-\sin 0-\cos 0\right]\end{aligned}\)
\(-\left[\cos \frac{\pi}{2}+\sin \frac{\pi}{2}-\cos \frac{\pi}{4}-\sin \frac{\pi}{4}\right]\)
\(\begin{aligned} & =\left[\frac{1}{\sqrt{2}}+\frac{1}{\sqrt{2}}-0-1\right]-\left[0+1-\frac{1}{\sqrt{2}}-\frac{1}{\sqrt{2}}\right] \\ & =\left[\frac{2}{\sqrt{2}}-1\right]-\left[1-\frac{2}{\sqrt{2}}\right] \\ & =\frac{4}{\sqrt{2}}-2 \\ & =\frac{4 \sqrt{2}}{2}-2 \\ & =2 \sqrt{2}-2 \\ & =2(\sqrt{2}-1)\end{aligned}\)
See the Complete Solution
Get step-by-step explanations for this and 2.5 Lakh+ more JEE, NEET & CET questions.
- Unlock all solutions
- Practice the full chapter
- Track accuracy across PYQs
4.8 rated on Google Play · 14,000+ reviews
More questions from Maths
- The foci of the ellipse \(\frac{x^{2}}{16}+\frac{y^{2}}{b^{2}}=1\) and the hyperbola \(\frac{x^{2}}{144}-\frac{y^{2}}{81}=\frac{1}{25}\) coincide, then the value of \(b^{2}\) isMHT CET 2007 Easy
- The approximate value of \(\tan ^{-1}(0.999)\) is (use \(\pi=3.1415\) )MHT CET 2024 Easy
- The order and degree of the differential equation \(y=p x+\sqrt{a^{2} \mathbf{p}^{2}+b^{2}}\), where \(\mathrm{p}=\frac{\mathrm{d} y}{\mathrm{~d} x}\) are respectivelyMHT CET 2020 Easy
- If \(\mathrm{A}\) is non-singular matrix of order 3 such that \((A-2 \mathrm{I})(A-4 \mathrm{I})=0\), then \(\frac{1}{6} A+\frac{4}{3} A^{-1}\) is (where I is a unit matrix of order 3 and 0 is a null matrix of order 3)MHT CET 2022 Medium
- If \(\mathrm{k}_{\mathrm{i}}\) are possible values of \(\mathrm{k}\) for which lines \(\mathrm{k} x+2 y+2=0,2 x+\mathrm{k} y+3=0\) and \(3 x+3 y+\mathrm{k}=0\) are concurrent, then \(\sum \mathrm{k}_{\mathrm{i}}\) has the valueMHT CET 2023 Medium
- Local maximum and local minimum values respectively of the function \(f(x)=(x-1)(x+2)^2\) areMHT CET 2022 Easy
More PYQs from MHT CET
- The equation of line equally inclined with the positivie co-ordinate axes and passing through isMHT CET 2017 Medium
- A ladder 5 m long rests against a vertical wall. If its top slides downwards at the rate of \(10 \mathrm{~cm} / \mathrm{sec}\)., then the foot of the ladder is sliding at the rate of _______ \(\mathrm{m} / \mathrm{sec}\), when it is 4 m away from the wall.MHT CET 2024 Easy
- Identify weak field ligand from following.MHT CET 2025 Easy
- The potential barrier in \(\mathrm{p}-\mathrm{n}\) junction diode is due toMHT CET 2024 Easy
- For the following shaded area, the linear constraints except \(x, y \geq 0\) are
MHT CET 2023 Easy - For the inequalities \(x+y \leq 3,2 x+5 y \geq 10, x \geq 0, y \geq 0\), which of the following points lies in the feasible region?MHT CET 2022 Easy