Question
Evaluate the following integrals:
$\int_{0}^\limits{\pi}\frac{\sin\text{x}}{\sin\text{x}+\cos\text{x}}\text{ dx}$

Answer

$\int_{0}^\limits{\pi}\frac{\sin\text{x}}{\sin\text{x}+\cos\text{x}}\text{ dx}$
$=\frac{1}{2}\int_{0}^\limits{\pi}\frac{2\sin\text{x}}{\sin\text{x}+\cos\text{x}}\text{ dx}$
$=\frac{1}{2}\int_{0}^\limits{\pi}\frac{(\sin\text{x}+\cos\text{x})-(\cos\text{x}-\sin\text{x})}{\sin\text{x}+\cos\text{x}}\text{ dx}$
$=\frac{1}{2}\int_{0}^\limits{\pi}\text{dx}-\frac{1}{2}\int_{0}^\limits{\pi}\frac{\cos\text{x}-\sin\text{x}}{\sin\text{x}+\cos\text{x}}\text{ dx}$
$=\frac{1}{2}\big[\text{x}\big]^{\pi}_0-\frac{1}{2}\big[\log|\sin\text{x}+\cos\text{x}|\big]^{\pi}_0$
$=\frac{1}{2}\big[\pi-0\big]-\frac{1}{2}\big[\log1-\log1\big]$
$=\frac{\pi}{2}$

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

Verify Rolle's theorem for the following function on the indicated intervals

f(x) = x(x - 1)2 on [0, 1]

Show that if $A=\left[\begin{array}{ll} \cos \theta & \sin \theta \\ -\sin \theta & \cos \theta \end{array}\right], \text { then } A^{n}=\left[\begin{array}{cc} \cos n \theta & \sin n \theta \\ -\sin n \theta & \cos n \theta \end{array}\right]$
An urn contains 3 white and 6 red balls. Four balls are drawn one by one with replacement from the urn. Find the probability distribution of the number of red balls drawn. Also find mean and variance of the distribution.
Evaluate:

$\int\frac{3x + 1}{2x^{2} -2x + 3} dx$

Determine if f defined by:
$\text{f(x)}=\begin{cases}\text{x}^{2} \sin\frac{1}{\text{x}}, \text{if} \ \text{x}\neq0\\0, \ \ \ \ \ \ \ \ \ \ \ \text{if}\ \text{x} = 0\end{cases}$
Without expanding, show that the values of the following determinant are zero:
$\begin{vmatrix}\text{a}&\text{b}&\text{c}\\\text{a}+2\text{x}&\text{b}+2\text{y}&\text{c}+2\text{z}\\\text{x}&\text{y}&\text{z}\\\end{vmatrix}$
Show that the differential equation of $x^{2} \frac{d y}{d x}=x^{2}-2 y^{2}+x y$ is homogeneous and solve it.
Evaluate the following integrals:
$\int\limits^{\frac{\pi}{6}}_{0}\cos^{-3}2\theta\sin2\theta\text{ d}\theta$
Show that $\text{f}(\text{x})=\frac{1}{1+\text{x}^2}$ is neither increasing nor decreasing on R.
A coin is tossed thrice and all the eight outcomes are assumed equally likely. In which of the following cases are the following events A and B are independent?
A = The number of heads is odd,
B = The number of tails is odd.