Question
Evaluate $\int \frac{x^2 d x}{(x \sin x+\cos x)^2}$.

Answer

Let
$I=\int \frac{x^2 d x}{(x \sin x+\cos x)^2}$
Since $\frac{d}{d x}(x \sin x+\cos x)=1 \cdot \sin x+x \cos x-\sin x$
$=x \cos x$
So assuming $x^2$ as $\frac{x}{\cos x} \cdot x \cos x$ taking
$\frac{x \cos x}{(x \sin x+\cos x)^2}$ as the second function, integrating by parts,
$\int \frac{x^2}{(x \sin x+\cos x)^2} d x$
$=\int \frac{x}{\cos x} \cdot \frac{x \cos x}{(x \sin x+\cos x)^2} d x$
$=\frac{x}{\cos x} \times\left(\frac{-1}{x \sin x+\cos x}\right)-$
$\int \frac{\cos x+x \sin x}{\cos ^2 x} \times\left\{\frac{-1}{x \sin x+\cos x}\right\} d x$
$=\frac{-x}{\cos x(x \sin x+\cos x)}+\int \sec ^2 x d x$
$=\frac{-x}{\cos x(x \sin x+\cos x)}+\tan x+ C$
$=\frac{-x}{\cos x(x \sin x+\cos x)}+\frac{\sin x}{\cos x}+ C$
$=\frac{-x+x \sin ^2 x+\sin x \cos x}{\cos x(x \sin x+\cos x)}+ C $
$=\frac{-x \cos ^2 x+\sin x \cos x}{\cos x(x \sin x+\cos x)}+ C$
$=\frac{\sin x-x \cos x}{x \sin x+\cos x}+ C \text { }$

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

Show that $\text{y}=\text{A}\cos\text{x}+\text{B}\sin\text{x}$ is a solution of the differential equation $\frac{\text{d}^2\text{y}}{\text{dx}^2}+\text{y}=0$
Prove that the lines through A(0, -1, -1) and B(4, 5, 1) intersects the line through C(3, 9, 4) and D(-4, 4, 4). Also, find their point of intersection.
The top of a ladder $6$ metres long is resting against a vertical wall on a level pavement, when the ladder begins to slide outwards. At the moment when the foot of the ladder is $4$ metres from the wall, it is sliding away from the wall at the rate of $0.5m/ \sec$. How fast is the top$-$sliding downwards at this instance?
How far is the foot from the wall when it and the top are moving at the same rate?
Solve the following differential equation
$\text{x}\cos\text{y dy}=(\text{xe}^\text{x}\log\text{x}+\text{e}^\text{x})\text{dx}$
Prove that:
$\sin^{-1}\frac{8}{17}+\sin^{-1}\frac{3}{5}=\tan^{-1}\frac{77}{36}$
The odds against a certain event are 5 to 2 and the odds in favour of another event, independent to the former are 6 to 5. Find the probability that,
  1. At least one of the events will occur,
  2. None of the events will occur.
Find the equation of the line passing through the points $\hat{\text{i}}+\hat{\text{j}}-3\hat{\text{k}}$ and perpendicular to the lines $\vec{\text{r}}=\hat{\text{i}}+\lambda\big(2\hat{\text{i}}+\hat{\text{j}}-3\hat{\text{k}}\big)$ and $\vec{\text{r}}=\big(2\hat{\text{i}}+\hat{\text{j}}-\hat{\text{k}}\big)+\mu\big(\hat{\text{i}}+\hat{\text{j}}+\hat{\text{k}}\big).$
Find the intervals in which the following functions are increasing or decreasing.
$\text{f}(\text{x})=\log(2+\text{x})-\frac{2\text{x}}{2+\text{x}},\text{x}\in\text{R}$
Suppose $5\%$ of men and $0.25\%$ of women have grey hair. Agrey haired person is selected at random.What is the probability of this person being male? Assume that there are equal number of males and females.
Evaluate :
$
\int_0^{\frac{\pi}{2}} \frac{\cos ^2 x}{1+3 \sin ^2 x} d x
$