Clear Notion Academy

Integral Calculus (Warm Up) Practice: The figure shows the graph of y= x+ x on [0,2 ] . The value of 0 2 | x+ x |dx is

Question

The figure shows the graph of y=sin⁡x+cos⁡xy=\sin x+\cos x on [0,2π][0,2\pi]. The value of ∫02π∣sin⁡x+cos⁡x∣dx\displaystyle\int_{0}^{2\pi}\left|\sin x+\cos x\right|dx is

Options

  1. 00
  2. 424\sqrt2
  3. 222\sqrt2
  4. 44

Answer

Correct option: B

Hint

Write sin⁡x+cos⁡x=2sin⁡(x+π4)\sin x+\cos x=\sqrt2\sin\left(x+\frac\pi4\right) and use that ∣sin⁡∣|\sin| is periodic.

Solution

∣sin⁡x+cos⁡x∣=2∣sin⁡(x+π4)∣|\sin x+\cos x|=\sqrt2\left|\sin\left(x+\dfrac\pi4\right)\right|, which has period π\pi. Over any interval of length 2π2\pi (two full periods) the integral is the same as over [0,2π][0,2\pi] shifted: ∫02π2∣sin⁡(x+π4)∣dx=2⋅2∫0πsin⁡u du=2⋅2⋅2\displaystyle\int_{0}^{2\pi}\sqrt2\left|\sin\left(x+\frac\pi4\right)\right|dx=\sqrt2\cdot2\int_{0}^{\pi}\sin u\,du=\sqrt2\cdot2\cdot2. So the value is 424\sqrt2. Without the modulus the integral would be 00, as the positive and negative lobes in the figure cancel.

More questions from Integral Calculus (Warm Up) Practice

Practise the full set: Integral Calculus — Warm Up