Question
Question: If \(P=\int{{{\text{e}}^{ax}}\text{cosbx }dx} \) and \( Q=\int{{{\text{e}}^{ax}}\text{sinbx }dx} \) ...
If P=∫eaxcosbx dx and Q=∫eaxsinbx dx , then tan−1(PQ)+tan−1(ab) is equal to:
(a) ax
(b) bx
(c) ax
(d) bx
Solution
Hint: Start by applying by-parts as P=∫eaxcosbx dx=cosbx∫eaxdx−∫dxd(cosbx)(∫eaxdx)dx . When you will simplify and substitute Q=∫eaxsinbx dx , we get P=cosbx×aeax−ab×Q . Rearrange it and let it be equation (i). Repeat the same with Q and let it be equation (ii). Now divide both the equations and use the formula tan−1A+tan−1B=tan−11−ABA+B to get the answer.
Complete step-by-step answer:
Let us start with the integral given in the above question.
P=∫eaxcosbx dx
Now according to the rule of the integration by parts:
∫uvdx=u∫vdx−∫(dxdu∫vdx) . From the two functions, u and v are decided using the ILATE preference rule. According to the ILATE rule, the preference order for u in decreasing order is Inverse, Logarithmic, Algebraic, Trigonometric and Exponential. For eaxcosbx , v is eax and u is cosbx .
P=∫eaxcosbx dx=cosbx∫eaxdx−∫dxd(cosbx)(∫eaxdx)dx
Now, we know that dxd(cosbx)=−bsinbx and ∫eaxdx=aeax . So, if we put this in our integral and simplify, we get
P=cosbx×aeax+∫absinbx×eaxdx
⇒P=cosbx×aeax+ab×∫sinbx×eaxdx
Now, we know that Q=∫eaxsinbx dx .
P=cosbx×aeax+ab×Q
⇒P−ab×Q=acosbx×eax..........(i)
Similarly, we will solve Q.
Q=∫eaxsinbx dx=sinbx∫eaxdx−∫dxd(sinbx)(∫eaxdx)dx
Now, we know that dxd(sinbx)=bcosbx and ∫eaxdx=aeax . So, if we put this in our integral and simplify, we get
Q=sinbx×aeax−∫abcosbx×eaxdx
⇒Q=sinbx×aeax−ab×∫cosbx×eaxdx
Now, we know that P=∫eaxcosbx dx .
Q=sinbx×aeax−ab×P
⇒Q+ab×P=asinbx×eax..........(ii)
Now we will divide equation (ii), by equation (i). On doing so, we get
P−ab×QQ+ab×P=acosbx×eaxasinbx×eax
Now we will take P common from numerator and denominator. On doing so, we get
⇒(1−ab×PQ)P(PQ+ab)P=cosbxsinbx
We know that cosxsinx=tanx .
1−ab×PQPQ+ab=tanbx
Now, we will use the fact that tanb=tana⇒b=tan−1tana .
tan−11−ab×PQPQ+ab=bx
Now, if we compare this with the formula tan−1A+tan−1B=tan−11−ABA+B , we find that A=PQ and B=ab .
tan−1(PQ)+tan−1(ab)=bx
Hence, the answer to the above question is option (b).
Note: See while you use integral by-parts, you don’t have to put the constant of integral I each and every step, but you just have to put a constant term at the end of the integrated answer to compensate for all the constant terms that would have appeared. Also, you need to remember all the basic formulas that we use for indefinite integrals as they are used in definite integrations as well. Also, the formula tan−1A+tan−1B is different for different cases and can be represented as:
{{\tan }^{-1}}A+{{\tan }^{-1}}B=\left\\{ \begin{aligned}
& {{\tan }^{-1}}\dfrac{A+B}{1-AB}\text{ AB < 1} \\\
& \pi +{{\tan }^{-1}}\dfrac{A+B}{1-AB}\text{ AB > 1} \\\
\end{aligned} \right.