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

Answer

$\int_{0}^\limits{\frac{\pi}{2}}\frac{1}{\text{a}\cos\text{x}+\text{b}\sin\text{x}}\text{ dx}$
$=\int_{0}^\limits{\frac{\pi}{2}}\frac{1}{\text{a}\Bigg(\frac{1-\tan^{2}\frac{\text{x}}{2}}{1+\tan^{2}\frac{\text{x}}{2}}\Bigg)+\text{b}\Bigg(\frac{2\tan\frac{\text{x}}{2}}{1+\tan^{2}\frac{\text{x}}{2}}\Bigg)}\text{ dx}$
$=\int_{0}^\limits{\frac{\pi}{2}}\frac{\big(1+\tan^{2}\frac{\text{x}}{2}\big)}{\text{a}-\text{a}\tan^{2}\frac{\text{x}}{2}+2\text{b}\tan\frac{\text{x}}{2}}\text{ dx}$
$=\int_{0}^\limits{\frac{\pi}{2}}\frac{\sec^2\frac{\text{x}}{2}}{\text{a}-\text{a}\tan^{2}\frac{\text{x}}{2}+2\text{b}\tan\frac{\text{x}}{2}}\text{ dx}$
Let $\tan\frac{\text{x}}{2}=\text{t}$ Then, $\frac{1}{2}\sec^2\frac{\text{x}}{2}\text{ dx}=\text{dt}$
When $\text{x}=0,\text{t}=0,\text{x}=\frac{\pi}{2},\text{t}=1$
Therefore the integral becomes
$\text{I}=\int^\limits1_0\frac{2\text{dt}}{\text{a}-\text{a}\text{t}^2+2\text{bt}}$
$=\int^\limits1_0\frac{2\text{dt}}{-\text{a}\big[\text{t}^2-\frac{2\text{bt}}{\text{a}-1}\big]}$
$=\frac{2}{\text{a}}\int^\limits1_0\frac{\text{dt}}{-\Big[\big(\text{t}-\frac{\text{b}}{\text{a}}\big)^2-1-\frac{\text{b}^2}{\text{a}^2}\Big]}$
$=\frac{2}{\text{a}}\int^\limits1_0\frac{\text{dt}}{\Big(\frac{\text{b}^2}{\text{a}^2}+1\Big)-\big(\text{t}-\frac{\text{b}}{\text{a}}\big)^2}$
$=\frac{2}{\text{a}}\begin{bmatrix}\frac{1}{2\sqrt{\frac{\text{a}^2+\text{b}^2}{\text{a}^2}}}\begin{pmatrix}\log\begin{vmatrix}\frac{2\sqrt{\frac{\text{a}^2+\text{b}^2}{\text{a}^2}}+\big(\text{t}-\frac{\text{b}}{\text{a}}\big)}{\sqrt{\frac{\text{a}^2+\text{b}^2}{\text{a}^2}-\big(\text{t}-\frac{\text{b}}{\text{a}}\big)}}\end{vmatrix} \end{pmatrix}^1_0\end{bmatrix}$
$=\frac{1}{\sqrt{\text{a}^2+\text{b}^2}}\log\bigg(\frac{\text{a}+\text{b}+\sqrt{\text{a}^2+\text{b}^2}}{\text{a}+\text{b}-\sqrt{\text{a}^2+\text{b}^2}}\bigg)$

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

A unit vector $\vec{\text{a}}$  makes angles $\frac{\pi}{4}$ and $\frac{\pi}{3}$ with $\hat{\text{i}}$ and $\hat{\text{j}}$ respectively and an acute angle $\theta$ with $\hat{\text{k}}$. find the angle $\theta$ and components of $\vec{\text{a}}$ .
Find a 2 × 2 matrix A such that.
$\text{A}\begin{bmatrix}1&-2\\1&4\end{bmatrix}=6\text{I}_2$
If $a, b, c$ are real numbers such that $\begin{vmatrix}\text{b}+\text{c}&\text{c}+\text{a}&\text{a}+\text{b}\\\text{c}+\text{a}&\text{a}+\text{b}&\text{b}+\text{c}\\\text{a}+\text{b}&\text{b}+\text{c}&\text{c}+\text{a}\end{vmatrix}=0,$ then show that either $a + b + c = 0$ or $a = b= c.$
$\text{Let } \vec{\text a} = \hat{\text{i}} + \hat{\text{j}} + \hat{\text{k}}, \vec{\text{b}} = \hat{\text{i}} \text{ and } \vec{\text{c}} = \text{c}_{1} \hat{\text{i}} + \text{c}_{2} \hat{\text{j}} + \text{c}_{3} \hat{\text{k}}, \text{then}$
  1. Let $c_1 = 1$ and $c_2 = 2,$ find $c_3$ which makes $\vec{\text{a}}, \vec{\text{b}} \text{ and }\vec{\text{c}} \text{ coplanar.}$
  2. If $c_2 = –1$ and $c_3 = 1,$ show that no value of $c_1$ can make $\vec{\text{a}}, \vec{\text{b}} \text{ and } \vec{\text{c}} \text{ coplanar}.$
Show that the following set of curves intersect orthogonally. $x^3 - 3xy^2 = -2$ and $3x^2y - y^3 = 2$
Find the equation of the plane passing through the points (-1, 2, 0), (2, 2, -1) and parallel to the line $\frac{\text{x}-1}{1}=\frac{2\text{y}+1}{2}=\frac{\text{z}+1}{-1}.$ 
Find the equation of the normal lines to the curve $3x^2 - y^2 = 8$ which are parallel to the line $x + 3y = 4.$
Solve the following systems of linear equations by cramer's rule:
2x - y = 1,
7x - 2y = -7
Solve the following systems of linear equations by cramer's rule:
3x + y = 19,
3x - y = 23
Two cards are drawn simultaneously from a pack of 52 cards. Compute the mean and standard deviation of the number of kings.