Solveeit Logo

Question

Question: If \(\int{\dfrac{2\cos x-\sin x+\lambda }{\cos x+\sin x-2}dx=A\ln \left| \cos x+\sin x-2 \right|+Bx+...

If 2cosxsinx+λcosx+sinx2dx=Alncosx+sinx2+Bx+C\int{\dfrac{2\cos x-\sin x+\lambda }{\cos x+\sin x-2}dx=A\ln \left| \cos x+\sin x-2 \right|+Bx+C}. Then the ordered triplet (A,B,λ)(A,B,\lambda ) is
(a)(12,32,1)\left( \dfrac{1}{2},\dfrac{3}{2},-1 \right)
(b) (32,12,1)\left( \dfrac{3}{2},\dfrac{1}{2},-1 \right)
(c) (12,1,32)\left( \dfrac{1}{2},-1,\dfrac{3}{2} \right)
(d) (32,1,12)\left( \dfrac{3}{2},-1,\dfrac{1}{2} \right)

Explanation

Solution

Differentiate both sides and solve for the unknowns. A different method can also be used to solve this question, that is, use the substitution method to solve for the integral.
If aa is any arbitrary constant, then, dadx=0\dfrac{da}{dx}=0.
d(x)dx=1\dfrac{d(x)}{dx}=1
d(lnx)dx=1x\dfrac{d(\ln x)}{dx}=\dfrac{1}{x}
d(sinx)dx=cosx\dfrac{d(\sin x)}{dx}=\cos x
d(cosx)dx=sinx\dfrac{d(\cos x)}{dx}=\\-sin x

Complete step by step answer:
Integral questions can sometimes turn out to be time consuming. So, rather than solving for the integral we can take the derivative on both sides. This deprives us from the need of having to actually solve the integral. However, on taking the derivatives on both sides, the equivalency remains, and we can easily find the values of the unknowns.
We have,
2cosxsinx+λcosx+sinx2dx=Alncosx+sinx2+Bx+C\int{\dfrac{2\cos x-\sin x+\lambda }{\cos x+\sin x-2}dx=A\ln \left| \cos x+\sin x-2 \right|+Bx+C}
Taking derivatives on both sides the equation becomes,
2cosxsinx+λcosx+sinx2=A(ddx(lncosx+sinx2))+Bdxdx+d(C)dx\dfrac{2\cos x-\sin x+\lambda }{\cos x+\sin x-2}=A\left( \dfrac{d}{dx}\left( \ln \left| \cos x+\sin x-2 \right| \right) \right)+B\dfrac{dx}{dx}+\dfrac{d(C)}{dx}
We know that the derivative of a constant is zero. We also know that d(lnx)dx=1x\dfrac{d(\ln x)}{dx}=\dfrac{1}{x} and d(x)dx=1\dfrac{d(x)}{dx}=1.
Hence, the equation becomes,
2cosxsinx+λcosx+sinx2=A(cosxsinxcosx+sinx2)+B\dfrac{2\cos x-\sin x+\lambda }{\cos x+\sin x-2}=A\left( \dfrac{\cos x-\sin x}{\cos x+\sin x-2} \right)+B
Further, on taking LCM, we obtain,
2cosxsinx+λcosx+sinx2=A(cosxsinx)+B(cosx+sinx2)cosx+sinx2\dfrac{2\cos x-\sin x+\lambda }{\cos x+\sin x-2}=\dfrac{A(\cos x-\sin x)+B(\cos x+\sin x-2)}{\cos x+\sin x-2}
The denominators get cancelled out on both sides.
2cosxsinx+λ=A(cosxsinx)+B(cosx+sinx2)2\cos x-\sin x+\lambda =A(\cos x-\sin x)+B(\cos x+\sin x-2)
2cosxsinx+λ=AcosxAsinx+Bcosx+Bsinx2B2\cos x-\sin x+\lambda =A\cos x-A\sin x+B\cos x+B\sin x-2B
Comparing the coefficients of cosx,sinx\cos x,\sin x and comparing the constants. We get,
A+B=2..............(1)A+B=2..............(1)
A+B=1.................(2)-A+B=-1.................(2)
2B=λ..............(3)-2B=\lambda ..............(3)
Solving the above equations gives us the values of A,BA,B and λ\lambda .
Adding equation (1) and equation (2),

& \,\,B+A=+2 \\\ & \,\,\underline{B-A=-1} \\\ & \underline{\underline{2B+0=+1}} \\\ \end{aligned}$$ $\therefore B=\dfrac{1}{2}$ Substituting $B=\dfrac{1}{2}$ in equation (1), we get, $A+\dfrac{1}{2}=2$ $\therefore A=\dfrac{3}{2}$ Substituting $B=\dfrac{1}{2}$ in equation (3), we get, $-2\left( \dfrac{1}{2} \right)=\lambda $ $\therefore \lambda =-1$ Hence, the values of $A,B$ and $\lambda $are $\dfrac{3}{2},\dfrac{1}{2},-1$ respectively. **So, the correct answer is “Option B”.** **Note:** Integrals are also known as anti-derivatives. This is simply because integration is the reverse process of differentiation. Hence, mathematically speaking, $\int{\dfrac{df(x)}{dx}dx=f(x)}$ and likewise, $\dfrac{d}{dx}\int{f(x)dx=f(x)}$. This way we can easily find the answer to such a question. This question can also be solved directly, that is, without taking the derivatives on both sides.