Skip to main content

Indefinite Integration MCQ: If ∫ x e^x cos x d x=(x)+c, then f(x) is equal to

JEE · Mathematics · Indefinite Integration

1 Medium +4 | -1 Application
If ∫xexcos⁡xdx=(x)+c\int x e^x \cos x d x=(x)+c, then f(x)f(x) is equal to
View answer and explanation
Correct option: A
ex2{(1−x)sin⁡x−xcos⁡x}\frac{e^x}{2}\{(1-x) \sin x-x \cos x\}
Option A is correct because the integral can be solved by considering the real part of a complex exponential and using integration by parts.
Solution approach
  1. Correct Answer + Core Reason: ex2{(1−x)sin⁡x−xcos⁡x}\frac{e^x}{2}\{(1-x) \sin x-x \cos x\}. This result is obtained by considering the real part of a complex exponential and using integration by parts.

    Step-by-Step Solution:

    Step 1: Identify the integral: ∫xexcos⁡xdx\int x e^x \cos x d x

    Step 2: Use the fact that cos⁡x=Re(eix)\cos x = Re(e^{ix}), so the integral becomes: ∫xexRe(eix)dx=Re(∫xexeixdx)=Re(∫xe(1+i)xdx)\int x e^x Re(e^{ix}) dx = Re(\int x e^x e^{ix} dx) = Re(\int x e^{(1+i)x} dx)

    Step 3: Integrate by parts: Let u=xu = x and dv=e(1+i)xdxdv = e^{(1+i)x} dx. Then du=dxdu = dx and v=e(1+i)x1+iv = \frac{e^{(1+i)x}}{1+i}.\nSo, ∫xe(1+i)xdx=xe(1+i)x1+i−∫e(1+i)x1+idx=xe(1+i)x1+i−e(1+i)x(1+i)2+C=e(1+i)x[x1+i−1(1+i)2]+C\int x e^{(1+i)x} dx = x \frac{e^{(1+i)x}}{1+i} - \int \frac{e^{(1+i)x}}{1+i} dx = \frac{x e^{(1+i)x}}{1+i} - \frac{e^{(1+i)x}}{(1+i)^2} + C = e^{(1+i)x} \left[\frac{x}{1+i} - \frac{1}{(1+i)^2}\right] + C

    Step 4: Simplify: 11+i=1−i(1+i)(1−i)=1−i2\frac{1}{1+i} = \frac{1-i}{(1+i)(1-i)} = \frac{1-i}{2} and 1(1+i)2=11+2i−1=12i=−i2\frac{1}{(1+i)^2} = \frac{1}{1 + 2i - 1} = \frac{1}{2i} = \frac{-i}{2}\nSo, e(1+i)x[x1+i−1(1+i)2]=e(1+i)x[x(1−i)2+i2]=ex2eix[x−ix+i]=ex2(cos⁡x+isin⁡x)[x+i(1−x)]e^{(1+i)x} \left[\frac{x}{1+i} - \frac{1}{(1+i)^2}\right] = e^{(1+i)x} \left[\frac{x(1-i)}{2} + \frac{i}{2}\right] = \frac{e^x}{2} e^{ix} [x - ix + i] = \frac{e^x}{2} (\cos x + i \sin x) [x + i(1-x)]

    Step 5: Take the real Re(ex2(cos⁡x+isin⁡x)[x+i(1−x)])=ex2[xcos⁡x−(1−x)sin⁡x]=ex2[xcos⁡x+(x−1)sin⁡x]Re\left(\frac{e^x}{2} (\cos x + i \sin x) [x + i(1-x)]\right) = \frac{e^x}{2} [x \cos x - (1-x) \sin x] = \frac{e^x}{2} [x \cos x + (x-1) \sin x]

More Questions from Indefinite Integration

Practice all chapter MCQs →
Type at least 2 characters or jump directly:

Save your learning progress

Sign in with a free account to save your practice answers and quiz results, then return to them when you revise.

Scan to install TopAll Pro

Point your Android or iPhone camera at this code to open TopAll Pro. Try 2 chapters and 25 AI credits free first.

Question image

Use + and − to zoom, arrow keys or drag to pan, Escape to close.