Bytelearn - cat image with glassesAI tutor

Welcome to Bytelearn!

Let’s check out your problem:

int(3x+4)cos xdx

(3x+4)cosxdx \int(3 x+4) \cos x d x

Full solution

Q. (3x+4)cosxdx \int(3 x+4) \cos x d x
  1. Identify integral: Step 11: Identify the integral to solve.\newlineWe need to integrate (3x+4)cosxdx(3x + 4) \cos x \, dx. We'll use integration by parts.\newlineLet u=3x+4u = 3x + 4 and dv=cosxdxdv = \cos x \, dx.\newlineThen, du=3dxdu = 3 \, dx and v=sinxv = \sin x.
  2. Apply integration by parts: Step 22: Apply the integration by parts formula.\newlineThe formula is udv=uvvdu\int u \, dv = uv - \int v \, du.\newlineSubstituting the values we get:\newline(3x+4)cosxdx=(3x+4)sinxsinx3dx\int(3x + 4) \cos x \, dx = (3x + 4) \sin x - \int\sin x \cdot 3 \, dx
  3. Integrate sinx×3\sin x \times 3: Step 33: Integrate sinx×3dx\int\sin x \times 3 \, dx.\newlineThis integral is straightforward:\newline3sinxdx=3cosx+C\int 3 \sin x \, dx = -3 \cos x + C
  4. Substitute back: Step 44: Substitute back to the integration by parts formula.\newlinePlugging the integral from Step 33 back into the equation from Step 22:\newline(3x+4)sinx(3cosx+C)(3x + 4) \sin x - (-3 \cos x + C)
  5. Simplify expression: Step 55: Simplify the expression.\newlineSimplify the expression to combine like terms:\newline(3x+4)sinx+3cosx+C(3x + 4) \sin x + 3 \cos x + C