Home
Class 12
MATHS
int(0)^(pi/2) |sinx - cosx |dx is equal ...

`int_(0)^(pi/2) |sinx - cosx |dx` is equal to

A

`0`

B

`2(sqrt(2) -1)`

C

`2sqrt(2)`

D

`2(sqrt(2) + 1)`

Text Solution

AI Generated Solution

The correct Answer is:
To solve the integral \( \int_{0}^{\frac{\pi}{2}} |\sin x - \cos x| \, dx \), we will follow these steps: ### Step 1: Determine where \( \sin x - \cos x \) changes sign We need to find the points where \( \sin x = \cos x \). This occurs when: \[ \tan x = 1 \quad \Rightarrow \quad x = \frac{\pi}{4} \] Thus, we have two intervals to consider: 1. From \( 0 \) to \( \frac{\pi}{4} \) 2. From \( \frac{\pi}{4} \) to \( \frac{\pi}{2} \) ### Step 2: Analyze the sign of \( \sin x - \cos x \) - For \( x \in [0, \frac{\pi}{4}) \), \( \sin x < \cos x \) so \( \sin x - \cos x < 0 \) and \( |\sin x - \cos x| = -(\sin x - \cos x) = \cos x - \sin x \). - For \( x \in (\frac{\pi}{4}, \frac{\pi}{2}] \), \( \sin x > \cos x \) so \( \sin x - \cos x > 0 \) and \( |\sin x - \cos x| = \sin x - \cos x \). ### Step 3: Set up the integral We can split the integral into two parts: \[ \int_{0}^{\frac{\pi}{2}} |\sin x - \cos x| \, dx = \int_{0}^{\frac{\pi}{4}} (\cos x - \sin x) \, dx + \int_{\frac{\pi}{4}}^{\frac{\pi}{2}} (\sin x - \cos x) \, dx \] ### Step 4: Evaluate the first integral Calculate \( \int_{0}^{\frac{\pi}{4}} (\cos x - \sin x) \, dx \): \[ \int (\cos x - \sin x) \, dx = \sin x + \cos x \] Evaluating from \( 0 \) to \( \frac{\pi}{4} \): \[ \left[ \sin x + \cos x \right]_{0}^{\frac{\pi}{4}} = \left( \sin \frac{\pi}{4} + \cos \frac{\pi}{4} \right) - \left( \sin 0 + \cos 0 \right) = \left( \frac{1}{\sqrt{2}} + \frac{1}{\sqrt{2}} \right) - (0 + 1) = \sqrt{2} - 1 \] ### Step 5: Evaluate the second integral Calculate \( \int_{\frac{\pi}{4}}^{\frac{\pi}{2}} (\sin x - \cos x) \, dx \): \[ \int (\sin x - \cos x) \, dx = -\cos x - \sin x \] Evaluating from \( \frac{\pi}{4} \) to \( \frac{\pi}{2} \): \[ \left[ -\cos x - \sin x \right]_{\frac{\pi}{4}}^{\frac{\pi}{2}} = \left( -\cos \frac{\pi}{2} - \sin \frac{\pi}{2} \right) - \left( -\cos \frac{\pi}{4} - \sin \frac{\pi}{4} \right) = \left( 0 - 1 \right) - \left( -\frac{1}{\sqrt{2}} - \frac{1}{\sqrt{2}} \right) = -1 + \sqrt{2} \] ### Step 6: Combine the results Now, we combine both parts: \[ \int_{0}^{\frac{\pi}{2}} |\sin x - \cos x| \, dx = (\sqrt{2} - 1) + (-1 + \sqrt{2}) = 2\sqrt{2} - 2 \] ### Final Result Thus, the value of the integral is: \[ \int_{0}^{\frac{\pi}{2}} |\sin x - \cos x| \, dx = 2(\sqrt{2} - 1) \]

To solve the integral \( \int_{0}^{\frac{\pi}{2}} |\sin x - \cos x| \, dx \), we will follow these steps: ### Step 1: Determine where \( \sin x - \cos x \) changes sign We need to find the points where \( \sin x = \cos x \). This occurs when: \[ \tan x = 1 \quad \Rightarrow \quad x = \frac{\pi}{4} \] Thus, we have two intervals to consider: ...
Promotional Banner

Topper's Solved these Questions

  • DEFINITE INTEGRATION & ITS APPLICATION

    NDA PREVIOUS YEARS|Exercise DIRECTIONS|60 Videos
  • CONICS - PARABOLA, ELLIPSE & HYPERBOLA

    NDA PREVIOUS YEARS|Exercise MATH|62 Videos
  • DERIVATIVES

    NDA PREVIOUS YEARS|Exercise MCQs|94 Videos
NDA PREVIOUS YEARS-DEFINITE INTEGRATION & ITS APPLICATION-DIRECTIONS
  1. What is int(0)^(2pi) sqrt(1+ sin'x/2) dx equal to ?

    Text Solution

    |

  2. The area bounded by the curve |x | + |y| = 1is

    Text Solution

    |

  3. Let f(n) = [1/4 + n/1000], where [x] denote the integral part of x. ...

    Text Solution

    |

  4. The value of int(0)^(pi/4) sqrt(tanx) dx+int(0)^(pi/4) sqrt(cotx) dxis...

    Text Solution

    |

  5. What is the area of the region bounded by theparabolas y^2 = 6 (x - 1)...

    Text Solution

    |

  6. Three sides of a trapezium are each equal to 6 cm. Let alpha in (0,pi...

    Text Solution

    |

  7. Three sides of a trapezium are each equal to 6 cm. Let alpha in (0,pi...

    Text Solution

    |

  8. Three sides of a trapezium are each equal to 6 cm. Let alpha in (0,pi...

    Text Solution

    |

  9. What is int(0)^(pi)e^(x) sin x dx equal to ?

    Text Solution

    |

  10. What is int(1)^(e) xln x dx equal to ?

    Text Solution

    |

  11. What is int(0)^(sqrt(2))[x^(2)] dxequal to (where [.] is the greatest ...

    Text Solution

    |

  12. What is the value of int((-pi)/(4))^(pi/4) (sin xx tan x) dx ?

    Text Solution

    |

  13. If int(a)^(b)x^(3) dx = 0 and int(a)^(b) x^(2) dx = 2/3 then what are ...

    Text Solution

    |

  14. What is int(0)^(1)x (1-x)^(9) dx equal to ?

    Text Solution

    |

  15. what is inta^b [x] dx+inta^b [-x] dx equal to

    Text Solution

    |

  16. What is int(2)^(8) |x-5|dx equal to ?

    Text Solution

    |

  17. What is int(-1)^(1) {d/(dx) (tan^(-1)'1/x)} dx equal to ?

    Text Solution

    |

  18. int(0)^(pi/2) |sinx - cosx |dx is equal to

    Text Solution

    |

  19. int(0)^(pi//2) e^(sin)x cos xdx is equal to

    Text Solution

    |

  20. What is the area of one of the loops between the curve y = c sin x and...

    Text Solution

    |