Recognise the structure before integrating

Evaluate:

PartIntegral
(a)∫12x(ln⁡x)5 dx\int\frac{1}{2x}(\ln x)^5\,dx
(b)∫xe4−x2 dx\int xe^{4-x^2}\,dx
(c)∫(ln⁡x)2 dx\int(\ln x)^2\,dx
(d)∫41+cos⁡4θ dθ\int\frac4{1+\cos4\theta}\,d\theta
(e)∫1sin⁡2xecot⁡x dx\int\frac1{\sin^2x}e^{\cot x}\,dx
(f)∫1x2+2x+5 dx\int\frac1{x^2+2x+5}\,dx
(g)∫x2−xx2−16 dx\int\frac{x^2-x}{x^2-16}\,dx
(h)∫x2−6x+1(3x+1)(x2+3) dx\int\frac{x^2-6x+1}{(3x+1)(x^2+3)}\,dx
(i)∫e2x+1(e2x+1)3 dx\int\frac{e^{2x+1}}{(e^{2x}+1)^3}\,dx
(j)∫x+11−x2 dx\int\frac{x+1}{\sqrt{1-x^2}}\,dx

2025 TJC H2 Maths (9758) JC2 MSM · original exercise attribution retained on source pages

Solution

(a)

Reverse chain rule

Evaluate ∫12x(ln⁡x)5 dx\int\frac1{2x}(\ln x)^5\,dx.

Explore this idea

Hint

  1. Spot a function and its derivative: ln⁡x\ln x and 1x\frac1x.

  2. Use ∫f′(x) [f(x)]n dx=[f(x)]n+1n+1+C\int f'(x)\,[f(x)]^n\,dx=\frac{[f(x)]^{n+1}}{n+1}+C.

Answer · (a)

(ln⁡x)6/12+C(\ln x)^6/12+C.

x>0x>0.

Explore the idea

Does (ln x)⁶/12 track the area?

Move the two bounds to select an interval. Compare its signed integral with the change in the antiderivative.

Integration boundsa = 1.00, x = 2.50

Move either handle to choose the interval. The graphs compare the signed integral with F(x) − F(a).

Try an example

How the shaded areas add up

The limits run left to right. Area above the axis adds; area below the axis subtracts.

Above-axis contribution
0.049
Below-axis contribution
0
Signed integral
0.049

All three bars share one scale. Positive contributions extend right of zero; negative contributions extend left.

Signed integral from 1.00 to x
0.049
F(x) − F(a)
0.049
agrees at displayed precision
Formula − integral
0
0.00% of the integral’s magnitude
Compare the running integral on a graph
  • Integrand
  • Numerical signed integral from the start to x
  • Part of the integrand above the axis
  • Part of the integrand below the axis
  • F(x) − F(start), from the antiderivative
Key idea

Differentiating (ln⁡x)612\frac{(\ln x)^6}{12} gives (ln⁡x)52x\frac{(\ln x)^5}{2x}: the dashed curve and the solid curve agree.

Ideas to try
  1. Move both bounds below 1: the integrand and signed integral are negative.
  2. Set the lower bound to 1 and the upper bound to ee: what is the integral?
(b)

Reverse chain rule (exponential)

Evaluate ∫xe4−x2 dx\int xe^{4-x^2}\,dx.

Explore this idea

Hint

  1. The exponent's derivative is −2x-2x, which is a multiple of the other factor xx.

  2. Use ∫f′(x)ef(x) dx=ef(x)+C\int f'(x)e^{f(x)}\,dx=e^{f(x)}+C.

Answer · (b)

−e4−x2/2+C-e^{4-x^2}/2+C.

Explore the idea

An odd integrand and an even area

Drag x. The shading shows the selected interval; the lower curves compare the numerical signed integral with the change in the antiderivative.

Upper limit xx = 1.25
Try an example

How the shaded areas add up

The limits run left to right. Area above the axis adds; area below the axis subtracts.

Above-axis contribution
21.577
Below-axis contribution
0
Signed integral
21.577

All three bars share one scale. Positive contributions extend right of zero; negative contributions extend left.

Signed integral from 0.00 to x
21.577
−½e^(4−x²) − F(0)
21.577
agrees at displayed precision
Formula − integral
0
0.00% of the integral’s magnitude
Compare the running integral on a graph
  • Integrand
  • Numerical signed integral from the start to x
  • Part of the integrand above the axis
  • Part of the integrand below the axis
  • F(x) − F(start), from the antiderivative
Key idea

The antiderivative is a flipped bell shape; its slope matches the integrand.

Ideas to try
  1. Slide to the left of 0: is the area negative or positive?
  2. Why does the area stop growing for large xx?
(c)

Integration by parts, twice

Evaluate ∫(ln⁡x)2 dx\int(\ln x)^2\,dx.

Explore this idea

Hint

  1. There is no obvious reverse chain-rule pattern, so use parts with dv=1 dxdv=1\,dx.

  2. The power of ln⁡x\ln x drops after each step, so a second round finishes.

Answer · (c)

x(ln⁡x)2−2xln⁡x+2x+Cx(\ln x)^2-2x\ln x+2x+C.

x>0x>0.

Explore the idea

Area under (ln x)²

Drag x. The shading shows the selected interval; the lower curves compare the numerical signed integral with the change in the antiderivative.

Upper limit xx = 2.50
Reset the controls

How the shaded areas add up

The limits run left to right. Area above the axis adds; area below the axis subtracts.

Above-axis contribution
0.518
Below-axis contribution
0
Signed integral
0.518

All three bars share one scale. Positive contributions extend right of zero; negative contributions extend left.

Signed integral from 1.00 to x
0.518
antiderivative − F(1)
0.518
agrees at displayed precision
Formula − integral
0
0.00% of the integral’s magnitude
Compare the running integral on a graph
  • Integrand
  • Numerical signed integral from the start to x
  • Part of the integrand above the axis
  • Part of the integrand below the axis
  • F(x) − F(start), from the antiderivative
Key idea

The three-term answer is the area function: the dashed curve lies on the solid one.

Ideas to try
At x=1x=1 the integrand is 0: why does the area flatten there?
(d)

Trigonometric identity

Evaluate ∫41+cos⁡4θ dθ\int\dfrac4{1+\cos4\theta}\,d\theta.

Explore this idea

Hint

  1. Use cos⁡2A=2cos⁡2A−1\cos2A=2\cos^2A-1 with A=2θA=2\theta to remove the 1+1+.

  2. The result is a sec⁡2\sec^2 integral.

Answer · (d)

tan⁡2θ+C\tan2\theta+C.

On intervals where cos2θ≠0.

Explore the idea

4/(1 + cos 4θ) and tan 2θ

Drag x. The shading shows the selected interval; the lower curves compare the numerical signed integral with the change in the antiderivative.

Upper limit xx = 0.35
Try an example

How the shaded areas add up

The limits run left to right. Area above the axis adds; area below the axis subtracts.

Above-axis contribution
0.842
Below-axis contribution
0
Signed integral
0.842

All three bars share one scale. Positive contributions extend right of zero; negative contributions extend left.

Signed integral from 0.00 to x
0.842
tan 2θ − F(0)
0.842
agrees at displayed precision
Formula − integral
0
0.00% of the integral’s magnitude
Compare the running integral on a graph
  • Integrand
  • Numerical signed integral from the start to x
  • Part of the integrand above the axis
  • Part of the integrand below the axis
  • F(x) − F(start), from the antiderivative
Key idea

tan⁡2θ\tan2\theta is the running area; both blow up at ±π4\pm\frac\pi4, where cos⁡4θ=−1\cos4\theta=-1.

Ideas to try
Slide towards θ=±π4\theta=\pm\frac\pi4: what happens to the area?
(e)

Reverse chain rule (cot)

Evaluate ∫1sin⁡2xecot⁡x dx\int\dfrac1{\sin^2x}e^{\cot x}\,dx.

Explore this idea

Hint

  1. Spot ddxcot⁡x=−csc⁡2x=−1sin⁡2x\frac d{dx}\cot x=-\csc^2x=-\frac1{\sin^2x} in the integrand.

Answer · (e)

−ecot⁡x+C-e^{\cot x}+C.

sin x≠0.

Explore the idea

e^(cot x)/sin²x on (0, π)

Drag x. The shading shows the selected interval; the lower curves compare the numerical signed integral with the change in the antiderivative.

Upper limit xx = 2.09
Try an example

How the shaded areas add up

The limits run left to right. Area above the axis adds; area below the axis subtracts.

Above-axis contribution
0.432
Below-axis contribution
0
Signed integral
0.432

All three bars share one scale. Positive contributions extend right of zero; negative contributions extend left.

Signed integral from 1.57 to x
0.432
−e^(cot x) − F(π/2)
0.432
agrees at displayed precision
Formula − integral
0
0.00% of the integral’s magnitude
Compare the running integral on a graph
  • Integrand
  • Numerical signed integral from the start to x
  • Part of the integrand above the axis
  • Part of the integrand below the axis
  • F(x) − F(start), from the antiderivative
Key idea

The antiderivative −ecot⁡x-e^{\cot x} is increasing because the integrand is positive.

Ideas to try
Slide towards x=0x=0 and towards x=πx=\pi: which way does the area go?
(f)

Completing the square

Evaluate ∫1x2+2x+5 dx\int\dfrac1{x^2+2x+5}\,dx.

Explore this idea

Hint

  1. The quadratic has no real roots: complete the square.

  2. Use ∫dxa2+u2=1atan⁡−1ua+C\int\frac{dx}{a^2+u^2}=\frac1a\tan^{-1}\frac ua+C.

Answer · (f)

12arctan⁡((x+1)/2)+C\frac12\arctan((x+1)/2)+C.

Explore the idea

A bell curve and an inverse tangent

Drag x. The shading shows the selected interval; the lower curves compare the numerical signed integral with the change in the antiderivative.

Upper limit xx = 1.50
Reset the controls

How the shaded areas add up

The limits run left to right. Area above the axis adds; area below the axis subtracts.

Above-axis contribution
0.448
Below-axis contribution
0
Signed integral
0.448

All three bars share one scale. Positive contributions extend right of zero; negative contributions extend left.

Signed integral from -1.00 to x
0.448
½tan⁻¹((x+1)/2) − F(−1)
0.448
agrees at displayed precision
Formula − integral
0
0.00% of the integral’s magnitude
Compare the running integral on a graph
  • Integrand
  • Numerical signed integral from the start to x
  • Part of the integrand above the axis
  • Part of the integrand below the axis
  • F(x) − F(start), from the antiderivative
Key idea

The total area under the whole bell is π2\frac\pi2: the antiderivative levels off at ±π4\pm\frac\pi4.

Ideas to try
The bell is centred at x=−1x=-1: why does the area change sign there?
(g)

Division then partial fractions

Evaluate ∫x2−xx2−16 dx\int\dfrac{x^2-x}{x^2-16}\,dx.

Explore this idea

Hint

  1. Numerator and denominator have the same degree: divide first.

  2. Split the remainder into a log-derivative and a standard form.

Answer · (g)

x−12ln⁡∣x2−16∣+2ln⁡∣x−4x+4∣+Cx-\frac12\ln|x^2-16|+2\ln|\frac{x-4}{x+4}|+C.

On intervals excluding ±4.

Explore the idea

Between the poles at x = −4 and x = 4

Drag x. The shading shows the selected interval; the lower curves compare the numerical signed integral with the change in the antiderivative.

Upper limit xx = 1.90
Reset the controls

How the shaded areas add up

The limits run left to right. Area above the axis adds; area below the axis subtracts.

Above-axis contribution
0.011
Below-axis contribution
-0.049
Signed integral
-0.038

All three bars share one scale. Positive contributions extend right of zero; negative contributions extend left.

Signed integral from 0.00 to x
-0.038
antiderivative − F(0)
-0.038
agrees at displayed precision
Formula − integral
0
0.00% of the integral’s magnitude
Compare the running integral on a graph
  • Integrand
  • Numerical signed integral from the start to x
  • Part of the integrand above the axis
  • Part of the integrand below the axis
  • F(x) − F(start), from the antiderivative
Key idea

Inside −4<x<4-4<x<4 the antiderivative matches; across a pole the constant of integration may change.

Ideas to try
The integrand has poles at ±4\pm4. Stay between them and compare the curves.
(h)

Partial fractions

Evaluate ∫x2−6x+1(3x+1)(x2+3) dx\int\dfrac{x^2-6x+1}{(3x+1)(x^2+3)}\,dx.

Explore this idea

Hint

  1. The fraction is proper: write it as A3x+1+Bx+Cx2+3\frac A{3x+1}+\frac{Bx+C}{x^2+3}.

  2. Find A,B,CA,B,C by substitution.

  3. Integrate each part.

Answer · (h)

13ln⁡∣3x+1∣−23arctan⁡(x/3)+C\frac13\ln|3x+1|-\frac2{\sqrt3}\arctan(x/\sqrt3)+C.

x≠−1/3x\ne-1/3.

Explore the idea

Right of the pole at x = −1/3

Drag x. The shading shows the selected interval; the lower curves compare the numerical signed integral with the change in the antiderivative.

Upper limit xx = 3.50
Reset the controls

How the shaded areas add up

The limits run left to right. Area above the axis adds; area below the axis subtracts.

Above-axis contribution
0
Below-axis contribution
-0.327
Signed integral
-0.327

All three bars share one scale. Positive contributions extend right of zero; negative contributions extend left.

Signed integral from 1.00 to x
-0.327
antiderivative − F(1)
-0.327
agrees at displayed precision
Formula − integral
0
0.00% of the integral’s magnitude
Compare the running integral on a graph
  • Integrand
  • Numerical signed integral from the start to x
  • Part of the integrand above the axis
  • Part of the integrand below the axis
  • F(x) − F(start), from the antiderivative
Key idea

The answer combines a logarithm (from AA) and an inverse tangent (from −2-2).

Ideas to try
Compare the sign of the area with the sign of the integrand.
(i)

Reverse chain rule with a power

Evaluate ∫e2x+1(e2x+1)3 dx\int\dfrac{e^{2x+1}}{(e^{2x}+1)^3}\,dx.

Explore this idea

Hint

  1. Write e2x+1=e⋅e2xe^{2x+1}=e\cdot e^{2x}.

  2. Spot f=e2x+1f=e^{2x}+1 with f′=2e2xf'=2e^{2x}.

Answer · (i)

−e/[4(e2x+1)2]+C-e/[4(e^{2x}+1)^2]+C.

Explore the idea

A peaked curve with a levelling area

Drag x. The shading shows the selected interval; the lower curves compare the numerical signed integral with the change in the antiderivative.

Upper limit xx = 1.50
Reset the controls

How the shaded areas add up

The limits run left to right. Area above the axis adds; area below the axis subtracts.

Above-axis contribution
0.168
Below-axis contribution
0
Signed integral
0.168

All three bars share one scale. Positive contributions extend right of zero; negative contributions extend left.

Signed integral from 0.00 to x
0.168
antiderivative − F(0)
0.168
agrees at displayed precision
Formula − integral
0
0.00% of the integral’s magnitude
Compare the running integral on a graph
  • Integrand
  • Numerical signed integral from the start to x
  • Part of the integrand above the axis
  • Part of the integrand below the axis
  • F(x) − F(start), from the antiderivative
Key idea

The antiderivative is bounded: the integrand decays quickly on both sides.

Ideas to try
Why does the area barely change for large xx?
(j)

Split, then standard forms

Evaluate ∫x+11−x2 dx\int\dfrac{x+1}{\sqrt{1-x^2}}\,dx.

Explore this idea

Hint

  1. Split into x1−x2\frac x{\sqrt{1-x^2}} and 11−x2\frac1{\sqrt{1-x^2}}.

  2. The first is a reverse chain rule; the second is sin⁡−1x\sin^{-1}x.

Answer · (j)

−1−x2+arcsin⁡x+C-\sqrt{1-x^2}+\arcsin x+C.

−1<x<1-1<x<1.

Explore the idea

Between x = −1 and x = 1

Drag x. The shading shows the selected interval; the lower curves compare the numerical signed integral with the change in the antiderivative.

Upper limit xx = 0.47
Try an example

How the shaded areas add up

The limits run left to right. Area above the axis adds; area below the axis subtracts.

Above-axis contribution
0.615
Below-axis contribution
0
Signed integral
0.615

All three bars share one scale. Positive contributions extend right of zero; negative contributions extend left.

Signed integral from 0.00 to x
0.615
antiderivative − F(0)
0.615
agrees at displayed precision
Formula − integral
0
0.00% of the integral’s magnitude
Compare the running integral on a graph
  • Integrand
  • Numerical signed integral from the start to x
  • Part of the integrand above the axis
  • Part of the integrand below the axis
  • F(x) − F(start), from the antiderivative
Key idea

The area to x=1x=1 is π2+1\frac\pi2+1: an improper integral that converges.

Ideas to try
Slide towards x=1x=1: the integrand blows up but the area stays finite.