Skip to main content

Indefinite Integration MCQ: If (d)/(d x) f(x)=x cos x+ sin x and f(0)=2, then…

JEE · Mathematics · Indefinite Integration

1 Easy +4 | -1 Application
If ddxf(x)=xcos⁡x+sin⁡x\frac{d}{d x} f(x)=x \cos x+\sin x and f(0)=2f(0)=2, then f(x)=f(x)=
View answer and explanation
Correct option: C
xsin⁡x+2x \sin x+2
Option C is correct because integrating x cos(x) + sin(x) results in x sin(x) + C, and using the initial condition f(0) = 2, we find that C = 2, so f(x) = x sin(x) + 2.
Solution approach
  1. Correct Answer + Core Reason: xsin⁡x+2x \sin x+2. The function f(x) is found by integrating and using the initial condition.

    Step-by-Step Solution:

    Step 1: Identify the derivative: ddxf(x)=xcos⁡x+sin⁡x\frac{{d}}{{dx}} f(x) = x \cos x + \sin x

    Step 2: Integrate both sides: f(x)=∫(xcos⁡x+sin⁡x)dx=∫xcos⁡xdx+∫sin⁡xdxf(x) = \int (x \cos x + \sin x) dx = \int x \cos x dx + \int \sin x dx

    Step 3: Integrate ∫xcos⁡xdx\int x \cos x dx by parts: u=xu = x, dv=cos⁡xdxdv = \cos x dx, du=dxdu = dx, v=sin⁡xv = \sin x

    Step 4: Use the integration by parts formula: ∫xcos⁡xdx=xsin⁡x−∫sin⁡xdx\int x \cos x dx = x \sin x - \int \sin x dx

    Step 5: Substitute back: f(x)=xsin⁡x−∫sin⁡xdx+∫sin⁡xdx=xsin⁡x+Cf(x) = x \sin x - \int \sin x dx + \int \sin x dx = x \sin x + C

    Step 6: Apply the initial condition: f(0)=2f(0) = 2, so 0⋅sin⁡0+C=20 \cdot \sin 0 + C = 2, which means C=2C = 2

    Step 7: Final Answer: f(x)=xsin⁡x+2f(x) = x \sin x + 2

    Why other options are wrong:
    - Option A: This is incorrect as it does not include the constant of integration.
    - Option B: This is incorrect as it does not match the correct result after integration and applying the initial condition.
    - Option D: This is incorrect as it does not match the correct result after integration and applying the initial condition.

    Key Concepts:
    - Integration by parts: ∫udv=uv−∫vdu\int u dv = uv - \int v du
    - Initial value problems

    Memory Aids:
    - LIATE rule for choosing u in integration by parts.

    Quick Tips:
    - Remember to include the constant of integration and use the initial condition to find its value.

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.