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 ∫cosx+sinx−22cosx−sinx+λdx=Aln∣cosx+sinx−2∣+Bx+C. Then the ordered triplet (A,B,λ) is
(a)(21,23,−1)
(b) (23,21,−1)
(c) (21,−1,23)
(d) (23,−1,21)
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 a is any arbitrary constant, then, dxda=0.
dxd(x)=1
dxd(lnx)=x1
dxd(sinx)=cosx
dxd(cosx)=−sinx
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,
∫cosx+sinx−22cosx−sinx+λdx=Aln∣cosx+sinx−2∣+Bx+C
Taking derivatives on both sides the equation becomes,
cosx+sinx−22cosx−sinx+λ=A(dxd(ln∣cosx+sinx−2∣))+Bdxdx+dxd(C)
We know that the derivative of a constant is zero. We also know that dxd(lnx)=x1 and dxd(x)=1.
Hence, the equation becomes,
cosx+sinx−22cosx−sinx+λ=A(cosx+sinx−2cosx−sinx)+B
Further, on taking LCM, we obtain,
cosx+sinx−22cosx−sinx+λ=cosx+sinx−2A(cosx−sinx)+B(cosx+sinx−2)
The denominators get cancelled out on both sides.
2cosx−sinx+λ=A(cosx−sinx)+B(cosx+sinx−2)
2cosx−sinx+λ=Acosx−Asinx+Bcosx+Bsinx−2B
Comparing the coefficients of cosx,sinx and comparing the constants. We get,
A+B=2..............(1)
−A+B=−1.................(2)
−2B=λ..............(3)
Solving the above equations gives us the values of A,B and λ.
Adding equation (1) and equation (2),