100% FREE Updated: Mar 2026 Calculus Integral Calculus

Techniques of Integration

Comprehensive study notes on Techniques of Integration for CMI M.Sc. and Ph.D. Computer Science preparation. This chapter covers key concepts, formulas, and examples needed for your exam.

Techniques of Integration

This chapter rigorously examines fundamental techniques for evaluating integrals, focusing on substitution and integration by parts. Mastery of these methods is critical for advanced calculus applications and is a frequently assessed component in CMI examinations, underpinning solutions to a wide range of analytical problems.

---

Chapter Contents

|

| Topic |

|---|-------| | 1 | Integration by Substitution | | 2 | Integration by Parts |

---

We begin with Integration by Substitution.

Part 1: Integration by Substitution

Integration by substitution is a fundamental technique for simplifying integrals by transforming them into a more manageable form. We use this method to reverse the chain rule, making complex integrands solvable by recognizing a function and its derivative within the expression.

---

Core Concepts

1. The Fundamental Substitution Rule for Indefinite Integrals

We define the substitution rule for indefinite integrals to simplify expressions of the form f(g(x))g(x)dx\int f(g(x))g'(x) \,dx. By letting u=g(x)u = g(x), we find du=g(x)dxdu = g'(x) \,dx, transforming the integral into f(u)du\int f(u) \,du.

📐 Substitution Rule (Indefinite Integrals)
f(g(x))g(x)dx=f(u)du\int f(g(x))g'(x) \,dx = \int f(u) \,du

Where: u=g(x)u = g(x) and du=g(x)dxdu = g'(x) \,dx.
When to use: When an integrand contains a function and its derivative, or can be manipulated to do so.

Worked Example: Evaluate xx2+1dx\int x \sqrt{x^2+1} \,dx.

Step 1: Identify uu and dudu.

> Let u=x2+1u = x^2+1.
> Then, du=2xdxdu = 2x \,dx.
> We observe that xdx=12dux \,dx = \frac{1}{2} \,du.

Step 2: Substitute into the integral.

>

u(12)du\int \sqrt{u} \left(\frac{1}{2}\right) \,du

Step 3: Integrate with respect to uu.

>

12u1/2du=12(u3/23/2)+C\frac{1}{2} \int u^{1/2} \,du = \frac{1}{2} \left( \frac{u^{3/2}}{3/2} \right) + C

>
=1223u3/2+C= \frac{1}{2} \cdot \frac{2}{3} u^{3/2} + C

>
=13u3/2+C= \frac{1}{3} u^{3/2} + C

Step 4: Substitute back u=x2+1u = x^2+1.

>

13(x2+1)3/2+C\frac{1}{3} (x^2+1)^{3/2} + C

Answer: 13(x2+1)3/2+C\frac{1}{3} (x^2+1)^{3/2} + C

:::question type="MCQ" question="Evaluate the indefinite integral ex1+exdx\int \frac{e^x}{1+e^x} \,dx." options=["ln1+ex+C\ln|1+e^x| + C","(1+ex)2+C(1+e^x)^2 + C","1(1+ex)2+C-\frac{1}{(1+e^x)^2} + C","exln1+ex+Ce^x \ln|1+e^x| + C"] answer="ln1+ex+C\ln|1+e^x| + C" hint="Let u=1+exu = 1+e^x." solution="Step 1: Let u=1+exu = 1+e^x.
> Then du=exdxdu = e^x \,dx.

Step 2: Substitute uu and dudu into the integral.
>

1udu\int \frac{1}{u} \,du

Step 3: Integrate with respect to uu.
>

lnu+C\ln|u| + C

Step 4: Substitute back u=1+exu = 1+e^x.
>

ln1+ex+C\ln|1+e^x| + C

"
:::

---

2. Definite Integrals and Limit Transformation

When performing substitution in definite integrals, we must transform the limits of integration from xx-values to uu-values. This avoids the need to substitute back to xx at the end.

📐 Substitution Rule (Definite Integrals)
abf(g(x))g(x)dx=g(a)g(b)f(u)du\int_a^b f(g(x))g'(x) \,dx = \int_{g(a)}^{g(b)} f(u) \,du

Where: u=g(x)u = g(x), du=g(x)dxdu = g'(x) \,dx, and the new limits are u1=g(a)u_1 = g(a) and u2=g(b)u_2 = g(b).
When to use: For definite integrals where substitution simplifies the integrand.

Worked Example: Evaluate 01xex2dx\int_0^1 x e^{-x^2} \,dx.

Step 1: Identify uu, dudu, and transform the limits of integration.

> Let u=x2u = -x^2.
> Then du=2xdxdu = -2x \,dx.
> This means xdx=12dux \,dx = -\frac{1}{2} \,du.
>
> For the limits:
> When x=0x=0, u=(0)2=0u = -(0)^2 = 0.
> When x=1x=1, u=(1)2=1u = -(1)^2 = -1.

Step 2: Substitute into the integral with new limits.

>

01eu(12)du\int_0^{-1} e^u \left(-\frac{1}{2}\right) \,du

Step 3: Integrate with respect to uu.

>

1201eudu=12[eu]01-\frac{1}{2} \int_0^{-1} e^u \,du = -\frac{1}{2} [e^u]_0^{-1}

>
=12(e1e0)= -\frac{1}{2} (e^{-1} - e^0)

>
=12(1e1)= -\frac{1}{2} \left(\frac{1}{e} - 1\right)

>
=12(11e)= \frac{1}{2} \left(1 - \frac{1}{e}\right)

Answer: 12(11e)\frac{1}{2} \left(1 - \frac{1}{e}\right)

:::question type="NAT" question="Compute the value of 1elnxxdx\int_1^e \frac{\ln x}{x} \,dx." answer="0.5" hint="Let u=lnxu = \ln x and transform the limits." solution="Step 1: Let u=lnxu = \ln x.
> Then du=1xdxdu = \frac{1}{x} \,dx.
>
> For the limits:
> When x=1x=1, u=ln(1)=0u = \ln(1) = 0.
> When x=ex=e, u=ln(e)=1u = \ln(e) = 1.

Step 2: Substitute into the integral with new limits.
>

01udu\int_0^1 u \,du

Step 3: Integrate with respect to uu.
>

[u22]01=122022=12\left[\frac{u^2}{2}\right]_0^1 = \frac{1^2}{2} - \frac{0^2}{2} = \frac{1}{2}

Answer: 0.5"
:::

---

3. Strategic Choice of Substitution

Identifying the correct substitution uu is crucial. We often choose uu to be the "inner function" of a composite function, or a term whose derivative is also present (or a constant multiple of it) in the integrand.

Worked Example: Evaluate 1xlnxdx\int \frac{1}{x \ln x} \,dx.

Step 1: Identify uu and dudu.

> We observe that the derivative of lnx\ln x is 1x\frac{1}{x}.
> Let u=lnxu = \ln x.
> Then du=1xdxdu = \frac{1}{x} \,dx.

Step 2: Substitute into the integral.

>

1udu\int \frac{1}{u} \,du

Step 3: Integrate with respect to uu.

>

lnu+C\ln|u| + C

Step 4: Substitute back u=lnxu = \ln x.

>

lnlnx+C\ln|\ln x| + C

Answer: lnlnx+C\ln|\ln x| + C

:::question type="MCQ" question="Find sin(x)xdx\int \frac{\sin(\sqrt{x})}{\sqrt{x}} \,dx." options=["2cos(x)+C-2 \cos(\sqrt{x}) + C","cos(x)+C\cos(\sqrt{x}) + C","12cos(x)+C\frac{1}{2} \cos(\sqrt{x}) + C","cos(x)+C- \cos(\sqrt{x}) + C"] answer="2cos(x)+C-2 \cos(\sqrt{x}) + C" hint="Consider u=xu = \sqrt{x} and find dudu." solution="Step 1: Let u=x=x1/2u = \sqrt{x} = x^{1/2}.
> Then du=12x1/2dx=12xdxdu = \frac{1}{2} x^{-1/2} \,dx = \frac{1}{2\sqrt{x}} \,dx.
> This implies 1xdx=2du\frac{1}{\sqrt{x}} \,dx = 2 \,du.

Step 2: Substitute into the integral.
>

sin(u)(2du)=2sin(u)du\int \sin(u) (2 \,du) = 2 \int \sin(u) \,du

Step 3: Integrate with respect to uu.
>

2(cos(u))+C=2cos(u)+C2 (-\cos(u)) + C = -2 \cos(u) + C

Step 4: Substitute back u=xu = \sqrt{x}.
>

2cos(x)+C-2 \cos(\sqrt{x}) + C

"
:::

---

4. Adjusting the Differential and Completing the Square

Sometimes, the substitution requires algebraic manipulation to express dxdx in terms of dudu, or to express xx in terms of uu. For quadratic denominators, completing the square often precedes substitution to reach a standard integral form.

Worked Example: Evaluate 1x2+2x+5dx\int \frac{1}{x^2+2x+5} \,dx.

Step 1: Complete the square in the denominator.

> The denominator is x2+2x+5=(x2+2x+1)+4=(x+1)2+22x^2+2x+5 = (x^2+2x+1) + 4 = (x+1)^2 + 2^2.
> The integral becomes 1(x+1)2+22dx\int \frac{1}{(x+1)^2 + 2^2} \,dx.

Step 2: Identify uu and dudu.

> Let u=x+1u = x+1.
> Then du=dxdu = \,dx.

Step 3: Substitute into the integral.

>

1u2+22du\int \frac{1}{u^2 + 2^2} \,du

Step 4: Integrate using the standard form 1y2+a2dy=1aarctan(ya)+C\int \frac{1}{y^2+a^2} \,dy = \frac{1}{a} \arctan\left(\frac{y}{a}\right) + C.

> Here,y=uy=u and a=2a=2.
>

12arctan(u2)+C\frac{1}{2} \arctan\left(\frac{u}{2}\right) + C

Step 5: Substitute back u=x+1u = x+1.

>

12arctan(x+12)+C\frac{1}{2} \arctan\left(\frac{x+1}{2}\right) + C

Answer: 12arctan(x+12)+C\frac{1}{2} \arctan\left(\frac{x+1}{2}\right) + C

:::question type="MCQ" question="Evaluate x+14x22xdx\int \frac{x+1}{\sqrt{4-x^2-2x}} \,dx." options=["4x22x+C-\sqrt{4-x^2-2x} + C","arcsin(x+15)+C\arcsin\left(\frac{x+1}{\sqrt{5}}\right) + C","124x22x+C\frac{1}{2}\sqrt{4-x^2-2x} + C","4x22x+C\sqrt{4-x^2-2x} + C"] answer="arcsin(x+15)+C\arcsin\left(\frac{x+1}{\sqrt{5}}\right) + C" hint="Complete the square in the denominator and consider u=x+1u=x+1." solution="Step 1: Complete the square in the denominator.
> 4x22x=4(x2+2x)=4(x2+2x+11)=4((x+1)21)=5(x+1)24-x^2-2x = 4-(x^2+2x) = 4-(x^2+2x+1-1) = 4-( (x+1)^2 - 1) = 5-(x+1)^2.
> The integral becomes x+15(x+1)2dx\int \frac{x+1}{\sqrt{5-(x+1)^2}} \,dx.

Step 2: Identify uu and dudu.
> Let u=x+1u = x+1.
> Then du=dxdu = \,dx.
> The integral is now u5u2du\int \frac{u}{\sqrt{5-u^2}} \,du.
> This looks like another substitution is needed for 5u25-u^2. Let v=5u2v = 5-u^2. Then dv=2ududv = -2u \,du, so udu=12dvu \,du = -\frac{1}{2} \,dv.

Step 3: Substitute vv into the integral.
>

1v(12)dv=12v1/2dv\int \frac{1}{\sqrt{v}} \left(-\frac{1}{2}\right) \,dv = -\frac{1}{2} \int v^{-1/2} \,dv

Step 4: Integrate with respect to vv.
>

12(v1/21/2)+C=12(2v)+C=v+C-\frac{1}{2} \left( \frac{v^{1/2}}{1/2} \right) + C = -\frac{1}{2} (2 \sqrt{v}) + C = -\sqrt{v} + C

Step 5: Substitute back v=5u2v = 5-u^2 and u=x+1u = x+1.
>

5(x+1)2+C-\sqrt{5-(x+1)^2} + C

>
4x22x+C-\sqrt{4-x^2-2x} + C

Wait, this is incorrect. The derivative of arcsin(ua)\arcsin\left(\frac{u}{a}\right) is 1a2u2du\frac{1}{\sqrt{a^2-u^2}} du.
Let's re-evaluate the question and my solution. The question asks for x+14x22xdx\int \frac{x+1}{\sqrt{4-x^2-2x}} \,dx.
My first substitution was u=x+1u=x+1, so du=dxdu=dx. The integral became u5u2du\int \frac{u}{\sqrt{5-u^2}} \,du.
This is NOT 1a2u2du\int \frac{1}{\sqrt{a^2-u^2}} \,du. It's u(5u2)1/2du\int u(5-u^2)^{-1/2} \,du.
Let's re-do the example solution:

Step 1: Complete the square in the denominator.
> 4x22x=4(x2+2x)=4(x2+2x+11)=4((x+1)21)=5(x+1)24-x^2-2x = 4-(x^2+2x) = 4-(x^2+2x+1-1) = 4-((x+1)^2-1) = 5-(x+1)^2.
> The integral becomes x+15(x+1)2dx\int \frac{x+1}{\sqrt{5-(x+1)^2}} \,dx.

Step 2: Identify uu and dudu.
> Let u=x+1u = x+1.
> Then du=dxdu = \,dx.
> The integral becomes u5u2du\int \frac{u}{\sqrt{5-u^2}} \,du.

Step 3: Perform a second substitution. Let v=5u2v = 5-u^2.
> Then dv=2ududv = -2u \,du, so udu=12dvu \,du = -\frac{1}{2} \,dv.
> The integral becomes 1v(12)dv=12v1/2dv\int \frac{1}{\sqrt{v}} \left(-\frac{1}{2}\right) \,dv = -\frac{1}{2} \int v^{-1/2} \,dv.

Step 4: Integrate with respect to vv.
>

12(v1/21/2)+C=v+C-\frac{1}{2} \left(\frac{v^{1/2}}{1/2}\right) + C = -\sqrt{v} + C

Step 5: Substitute back v=5u2v = 5-u^2 and u=x+1u = x+1.
>

5(x+1)2+C=4x22x+C-\sqrt{5-(x+1)^2} + C = -\sqrt{4-x^2-2x} + C

The provided answer is arcsin(x+15)+C\arcsin\left(\frac{x+1}{\sqrt{5}}\right) + C. This implies the numerator should be 11 not x+1x+1.
Let me check the question itself.
If the question was 14x22xdx\int \frac{1}{\sqrt{4-x^2-2x}} \,dx, then the answer would be arcsin(x+15)+C\arcsin\left(\frac{x+1}{\sqrt{5}}\right) + C.
The current question x+14x22xdx\int \frac{x+1}{\sqrt{4-x^2-2x}} \,dx leads to 4x22x+C-\sqrt{4-x^2-2x} + C.
I need to ensure my question and answer are consistent.
I will change the question to match the arcsin\arcsin form. This is a common pattern for substitution.

Corrected Question & Solution:
:::question type="MCQ" question="Evaluate 14x22xdx\int \frac{1}{\sqrt{4-x^2-2x}} \,dx." options=["arcsin(x+15)+C\arcsin\left(\frac{x+1}{\sqrt{5}}\right) + C","lnx+1+4x22x+C\ln|x+1 + \sqrt{4-x^2-2x}| + C","12ln5+x+15(x+1)+C\frac{1}{2}\ln\left|\frac{\sqrt{5}+x+1}{\sqrt{5}-(x+1)}\right| + C","4x22x+C\sqrt{4-x^2-2x} + C"] answer="arcsin(x+15)+C\arcsin\left(\frac{x+1}{\sqrt{5}}\right) + C" hint="Complete the square in the denominator and use the standard integral form for arcsin\arcsin." solution="Step 1: Complete the square in the denominator.
> 4x22x=4(x2+2x)=4(x2+2x+11)=4((x+1)21)=5(x+1)24-x^2-2x = 4-(x^2+2x) = 4-(x^2+2x+1-1) = 4-((x+1)^2-1) = 5-(x+1)^2.
> The integral becomes 15(x+1)2dx\int \frac{1}{\sqrt{5-(x+1)^2}} \,dx.

Step 2: Identify uu and dudu.
> Let u=x+1u = x+1.
> Then du=dxdu = \,dx.
> The integral becomes 15u2du\int \frac{1}{\sqrt{5-u^2}} \,du.

Step 3: Integrate using the standard form 1a2y2dy=arcsin(ya)+C\int \frac{1}{\sqrt{a^2-y^2}} \,dy = \arcsin\left(\frac{y}{a}\right) + C.
> Here, y=uy=u and a=5a=\sqrt{5}.
>

arcsin(u5)+C\arcsin\left(\frac{u}{\sqrt{5}}\right) + C

Step 4: Substitute back u=x+1u = x+1.
>

arcsin(x+15)+C\arcsin\left(\frac{x+1}{\sqrt{5}}\right) + C

"
:::

---

Advanced Applications

Substitution can simplify complex integrands that may initially appear intractable. These examples often involve a clever choice of uu or lead to one of the inverse trigonometric forms.

Worked Example: Evaluate e2x1e4xdx\int \frac{e^{2x}}{\sqrt{1-e^{4x}}} \,dx.

Step 1: Identify a suitable substitution.

> We observe e4x=(e2x)2e^{4x} = (e^{2x})^2.
> Let u=e2xu = e^{2x}.
> Then du=2e2xdxdu = 2e^{2x} \,dx.
> This means e2xdx=12due^{2x} \,dx = \frac{1}{2} \,du.

Step 2: Substitute into the integral.

>

11u2(12)du\int \frac{1}{\sqrt{1-u^2}} \left(\frac{1}{2}\right) \,du

>
=1211u2du= \frac{1}{2} \int \frac{1}{\sqrt{1-u^2}} \,du

Step 3: Integrate using the standard form 1a2y2dy=arcsin(ya)+C\int \frac{1}{\sqrt{a^2-y^2}} \,dy = \arcsin\left(\frac{y}{a}\right) + C.

> Here, y=uy=u and a=1a=1.
>

12arcsin(u)+C\frac{1}{2} \arcsin(u) + C

Step 4: Substitute back u=e2xu = e^{2x}.

>

12arcsin(e2x)+C\frac{1}{2} \arcsin(e^{2x}) + C

Answer: 12arcsin(e2x)+C\frac{1}{2} \arcsin(e^{2x}) + C

:::question type="NAT" question="Calculate 0π/4sec2x1+tan2xdx\int_0^{\pi/4} \frac{\sec^2 x}{1+\tan^2 x} \,dx." answer="0.785398" hint="Simplify the integrand using a trigonometric identity first, then consider a substitution." solution="Step 1: Simplify the integrand using the identity 1+tan2x=sec2x1+\tan^2 x = \sec^2 x.
> The integrand becomes sec2xsec2x=1\frac{\sec^2 x}{\sec^2 x} = 1.
> So the integral is 0π/41dx\int_0^{\pi/4} 1 \,dx.
> (Note: This question was intended to be a substitution where u=tanxu=\tan x. Let me re-evaluate to make it a clear substitution question. The current one simplifies too much. I need to make the denominator not simplify to sec2x\sec^2 x. Let's make it 1+tanx1+ \tan x or something else.)

Corrected Question & Solution:
:::question type="NAT" question="Calculate 0π/4sec2x1+tanxdx\int_0^{\pi/4} \frac{\sec^2 x}{1+\tan x} \,dx." answer="0.346573" hint="Let u=1+tanxu = 1+\tan x and transform the limits." solution="Step 1: Identify uu, dudu, and transform the limits of integration.
> Let u=1+tanxu = 1+\tan x.
> Then du=sec2xdxdu = \sec^2 x \,dx.
>
> For the limits:
> When x=0x=0, u=1+tan(0)=1+0=1u = 1+\tan(0) = 1+0 = 1.
> When x=π/4x=\pi/4, u=1+tan(π/4)=1+1=2u = 1+\tan(\pi/4) = 1+1 = 2.

Step 2: Substitute into the integral with new limits.
>

121udu\int_1^2 \frac{1}{u} \,du

Step 3: Integrate with respect to uu.
>

[lnu]12=ln(2)ln(1)[\ln|u|]_1^2 = \ln(2) - \ln(1)

>
=ln(2)0=ln(2)= \ln(2) - 0 = \ln(2)

> Numerically, ln(2)0.693147\ln(2) \approx 0.693147.
Ah, the question asks for NAT, so it needs a numerical answer.
Wait, my previous calculation for 12(11/e)\frac{1}{2}(1-1/e) was 0.3160.316.
ln(2)0.693147\ln(2) \approx 0.693147. The answer 0.346573 is 12ln(2)\frac{1}{2}\ln(2).
Let me check if I made a mistake in the question or the answer.
If the question was 0π/4sec2x2(1+tanx)dx\int_0^{\pi/4} \frac{\sec^2 x}{2(1+\tan x)} \,dx, then the answer would be 12ln(2)\frac{1}{2}\ln(2).
Let me adjust the question to match the intended answer. Or I can just put ln(2)\ln(2) as the answer. I will put ln(2)\ln(2) as the answer for now.

Revised Answer for current question:
Answer: 0.693147
"
:::

Final check on the NAT question and solution.
Question: 0π/4sec2x1+tanxdx\int_0^{\pi/4} \frac{\sec^2 x}{1+\tan x} \,dx.
Solution yields ln(2)\ln(2). ln(2)0.69314718\ln(2) \approx 0.69314718.
The given answer in the prompt was 0.346573. This is approximately ln(2)/2\ln(2)/2.
So, either the question should be 0π/4sec2x2(1+tanx)dx\int_0^{\pi/4} \frac{\sec^2 x}{2(1+\tan x)} \,dx or the answer should be ln(2)\ln(2).
I will use ln(2)\ln(2) as the answer for the question as stated.

Corrected Answer: 0.693147
(The previous value was incorrect for the stated question.)

---

Problem-Solving Strategies

💡 Identifying the Right Substitution

When faced with an integral, look for a composite function f(g(x))f(g(x)). Often, setting u=g(x)u=g(x) (the 'inner' function) will lead to du=g(x)dxdu=g'(x)\,dx, simplifying the integral. Also, look for terms whose derivative is present in the integrand. For expressions like g(x)g(x)dx\int \frac{g'(x)}{g(x)} \,dx, setting u=g(x)u=g(x) yields lnu\ln|u|. For g(x)eg(x)dx\int g'(x)e^{g(x)}\,dx, setting u=g(x)u=g(x) yields eue^u.

---

Common Mistakes

⚠️ Forgetting to Change Limits in Definite Integrals

Mistake: Evaluating a definite integral using substitution, but substituting back to xx and using the original limits.
Correct Approach: When performing substitution in a definite integral, always transform the limits of integration from xx-values to uu-values. This allows direct evaluation of the uu-integral without needing to revert to xx.
For abf(g(x))g(x)dx\int_a^b f(g(x))g'(x) \,dx, if u=g(x)u=g(x), the new limits become g(a)g(a) and g(b)g(b). The integral is then g(a)g(b)f(u)du\int_{g(a)}^{g(b)} f(u)\,du.

⚠️ Missing the Differential dudu

Mistake: Forgetting to account for dudu when performing substitution, especially when dudu involves a constant multiplier or needs rearrangement. For example, replacing dxdx directly with dudu when du=kdxdu=k\,dx.
Correct Approach: Always explicitly calculate du=g(x)dxdu=g'(x)\,dx. If g(x)g'(x) is not exactly present, manipulate the equation to express dxdx in terms of dudu (e.g., dx=1g(x)dudx=\frac{1}{g'(x)}\,du) or to express g(x)dxg'(x)\,dx in terms of dudu (e.g., g(x)dx=dug'(x)\,dx=du). Ensure all xx terms are replaced by uu terms.

---

Practice Questions

:::question type="MCQ" question="Evaluate cosxsin2xdx\int \frac{\cos x}{\sin^2 x} \,dx." options=["1sinx+C-\frac{1}{\sin x} + C","lnsinx+C\ln|\sin x| + C","1sinx+C\frac{1}{\sin x} + C","tanx+C\tan x + C"] answer="1sinx+C-\frac{1}{\sin x} + C" hint="Let u=sinxu = \sin x." solution="Step 1: Let u=sinxu = \sin x.
> Then du=cosxdxdu = \cos x \,dx.

Step 2: Substitute into the integral.
>

1u2du=u2du\int \frac{1}{u^2} \,du = \int u^{-2} \,du

Step 3: Integrate with respect to uu.
>

u11+C=1u+C\frac{u^{-1}}{-1} + C = -\frac{1}{u} + C

Step 4: Substitute back u=sinxu = \sin x.
>

1sinx+C-\frac{1}{\sin x} + C

"
:::

:::question type="NAT" question="Compute the definite integral 01(2x+1)3dx\int_0^1 (2x+1)^3 \,dx." answer="10" hint="Use substitution u=2x+1u=2x+1 and change the limits." solution="Step 1: Let u=2x+1u = 2x+1.
> Then du=2dxdu = 2 \,dx, so dx=12dudx = \frac{1}{2} \,du.
>
> For the limits:
> When x=0x=0, u=2(0)+1=1u = 2(0)+1 = 1.
> When x=1x=1, u=2(1)+1=3u = 2(1)+1 = 3.

Step 2: Substitute into the integral with new limits.
>

13u3(12)du=1213u3du\int_1^3 u^3 \left(\frac{1}{2}\right) \,du = \frac{1}{2} \int_1^3 u^3 \,du

Step 3: Integrate with respect to uu.
>

12[u44]13=18[u4]13\frac{1}{2} \left[\frac{u^4}{4}\right]_1^3 = \frac{1}{8} [u^4]_1^3

>
=18(3414)=18(811)=808=10= \frac{1}{8} (3^4 - 1^4) = \frac{1}{8} (81 - 1) = \frac{80}{8} = 10

"
:::

:::question type="MSQ" question="Which of the following integrals can be solved using the substitution u=lnxu=\ln x?" options=["lnxxdx\int \frac{\ln x}{x} \,dx","1x(lnx)2dx\int \frac{1}{x (\ln x)^2} \,dx","1xlnxdx\int \frac{1}{x \ln x} \,dx","xlnxdx\int \frac{x}{\ln x} \,dx"] answer="lnxxdx,1x(lnx)2dx,1xlnxdx\int \frac{\ln x}{x} \,dx,\int \frac{1}{x (\ln x)^2} \,dx,\int \frac{1}{x \ln x} \,dx" hint="For u=lnxu=\ln x, we need du=1xdxdu=\frac{1}{x}\,dx to be present in the integrand." solution="For u=lnxu=\ln x, we have du=1xdxdu = \frac{1}{x} \,dx. We need to see if 1xdx\frac{1}{x} \,dx can be isolated in the integrand.

  • Option 1: lnxxdx\int \frac{\ln x}{x} \,dx
Can be written as (lnx)(1xdx)\int (\ln x) \left(\frac{1}{x} \,dx\right). Here,u=lnxu=\ln x and du=1xdxdu=\frac{1}{x}\,dx. This works.
  • Option 2: 1x(lnx)2dx\int \frac{1}{x (\ln x)^2} \,dx
Can be written as 1(lnx)2(1xdx)\int \frac{1}{(\ln x)^2} \left(\frac{1}{x} \,dx\right). Here, u=lnxu=\ln x and du=1xdxdu=\frac{1}{x} \,dx. This works.
  • Option 3: 1xlnxdx\int \frac{1}{x \ln x} \,dx
Can be written as 1lnx(1xdx)\int \frac{1}{\ln x} \left(\frac{1}{x} \,dx\right). Here, u=lnxu=\ln x and du=1xdxdu=\frac{1}{x} \,dx. This works.
  • Option 4: xlnxdx\int \frac{x}{\ln x} \,dx
If u=lnxu=\ln x, then x=eux=e^u and dx=eududx=e^u\,du. The integral becomes euueudu=e2uudu\int \frac{e^u}{u} e^u\,du = \int \frac{e^{2u}}{u}\,du. While a substitution was made, this does not simplify to a standard form and is generally not what is meant by 'solvable using $ u=\ln x

Therefore, options 1, 2, and 3 are correct."
:::

:::question type="MCQ" question="Evaluate x21x6dx\int \frac{x^2}{\sqrt{1-x^6}} \,dx." options=["13arcsin(x3)+C\frac{1}{3} \arcsin(x^3) + C","12arcsin(x3)+C\frac{1}{2} \arcsin(x^3) + C","3arcsin(x3)+C3 \arcsin(x^3) + C","13arctan(x3)+C\frac{1}{3} \arctan(x^3) + C"] answer="13arcsin(x3)+C\frac{1}{3} \arcsin(x^3) + C" hint="Consider u=x3u=x^3 and the standard integral form for arcsin\arcsin." solution="Step 1: Observe that x6=(x3)2x^6 = (x^3)^2.
> Let u=x3u = x^3.
> Then du=3x2dxdu = 3x^2 \,dx, so x2dx=13dux^2 \,dx = \frac{1}{3} \,du.

Step 2: Substitute into the integral.
>

11u2(13)du=1311u2du\int \frac{1}{\sqrt{1-u^2}} \left(\frac{1}{3}\right) \,du = \frac{1}{3} \int \frac{1}{\sqrt{1-u^2}} \,du

Step 3: Integrate using the standard form 1a2y2dy=arcsin(ya)+C\int \frac{1}{\sqrt{a^2-y^2}} \,dy = \arcsin\left(\frac{y}{a}\right) + C.
> Here,y=uy=u and a=1a=1.
>

13arcsin(u)+C\frac{1}{3} \arcsin(u) + C

Step 4: Substitute back u=x3u = x^3.
>

13arcsin(x3)+C\frac{1}{3} \arcsin(x^3) + C

"
:::

---

Summary

Key Formulas & Takeaways

|

| Formula/Concept | Expression |

|---|----------------|------------| | 1 | Indefinite Integral Substitution | f(g(x))g(x)dx=f(u)du\int f(g(x))g'(x) \,dx = \int f(u) \,du with u=g(x)u=g(x), du=g(x)dxdu=g'(x)\,dx | | 2 | Definite Integral Substitution | abf(g(x))g(x)dx=g(a)g(b)f(u)du\int_a^b f(g(x))g'(x) \,dx = \int_{g(a)}^{g(b)} f(u) \,du | | 3 | Choosing 'u' | Often the 'inner' function g(x)g(x) or a term whose derivative g(x)g'(x) is present in the integrand. | | 4 | Limits Transformation | For definite integrals, always transform the limits from xx-values to uu-values using u=g(x)u=g(x). |

---

What's Next?

💡 Continue Learning

This topic connects to:

    • Integration by Parts: Used when substitution alone isn't enough, especially for products of functions that don't fit the f(g(x))g(x)f(g(x))g'(x) pattern.

    • Integration of Rational Functions (Partial Fractions): Often, after a substitution, the integral might become a rational function that requires partial fraction decomposition.

    • Trigonometric Integrals: Many trigonometric integrals are simplified using substitution (e.g.,u=sinxu=\sin x or u=cosxu=\cos x).

in the context of direct simplification. The term 1xdx\frac{1}{x}\,dx is not readily available.

Therefore, options 1, 2, and 3 are correct."
:::

:::question type="MCQ" question="Evaluate x21x6dx\int \frac{x^2}{\sqrt{1-x^6}} \,dx." options=["13arcsin(x3)+C\frac{1}{3} \arcsin(x^3) + C","12arcsin(x3)+C\frac{1}{2} \arcsin(x^3) + C","3arcsin(x3)+C3 \arcsin(x^3) + C","13arctan(x3)+C\frac{1}{3} \arctan(x^3) + C"] answer="13arcsin(x3)+C\frac{1}{3} \arcsin(x^3) + C" hint="Consider u=x3u=x^3 and the standard integral form for arcsin\arcsin." solution="Step 1: Observe that x6=(x3)2x^6 = (x^3)^2.
> Let u=x3u = x^3.
> Then du=3x2dxdu = 3x^2 \,dx, so x2dx=13dux^2 \,dx = \frac{1}{3} \,du.

Step 2: Substitute into the integral.
>

11u2(13)du=1311u2du\int \frac{1}{\sqrt{1-u^2}} \left(\frac{1}{3}\right) \,du = \frac{1}{3} \int \frac{1}{\sqrt{1-u^2}} \,du

Step 3: Integrate using the standard form 1a2y2dy=arcsin(ya)+C\int \frac{1}{\sqrt{a^2-y^2}} \,dy = \arcsin\left(\frac{y}{a}\right) + C.
> Here, y=uy=u and a=1a=1.
>

13arcsin(u)+C\frac{1}{3} \arcsin(u) + C

Step 4: Substitute back u=x3u = x^3.
>

13arcsin(x3)+C\frac{1}{3} \arcsin(x^3) + C

"
:::

---

Summary

Key Formulas & Takeaways

|

| Formula/Concept | Expression |

|---|----------------|------------| | 1 | Indefinite Integral Substitution | f(g(x))g(x)dx=f(u)du\int f(g(x))g'(x) \,dx = \int f(u) \,du with u=g(x)u=g(x), du=g(x)dxdu=g'(x) \,dx | | 2 | Definite Integral Substitution | abf(g(x))g(x)dx=g(a)g(b)f(u)du\int_a^b f(g(x))g'(x) \,dx = \int_{g(a)}^{g(b)} f(u) \,du | | 3 | Choosing 'u' | Often the 'inner' function g(x)g(x) or a term whose derivative g(x)g'(x) is present in the integrand. | | 4 | Limits Transformation | For definite integrals, always transform the limits from xx-values to uu-values using u=g(x)u=g(x). |

---

What's Next?

💡 Continue Learning

This topic connects to:

    • Integration by Parts: Used when substitution alone isn't enough, especially for products of functions that don't fit the f(g(x))g(x)f(g(x))g'(x) pattern.

    • Integration of Rational Functions (Partial Fractions): Often, after a substitution, the integral might become a rational function that requires partial fraction decomposition.

    • Trigonometric Integrals: Many trigonometric integrals are simplified using substitution (e.g., u=sinxu=\sin x or u=cosxu=\cos x).

---

💡 Next Up

Proceeding to Integration by Parts.

---

Part 2: Integration by Parts

Integration by parts is a fundamental technique for integrating products of functions, transforming a complex integral into a potentially simpler one. This method is crucial for solving various integrals encountered in computer science applications, particularly in probability, signal processing, and algorithm analysis.

---

Core Concepts

1. The Integration by Parts Formula

We use integration by parts to integrate the product of two functions. The formula is derived from the product rule for differentiation.

📐 Integration by Parts Formula
udv=uvvdu\int u \, dv = uv - \int v \, du

Where:
uu is a function that becomes simpler when differentiated.
dvdv is a function that can be easily integrated.
When to use: Integrating products of functions, especially when one function simplifies upon differentiation and the other is easily integrable.

Worked Example: Integrate xexdx\int x e^x \, dx.

Step 1: Choose uu and dvdv.

We choose u=xu = x because its derivative, du=dxdu = dx, is simpler. We choose dv=exdxdv = e^x \, dx because it is easily integrable.

> u=x    du=dxu = x \implies du = dx
> dv=exdx    v=exdx=exdv = e^x \, dx \implies v = \int e^x \, dx = e^x

Step 2: Apply the integration by parts formula.

>

udv=uvvdu\int u \, dv = uv - \int v \, du

> $\int x e^x \, dx = x e^x - \int e^x \, dx
Step3:Evaluatetheremainingintegral.>Step 3: Evaluate the remaining integral.

>

\int x e^x \, dx = x e^x - e^x + C

' in math mode at position 13: Answer:̲ x e^x - e^x + …" style="color:#cc0000">Answer: xexex+Cx e^x - e^x + C

:::question type="MCQ" question="Evaluate xcosxdx\int x \cos x \, dx." options=["xsinx+cosx+Cx \sin x + \cos x + C","xsinx+cosx+C-x \sin x + \cos x + C","xsinxcosx+Cx \sin x - \cos x + C","xsinxcosx+C-x \sin x - \cos x + C"] answer="xsinx+cosx+Cx \sin x + \cos x + C" hint="Let u=xu=x and dv=cosxdxdv=\cos x \, dx." solution="Step 1: Choose uu and dvdv.
> u=x    du=dxu = x \implies du = dx
> dv=cosxdx    v=cosxdx=sinxdv = \cos x \, dx \implies v = \int \cos x \, dx = \sin x

Step 2: Apply the integration by parts formula.
>

\int u \, dv = uv - \int v \, du
>>

\int x \cos x \, dx = x \sin x - \int \sin x \, dx

Step3:Evaluatetheremainingintegral.>Step 3: Evaluate the remaining integral.
>

\int x \cos x \, dx = x \sin x - (-\cos x) + C

>>

\int x \cos x \, dx = x \sin x + \cos x + C

"
:::

---

2. Choosing uu and dvdv (LIATE Rule)

The success of integration by parts often depends on the appropriate choice of uu and dvdv. A helpful heuristic for this selection is the LIATE rule, which prioritizes functions for uu in the following order.

<div class="callout-box my-4 p-4 rounded-lg border bg-green-500/10 border-green-500/30">
<div class="flex items-center gap-2 font-semibold mb-2">
<span>💡</span>
<span>LIATE Rule for Choosing uu</span>
</div>
<div class="prose prose-sm max-w-none"><p>Prioritize <span class="math-inline"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>u</mi></mrow><annotation encoding="application/x-tex">u</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.4306em;"></span><span class="mord mathnormal">u</span></span></span></span></span> in the order:<br><li> <strong>L</strong>ogarithmic functions (e.g., <span class="math-inline"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>ln</mi><mo>⁡</mo><mi>x</mi></mrow><annotation encoding="application/x-tex">\ln x</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.6944em;"></span><span class="mop">ln</span><span class="mspace" style="margin-right:0.1667em;"></span><span class="mord mathnormal">x</span></span></span></span></span>)</li><br><li> <strong>I</strong>nverse trigonometric functions (e.g., <span class="math-inline"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>arctan</mi><mo>⁡</mo><mi>x</mi></mrow><annotation encoding="application/x-tex">\arctan x</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.6151em;"></span><span class="mop">arctan</span><span class="mspace" style="margin-right:0.1667em;"></span><span class="mord mathnormal">x</span></span></span></span></span>)</li><br><li> <strong>A</strong>lgebraic functions (e.g., <span class="math-inline"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>x</mi><mi>n</mi></msup></mrow><annotation encoding="application/x-tex">x^n</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.6644em;"></span><span class="mord"><span class="mord mathnormal">x</span><span class="msupsub"><span class="vlist-t"><span class="vlist-r"><span class="vlist" style="height:0.6644em;"><span style="top:-3.063em;margin-right:0.05em;"><span class="pstrut" style="height:2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mathnormal mtight">n</span></span></span></span></span></span></span></span></span></span></span></span>)</li><br><li> <strong>T</strong>rigonometric functions (e.g., <span class="math-inline"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>sin</mi><mo>⁡</mo><mi>x</mi></mrow><annotation encoding="application/x-tex">\sin x</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.6679em;"></span><span class="mop">sin</span><span class="mspace" style="margin-right:0.1667em;"></span><span class="mord mathnormal">x</span></span></span></span></span>, <span class="math-inline"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>cos</mi><mo>⁡</mo><mi>x</mi></mrow><annotation encoding="application/x-tex">\cos x</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.4306em;"></span><span class="mop">cos</span><span class="mspace" style="margin-right:0.1667em;"></span><span class="mord mathnormal">x</span></span></span></span></span>)</li><br><li> <strong>E</strong>xponential functions (e.g., <span class="math-inline"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msup><mi>e</mi><mi>x</mi></msup></mrow><annotation encoding="application/x-tex">e^x</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.6644em;"></span><span class="mord"><span class="mord mathnormal">e</span><span class="msupsub"><span class="vlist-t"><span class="vlist-r"><span class="vlist" style="height:0.6644em;"><span style="top:-3.063em;margin-right:0.05em;"><span class="pstrut" style="height:2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mathnormal mtight">x</span></span></span></span></span></span></span></span></span></span></span></span>)</li></p>
<p>The function chosen for <span class="math-inline"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>d</mi><mi>v</mi></mrow><annotation encoding="application/x-tex">dv</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.6944em;"></span><span class="mord mathnormal">d</span><span class="mord mathnormal" style="margin-right:0.03588em;">v</span></span></span></span></span> should be easily integrable.</p></div>
</div>

Worked Example: Evaluate xlnxdx\int x \ln x \, dx.

Step 1: Choose uu and dvdv using the LIATE rule.

Logarithmic functions come before algebraic functions. So, we choose u=lnxu = \ln x.

> u=lnx    du=1xdxu = \ln x \implies du = \frac{1}{x} \, dx
> dv=xdx    v=xdx=x22dv = x \, dx \implies v = \int x \, dx = \frac{x^2}{2}

Step 2: Apply the integration by parts formula.

>

\int u \, dv = uv - \int v \, du
>>

\int x \ln x \, dx = (\ln x)\left(\frac{x^2}{2}\right) - \int \frac{x^2}{2} \cdot \frac{1}{x} \, dx

>>

\int x \ln x \, dx = \frac{x^2}{2} \ln x - \int \frac{x}{2} \, dx

Step3:Evaluatetheremainingintegral.>Step 3: Evaluate the remaining integral.

>

\int x \ln x \, dx = \frac{x^2}{2} \ln x - \frac{1}{2} \cdot \frac{x^2}{2} + C

>>

\int x \ln x \, dx = \frac{x^2}{2} \ln x - \frac{x^2}{4} + C

&#x27; in math mode at position 13: Answer:̲\frac{x^2}{2} \…" style="color:#cc0000">Answer: x22lnxx24+C\frac{x^2}{2} \ln x - \frac{x^2}{4} + C

:::question type="NAT" question="Compute arctanxdx\int \arctan x \, dx. (Enter the constant term as 0 for this calculation.)" answer="xarctan(x) - 0.5ln(1+x^2)" hint="Consider arctanx=arctanx1\arctan x = \arctan x \cdot 1. Use LIATE to choose uu and dvdv." solution="Step 1: Choose uu and dvdv.
We can write the integral as arctanx1dx\int \arctan x \cdot 1 \, dx. According to LIATE, inverse trigonometric functions are prioritized over algebraic functions (like 1).
> u=arctanx    du=11+x2dxu = \arctan x \implies du = \frac{1}{1+x^2} \, dx
> dv=1dx    v=1dx=xdv = 1 \, dx \implies v = \int 1 \, dx = x

Step 2: Apply the integration by parts formula.
>

\int u \, dv = uv - \int v \, du
&#x27; in math mode at position 3: & gt;̲\int \arctan x …" style="color:#cc0000">> $\int \arctan x \, dx = x \arctan x - \int x \cdot \frac{1}{1+x^2} \, dx

>
arctanxdx=xarctanxx1+x2dx\int \arctan x \, dx = x \arctan x - \int \frac{x}{1+x^2} \, dx

Step 3: Evaluate the remaining integral using a substitution.
Let w=1+x2w = 1+x^2, so dw=2xdxdw = 2x \, dx, or xdx=12dwx \, dx = \frac{1}{2} dw.
>

x1+x2dx=1w12dw=12lnw+C\int \frac{x}{1+x^2} \, dx = \int \frac{1}{w} \cdot \frac{1}{2} \, dw = \frac{1}{2} \ln|w| + C

> $= \frac{1}{2} \ln(1+x^2) + C \text{ (since } 1+x^2 > 0 \text{)}
Step4:Combinetheresults.>Step 4: Combine the results.
>

\int \arctan x \, dx = x \arctan x - \frac{1}{2} \ln(1+x^2) + C

"
:::

---

3. Repeated Integration by Parts (Tabular Method)

Sometimes, integration by parts needs to be applied multiple times. This occurs when the derivative of uu does not simplify to a constant in a single step. For such cases, the tabular method (or DI method) can streamline the process.

<div class="callout-box my-4 p-4 rounded-lg border bg-green-500/10 border-green-500/30">
<div class="flex items-center gap-2 font-semibold mb-2">
<span>💡</span>
<span>Tabular Method</span>
</div>
<div class="prose prose-sm max-w-none"><p>This method is efficient when one function (<span class="math-inline"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>u</mi></mrow><annotation encoding="application/x-tex">u</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.4306em;"></span><span class="mord mathnormal">u</span></span></span></span></span>) can be repeatedly differentiated to zero, and the other function (<span class="math-inline"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>d</mi><mi>v</mi></mrow><annotation encoding="application/x-tex">dv</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.6944em;"></span><span class="mord mathnormal">d</span><span class="mord mathnormal" style="margin-right:0.03588em;">v</span></span></span></span></span>) can be repeatedly integrated.<br><li> Create two columns: D (for differentiation) and I (for integration).</li><br><li> Place <span class="math-inline"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>u</mi></mrow><annotation encoding="application/x-tex">u</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.4306em;"></span><span class="mord mathnormal">u</span></span></span></span></span> in the D column and <span class="math-inline"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>d</mi><mi>v</mi></mrow><annotation encoding="application/x-tex">dv</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.6944em;"></span><span class="mord mathnormal">d</span><span class="mord mathnormal" style="margin-right:0.03588em;">v</span></span></span></span></span> in the I column.</li><br><li> Differentiate <span class="math-inline"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>u</mi></mrow><annotation encoding="application/x-tex">u</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.4306em;"></span><span class="mord mathnormal">u</span></span></span></span></span> repeatedly until zero.</li><br><li> Integrate <span class="math-inline"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>d</mi><mi>v</mi></mrow><annotation encoding="application/x-tex">dv</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.6944em;"></span><span class="mord mathnormal">d</span><span class="mord mathnormal" style="margin-right:0.03588em;">v</span></span></span></span></span> repeatedly the same number of times.</li><br><li> Multiply terms diagonally, alternating signs starting with positive (+).</li><br><li> The last term is an integral of the product of the last row's D and I entries, with the appropriate sign.</li></p></div>
</div>

Worked Example: Evaluate x2exdx\int x^2 e^x \, dx.

Step 1: Set up the tabular method.

We choose u=x2u = x^2 (D column) and dv=exdxdv = e^x \, dx (I column).

| D (uu) | I (dvdv) | Sign |
| :------ | :------- | :--- |
| x2x^2 | exe^x | ++ |
| 2x2x | exe^x | - |
| 22 | exe^x | ++ |
| 00 | exe^x | - |

Step 2: Form the solution by multiplying diagonally and adding the products.

>

\int x^2 e^x \, dx = + (x^2)(e^x) - (2x)(e^x) + (2)(e^x) - \int (0)(e^x) \, dx
>>

\int x^2 e^x \, dx = x^2 e^x - 2x e^x + 2e^x + C

&#x27; in math mode at position 13: Answer:̲ x^2 e^x - 2x e…" style="color:#cc0000">Answer: x2ex2xex+2ex+Cx^2 e^x - 2x e^x + 2e^x + C

:::question type="MCQ" question="Evaluate x3sinxdx\int x^3 \sin x \, dx." options=["x3cosx+3x2sinx+6xcosx6sinx+C-x^3 \cos x + 3x^2 \sin x + 6x \cos x - 6 \sin x + C","x3cosx3x2sinx+6xcosx6sinx+C-x^3 \cos x - 3x^2 \sin x + 6x \cos x - 6 \sin x + C","x3cosx3x2sinx+6xcosx6sinx+Cx^3 \cos x - 3x^2 \sin x + 6x \cos x - 6 \sin x + C","x3cosx+3x2sinx6xcosx+6sinx+Cx^3 \cos x + 3x^2 \sin x - 6x \cos x + 6 \sin x + C"] answer="x3cosx+3x2sinx+6xcosx6sinx+C-x^3 \cos x + 3x^2 \sin x + 6x \cos x - 6 \sin x + C" hint="Use the tabular method. Differentiate x3x^3 and integrate sinx\sin x." solution="Step 1: Set up the tabular method with u=x3u = x^3 and dv=sinxdxdv = \sin x \, dx.

| D (uu) | I (dvdv) | Sign |
| :------ | :------- | :--- |
| x3x^3 | sinx\sin x | ++ |
| 3x23x^2 | cosx-\cos x | - |
| 6x6x | sinx-\sin x | ++ |
| 66 | cosx\cos x | - |
| 00 | sinx\sin x | ++ |

Step 2: Form the solution by multiplying diagonally and adding the products.
>

\int x^3 \sin x \, dx = +(x^3)(-\cos x) - (3x^2)(-\sin x) + (6x)(\cos x) - (6)(\sin x) + C
>>

\int x^3 \sin x \, dx = -x^3 \cos x + 3x^2 \sin x + 6x \cos x - 6 \sin x + C

"
:::

---

4. Cyclic Integration by Parts

Some integrals require repeated application of integration by parts, but instead of simplifying to zero, they return to the original integral. These are called cyclic integrals.

Worked Example: Evaluate eaxcos(bx)dx\int e^{ax} \cos(bx) \, dx. Let's use a=2a=2 and b=3b=3, so e2xcos(3x)dx\int e^{2x} \cos(3x) \, dx.

Step 1: Apply integration by parts once.

Let I=e2xcos(3x)dxI = \int e^{2x} \cos(3x) \, dx.
Choose u=cos(3x)u = \cos(3x) and dv=e2xdxdv = e^{2x} \, dx.

> u=cos(3x)    du=3sin(3x)dxu = \cos(3x) \implies du = -3 \sin(3x) \, dx
> dv=e2xdx    v=12e2xdv = e^{2x} \, dx \implies v = \frac{1}{2} e^{2x}

>

I = \frac{1}{2} e^{2x} \cos(3x) - \int \frac{1}{2} e^{2x} (-3 \sin(3x)) \, dx
&#x27; in math mode at position 3: & gt;̲ I = \frac{1}{2…" style="color:#cc0000">> $ I = \frac{1}{2} e^{2x} \cos(3x) + \frac{3}{2} \int e^{2x} \sin(3x) \, dx

Step 2: Apply integration by parts a second time to the new integral.

Consider e2xsin(3x)dx\int e^{2x} \sin(3x) \, dx.
Choose u=sin(3x)u = \sin(3x) and dv=e2xdxdv = e^{2x} \, dx.

> u=sin(3x)    du=3cos(3x)dxu = \sin(3x) \implies du = 3 \cos(3x) \, dx
> dv=e2xdx    v=12e2xdv = e^{2x} \, dx \implies v = \frac{1}{2} e^{2x}

>

e2xsin(3x)dx=12e2xsin(3x)12e2x(3cos(3x))dx\int e^{2x} \sin(3x) \, dx = \frac{1}{2} e^{2x} \sin(3x) - \int \frac{1}{2} e^{2x} (3 \cos(3x)) \, dx

>
=12e2xsin(3x)32e2xcos(3x)dx= \frac{1}{2} e^{2x} \sin(3x) - \frac{3}{2} \int e^{2x} \cos(3x) \, dx

Step 3: Substitute the second result back into the first equation.

Notice that e2xcos(3x)dx\int e^{2x} \cos(3x) \, dx is the original integral II.

>

I=12e2xcos(3x)+32(12e2xsin(3x)32I)I = \frac{1}{2} e^{2x} \cos(3x) + \frac{3}{2} \left( \frac{1}{2} e^{2x} \sin(3x) - \frac{3}{2} I \right)

>
I=12e2xcos(3x)+34e2xsin(3x)94II = \frac{1}{2} e^{2x} \cos(3x) + \frac{3}{4} e^{2x} \sin(3x) - \frac{9}{4} I

Step 4: Solve for II.

>

I+94I=12e2xcos(3x)+34e2xsin(3x)I + \frac{9}{4} I = \frac{1}{2} e^{2x} \cos(3x) + \frac{3}{4} e^{2x} \sin(3x)

> \frac{13}{4} I = \frac{1}{4} e^{2x} (2 \cos(3x) + 3 \sin(3x))<div class="math-display"><span class="katex-error" title="ParseError: KaTeX parse error: Can & #x27;t use function & #x27;' in math mode at position 3: > ̲ I = \frac{4}{1…" style="color:#cc0000"> & gt; I = \frac{4}{13} \cdot \frac{1}{4} e^{2x} (2 \cos(3x) + 3 \sin(3x)) + C

>
I=113e2x(2cos(3x)+3sin(3x))+CI = \frac{1}{13} e^{2x} (2 \cos(3x) + 3 \sin(3x)) + C

Answer: 113e2x(2cos(3x)+3sin(3x))+C\frac{1}{13} e^{2x} (2 \cos(3x) + 3 \sin(3x)) + C

:::question type="MSQ" question="Which of the following integrals are typically solved using cyclic integration by parts?" options=["x2exdx\int x^2 e^x \, dx","exsinxdx\int e^x \sin x \, dx","lnxdx\int \ln x \, dx","sec3xdx\int \sec^3 x \, dx"] answer="exsinxdx\int e^x \sin x \, dx,sec3xdx\int \sec^3 x \, dx" hint="Cyclic integration occurs when applying integration by parts twice returns the original integral. For sec3xdx\int \sec^3 x \, dx, it's a reduction formula, but the process involves isolating the original integral." solution="Option 1: x2exdx\int x^2 e^x \, dx - This is solved by repeated integration by parts (tabular method), where the polynomial part eventually differentiates to zero. Not cyclic.

Option 2: exsinxdx\int e^x \sin x \, dx - This is a classic example of a cyclic integral. After two applications of integration by parts, the original integral reappears on the right-hand side, allowing it to be solved algebraically.

Option 3: lnxdx\int \ln x \, dx - This is solved by a single application of integration by parts (let u=lnxu = \ln x, dv=1dxdv = 1 \, dx). Not cyclic.

Option 4: sec3xdx\int \sec^3 x \, dx - This integral also requires cyclic integration by parts. It's often solved by letting u=secxu = \sec x and dv=sec2xdxdv = \sec^2 x \, dx, then applying integration by parts, and then using a trigonometric identity, which leads to the original integral reappearing on one side, allowing it to be solved for.

Therefore, exsinxdx\int e^x \sin x \, dx and sec3xdx\int \sec^3 x \, dx are solved using cyclic integration by parts."
:::

---

5. Definite Integrals using Integration by Parts

Integration by parts can also be applied to definite integrals. The formula includes the evaluation of the uvuv term at the limits of integration.

📐 Definite Integration by Parts Formula
abudv=[uv]ababvdu\int_a^b u \, dv = [uv]_a^b - \int_a^b v \, du

Where: [uv]ab=u(b)v(b)u(a)v(a)[uv]_a^b = u(b)v(b) - u(a)v(a).
When to use: When evaluating definite integrals of products of functions.

Worked Example: Evaluate 01xexdx\int_0^1 x e^x \, dx.

Step 1: Choose uu and dvdv.

> u=x    du=dxu = x \implies du = dx
> dv=exdx    v=exdv = e^x \, dx \implies v = e^x

Step 2: Apply the definite integration by parts formula.

>

01xexdx=[xex]0101exdx\int_0^1 x e^x \, dx = [x e^x]_0^1 - \int_0^1 e^x \, dx

Step 3: Evaluate the terms.

> [x e^x]_0^1 = (1 \cdot e^1) - (0 \cdot e^0) = e - 0 = e<div class="math-display"><span class="katex-error" title="ParseError: KaTeX parse error: Can & #x27;t use function & #x27;' in math mode at position 3: > ̲\int_0^1 e^x \,…" style="color:#cc0000"> & gt;\int_0^1 e^x \, dx = [e^x]_0^1 = e^1 - e^0 = e - 1

Step 4: Combine the results.

> \int_0^1 x e^x \, dx = e - (e - 1)<div class="math-display"><span class="katex-error" title="ParseError: KaTeX parse error: Can & #x27;t use function & #x27;' in math mode at position 3: > ̲\int_0^1 x e^x …" style="color:#cc0000"> & gt;\int_0^1 x e^x \, dx = 1$

Answer: 11

:::question type="NAT" question="Compute 0π/2xsinxdx\int_0^{\pi/2} x \sin x \, dx." answer="1" hint="Let u=xu=x and dv=sinxdxdv=\sin x \, dx. Remember the limits of integration for both parts of the formula." solution="Step 1: Choose uu and dvdv.
> u=x    du=dxu = x \implies du = dx
> dv=sinxdx    v=cosxdv = \sin x \, dx \implies v = -\cos x

Step 2: Apply the definite integration by parts formula.
>

\int_0^{\pi/2} x \sin x \, dx = [-x \cos x]_0^{\pi/2} - \int_0^{\pi/2} (-\cos x) \, dx
&#x27; in math mode at position 3: & gt;̲= [-x \cos x]_0…" style="color:#cc0000">> $= [-x \cos x]_0^{\pi/2} + \int_0^{\pi/2} \cos x \, dx

Step 3: Evaluate the terms.
> [-x \cos x]_0^{\pi/2} = \left(-\frac{\pi}{2} \cos\left(\frac{\pi}{2}\right)\right) - (-0 \cdot \cos(0))<div class="math-display"><span class="katex-error" title="ParseError: KaTeX parse error: Can & #x27;t use function & #x27;' in math mode at position 3: > ̲= \left(-\frac{…" style="color:#cc0000"> & gt;= \left(-\frac{\pi}{2} \cdot 0\right) - (0) = 0


> \int_0^{\pi/2} \cos x \, dx = [\sin x]_0^{\pi/2} = \sin\left(\frac{\pi}{2}\right) - \sin(0) = 1 - 0 = 1<div class="math-display"><span class="katex-error" title="ParseError: KaTeX parse error: Can & #x27;t use function & #x27;' in math mode at position 36: …the results.
> $̲\int_0^{\pi/2} …" style="color:#cc0000">Step 4: Combine the results.
> 0π/2xsinxdx=0+1=1\int_0^{\pi/2} x \sin x \, dx = 0 + 1 = 1

"
:::

---

Advanced Applications

Integration by parts can be used in more complex scenarios, sometimes involving multiple applications or creative choices for uu and dvdv.

Worked Example: Evaluate 01x2arctanxdx\int_0^1 x^2 \arctan x \, dx.

Step 1: Choose uu and dvdv using LIATE.

Inverse trigonometric functions come before algebraic functions.
> u=arctanx    du=11+x2dxu = \arctan x \implies du = \frac{1}{1+x^2} \, dx
> dv=x2dx    v=x33dv = x^2 \, dx \implies v = \frac{x^3}{3}

Step 2: Apply the definite integration by parts formula.

>\int_0^1 x^2 \arctan x \, dx = \left[\frac{x^3}{3} \arctan x\right]_0^1 - \int_0^1 \frac{x^3}{3} \cdot \frac{1}{1+x^2} \, dx

&#x27; in math mode at position 3: & gt;̲= \left(\frac{1…" style="color:#cc0000">> $= \left(\frac{1^3}{3} \arctan(1) - \frac{0^3}{3} \arctan(0)\right) - \frac{1}{3} \int_0^1 \frac{x^3}{1+x^2} \, dx

> = \left(\frac{1}{3} \cdot \frac{\pi}{4} - 0\right) - \frac{1}{3} \int_0^1 \frac{x^3}{1+x^2} \, dx<div class="math-display"><span class="katex-error" title="ParseError: KaTeX parse error: Can & #x27;t use function & #x27;' in math mode at position 3: > ̲= \frac{\pi}{12…" style="color:#cc0000"> & gt;= \frac{\pi}{12} - \frac{1}{3} \int_0^1 \frac{x^3}{1+x^2} \, dx

Step 3: Evaluate the remaining integral 01x31+x2dx\int_0^1 \frac{x^3}{1+x^2} \, dx.

We perform polynomial division or algebraic manipulation:
>

x31+x2=x(x2+1)x1+x2=xx1+x2\frac{x^3}{1+x^2} = \frac{x(x^2+1) - x}{1+x^2} = x - \frac{x}{1+x^2}

Now integrate term by term:
> \int_0^1 \left(x - \frac{x}{1+x^2}\right) \, dx = \left[\frac{x^2}{2} - \frac{1}{2} \ln(1+x^2)\right]_0^1<div class="math-display"><span class="katex-error" title="ParseError: KaTeX parse error: Can & #x27;t use function & #x27;' in math mode at position 3: > ̲= \left(\frac{1…" style="color:#cc0000"> & gt;= \left(\frac{1^2}{2} - \frac{1}{2} \ln(1+1^2)\right) - \left(\frac{0^2}{2} - \frac{1}{2} \ln(1+0^2)\right)
> = \left(\frac{1}{2} - \frac{1}{2} \ln 2\right) - \left(0 - \frac{1}{2} \ln 1\right)<div class="math-display"><span class="katex-error" title="ParseError: KaTeX parse error: Can & #x27;t use function & #x27;' in math mode at position 3: > ̲= \frac{1}{2} -…" style="color:#cc0000"> & gt;= \frac{1}{2} - \frac{1}{2} \ln 2 - 0 = \frac{1}{2} - \frac{1}{2} \ln 2$

Step 4: Substitute back into the main expression.

> $\int_0^1 x^2 \arctan x \, dx = \frac{\pi}{12} - \frac{1}{3} \left(\frac{1}{2} - \frac{1}{2} \ln 2\right)
> =π1216+16ln2= \frac{\pi}{12} - \frac{1}{6} + \frac{1}{6} \ln 2

Answer: π1216+16ln2\frac{\pi}{12} - \frac{1}{6} + \frac{1}{6} \ln 2

:::question type="NAT" question="Evaluate 1elnxx2dx\int_1^e \frac{\ln x}{x^2} \, dx." answer="1 - 2/e" hint="Use LIATE to choose uu and dvdv. Remember the definite integral formula." solution="Step 1: Choose uu and dvdv using LIATE.
> u=lnx    du=1xdxu = \ln x \implies du = \frac{1}{x} \, dx
> dv=x2dx    v=x2dx=x1=1xdv = x^{-2} \, dx \implies v = \int x^{-2} \, dx = -x^{-1} = -\frac{1}{x}

Step 2: Apply the definite integration by parts formula.
>

1elnxx2dx=[lnxx]1e1e(1x)(1x)dx\int_1^e \frac{\ln x}{x^2} \, dx = \left[-\frac{\ln x}{x}\right]_1^e - \int_1^e \left(-\frac{1}{x}\right) \left(\frac{1}{x}\right) \, dx

> = \left[-\frac{\ln x}{x}\right]_1^e + \int_1^e \frac{1}{x^2} \, dx<div class="math-display"><span class="katex-error" title="ParseError: KaTeX parse error: Can & #x27;t use function & #x27;' in math mode at position 35: …e the terms.
> $̲\left[-\frac{\l…" style="color:#cc0000">Step 3: Evaluate the terms.
> $\left[-\frac{\ln x}{x}\right]_1^e = \left(-\frac{\ln e}{e}\right) - \left(-\frac{\ln 1}{1}\right) = \left(-\frac{1}{e}\right) - (0) = -\frac{1}{e}
> \int_1^e \frac{1}{x^2} \, dx = \int_1^e x^{-2} \, dx = \left[-x^{-1}\right]_1^e = \left[-\frac{1}{x}\right]_1^e<div class="math-display"><span class="katex-error" title="ParseError: KaTeX parse error: Can & #x27;t use function & #x27;' in math mode at position 3: > ̲= \left(-\frac{…" style="color:#cc0000"> & gt;= \left(-\frac{1}{e}\right) - \left(-\frac{1}{1}\right) = -\frac{1}{e} + 1

Step 4: Combine the results.
> 1elnxx2dx=1e+(11e)\int_1^e \frac{\ln x}{x^2} \, dx = -\frac{1}{e} + \left(1 - \frac{1}{e}\right)
> =12e= 1 - \frac{2}{e}

"
:::

---

Problem-Solving Strategies

💡 CMI Strategy: Strategic Choice of uu and dvdv

When an integral involves a product of functions, carefully consider the LIATE rule. However, be flexible:
Sometimes, choosing uu as the function that doesn't simplify to zero (e.g., exe^x) but is easy to differentiate, and dvdv as the one that does simplify (e.g., xnx^n), is beneficial for the tabular method.
For integrals like lnxdx\int \ln x \, dx or arcsinxdx\int \arcsin x \, dx, write them as lnx1dx\int \ln x \cdot 1 \, dx and arcsinx1dx\int \arcsin x \cdot 1 \, dx. Let uu be the non-algebraic function and dv=1dxdv = 1 \, dx. This allows the application of integration by parts.

---

Common Mistakes

⚠️ Common Mistake: Incorrect uu and dvdv Choice

❌ Students often choose uu and dvdv arbitrarily, leading to a new integral that is more complex than the original. For example, in xexdx\int x e^x \, dx, choosing u=exu = e^x and dv=xdxdv = x \, dx yields x22exx22exdx\frac{x^2}{2} e^x - \int \frac{x^2}{2} e^x \, dx, which is harder.
✅ Always follow the LIATE rule as a guideline: prioritize uu as Logarithmic, Inverse trigonometric, Algebraic, Trigonometric, Exponential. Ensure dvdv is easily integrable. The goal is to simplify vdu\int v \, du.

⚠️ Common Mistake: Forgetting the Constant of Integration

❌ In indefinite integrals, omitting the +C+C can lead to an incomplete answer.
✅ Always include +C+C for indefinite integrals to represent the family of antiderivatives. For definite integrals, the constant cancels out, so it's not explicitly needed in the final answer.

⚠️ Common Mistake: Errors in Definite Integral Evaluation

❌ Forgetting to evaluate the uvuv term at the limits of integration, or incorrectly applying the limits to the vdu\int v \, du part.
✅ Remember the formula: abudv=[uv]ababvdu\int_a^b u \, dv = [uv]_a^b - \int_a^b v \, du. Both parts, uvuv and vdu\int v \, du, must be evaluated over the interval [a,b][a, b].

---

Practice Questions

:::question type="MCQ" question="Evaluate x2lnxdx\int x^2 \ln x \, dx." options=["x33lnxx39+C\frac{x^3}{3} \ln x - \frac{x^3}{9} + C","x33lnx+x39+C\frac{x^3}{3} \ln x + \frac{x^3}{9} + C","x22lnxx24+C\frac{x^2}{2} \ln x - \frac{x^2}{4} + C","x22lnx+x24+C\frac{x^2}{2} \ln x + \frac{x^2}{4} + C"] answer="x33lnxx39+C\frac{x^3}{3} \ln x - \frac{x^3}{9} + C" hint="Use LIATE to choose u=lnxu=\ln x and dv=x2dxdv=x^2 \, dx." solution="Step 1: Choose uu and dvdv.
> u=lnx    du=1xdxu = \ln x \implies du = \frac{1}{x} \, dx
> dv=x2dx    v=x2dx=x33dv = x^2 \, dx \implies v = \int x^2 \, dx = \frac{x^3}{3}

Step 2: Apply the integration by parts formula.
>

x2lnxdx=(lnx)(x33)x331xdx\int x^2 \ln x \, dx = (\ln x)\left(\frac{x^3}{3}\right) - \int \frac{x^3}{3} \cdot \frac{1}{x} \, dx

> =x33lnxx23dx= \frac{x^3}{3} \ln x - \int \frac{x^2}{3} \, dx

Step 3: Evaluate the remaining integral.
> = \frac{x^3}{3} \ln x - \frac{1}{3} \cdot \frac{x^3}{3} + C<div class="math-display"><span class="katex-error" title="ParseError: KaTeX parse error: Can & #x27;t use function & #x27;' in math mode at position 3: > ̲= \frac{x^3}{3}…" style="color:#cc0000"> & gt;= \frac{x^3}{3} \ln x - \frac{x^3}{9} + C $

"
:::

:::question type="NAT" question="Compute the value of 0π/2excosxdx\int_0^{\pi/2} e^x \cos x \, dx." answer="0.5*(e^(pi/2) - 1)" hint="This is a cyclic integral. Apply integration by parts twice and solve for the integral." solution="Step 1: Set I=excosxdxI = \int e^x \cos x \, dx. Apply integration by parts with u=cosxu = \cos x and dv=exdxdv = e^x \, dx.
> u=cosx    du=sinxdxu = \cos x \implies du = -\sin x \, dx
> dv=exdx    v=exdv = e^x \, dx \implies v = e^x
> I = e^x \cos x - \int e^x (-\sin x) \, dx

&#x27; in math mode at position 3: & gt;̲ I = e^x \cos x…" style="color:#cc0000">> I=excosx+exsinxdxI = e^x \cos x + \int e^x \sin x \, dx

Step 2: Apply integration by parts again to exsinxdx\int e^x \sin x \, dx with u=sinxu = \sin x and dv=exdxdv = e^x \, dx.
> u=sinx    du=cosxdxu = \sin x \implies du = \cos x \, dx
> dv=exdx    v=exdv = e^x \, dx \implies v = e^x
>

\int e^x \sin x \, dx = e^x \sin x - \int e^x \cos x \, dx
&#x27; in math mode at position 3: & gt;̲\int e^x \sin x…" style="color:#cc0000">> exsinxdx=exsinxI\int e^x \sin x \, dx = e^x \sin x - I

Step 3: Substitute back into the first equation and solve for II.
>

I = e^x \cos x + (e^x \sin x - I)
&#x27; in math mode at position 3: & gt;̲2I = e^x (\cos …" style="color:#cc0000">> 2I=ex(cosx+sinx)2I = e^x (\cos x + \sin x)
> I=12ex(cosx+sinx)+CI = \frac{1}{2} e^x (\cos x + \sin x) + C

Step 4: Evaluate the definite integral from 00 to π/2\pi/2.
>

\int_0^{\pi/2} e^x \cos x \, dx = \left[\frac{1}{2} e^x (\cos x + \sin x)\right]_0^{\pi/2}
&#x27; in math mode at position 3: & gt;̲= \frac{1}{2} e…" style="color:#cc0000">> $= \frac{1}{2} e^{\pi/2} \left(\cos\left(\frac{\pi}{2}\right) + \sin\left(\frac{\pi}{2}\right)\right) - \frac{1}{2} e^0 (\cos(0) + \sin(0))

> =12eπ/2(0+1)12(1)(1+0)= \frac{1}{2} e^{\pi/2} (0 + 1) - \frac{1}{2} (1) (1 + 0)
> =12eπ/212= \frac{1}{2} e^{\pi/2} - \frac{1}{2}
> =12(eπ/21)= \frac{1}{2} (e^{\pi/2} - 1)

"
:::

:::question type="MCQ" question="Which of the following would be the most appropriate choice for uu when evaluating x4arcsinxdx\int x^4 \arcsin x \, dx using integration by parts?" options=["x4x^4","arcsinx\arcsin x","x3x^3","11"] answer="arcsinx\arcsin x" hint="Apply the LIATE rule." solution="According to the LIATE rule:

  • Logarithmic

  • Inverse trigonometric

  • Algebraic

  • Trigonometric

  • Exponential
  • In x4arcsinxdx\int x^4 \arcsin x \, dx, arcsinx\arcsin x is an inverse trigonometric function, and x4x^4 is an algebraic function. Inverse trigonometric functions come before algebraic functions in the LIATE hierarchy. Therefore, the most appropriate choice for uu is arcsinx\arcsin x."
    :::

    :::question type="NAT" question="Calculate 01x1xdx\int_0^1 x \sqrt{1-x} \, dx." answer="4/15" hint="Let u=xu=x and dv=1xdxdv=\sqrt{1-x} \, dx. Alternatively, consider a substitution first." solution="Method 1: Integration by Parts
    Step 1: Choose uu and dvdv.
    > u=x    du=dxu = x \implies du = dx
    > dv=1xdx=(1x)1/2dx    v=(1x)1/2dx=(1x)3/23/2=23(1x)3/2dv = \sqrt{1-x} \, dx = (1-x)^{1/2} \, dx \implies v = \int (1-x)^{1/2} \, dx = -\frac{(1-x)^{3/2}}{3/2} = -\frac{2}{3}(1-x)^{3/2}

    Step 2: Apply the definite integration by parts formula.
    >

    01x1xdx=[x(23(1x)3/2)]0101(23(1x)3/2)dx\int_0^1 x \sqrt{1-x} \, dx = \left[x \left(-\frac{2}{3}(1-x)^{3/2}\right)\right]_0^1 - \int_0^1 \left(-\frac{2}{3}(1-x)^{3/2}\right) \, dx

    > = \left[-\frac{2x}{3}(1-x)^{3/2}\right]_0^1 + \frac{2}{3} \int_0^1 (1-x)^{3/2} \, dx<div class="math-display"><span class="katex-error" title="ParseError: KaTeX parse error: Can & #x27;t use function & #x27;' in math mode at position 35: …e the terms.
    > $̲\left[-\frac{2x…" style="color:#cc0000">Step 3: Evaluate the terms.
    > $\left[-\frac{2x}{3}(1-x)^{3/2}\right]_0^1 = \left(-\frac{2(1)}{3}(1-1)^{3/2}\right) - \left(-\frac{2(0)}{3}(1-0)^{3/2}\right)
    > =00=0= 0 - 0 = 0
    > \frac{2}{3} \int_0^1 (1-x)^{3/2} \, dx = \frac{2}{3} \left[-\frac{(1-x)^{5/2}}{5/2}\right]_0^1<div class="math-display"><span class="katex-error" title="ParseError: KaTeX parse error: Can & #x27;t use function & #x27;' in math mode at position 3: > ̲= \frac{2}{3} \…" style="color:#cc0000"> & gt;= \frac{2}{3} \left[-\frac{2}{5}(1-x)^{5/2}\right]_0^1$
    > $= \frac{2}{3} \left[\left(-\frac{2}{5}(1-1)^{5/2}\right) - \left(-\frac{2}{5}(1-0)^{5/2}\right)\right]
    >
    =23[0(25)]=2325=415= \frac{2}{3} \left[0 - \left(-\frac{2}{5}\right)\right] = \frac{2}{3} \cdot \frac{2}{5} = \frac{4}{15}

    Step 4: Combine the results.
    > 01x1xdx=0+415=415\int_0^1 x \sqrt{1-x} \, dx = 0 + \frac{4}{15} = \frac{4}{15}

    Method 2: Substitution first
    Let u=1xu = 1-x, so x=1ux = 1-u and dx=dudx = -du.
    When x=0x=0, u=1u=1. When x=1x=1, u=0u=0.
    >

    01x1xdx=10(1u)u(du)\int_0^1 x \sqrt{1-x} \, dx = \int_1^0 (1-u) \sqrt{u} (-du)

    > =01(1u)u1/2du= \int_0^1 (1-u) u^{1/2} \, du
    > =01(u1/2u3/2)du= \int_0^1 (u^{1/2} - u^{3/2}) \, du
    > =[u3/23/2u5/25/2]01= \left[\frac{u^{3/2}}{3/2} - \frac{u^{5/2}}{5/2}\right]_0^1
    > =[23u3/225u5/2]01= \left[\frac{2}{3} u^{3/2} - \frac{2}{5} u^{5/2}\right]_0^1
    > =(23(1)3/225(1)5/2)(00)= \left(\frac{2}{3}(1)^{3/2} - \frac{2}{5}(1)^{5/2}\right) - (0 - 0)
    > =2325=10615=415= \frac{2}{3} - \frac{2}{5} = \frac{10-6}{15} = \frac{4}{15}

    "
    :::

    :::question type="MSQ" question="Which of the following integrals would benefit from the tabular method (repeated integration by parts)?" options=["exsinxdx\int e^x \sin x \, dx","x3exdx\int x^3 e^{-x} \, dx","lnxdx\int \ln x \, dx","x2cos(2x)dx\int x^2 \cos(2x) \, dx"] answer="x3exdx\int x^3 e^{-x} \, dx,x2cos(2x)dx\int x^2 \cos(2x) \, dx" hint="The tabular method is most effective when one function differentiates to zero in a few steps, and the other is easily integrable repeatedly." solution="Option 1: exsinxdx\int e^x \sin x \, dx - This is a cyclic integral. The tabular method can be adapted for it, but the standard tabular method (where one column goes to zero) is not directly applicable. It requires solving an algebraic equation for the integral after two steps.

    Option 2: x3exdx\int x^3 e^{-x} \, dx - Here, x3x^3 differentiates to zero in 4 steps (x33x26x60x^3 \to 3x^2 \to 6x \to 6 \to 0), and exe^{-x} is easily integrable repeatedly (exexexexexe^{-x} \to -e^{-x} \to e^{-x} \to -e^{-x} \to e^{-x}). This is an ideal candidate for the tabular method.

    Option 3: lnxdx\int \ln x \, dx - This requires only a single application of integration by parts (with u=lnx,dv=1dxu=\ln x, dv=1\,dx). The tabular method is overkill and not typically used for this.

    Option 4: x2cos(2x)dx\int x^2 \cos(2x) \, dx - Here, x2x^2 differentiates to zero in 3 steps (x22x20x^2 \to 2x \to 2 \to 0), and cos(2x)\cos(2x) is easily integrable repeatedly (cos(2x)12sin(2x)14cos(2x)18sin(2x)\cos(2x) \to \frac{1}{2}\sin(2x) \to -\frac{1}{4}\cos(2x) \to -\frac{1}{8}\sin(2x)). This is an excellent candidate for the tabular method.

    Therefore, x3exdx\int x^3 e^{-x} \, dx and x2cos(2x)dx\int x^2 \cos(2x) \, dx would benefit from the tabular method."
    :::

    ---

    Summary

    Key Formulas & Takeaways

    |

    | Formula/Concept | Expression |

    |---|----------------|------------| | 1 | Integration by Parts | udv=uvvdu\int u \, dv = uv - \int v \, du | | 2 | Definite Integration by Parts | abudv=[uv]ababvdu\int_a^b u \, dv = [uv]_a^b - \int_a^b v \, du | | 3 | LIATE Rule (for choosing uu) | Log, Inverse Trig, Algebraic, Trig, Exp | | 4 | Tabular Method | Efficient for repeated integration by parts when uu differentiates to zero. | | 5 | Cyclic Integrals | Integrals where the original integral reappears after two applications of IBP, allowing algebraic solution. |

    ---

    What's Next?

    💡 Continue Learning

    This topic connects to:

      • Reduction Formulas: Integration by parts is often used to derive reduction formulas for integrals of powers of functions (e.g., sinnxdx\int \sin^n x \, dx).

      • Laplace Transforms: The definition of the Laplace transform involves an integral, and integration by parts is often used to evaluate transforms of derivatives or products of functions.

      • Probability and Statistics: Expectation of random variables, especially for continuous distributions, involves integrals that may require integration by parts.

    ---

    Chapter Summary

    Techniques of Integration — Key Points

    • Substitution (u-Substitution): Primarily used for integrals involving composite functions where the derivative of the inner function (or a constant multiple of it) is also present. Key is to identify uu and its differential du\operatorname{d}u.

    • Integration by Parts (IBP): Essential for integrating products of functions. The formula is udv=uvvdu\int u \operatorname{d}v = uv - \int v \operatorname{d}u.

    • Choosing uu and dv\operatorname{d}v for IBP: The LIATE rule (Logarithmic, Inverse Trig, Algebraic, Trigonometric, Exponential) is a useful heuristic for selecting uu, prioritizing functions that simplify upon differentiation. Choose dv\operatorname{d}v for functions that are easily integrable.

    • Definite Integrals with Substitution: When using substitution for definite integrals, remember to change the limits of integration to correspond to the new variable uu.

    • Definite Integrals with IBP: For definite integrals, apply the evaluation limits to the uvuv term as well: abudv=[uv]ababvdu\int_a^b u \operatorname{d}v = [uv]_a^b - \int_a^b v \operatorname{d}u.

    • Cyclic IBP: Some integrals (e.g., eaxsin(bx)dx\int e^{ax} \sin(bx) \operatorname{d}x) require applying integration by parts twice, leading to the original integral appearing on both sides of the equation, allowing for algebraic solution.

    • Strategic Approach: Mastering integration requires not just knowing the techniques but also developing the intuition to choose the most appropriate method, sometimes involving algebraic manipulation or a combination of techniques.

    ---

    Chapter Review Questions

    :::question type="MCQ" question="Evaluate cos(x)xdx\int \frac{\cos(\sqrt{x})}{\sqrt{x}} \operatorname{d}x." options=["2sin(x)+C2\sin(\sqrt{x}) + C", "sin(x)+C\sin(\sqrt{x}) + C", "12sin(x)+C-\frac{1}{2}\sin(\sqrt{x}) + C", "2cos(x)+C2\cos(\sqrt{x}) + C"] answer="2sin(x)+C2\sin(\sqrt{x}) + C" hint="Consider a substitution for x\sqrt{x}." solution="Let u=xu = \sqrt{x}. Then du=12xdx\operatorname{d}u = \frac{1}{2\sqrt{x}} \operatorname{d}x, which implies 2du=1xdx2\operatorname{d}u = \frac{1}{\sqrt{x}} \operatorname{d}x.
    The integral transforms to cos(u)2du=2cos(u)du=2sin(u)+C\int \cos(u) \cdot 2 \operatorname{d}u = 2 \int \cos(u) \operatorname{d}u = 2\sin(u) + C.
    Substituting back u=xu=\sqrt{x}, we get 2sin(x)+C2\sin(\sqrt{x}) + C."
    :::

    :::question type="NAT" question="Evaluate 01xexdx\int_0^1 x e^x \operatorname{d}x. Round your answer to the nearest integer." answer="1" hint="Use integration by parts." solution="Apply integration by parts with u=xu=x and dv=exdx\operatorname{d}v=e^x \operatorname{d}x.
    This gives du=dx\operatorname{d}u=\operatorname{d}x and v=exv=e^x.
    Using the formula udv=uvvdu\int u \operatorname{d}v = uv - \int v \operatorname{d}u:
    xexdx=xexexdx=xexex+C\int x e^x \operatorname{d}x = xe^x - \int e^x \operatorname{d}x = xe^x - e^x + C.
    Now, evaluate the definite integral from 0 to 1:
    [xexex]01=(1e1e1)(0e0e0)[xe^x - e^x]_0^1 = (1 \cdot e^1 - e^1) - (0 \cdot e^0 - e^0)
    =(ee)(01)=0(1)=1= (e - e) - (0 - 1) = 0 - (-1) = 1."
    :::

    :::question type="MCQ" question="Determine the indefinite integral of arctan(x)dx\int \arctan(x) \operatorname{d}x." options=["arctan(x)x+C\frac{\arctan(x)}{x} + C", "xarctan(x)12ln(1+x2)+Cx\arctan(x) - \frac{1}{2}\ln(1+x^2) + C", "11+x2+C\frac{1}{1+x^2} + C", "xarctan(x)+12ln(1+x2)+Cx\arctan(x) + \frac{1}{2}\ln(1+x^2) + C"] answer="xarctan(x)12ln(1+x2)+Cx\arctan(x) - \frac{1}{2}\ln(1+x^2) + C" hint="This integral requires integration by parts. Consider dv=dx\operatorname{d}v = \operatorname{d}x." solution="Let u=arctan(x)u=\arctan(x) and dv=dx\operatorname{d}v=\operatorname{d}x.
    Then du=11+x2dx\operatorname{d}u=\frac{1}{1+x^2}\operatorname{d}x and v=xv=x.
    Applying the integration by parts formula:
    arctan(x)dx=xarctan(x)x11+x2dx\int \arctan(x) \operatorname{d}x = x\arctan(x) - \int x \cdot \frac{1}{1+x^2}\operatorname{d}x.
    For the remaining integral x1+x2dx\int \frac{x}{1+x^2}\operatorname{d}x, use substitution. Let w=1+x2w=1+x^2, so dw=2xdx\operatorname{d}w=2x\operatorname{d}x, meaning xdx=12dwx\operatorname{d}x=\frac{1}{2}\operatorname{d}w.
    x1+x2dx=1w12dw=12lnw+C1=12ln(1+x2)+C1\int \frac{x}{1+x^2}\operatorname{d}x = \int \frac{1}{w} \cdot \frac{1}{2}\operatorname{d}w = \frac{1}{2}\ln|w| + C_1 = \frac{1}{2}\ln(1+x^2) + C_1.
    Combining these results:
    arctan(x)dx=xarctan(x)12ln(1+x2)+C\int \arctan(x) \operatorname{d}x = x\arctan(x) - \frac{1}{2}\ln(1+x^2) + C."
    :::

    :::question type="NAT" question="Calculate the exact value of 0π/2sin3xcosxdx\int_0^{\pi/2} \sin^3 x \cos x \operatorname{d}x." answer="0.25" hint="Use a substitution for sinx\sin x." solution="Let u=sinxu = \sin x. Then du=cosxdx\operatorname{d}u = \cos x \operatorname{d}x.
    When x=0x=0, u=sin(0)=0u=\sin(0)=0.
    When x=π/2x=\pi/2, u=sin(π/2)=1u=\sin(\pi/2)=1.
    The integral transforms to 01u3du\int_0^1 u^3 \operatorname{d}u.
    Evaluating the definite integral:
    [u44]01=144044=14=0.25\left[ \frac{u^4}{4} \right]_0^1 = \frac{1^4}{4} - \frac{0^4}{4} = \frac{1}{4} = 0.25."
    :::

    ---

    What's Next?

    💡 Continue Your CMI Journey

    Building on the foundational techniques of substitution and integration by parts, your CMI journey will next explore more specialized integration methods, including trigonometric substitution and partial fraction decomposition. These advanced techniques are crucial for integrating a wider array of functions and will be instrumental as you delve into the diverse applications of integration in areas such as calculating areas, volumes, arc lengths, and solving problems in physics and engineering.

    🎯 Key Points to Remember

    • Master the core concepts in Techniques of Integration before moving to advanced topics
    • Practice with previous year questions to understand exam patterns
    • Review short notes regularly for quick revision before exams

    Related Topics in Calculus

    More Resources

    Why Choose MastersUp?

    🎯

    AI-Powered Plans

    Personalized study schedules based on your exam date and learning pace

    📚

    15,000+ Questions

    Verified questions with detailed solutions from past papers

    📊

    Smart Analytics

    Track your progress with subject-wise performance insights

    🔖

    Bookmark & Revise

    Save important questions for quick revision before exams

    Start Your Free Preparation →

    No credit card required • Free forever for basic features