Skip to content
Exercise 7.8 · Q20

Q.Evaluate the definite integral ∫01(x ex+sin⁡πx4)dx\int_{0}^{1}\left(x\,e^x+\sin\frac{\pi x}{4}\right)dx

Mizoram MbseTextbookSubjective· 3mImportance★★★★★
57% · 212/373 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

We split the integral into two simpler integrals, evaluate each using standard techniques (integration by parts for xexx e^x, direct integration for sin⁡πx4\sin\frac{\pi x}{4}), and combine the results. The final value is 1+4−22π\boxed{1 + \frac{4 - 2\sqrt{2}}{\pi}}.

The key here is to break the problem into manageable pieces. A sum inside an integral can always be split into separate integrals — that's linearity, one of the most useful properties of definite integrals. Once we do that, each piece falls to a standard method.

  1. Split the integral using linearity:

∫01(xex+sin⁡πx4)dx=∫01xex dx+∫01sin⁡πx4 dx\int_{0}^{1}\left(x e^x + \sin\frac{\pi x}{4}\right)dx = \int_{0}^{1} x e^x \, dx + \int_{0}^{1} \sin\frac{\pi x}{4} \, dx

  1. Evaluate ∫01xex dx\int_{0}^{1} x e^x \, dx using integration by parts. The product x⋅exx \cdot e^x is a classic case: let u=xu = x and dv=exdxdv = e^x dx. Then du=dxdu = dx and v=exv = e^x. Integration by parts gives:

∫u dv=uv−∫v du\int u \, dv = uv - \int v \, du

So:

∫xex dx=xex−∫ex dx=xex−ex+C=ex(x−1)+C\int x e^x \, dx = x e^x - \int e^x \, dx = x e^x - e^x + C = e^x (x - 1) + C

Now evaluate from 00 to 11:

[ex(x−1)]01=[e1(1−1)]−[e0(0−1)]=(e⋅0)−(1⋅(−1))=0+1=1\left[ e^x (x - 1) \right]_{0}^{1} = \left[ e^1 (1 - 1) \right] - \left[ e^0 (0 - 1) \right] = (e \cdot 0) - (1 \cdot (-1)) = 0 + 1 = 1

Tip

A quick check: the definite integral ∫01xexdx\int_0^1 x e^x dx always equals 11 — a neat result worth remembering for speed.

  1. Evaluate ∫01sin⁡πx4 dx\int_{0}^{1} \sin\frac{\pi x}{4} \, dx using a simple substitution. Let u=πx4u = \frac{\pi x}{4}, so du=π4dxdu = \frac{\pi}{4} dx, or dx=4πdudx = \frac{4}{\pi} du. When x=0x = 0, u=0u = 0; when x=1x = 1, u=π4u = \frac{\pi}{4}. The integral becomes:

∫01sin⁡πx4 dx=∫0π/4sin⁡u⋅4π du=4π∫0π/4sin⁡u du\int_{0}^{1} \sin\frac{\pi x}{4} \, dx = \int_{0}^{\pi/4} \sin u \cdot \frac{4}{\pi} \, du = \frac{4}{\pi} \int_{0}^{\pi/4} \sin u \, du

The antiderivative of sin⁡u\sin u is −cos⁡u-\cos u, so: …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.