Clear Notion Academy

Integral Calculus (Beyond Advanced) Practice: x ( x) ,dx equals (up to a constant)

Question

∫xcos⁡(ln⁡x) dx\displaystyle\int x\cos(\ln x)\,dx equals (up to a constant)

Options

  1. x25(cos⁡(ln⁡x)+2sin⁡(ln⁡x))\dfrac{x^{2}}{5}\left(\cos(\ln x)+2\sin(\ln x)\right)
  2. x22(cos⁡(ln⁡x)+sin⁡(ln⁡x))\dfrac{x^{2}}{2}\left(\cos(\ln x)+\sin(\ln x)\right)
  3. x25(2cos⁡(ln⁡x)−sin⁡(ln⁡x))\dfrac{x^{2}}{5}\left(2\cos(\ln x)-\sin(\ln x)\right)
  4. x25(2cos⁡(ln⁡x)+sin⁡(ln⁡x))\dfrac{x^{2}}{5}\left(2\cos(\ln x)+\sin(\ln x)\right)

Answer

Correct option: D

Hint

The cyclic by-parts trick works best after x=etx=e^{t}.

Solution

Let x=etx=e^{t}: I=∫e2tcos⁡t dtI=\int e^{2t}\cos t\,dt. Parts twice: I=e2tsin⁡t−2∫e2tsin⁡t dtI=e^{2t}\sin t-2\int e^{2t}\sin t\,dt and ∫e2tsin⁡t dt=−e2tcos⁡t+2I\int e^{2t}\sin t\,dt=-e^{2t}\cos t+2I, so I=e2tsin⁡t+2e2tcos⁡t−4II=e^{2t}\sin t+2e^{2t}\cos t-4I, i.e. I=e2t5(2cos⁡t+sin⁡t)I=\dfrac{e^{2t}}{5}(2\cos t+\sin t). Hence I=x25(2cos⁡ln⁡x+sin⁡ln⁡x)I=\dfrac{x^{2}}{5}\left(2\cos\ln x+\sin\ln x\right). The denominators 22 (the value for ∫excos⁡x\int e^{x}\cos x) and the swapped coefficients are the typical mistakes.

More questions from Integral Calculus (Beyond Advanced) Practice

Practise the full set: Integral Calculus — Beyond Advanced