Exercise 3.4 Solutions – 12th Class Math New Book (Integration by Partial Fractions)

By Ehsan Ahmed · updated
Exercise 3.4 solutions thumbnail for 12th class math chapter 3 (Integration) showing the key formulas of the exercise

Exercise 3.4 (Integration by Partial Fractions) of Chapter 3: Integration, 12th class Mathematics new book (Punjab, PECTAA 2026-27). All 15 questions are solved step by step with the final answer highlighted.

Tap a question to open or close it.
Question 1Evaluate $\int\frac{5x+7}{(x+1)(x+2)}\,dx$.
Formula used
$$\frac{P(x)}{(x-a)(x-b)}=\frac A{x-a}+\frac B{x-b}$$
$$\int\frac{f'(x)}{f(x)}\,dx=\ln|f(x)|+c$$

Sol:

$$\text{Let }\frac{5x+7}{(x+1)(x+2)}=\frac A{x+1}+\frac B{x+2}$$

Multiply both sides by $(x+1)(x+2)$.

$$5x+7=A(x+2)+B(x+1)\qquad\text{(1)}$$

Put $x=-1$ in (1).

$$5(-1)+7=A(-1+2)$$
$$2=A(1)\ \Longrightarrow\ A=2$$

Put $x=-2$ in (1).

$$5(-2)+7=B(-2+1)$$
$$-3=-B\ \Longrightarrow\ B=3$$
$$\begin{aligned}&\int\frac{5x+7}{(x+1)(x+2)}\,dx\\[6pt]&=\int\left[\frac2{x+1}+\frac3{x+2}\right]dx\\[6pt]&=2\int\frac1{x+1}\,dx+3\int\frac1{x+2}\,dx\end{aligned}$$
Answer $2\ln|x+1|+3\ln|x+2|+c$
Question 2Evaluate $\int\frac{3x+5}{x^2+4x+3}\,dx$.
Formula used
$$\frac{P(x)}{(x-a)(x-b)}=\frac A{x-a}+\frac B{x-b}$$
$$\int\frac{f'(x)}{f(x)}\,dx=\ln|f(x)|+c$$

Sol:

$$\begin{aligned}x^2+4x+3&=x^2+3x+x+3\\[6pt]&=x(x+3)+1(x+3)\\[6pt]&=(x+1)(x+3)\end{aligned}$$
$$\text{Let }\frac{3x+5}{(x+1)(x+3)}=\frac A{x+1}+\frac B{x+3}$$

Multiply both sides by $(x+1)(x+3)$.

$$3x+5=A(x+3)+B(x+1)\qquad\text{(1)}$$

Put $x=-1$ in (1).

$$3(-1)+5=A(-1+3)$$
$$2=2A\ \Longrightarrow\ A=1$$

Put $x=-3$ in (1).

$$3(-3)+5=B(-3+1)$$
$$-4=-2B\ \Longrightarrow\ B=2$$
$$\begin{aligned}\int\frac{3x+5}{x^2+4x+3}\,dx&=\int\left[\frac1{x+1}+\frac2{x+3}\right]dx\\[6pt]&=\int\frac1{x+1}\,dx+2\int\frac1{x+3}\,dx\end{aligned}$$
Answer $\ln|x+1|+2\ln|x+3|+c$
Question 3Evaluate $\int\frac{x^3+2x^2-x-1}{x^2-1}\,dx$.
Formula used
$$\frac{P(x)}{(x-a)(x-b)}=\frac A{x-a}+\frac B{x-b}$$
$$\int x^n\,dx=\frac{x^{n+1}}{n+1}+c,\ n\ne-1$$
$$\int\frac{f'(x)}{f(x)}\,dx=\ln|f(x)|+c$$

Sol:

The fraction is improper, so divide first. The quotient is $x+2$ and the remainder is $1$.

$$x^3+2x^2-x-1=(x^2-1)(x+2)+1$$
$$\frac{x^3+2x^2-x-1}{x^2-1}=x+2+\frac1{x^2-1}$$
$$\text{Let }\frac1{(x+1)(x-1)}=\frac A{x+1}+\frac B{x-1}$$

Multiply both sides by $(x+1)(x-1)$.

$$1=A(x-1)+B(x+1)\qquad\text{(1)}$$

Put $x=-1$ in (1).

$$1=A(-1-1)\ \Longrightarrow\ A=-\frac12$$

Put $x=1$ in (1).

$$1=B(1+1)\ \Longrightarrow\ B=\frac12$$

Let $I$ be the given integral.

$$\begin{aligned}I&=\int(x+2)\,dx-\frac12\int\frac1{x+1}\,dx+\frac12\int\frac1{x-1}\,dx\\[6pt]&=\frac{x^2}2+2x-\frac12\ln|x+1|+\frac12\ln|x-1|+c\end{aligned}$$
Answer $\frac{x^2}2+2x+\frac12\ln\left|\frac{x-1}{x+1}\right|+c$
Question 4Evaluate $\int\frac{x^2-12x-21}{x^2-6x-7}\,dx$.
Formula used
$$\frac{P(x)}{(x-a)(x-b)}=\frac A{x-a}+\frac B{x-b}$$
$$\int1\,dx=x+c$$
$$\int\frac{f'(x)}{f(x)}\,dx=\ln|f(x)|+c$$

Sol:

The fraction is improper, so divide first. The quotient is $1$ and the remainder is $-6x-14$.

$$\frac{x^2-12x-21}{x^2-6x-7}=1-\frac{6x+14}{x^2-6x-7}$$
$$\begin{aligned}x^2-6x-7&=x^2-7x+x-7\\[6pt]&=x(x-7)+1(x-7)\\[6pt]&=(x+1)(x-7)\end{aligned}$$
$$\text{Let }\frac{6x+14}{(x+1)(x-7)}=\frac A{x+1}+\frac B{x-7}$$

Multiply both sides by $(x+1)(x-7)$.

$$6x+14=A(x-7)+B(x+1)\qquad\text{(1)}$$

Put $x=-1$ in (1).

$$6(-1)+14=A(-1-7)$$
$$8=-8A\ \Longrightarrow\ A=-1$$

Put $x=7$ in (1).

$$6(7)+14=B(7+1)$$
$$56=8B\ \Longrightarrow\ B=7$$

Let $I$ be the given integral.

$$\begin{aligned}I&=\int\left[1-\left(\frac{-1}{x+1}+\frac7{x-7}\right)\right]dx\\[6pt]&=\int1\,dx+\int\frac1{x+1}\,dx-7\int\frac1{x-7}\,dx\\[6pt]&=x+\ln|x+1|-7\ln|x-7|+c\end{aligned}$$
Answer $x-7\ln|x-7|+\ln|x+1|+c$
Question 5Evaluate $\int\frac{3-16x}{4+5x-6x^2}\,dx$.
Formula used
$$\frac{P(x)}{(x-a)(x-b)}=\frac A{x-a}+\frac B{x-b}$$
$$\int\frac{f'(x)}{f(x)}\,dx=\ln|f(x)|+c$$

Sol:

Multiply the numerator and the denominator by $-1$.

$$\frac{3-16x}{4+5x-6x^2}=\frac{16x-3}{6x^2-5x-4}$$
$$\begin{aligned}6x^2-5x-4&=6x^2-8x+3x-4\\[6pt]&=2x(3x-4)+1(3x-4)\\[6pt]&=(2x+1)(3x-4)\end{aligned}$$
$$\text{Let }\frac{16x-3}{(2x+1)(3x-4)}=\frac A{2x+1}+\frac B{3x-4}$$

Multiply both sides by $(2x+1)(3x-4)$.

$$16x-3=A(3x-4)+B(2x+1)\qquad\text{(1)}$$

Put $x=-\frac12$ in (1).

$$16\left(-\frac12\right)-3=A\left[3\left(-\frac12\right)-4\right]$$
$$-11=-\frac{11}2A\ \Longrightarrow\ A=2$$

Put $x=\frac43$ in (1).

$$16\left(\frac43\right)-3=B\left[2\left(\frac43\right)+1\right]$$
$$\frac{55}3=\frac{11}3B\ \Longrightarrow\ B=5$$

Let $I$ be the given integral.

$$\begin{aligned}I&=\int\left[\frac2{2x+1}+\frac5{3x-4}\right]dx\\[6pt]&=\int\frac2{2x+1}\,dx+\frac53\int\frac3{3x-4}\,dx\\[6pt]&=\ln|2x+1|+\frac53\ln|3x-4|+c\end{aligned}$$
Answer $\frac53\ln|3x-4|+\ln|2x+1|+c$
Question 6Evaluate $\int\frac{2x^2-8x+6}{x(x-1)(x-2)(x-3)}\,dx$.
Formula used
$$\frac Ax+\frac B{x-1}+\frac C{x-2}+\frac D{x-3}$$
$$\int\frac{f'(x)}{f(x)}\,dx=\ln|f(x)|+c$$

Sol:

$$\begin{aligned}\text{Let }&\frac{2x^2-8x+6}{x(x-1)(x-2)(x-3)}\\&=\frac Ax+\frac B{x-1}+\frac C{x-2}+\frac D{x-3}\end{aligned}$$

Multiply both sides by $x(x-1)(x-2)(x-3)$.

$$\begin{aligned}2x^2-8x+6={}&A(x-1)(x-2)(x-3)\\&+Bx(x-2)(x-3)\\ &+Cx(x-1)(x-3)\\&+Dx(x-1)(x-2)\qquad\text{(1)}\end{aligned}$$

Put $x=0$ in (1).

$$6=A(0-1)(0-2)(0-3)$$
$$6=-6A\ \Longrightarrow\ A=-1$$

Put $x=1$ in (1).

$$2(1)^2-8(1)+6=B(1)(1-2)(1-3)$$
$$0=2B\ \Longrightarrow\ B=0$$

Put $x=2$ in (1).

$$2(2)^2-8(2)+6=C(2)(2-1)(2-3)$$
$$-2=-2C\ \Longrightarrow\ C=1$$

Put $x=3$ in (1).

$$2(3)^2-8(3)+6=D(3)(3-1)(3-2)$$
$$0=6D\ \Longrightarrow\ D=0$$

Let $I$ be the given integral.

$$\begin{aligned}I&=\int\left[\frac{-1}x+\frac1{x-2}\right]dx\\[6pt]&=-\ln|x|+\ln|x-2|+c\end{aligned}$$
Answer $\ln\left|\frac{x-2}x\right|+c$
Question 7Evaluate $\int\frac{x^2-3}{(x+2)^3}\,dx$.
Formula used
$$(x-a)^3:\ \frac A{x-a}+\frac B{(x-a)^2}+\frac C{(x-a)^3}$$
$$\int\frac{f'(x)}{f(x)}\,dx=\ln|f(x)|+c$$
$$\int[f(x)]^nf'(x)\,dx=\frac{[f(x)]^{n+1}}{n+1}+c$$

Sol:

$$\text{Let }\frac{x^2-3}{(x+2)^3}=\frac A{x+2}+\frac B{(x+2)^2}+\frac C{(x+2)^3}$$

Multiply both sides by $(x+2)^3$.

$$x^2-3=A(x+2)^2+B(x+2)+C\qquad\text{(1)}$$
$$x^2-3=A(x^2+4x+4)+B(x+2)+C\qquad\text{(2)}$$

Put $x=-2$ in (1).

$$(-2)^2-3=C\ \Longrightarrow\ C=1$$

Compare the coefficients of $x^2$ in (2).

$$1=A\ \Longrightarrow\ A=1$$

Compare the coefficients of $x$ in (2).

$$0=4A+B\ \Longrightarrow\ 0=4+B\ \Longrightarrow\ B=-4$$

Let $I$ be the given integral.

$$\begin{aligned}I&=\int\left[\frac1{x+2}-\frac4{(x+2)^2}+\frac1{(x+2)^3}\right]dx\\[6pt]&=\int\frac1{x+2}\,dx-4\int(x+2)^{-2}\,dx\\&\quad+\int(x+2)^{-3}\,dx\\[6pt]&=\ln|x+2|-4\left(\frac{(x+2)^{-1}}{-1}\right)+\frac{(x+2)^{-2}}{-2}+c\end{aligned}$$
Answer $\ln|x+2|+\frac4{x+2}-\frac1{2(x+2)^2}+c$
Question 8Evaluate $\int\frac{e^x-1}{e^x(e^x+1)}\,dx$.
Formula used
$$u=g(x),\quad du=g'(x)\,dx$$
$$\frac Au+\frac B{u^2}+\frac C{u+1}$$
$$\int\frac{f'(x)}{f(x)}\,dx=\ln|f(x)|+c$$
$$\int x^n\,dx=\frac{x^{n+1}}{n+1}+c,\ n\ne-1$$

Sol:

$$\text{Let }u=e^x\ \Longrightarrow\ du=e^x\,dx\ \Longrightarrow\ dx=\frac{du}u$$
$$\begin{aligned}\int\frac{e^x-1}{e^x(e^x+1)}\,dx&=\int\frac{u-1}{u(u+1)}\cdot\frac{du}u\\[6pt]&=\int\frac{u-1}{u^2(u+1)}\,du\end{aligned}$$
$$\text{Let }\frac{u-1}{u^2(u+1)}=\frac Au+\frac B{u^2}+\frac C{u+1}$$

Multiply both sides by $u^2(u+1)$.

$$u-1=Au(u+1)+B(u+1)+Cu^2\qquad\text{(1)}$$

Put $u=0$ in (1).

$$-1=B(0+1)\ \Longrightarrow\ B=-1$$

Put $u=-1$ in (1).

$$-1-1=C(-1)^2\ \Longrightarrow\ C=-2$$

Compare the coefficients of $u^2$ in (1).

$$0=A+C\ \Longrightarrow\ 0=A-2\ \Longrightarrow\ A=2$$
$$\begin{aligned}\int\frac{u-1}{u^2(u+1)}\,du&=\int\left[\frac2u-\frac1{u^2}-\frac2{u+1}\right]du\\[6pt]&=2\ln|u|-\frac{u^{-1}}{-1}-2\ln|u+1|+c\\[6pt]&=\frac1u+2\ln\left|\frac u{u+1}\right|+c\end{aligned}$$

Put back $u=e^x$. Here $e^x$ and $e^x+1$ are positive.

Answer $e^{-x}+2\ln\left(\frac{e^x}{e^x+1}\right)+c$
Question 9Evaluate $\int\frac{25(x+2)}{(x-2)(x+3)^2}\,dx$.
Formula used
$$\frac A{x-2}+\frac B{x+3}+\frac C{(x+3)^2}$$
$$\int\frac{f'(x)}{f(x)}\,dx=\ln|f(x)|+c$$
$$\int[f(x)]^nf'(x)\,dx=\frac{[f(x)]^{n+1}}{n+1}+c$$

Sol:

$$\text{Let }\frac{25(x+2)}{(x-2)(x+3)^2}=\frac A{x-2}+\frac B{x+3}+\frac C{(x+3)^2}$$

Multiply both sides by $(x-2)(x+3)^2$.

$$\begin{aligned}25(x+2)={}&A(x+3)^2+B(x-2)(x+3)\\&+C(x-2)\qquad\text{(1)}\end{aligned}$$

Put $x=2$ in (1).

$$25(2+2)=A(2+3)^2$$
$$100=25A\ \Longrightarrow\ A=4$$

Put $x=-3$ in (1).

$$25(-3+2)=C(-3-2)$$
$$-25=-5C\ \Longrightarrow\ C=5$$

Compare the coefficients of $x^2$ in (1).

$$0=A+B\ \Longrightarrow\ 0=4+B\ \Longrightarrow\ B=-4$$

Let $I$ be the given integral.

$$\begin{aligned}I&=4\int\frac1{x-2}\,dx-4\int\frac1{x+3}\,dx\\&\quad+5\int(x+3)^{-2}\,dx\\[6pt]&=4\ln|x-2|-4\ln|x+3|\\&\quad+5\left(\frac{(x+3)^{-1}}{-1}\right)+c\end{aligned}$$
Answer $4\ln\left|\frac{x-2}{x+3}\right|-\frac5{x+3}+c$
Question 10Evaluate $\int\frac{x^3+4x^2+7x+5}{(x+1)^3(x+2)}\,dx$.
Formula used
$$(x-a)^3:\ \frac A{x-a}+\frac B{(x-a)^2}+\frac C{(x-a)^3}$$
$$\int\frac{f'(x)}{f(x)}\,dx=\ln|f(x)|+c$$
$$\int[f(x)]^nf'(x)\,dx=\frac{[f(x)]^{n+1}}{n+1}+c$$

Sol:

$$\begin{aligned}\text{Let }&\frac{x^3+4x^2+7x+5}{(x+1)^3(x+2)}\\&=\frac A{x+1}+\frac B{(x+1)^2}+\frac C{(x+1)^3}+\frac D{x+2}\end{aligned}$$

Multiply both sides by $(x+1)^3(x+2)$.

$$\begin{aligned}x^3+4x^2+7x+5={}&A(x+1)^2(x+2)\\&+B(x+1)(x+2)\\ &+C(x+2)+D(x+1)^3\quad\text{(1)}\end{aligned}$$

Put $x=-1$ in (1).

$$(-1)^3+4(-1)^2+7(-1)+5=C(-1+2)$$
$$1=C\ \Longrightarrow\ C=1$$

Put $x=-2$ in (1).

$$(-2)^3+4(-2)^2+7(-2)+5=D(-2+1)^3$$
$$-1=-D\ \Longrightarrow\ D=1$$

Expand the right side of (1).

$$\begin{aligned}x^3+4x^2+7x+5={}&A(x^3+4x^2+5x+2)\\&+B(x^2+3x+2)+C(x+2)\\ &+D(x^3+3x^2+3x+1)\end{aligned}$$

Compare the coefficients of $x^3$.

$$1=A+D\ \Longrightarrow\ 1=A+1\ \Longrightarrow\ A=0$$

Compare the coefficients of $x^2$.

$$4=4A+B+3D\ \Longrightarrow\ 4=0+B+3\ \Longrightarrow\ B=1$$

Let $I$ be the given integral.

$$\begin{aligned}I&=\int\left[\frac1{(x+1)^2}+\frac1{(x+1)^3}+\frac1{x+2}\right]dx\\[6pt]&=\int(x+1)^{-2}\,dx+\int(x+1)^{-3}\,dx+\int\frac1{x+2}\,dx\\[6pt]&=\frac{(x+1)^{-1}}{-1}+\frac{(x+1)^{-2}}{-2}+\ln|x+2|+c\end{aligned}$$
Answer $\ln|x+2|-\frac1{x+1}-\frac1{2(x+1)^2}+c$
Question 11Evaluate $\int\frac{x^2+2x-1}{(x-1)(x^2+1)}\,dx$.
Formula used
$$\frac A{x-1}+\frac{Bx+C}{x^2+1}$$
$$\int\frac{f'(x)}{f(x)}\,dx=\ln|f(x)|+c$$
$$\int\frac1{1+x^2}\,dx=\tan^{-1}x+c$$

Sol:

$$\text{Let }\frac{x^2+2x-1}{(x-1)(x^2+1)}=\frac A{x-1}+\frac{Bx+C}{x^2+1}$$

Multiply both sides by $(x-1)(x^2+1)$.

$$\begin{aligned}x^2+2x-1={}&A(x^2+1)\\&+(Bx+C)(x-1)\qquad\text{(1)}\end{aligned}$$

Put $x=1$ in (1).

$$1+2-1=A(1+1)$$
$$2=2A\ \Longrightarrow\ A=1$$

From (1),

$$x^2+2x-1=(A+B)x^2+(C-B)x+(A-C)$$

Compare the coefficients of $x^2$.

$$1=A+B\ \Longrightarrow\ 1=1+B\ \Longrightarrow\ B=0$$

Compare the constants.

$$-1=A-C\ \Longrightarrow\ -1=1-C\ \Longrightarrow\ C=2$$
$$\begin{aligned}&\int\frac{x^2+2x-1}{(x-1)(x^2+1)}\,dx\\[6pt]&=\int\frac1{x-1}\,dx+2\int\frac1{x^2+1}\,dx\end{aligned}$$
Answer $\ln|x-1|+2\tan^{-1}x+c$
Question 12Evaluate $\int\frac{2x^3+x^2+2x+4}{(x^2+1)(x^2+4)}\,dx$.
Formula used
$$\frac{Ax+B}{x^2+1}+\frac{Cx+D}{x^2+4}$$
$$\int\frac{f'(x)}{f(x)}\,dx=\ln|f(x)|+c$$
$$\int\frac1{1+x^2}\,dx=\tan^{-1}x+c$$

Sol:

$$\begin{aligned}\text{Let }&\frac{2x^3+x^2+2x+4}{(x^2+1)(x^2+4)}\\&=\frac{Ax+B}{x^2+1}+\frac{Cx+D}{x^2+4}\end{aligned}$$

Multiply both sides by $(x^2+1)(x^2+4)$.

$$\begin{aligned}2x^3+x^2+2x+4={}&(Ax+B)(x^2+4)\\&+(Cx+D)(x^2+1)\end{aligned}$$
$$\begin{aligned}2x^3+x^2+2x+4={}&(A+C)x^3+(B+D)x^2\\&+(4A+C)x+(4B+D)\end{aligned}$$

Compare the coefficients of $x^3$ and $x$.

$$A+C=2\qquad\text{(1)}$$
$$4A+C=2\qquad\text{(2)}$$

Subtract (1) from (2).

$$3A=0\ \Longrightarrow\ A=0$$

From (1),

$$0+C=2\ \Longrightarrow\ C=2$$

Compare the coefficients of $x^2$ and the constants.

$$B+D=1\qquad\text{(3)}$$
$$4B+D=4\qquad\text{(4)}$$

Subtract (3) from (4).

$$3B=3\ \Longrightarrow\ B=1$$

From (3),

$$1+D=1\ \Longrightarrow\ D=0$$

Let $I$ be the given integral.

$$\begin{aligned}I&=\int\frac1{x^2+1}\,dx+\int\frac{2x}{x^2+4}\,dx\end{aligned}$$

In the last integral the numerator is the derivative of the denominator, and $x^2+4>0$.

Answer $\tan^{-1}x+\ln(x^2+4)+c$
Question 13Evaluate $\int\frac{x^4+4x^2+2x+1}{(x^2+1)^2(x+1)}\,dx$.
Formula used
$$q^2\ (q\text{ quadratic}):\ \frac{Ax+B}q+\frac{Cx+D}{q^2}$$
$$\int\frac{f'(x)}{f(x)}\,dx=\ln|f(x)|+c$$
$$\int[f(x)]^nf'(x)\,dx=\frac{[f(x)]^{n+1}}{n+1}+c$$

Sol:

$$\begin{aligned}\text{Let }&\frac{x^4+4x^2+2x+1}{(x^2+1)^2(x+1)}\\&=\frac A{x+1}+\frac{Bx+C}{x^2+1}+\frac{Dx+E}{(x^2+1)^2}\end{aligned}$$

Multiply both sides by $(x^2+1)^2(x+1)$.

$$\begin{aligned}x^4+4x^2+2x+1={}&A(x^2+1)^2\\&+(Bx+C)(x^2+1)(x+1)\\&+(Dx+E)(x+1)\qquad\text{(1)}\end{aligned}$$

Put $x=-1$ in (1).

$$(-1)^4+4(-1)^2+2(-1)+1=A[(-1)^2+1]^2$$
$$4=4A\ \Longrightarrow\ A=1$$

Expand the right side of (1).

$$\begin{aligned}x^4+4x^2+2x+1={}&A(x^4+2x^2+1)\\&+(Bx+C)(x^3+x^2+x+1)\\&+Dx^2+Dx+Ex+E\end{aligned}$$

Compare the coefficients of $x^4$.

$$1=A+B\ \Longrightarrow\ 1=1+B\ \Longrightarrow\ B=0$$

Compare the coefficients of $x^3$.

$$0=B+C\ \Longrightarrow\ 0=0+C\ \Longrightarrow\ C=0$$

Compare the coefficients of $x^2$.

$$\begin{aligned}&4=2A+B+C+D\\&\Longrightarrow\ 4=2+0+0+D\ \Longrightarrow\ D=2\end{aligned}$$

Compare the constants.

$$1=A+C+E\ \Longrightarrow\ 1=1+0+E\ \Longrightarrow\ E=0$$

Let $I$ be the given integral.

$$\begin{aligned}I&=\int\frac1{x+1}\,dx+\int\frac{2x}{(x^2+1)^2}\,dx\\[6pt]&=\int\frac1{x+1}\,dx+\int(x^2+1)^{-2}(2x)\,dx\\[6pt]&=\ln|x+1|+\frac{(x^2+1)^{-1}}{-1}+c\end{aligned}$$
Answer $\ln|x+1|-\frac1{x^2+1}+c$
Question 14Evaluate $\int\frac{x^2}{(x^2-2x+2)^2}\,dx$.
Formula used
$$q^2\ (q\text{ quadratic}):\ \frac{Ax+B}q+\frac{Cx+D}{q^2}$$
$$\int\frac1{1+x^2}\,dx=\tan^{-1}x+c$$
$$\int[f(x)]^nf'(x)\,dx=\frac{[f(x)]^{n+1}}{n+1}+c$$

Sol:

$$\begin{aligned}&\text{Let }\frac{x^2}{(x^2-2x+2)^2}\\&\quad=\frac{Ax+B}{x^2-2x+2}+\frac{Cx+D}{(x^2-2x+2)^2}\end{aligned}$$

Multiply both sides by $(x^2-2x+2)^2$.

$$x^2=(Ax+B)(x^2-2x+2)+Cx+D$$
$$\begin{aligned}x^2={}&Ax^3+(-2A+B)x^2\\&+(2A-2B+C)x+(2B+D)\end{aligned}$$

Compare the coefficients of $x^3$.

$$0=A\ \Longrightarrow\ A=0$$

Compare the coefficients of $x^2$.

$$1=-2A+B\ \Longrightarrow\ 1=0+B\ \Longrightarrow\ B=1$$

Compare the coefficients of $x$.

$$0=2A-2B+C\ \Longrightarrow\ 0=0-2+C\ \Longrightarrow\ C=2$$

Compare the constants.

$$0=2B+D\ \Longrightarrow\ 0=2+D\ \Longrightarrow\ D=-2$$

Let $I$ be the given integral.

$$\begin{aligned}I&=\int\frac1{x^2-2x+2}\,dx+\int\frac{2x-2}{(x^2-2x+2)^2}\,dx\\[6pt]&=\int\frac1{(x-1)^2+1}\,dx\\&\quad+\int(x^2-2x+2)^{-2}(2x-2)\,dx\\[6pt]&=\tan^{-1}(x-1)+\frac{(x^2-2x+2)^{-1}}{-1}+c\end{aligned}$$
Answer $\tan^{-1}(x-1)-\frac1{x^2-2x+2}+c$
Question 15Evaluate $\int\frac{\cos x}{\sin^3x-1}\,dx$.
Formula used
$$u=g(x),\quad du=g'(x)\,dx$$
$$\frac A{u-1}+\frac{Bu+C}{u^2+u+1}$$
$$\int\frac{f'(x)}{f(x)}\,dx=\ln|f(x)|+c$$
$$\int\frac{dx}{a^2+x^2}=\frac1a\tan^{-1}\left(\frac xa\right)+c$$

Sol:

$$\text{Let }u=\sin x\ \Longrightarrow\ du=\cos x\,dx$$
$$\begin{aligned}\int\frac{\cos x}{\sin^3x-1}\,dx&=\int\frac{du}{u^3-1}\\[6pt]&=\int\frac{du}{(u-1)(u^2+u+1)}\end{aligned}$$
$$\text{Let }\frac1{(u-1)(u^2+u+1)}=\frac A{u-1}+\frac{Bu+C}{u^2+u+1}$$

Multiply both sides by $(u-1)(u^2+u+1)$.

$$1=A(u^2+u+1)+(Bu+C)(u-1)\qquad\text{(1)}$$

Put $u=1$ in (1).

$$1=3A\ \Longrightarrow\ A=\frac13$$

From (1),

$$1=(A+B)u^2+(A-B+C)u+(A-C)$$

Compare the coefficients of $u^2$.

$$0=A+B\ \Longrightarrow\ B=-\frac13$$

Compare the constants.

$$1=A-C\ \Longrightarrow\ C=\frac13-1=-\frac23$$

Let $I$ be the given integral.

$$\begin{aligned}I&=\frac13\int\frac1{u-1}\,du-\frac13\int\frac{u+2}{u^2+u+1}\,du\\[6pt]&=\frac13\ln|u-1|-\frac16\int\frac{2u+4}{u^2+u+1}\,du\\[6pt]&=\frac13\ln|u-1|-\frac16\int\frac{2u+1}{u^2+u+1}\,du\\&\quad-\frac16\int\frac3{u^2+u+1}\,du\end{aligned}$$

In the second integral the numerator is the derivative of the denominator. In the third, complete the square: $u^2+u+1=\left(u+\frac12\right)^2+\frac34$.

$$\begin{aligned}I&=\begin{aligned}&\frac13\ln|u-1|-\frac16\ln(u^2+u+1)\\&\quad-\frac12\int\frac1{\left(u+\frac12\right)^2+\left(\frac{\sqrt3}2\right)^2}\,du\end{aligned}\\[6pt]&=\begin{aligned}&\frac13\ln|u-1|-\frac16\ln(u^2+u+1)\\&\quad-\frac12\cdot\frac2{\sqrt3}\tan^{-1}\left(\frac{u+\frac12}{\frac{\sqrt3}2}\right)+c\end{aligned}\\[6pt]&=\begin{aligned}&\frac13\ln|u-1|-\frac16\ln(u^2+u+1)\\&\quad-\frac1{\sqrt3}\tan^{-1}\left(\frac{2u+1}{\sqrt3}\right)+c\end{aligned}\end{aligned}$$

Put back $u=\sin x$. Also $\frac1{\sqrt3}=\frac{\sqrt3}3$.

Answer $\frac13\ln|\sin x-1|-\frac16\ln(\sin^2x+\sin x+1)-\frac{\sqrt3}3\tan^{-1}\left(\frac{2\sin x+1}{\sqrt3}\right)+c$

Popular posts from this blog

Chapter 6 Conic Section Notes – 12th Class Math New Book

Exercise 3.3 Solutions – 12th Class Math New Book (Integration by Parts)

Chapter 11 MCQs and Short Questions – 12th Class Math New Book