Skip to main content

Definite Integration MCQ: The value of ∫_ 0^π| cos x| d x, is

JEE · Mathematics · Definite Integration

1 Medium +4 | -1 Application
The value of ∫0π∣cos⁡x∣dx\int\limits_{0}^\pi|\cos x| d x, is
View answer and explanation
Correct option: B
2
Option B (2) is correct because the integral of the absolute value of cos(x) from 0 to pi is equal to 2.
Solution approach
  1. Correct Answer + Core Reason: 2. The integral of the absolute value of cosine function over the given interval is calculated by splitting the integral at π/2\pi/2 due to the absolute value.

    Step-by-Step Solution:

    Step 1: Split the integral at π/2\pi/2 because cos⁡x\cos x is positive from 00 to π/2\pi/2 and negative from π/2\pi/2 to π\pi. So, ∣cos⁡x∣=cos⁡x|\cos x| = \cos x for 0≤x≤π/20 \le x \le \pi/2 and ∣cos⁡x∣=−cos⁡x|\cos x| = -\cos x for π/2≤x≤π\pi/2 \le x \le \pi.

    Step 2: Write the integral as the sum of two integrals: ∫0π∣cos⁡x∣dx=∫0π/2cos⁡xdx+∫π/2π∣cos⁡x∣dx=∫0π/2cos⁡xdx−∫π/2πcos⁡xdx\int_0^\pi |\cos x| dx = \int_0^{\pi/2} \cos x dx + \int_{\pi/2}^\pi |\cos x| dx = \int_0^{\pi/2} \cos x dx - \int_{\pi/2}^\pi \cos x dx.

    Step 3: Evaluate the first integral: ∫0π/2cos⁡xdx=[sin⁡x]0π/2=sin⁡(π/2)−sin⁡(0)=1−0=1\int_0^{\pi/2} \cos x dx = [\sin x]_0^{\pi/2} = \sin(\pi/2) - \sin(0) = 1 - 0 = 1.

    Step 4: Evaluate the second integral: ∫π/2πcos⁡xdx=[sin⁡x]π/2π=sin⁡(π)−sin⁡(π/2)=0−1=−1\int_{\pi/2}^\pi \cos x dx = [\sin x]_{\pi/2}^\pi = \sin(\pi) - \sin(\pi/2) = 0 - 1 = -1.

    Step 5: Substitute the values back into the equation: ∫0π∣cos⁡x∣dx=1−(−1)=2\int_0^\pi |\cos x| dx = 1 - (-1) = 2.

    Why other options are wrong:
    - Option A (1): This is incorrect because it only considers the integral from 0 to π/2\pi/2 and ignores the part from π/2\pi/2 to π\pi.
    - Option C (0): This would be the integral of cos⁡x\cos x from 0 to π\pi, but we need the absolute value.
    - Option D (4): This is incorrect and likely arises from a miscalculation or misunderstanding of the absolute value.

    Key Concepts:
    - Definite integral
    - Absolute value function
    - Integral of cosine function

    Memory Aids:
    - Remember the shape of the cosine function and where it is positive and negative.
    - ∣cos⁡x∣=cos⁡x|\cos x| = \cos x when cos⁡x≥0\cos x \ge 0 and ∣cos⁡x∣=−cos⁡x|\cos x| = -\cos x when cos⁡x<0\cos x < 0.

    Quick Tips:
    - When dealing with absolute values in integrals, split the integral at the points where the function inside the absolute value changes sign.

More Questions from Definite Integration

Practice all chapter MCQs →
Type at least 2 characters or jump directly:

Save your learning progress

Sign in with a free account to save your practice answers and quiz results, then return to them when you revise.

Scan to install TopAll Pro

Point your Android or iPhone camera at this code to open TopAll Pro. Try 2 chapters and 25 AI credits free first.

Question image

Use + and − to zoom, arrow keys or drag to pan, Escape to close.