← Back to all lessons
Class 12Calculus11:42Published 25 Feb 2025

Integration: Miscellaneous Exercise 7 Solutions (Part 3)

Worked solutions to three integration questions from Class 12 Miscellaneous Exercise 7, using substitution, integration by parts, and partial fractions.

This lesson walks through three integrals from the Class 12 Miscellaneous Exercise on integration. The first combines logarithm rules with a substitution and integration by parts, the second proves a general power rule for a composed function, and the third uses partial fractions to break a rational function into pieces that integrate cleanly. Each problem is solved step by step so you can see exactly how the method is chosen and applied.

What you'll learn

  • How to combine logarithm rules and substitute to simplify a messy integral
  • How to integrate a product like a root times a logarithm using integration by parts
  • The general rule for integrating a power of a function multiplied by its derivative
  • How to split a rational function with repeated factors using partial fractions

Lesson chapters

0:00Q23: setting up the integral and combining logs
1:14Substitution and integration by parts
4:25Back-substituting to the final answer
5:31Q17: power of a function times its derivative
6:46Q21: partial fractions setup
9:58Integrating each fraction and combining logs

Lesson notes

This lesson works through three integrals from the Class 12 Miscellaneous Exercise on integration: one needing a substitution with integration by parts, one general power rule, and one partial-fractions problem.

Question 23

Evaluate

I=x2+1(log(x2+1)2logx)x4dx.I = \int \frac{\sqrt{x^2+1}\,\bigl(\log(x^2+1) - 2\log x\bigr)}{x^4}\,dx.

Combine the logarithms. Using 2logx=logx22\log x = \log x^2 and logalogb=logab\log a - \log b = \log\tfrac{a}{b},

log(x2+1)2logx=logx2+1x2.\log(x^2+1) - 2\log x = \log\frac{x^2+1}{x^2}.

Pull the root inside. Since x2+1=xx2+1x2\sqrt{x^2+1} = x\sqrt{\dfrac{x^2+1}{x^2}}, and writing x4=xx3x^4 = x\cdot x^3,

I=x2+1x2  log ⁣x2+1x2  1x3dx.I = \int \sqrt{\frac{x^2+1}{x^2}}\;\log\!\frac{x^2+1}{x^2}\;\frac{1}{x^3}\,dx.

Substitute. Let

t=x2+1x2=1+1x2,dt=2x3dx    1x3dx=12dt.t = \frac{x^2+1}{x^2} = 1 + \frac{1}{x^2}, \qquad dt = -\frac{2}{x^3}\,dx \;\Rightarrow\; \frac{1}{x^3}\,dx = -\frac{1}{2}\,dt.

Then

I=12tlogtdt.I = -\frac{1}{2}\int \sqrt{t}\,\log t\,dt.

Integration by parts with logt\log t as the first function and t\sqrt{t} as the second:

t1/2logtdt=23t3/2logt1t23t3/2dt=23t3/2logt49t3/2.\int t^{1/2}\log t\,dt = \frac{2}{3}t^{3/2}\log t - \int \frac{1}{t}\cdot\frac{2}{3}t^{3/2}\,dt = \frac{2}{3}t^{3/2}\log t - \frac{4}{9}t^{3/2}.

Multiplying by 12-\tfrac{1}{2},

I=13t3/2logt+29t3/2=13t3/2(logt23)+C.I = -\frac{1}{3}t^{3/2}\log t + \frac{2}{9}t^{3/2} = -\frac{1}{3}t^{3/2}\left(\log t - \frac{2}{3}\right) + C.

Back-substitute t=x2+1x2t = \dfrac{x^2+1}{x^2}, using (x2+1x2)3/2=(x2+1)3/2x3\left(\dfrac{x^2+1}{x^2}\right)^{3/2} = \dfrac{(x^2+1)^{3/2}}{x^3}:

I=13(x2+1)3/2x3(logx2+1x223)+C.I = -\frac{1}{3}\,\frac{(x^2+1)^{3/2}}{x^3}\left(\log\frac{x^2+1}{x^2} - \frac{2}{3}\right) + C.

Question 17

Evaluate

I=(f(ax+b))nf(ax+b)dx.I = \int \bigl(f(ax+b)\bigr)^n\,f'(ax+b)\,dx.

Substitute t=f(ax+b)t = f(ax+b). Differentiating, the chain rule gives a factor aa from ax+bax+b:

dt=af(ax+b)dx    f(ax+b)dx=1adt.dt = a\,f'(ax+b)\,dx \;\Rightarrow\; f'(ax+b)\,dx = \frac{1}{a}\,dt.

So

I=1atndt=1atn+1n+1+C.I = \frac{1}{a}\int t^{n}\,dt = \frac{1}{a}\cdot\frac{t^{n+1}}{n+1} + C.

Back-substituting t=f(ax+b)t = f(ax+b),

I=(f(ax+b))n+1a(n+1)+C.I = \frac{\bigl(f(ax+b)\bigr)^{n+1}}{a\,(n+1)} + C.

Question 21

Evaluate

I=x2+x+1(x+1)2(x+2)dx.I = \int \frac{x^2+x+1}{(x+1)^2\,(x+2)}\,dx.

Partial fractions. Because (x+1)(x+1) is repeated,

x2+x+1(x+1)2(x+2)=ax+1+b(x+1)2+cx+2.\frac{x^2+x+1}{(x+1)^2(x+2)} = \frac{a}{x+1} + \frac{b}{(x+1)^2} + \frac{c}{x+2}.

Clearing denominators,

x2+x+1=a(x+1)(x+2)+b(x+2)+c(x+1)2.x^2+x+1 = a(x+1)(x+2) + b(x+2) + c(x+1)^2.

Find bb: put x=1x = -1:   1=b(1)\;1 = b(1), so b=1b = 1.

Find cc: put x=2x = -2:   3=c(1)\;3 = c(1), so c=3c = 3.

Find aa: compare the x2x^2 coefficients: 1=a+c=a+31 = a + c = a + 3, so a=2a = -2.

Therefore

I=(2x+1+1(x+1)2+3x+2)dx.I = \int\left(\frac{-2}{x+1} + \frac{1}{(x+1)^2} + \frac{3}{x+2}\right)dx.

Integrating term by term,

I=2logx+11x+1+3logx+2+C.I = -2\log|x+1| - \frac{1}{x+1} + 3\log|x+2| + C.

Combine the logs using 2logx+1=log(x+1)2-2\log|x+1| = -\log(x+1)^2 and 3logx+2=logx+233\log|x+2| = \log|x+2|^3:

I=logx+23(x+1)21x+1+C.I = \log\frac{|x+2|^3}{(x+1)^2} - \frac{1}{x+1} + C.

Key takeaways

  • Combining logarithms and choosing a clean substitution can turn a complicated integrand into a standard tlogt\sqrt{t}\,\log t form for integration by parts.
  • For (f(ax+b))nf(ax+b)dx\int (f(ax+b))^n f'(ax+b)\,dx, substituting t=f(ax+b)t = f(ax+b) gives (f(ax+b))n+1a(n+1)+C\dfrac{(f(ax+b))^{n+1}}{a(n+1)} + C.
  • A repeated linear factor in the denominator needs both a 1x+1\dfrac{1}{x+1} and a 1(x+1)2\dfrac{1}{(x+1)^2} term in the partial-fraction split.