Find ∫xx2+4x+7 dx\int \frac{x}{x^2 + 4x + 7} \, \mathrm{d}x. Find ∫0axa−x dx\int_0^a x\sqrt{a-x} \, \mathrm{d}x by using integration by parts.

Work through it with AI →

It won't just hand you the answer — it asks where you're stuck.How the checker works

Worked solution

1(a)

1. Split the integral into a logarithmic form and a fraction with a constant numerator.

The derivative of the denominator x2+4x+7x^2 + 4x + 7 is 2x+42x + 4. We can rewrite the numerator to involve this derivative:
∫xx2+4x+7 dx=∫12(2x+4)−2x2+4x+7 dx\int \frac{x}{x^2 + 4x + 7} \, \mathrm{d}x = \int \frac{\frac{1}{2}(2x + 4) - 2}{x^2 + 4x + 7} \, \mathrm{d}x
=12∫2x+4x2+4x+7 dx−2∫1x2+4x+7 dx= \frac{1}{2}\int \frac{2x + 4}{x^2 + 4x + 7} \, \mathrm{d}x - 2\int \frac{1}{x^2 + 4x + 7} \, \mathrm{d}x

2. Integrate the first term and complete the square for the denominator of the second term.

For the first integral, we use ∫f′(x)f(x) dx=ln⁡∣f(x)∣+C\int \frac{\mathrm{f}'(x)}{\mathrm{f}(x)} \, \mathrm{d}x = \ln|\mathrm{f}(x)| + C:
12∫2x+4x2+4x+7 dx=12ln⁡(x2+4x+7)\frac{1}{2}\int \frac{2x + 4}{x^2 + 4x + 7} \, \mathrm{d}x = \frac{1}{2}\ln(x^2 + 4x + 7)
(Note: x2+4x+7>0x^2+4x+7 > 0 for all real xx, so absolute value signs are optional.)

For the second integral, complete the square for the denominator:
x2+4x+7=(x+2)2+3x^2 + 4x + 7 = (x + 2)^2 + 3

3. Evaluate the second integral using the standard arctan formula and state the final result.

Evaluate the second integral using ∫1x2+a2 dx=1atan⁡−1(xa)+C\int \frac{1}{x^2 + a^2} \, \mathrm{d}x = \frac{1}{a} \tan^{-1}\left(\frac{x}{a}\right) + C:
2∫1(x+2)2+(3)2 dx=23tan⁡−1(x+23)2\int \frac{1}{(x + 2)^2 + (\sqrt{3})^2} \, \mathrm{d}x = \frac{2}{\sqrt{3}}\tan^{-1}\left(\frac{x + 2}{\sqrt{3}}\right)

Combining both parts and adding the constant of integration CC:
∫xx2+4x+7 dx=12ln⁡(x2+4x+7)−23tan⁡−1(x+23)+C\int \frac{x}{x^2 + 4x + 7} \, \mathrm{d}x = \frac{1}{2}\ln(x^2 + 4x + 7) - \frac{2}{\sqrt{3}}\tan^{-1}\left(\frac{x + 2}{\sqrt{3}}\right) + C

Answer

12ln⁡(x2+4x+7)−23tan⁡−1(x+23)+C\frac{1}{2} \ln(x^2 + 4x + 7) - \frac{2}{\sqrt{3}} \tan^{-1}\left(\frac{x + 2}{\sqrt{3}}\right) + C

1(b)

1. Choose parts $u$ and $\frac{\mathrm{d}v}{\mathrm{d}x}$ and find $\frac{\mathrm{d}u}{\mathrm{d}x}$ and $v$.

Let u=xu = x and dvdx=(a−x)12\frac{\mathrm{d}v}{\mathrm{d}x} = (a-x)^{\frac{1}{2}}.
Then dudx=1\frac{\mathrm{d}u}{\mathrm{d}x} = 1.
Integrating dvdx\frac{\mathrm{d}v}{\mathrm{d}x} gives v=∫(a−x)12 dx=−23(a−x)32v = \int (a-x)^{\frac{1}{2}} \, \mathrm{d}x = -\frac{2}{3}(a-x)^{\frac{3}{2}}.

2. Apply the integration by parts formula $\int u \frac{\mathrm{d}v}{\mathrm{d}x} \, \mathrm{d}x = uv - \int v \frac{\mathrm{d}u}{\mathrm{d}x} \, \mathrm{d}x$.

∫0axa−x dx=[−23x(a−x)32]0a−∫0a−23(a−x)32 dx\int_0^a x\sqrt{a-x} \, \mathrm{d}x = \left[ -\frac{2}{3}x(a-x)^{\frac{3}{2}} \right]_0^a - \int_0^a -\frac{2}{3}(a-x)^{\frac{3}{2}} \, \mathrm{d}x

3. Evaluate the boundary term and perform the remaining integration.

Evaluate the first term:
[−23x(a−x)32]0a=(−23a(a−a)32)−(−23(0)(a−0)32)=0−0=0\left[ -\frac{2}{3}x(a-x)^{\frac{3}{2}} \right]_0^a = \left( -\frac{2}{3}a(a-a)^{\frac{3}{2}} \right) - \left( -\frac{2}{3}(0)(a-0)^{\frac{3}{2}} \right) = 0 - 0 = 0

Evaluate the second integral:
∫0a23(a−x)32 dx=[23⋅(a−x)5252⋅(−1)]0a=[−415(a−x)52]0a\int_0^a \frac{2}{3}(a-x)^{\frac{3}{2}} \, \mathrm{d}x = \left[ \frac{2}{3} \cdot \frac{(a-x)^{\frac{5}{2}}}{\frac{5}{2}} \cdot (-1) \right]_0^a = \left[ -\frac{4}{15}(a-x)^{\frac{5}{2}} \right]_0^a

4. Substitute the limits to calculate the final value.

Substitute x=ax = a and x=0x = 0:
−415(a−a)52−(−415(a−0)52)-\frac{4}{15}(a-a)^{\frac{5}{2}} - \left( -\frac{4}{15}(a-0)^{\frac{5}{2}} \right)
=0+415a52= 0 + \frac{4}{15}a^{\frac{5}{2}}
=415a52= \frac{4}{15}a^{\frac{5}{2}}

Answer

415a52\frac{4}{15}a^{\frac{5}{2}}

AI analysis — may contain mistakes.

Worked this one out on paper? Snap your steps and Gigle's AI math checker will circle the step where it went wrong.

More questions on this topic

  1. 1Differentiate ex2+2x\mathrm{e}^{x^2+2x} with respect to xx and hence find the exact value of ∫01(x+1)ex2+2x  dx\int_{0}^{1} (x+1)\mathrm{e}^{x^2+2x} \; \mathrm{d}x…
  2. 25 (a) Solve the following integral. ∫1−2x3+2x−x2 dx.\displaystyle\int \frac{1-2x}{\sqrt{3+2x-x^2}}\,\mathrm{d}x. ∫xln⁡(2−x2) dx\displaystyle\int x\ln\left(2-x^2\right)\,\mathrm{d}x…
  3. 3[Cambridge/9709/2010] The diagram shows parts of the curves y=9−x3y = 9 - x^3 and y=8x3y = \frac{8}{x^3} and their points o…
  4. 4Show that cos⁡3θ=4cos⁡3θ−3cos⁡θ\cos 3\theta = 4\cos^{3}\theta - 3\cos\theta. Hence, or otherwise, evaluate ∫0π/6sin⁡2θ cos⁡3θ dθ\displaystyle \int_{0}^{\pi/6} \sin 2\theta\,\cos 3\theta\, d\theta…
  5. 5Find ∫3ex5−0.3ex dx\displaystyle \int \frac{3e^x}{5 - 0.3e^x} \, dx ∫cos⁡(ln⁡x) dx\displaystyle \int \cos(\ln x) \, dx, where x>0x > 0 the exact…