Definite Integration
Piecewise Functions
JEE Main PYQ
Grade 12

Question:

The value of $\int_0^\pi |\cos x| \, dx$ equals _____.

Step-by-Step Solution

Key Concept: Split the interval at $x = \pi/2$ — where $\cos x$ changes sign — and integrate $\cos x$ on $[0, \pi/2]$ and $-\cos x$ on $[\pi/2, \pi]$ separately.
The detailed step-by-step mathematical proof is available inside the Mathbee app workspace.
Correct Answer: 2

Master Definite Integration with Mathbee

Practice this topic under real exam conditions with strict timers, or ask our AI Mentor to explain the concepts step-by-step.

Start Practicing for Free