Home
Class 12
MATHS
Evaluate the following integrals: int(...

Evaluate the following integrals:
`int_(0)^(pi) |cos x| dx`

Text Solution

AI Generated Solution

The correct Answer is:
To evaluate the integral \( \int_{0}^{\pi} |\cos x| \, dx \), we will follow these steps: ### Step 1: Identify the intervals where \( \cos x \) is positive and negative The function \( \cos x \) is positive in the interval \( [0, \frac{\pi}{2}] \) and negative in the interval \( [\frac{\pi}{2}, \pi] \). Therefore, we can express the integral as a sum of two integrals: \[ \int_{0}^{\pi} |\cos x| \, dx = \int_{0}^{\frac{\pi}{2}} \cos x \, dx + \int_{\frac{\pi}{2}}^{\pi} -\cos x \, dx \] ### Step 2: Evaluate the first integral For the first integral, since \( \cos x \) is positive in the interval \( [0, \frac{\pi}{2}] \): \[ \int_{0}^{\frac{\pi}{2}} \cos x \, dx \] The integral of \( \cos x \) is \( \sin x \). Thus, we evaluate: \[ \int_{0}^{\frac{\pi}{2}} \cos x \, dx = \left[ \sin x \right]_{0}^{\frac{\pi}{2}} = \sin\left(\frac{\pi}{2}\right) - \sin(0) = 1 - 0 = 1 \] ### Step 3: Evaluate the second integral For the second integral, since \( \cos x \) is negative in the interval \( [\frac{\pi}{2}, \pi] \): \[ \int_{\frac{\pi}{2}}^{\pi} -\cos x \, dx \] Again, the integral of \( -\cos x \) is \( -\sin x \). Thus, we evaluate: \[ \int_{\frac{\pi}{2}}^{\pi} -\cos x \, dx = \left[-\sin x \right]_{\frac{\pi}{2}}^{\pi} = -\sin(\pi) - (-\sin\left(\frac{\pi}{2}\right)) = 0 - (-1) = 1 \] ### Step 4: Combine the results Now, we combine the results of both integrals: \[ \int_{0}^{\pi} |\cos x| \, dx = 1 + 1 = 2 \] ### Final Answer Thus, the value of the integral \( \int_{0}^{\pi} |\cos x| \, dx \) is: \[ \boxed{2} \]
Promotional Banner

Topper's Solved these Questions

  • INTEGRALS

    CBSE COMPLEMENTARY MATERIAL|Exercise TWO MARK QUESTIONS|20 Videos
  • INTEGRALS

    CBSE COMPLEMENTARY MATERIAL|Exercise FOUR MARK QUESTIONS|82 Videos
  • DIFFERENTIAL EQUATIONS

    CBSE COMPLEMENTARY MATERIAL|Exercise SIX MARK QUESTIONS|4 Videos
  • INVERSE TRIGONOMETRIC FUNCTIONS

    CBSE COMPLEMENTARY MATERIAL|Exercise 4 MARK QUESTIONS|31 Videos

Similar Questions

Explore conceptually related problems

Evaluate the following integrals int_(0)^(pi//2)cos x dx

Evaluate the following integrals: int_0^(pi//4)|cos2x|dx

Evaluate the following integral: int_0^(2pi)cos^7x\ dx

Evaluate the following integrals: int_(-1)^(1)|x cos pi x|dx

Evaluate the following integral: int_0^(pi//2)|sin x-cos x|dx

Evaluate the following integrals: int_(0)^(pi//2) (cosx)/(1+cos x+sin x)dx

Evaluate the following integral: int_0^(pi//2)x^2cos2x\ dx

Evaluate the following integral: int_0^pilog(1-cos x)dx

Evaluate the following integral: int_(0)^( pi/2)(dx)/(4cos x+2sin x)

Evaluate the following integral: int_(pi/6)^( pi/2)(cos ecx cot x)/(1+cos ec^(2)x)dx

CBSE COMPLEMENTARY MATERIAL-INTEGRALS-SIX MARK QUESTIONS
  1. Evaluate the following integrals: int(0)^(pi) |cos x| dx

    Text Solution

    |

  2. int(x^5+4)/(x^5-x)dx

    Text Solution

    |

  3. int(2e^t)/(e^(3t)-6e^(2t)+11 e^t-6)dt

    Text Solution

    |

  4. int(2x^3)/((x+1)(x-3)^2)dx

    Text Solution

    |

  5. Evaluate the following integrals: int(1+sinx)/(sin x(1+cosx))dx

    Text Solution

    |

  6. int(0)^(pi//2)(sqrt(tanx)+sqrt(cotx))dx

    Text Solution

    |

  7. Evaluate: int0^1xsqrt((1-x^2)/(1+x^2))dx

    Text Solution

    |

  8. Evaluate the following integrals: int(0)^(pi//2) (cosx)/(1+cos x+sin...

    Text Solution

    |

  9. Evaluate the following integrals as limit of sums: int(2)^(4)(2x+1)d...

    Text Solution

    |

  10. Evaluate the following integrals as limit of sums: int(0)^(2)(x^(2)+...

    Text Solution

    |

  11. Evaluate the following integrals as limit of sums: int(1)^(3)(3x^(2)...

    Text Solution

    |

  12. Evaluate the following integrals as limit of sums: int(0)^(4)(3x^(2)...

    Text Solution

    |

  13. Evaluate the following integrals as limit of sums: int(0)^(1)e^(2-3x...

    Text Solution

    |

  14. Evaluate the following integrals as limit of sums: int(0)^(1)(3x^(2)...

    Text Solution

    |

  15. Evaluate: int1/((sinx-2cosx)(2sinx+cosx)dx

    Text Solution

    |

  16. int0^1log(1+x)/(1+x^2)dx

    Text Solution

    |

  17. int(0)^(pi//2) (2logsin x - log sin 2x) dx=

    Text Solution

    |

  18. Evaluate: int0^1x(tan^(-1)x)^2dx

    Text Solution

    |

  19. Prove that: int(0)^(pi//2) log (sin x) dx =int(0)^(pi//2) log (cos x)...

    Text Solution

    |

  20. Prove that int0^1tan^(-1)(1/(1-x+x^2))dx=2int0^1tan^(-1)x dxdot Henc...

    Text Solution

    |

  21. Evaluate : int0^(pi/2)(sin^2x)/(s in x+cos x)dx

    Text Solution

    |