একাধিকবার খণ্ডায়ন সূত্রের মাধ্যমে যোগজীকরণ

Before this, knowখণ্ডায়নের মাধ্যমে যোগজীকরণ

Interactive · 2 questions

In the previous section, we learned about integration by parts, which states that for continuously differentiable functions u(x)u(x) and v(x)v(x) we have ∫u dv=uv−∫v du.\int u\, dv=uv-\int v\, du. This time, let's continue with a more elaborate example:

Find ∫x2cos⁡x dx.\int x^2\cos{x}\, dx.

Choose one answer

Read · 1 min

In some cases, integration by parts must be used on an integral multiple times in succession. One must be able to recognize when this is necessary, and how to clean up the resulting mess. Here we will walk through a common example.

Integrate ∫excos⁡(x)dx\int{e^x\cos(x)dx}.

We can integrate by parts once, initially integrating the exe^x "part", giving us

∫excos⁡(x)dx=excos⁡(x)−∫exddx(cos⁡(x))dx⇒\int{e^x\cos(x)dx} = e^x\cos(x) - \int{e^x\frac{d}{dx}(\cos(x))dx} \Rightarrow

∫excos⁡(x)dx=excos⁡(x)+∫exsin⁡(x)dx\int{e^x\cos(x)dx} = e^x\cos(x) + \int{e^x\sin(x)dx}

We now have a new integral! This one also needs to be integrated by parts, in the same fashion as the first:

∫excos⁡(x)dx=excos⁡(x)+exsin⁡(x)−∫excos⁡(x)dx\int{e^x\cos(x)dx} = e^x\cos(x) + e^x\sin(x) - \int{e^x\cos(x)dx}

Now solve for the original integral (pay close attention to this step):

2∫excos⁡(x)dx=excos⁡(x)+exsin⁡(x)⇒2\int{e^x\cos(x)dx} = e^x\cos(x) + e^x\sin(x) \Rightarrow

∫excos⁡(x)dx=excos⁡(x)+exsin⁡(x)2+C\int{e^x\cos(x)dx} = \frac{e^x\cos(x) + e^x\sin(x)}{2} + C

Video · + 1 min read

(Video) Integration by Parts: Looping

by PatrickJMT

Introduction

Sometimes, while doing integration by parts, you loop back around and your answer contains the very integral you're trying to solve. These types of problems are usually identified with a combination of trig functions (because they loop) and exponential functions (because they also loop).

In this video, Patrick shows you the trick on how to solve these.

Tip: a lot of professors love to throw one of these in on the test, so be careful!

Example

Let's look at an example in order to demonstrate everything above. The example he looks at is: ∫e2xsin⁡x dx\int e^{2x}\sin x\,dx

Start by applying by parts. LIATE tells us that uu should be the trig portion. u=sin⁡xv=12e2x↓↑du=cos⁡x dxdv=e2x dx\begin{array}{cc} \color{red}{u=\sin x}&v=\frac12e^{2x}\\ \downarrow&\uparrow\\ du=\cos x\,dx&\color{red}{dv=e^{2x}\,dx} \end{array}

uv−∫v du=12e2xsin⁡x−∫12e2xcos⁡x dx=12e2xsin⁡x−12∫e2xcos⁡x dx\begin{align} uv-\int v\,du&=\frac12e^{2x}\sin x-\int\frac12e^{2x}\cos x\,dx\\ &=\frac12e^{2x}\sin x-\frac12\int e^{2x}\cos x\,dx\\ \end{align}

Let's use by parts again. LIATE tells us that uu should be the trig portion. u=cos⁡xv=12e2x↓↑du=−sin⁡x dxdv=e2x dx\begin{array}{cc} \color{red}{u=\cos x}&v=\frac12e^{2x}\\ \downarrow&\uparrow\\ du=-\sin x\,dx&\color{red}{dv=e^{2x}\,dx} \end{array}

12e2xsin⁡x−12∫e2xcos⁡x dx=12e2xsin⁡x−12[uv−∫v du]=12e2xsin⁡x−12[12e2xcos⁡x−∫12e2x⋅−sin⁡x dx]=12e2xsin⁡x−12[12e2xcos⁡x+12∫e2xsin⁡x dx]\begin{align} &\frac12e^{2x}\sin x-\frac12\int e^{2x}\cos x\,dx\\ &=\frac12e^{2x}\sin x-\frac12\left[uv-\int v\,du\right]\\ &=\frac12e^{2x}\sin x-\frac12\left[\frac12e^{2x}\cos x-\int \frac12e^{2x}\cdot-\sin x\,dx\right]\\ &=\frac12e^{2x}\sin x-\frac12\left[\frac12e^{2x}\cos x+\frac12\color{red}{\int e^{2x}\sin x\,dx}\right] \end{align}

Notice that this integral is the same one we started out solving for. By using integration by parts we looped back around to our original integral. So let's write this all out and simplify. ∫e2xsin⁡x dx=12e2xsin⁡x−12[12e2xcos⁡x+12∫e2xsin⁡x dx]∫e2xsin⁡x dx=12e2xsin⁡x−14e2xcos⁡x−14∫e2xsin⁡x dx∫e2xsin⁡x dx+14∫e2xsin⁡x dx=12e2xsin⁡x−14e2xcos⁡x54∫e2xsin⁡x dx=12e2xsin⁡x−14e2xcos⁡x∫e2xsin⁡x dx=45[12e2xsin⁡x−14e2xcos⁡x]∫e2xsin⁡x dx=25e2xsin⁡x−15e2xcos⁡x+C\begin{align} \small{\color{red}{\int e^{2x}\sin x\,dx}}&=\small{\frac12e^{2x}\sin x-\frac12\left[\frac12e^{2x}\cos x+\frac12\color{red}{\int e^{2x}\sin x\,dx}\right]}\\ \small{\color{red}{\int e^{2x}\sin x\,dx}}&=\small{\frac12e^{2x}\sin x-\frac14e^{2x}\cos x-\frac14\color{red}{\int e^{2x}\sin x\,dx}}\\ \small{\color{red}{\int e^{2x}\sin x\,dx}+\frac14\color{red}{\int e^{2x}\sin x\,dx}}&=\small{\frac12e^{2x}\sin x-\frac14e^{2x}\cos x}\\ \small{\frac54\color{red}{\int e^{2x}\sin x\,dx}}&=\small{\frac12e^{2x}\sin x-\frac14e^{2x}\cos x}\\ \small{\color{red}{\int e^{2x}\sin x\,dx}}&=\small{\frac45\left[\frac12e^{2x}\sin x-\frac14e^{2x}\cos x\right]}\\ \small{\color{red}{\int e^{2x}\sin x\,dx}}&=\boxed{\small{\frac25e^{2x}\sin x-\frac15e^{2x}\cos x+C}}\\ \end{align}

Interactive · 1 question

We first look at the integral ∫xcos⁡x dx\int x \cos{x}\ dx and figure out what uu and dvdv are. When we figure out what uu is, we find dudu (the derivative of uu). When we figure out what dvdv is, we find vv (the anti-derivative of dvdv). After we have uu, dudu, vv, and dvdv, we plug it into the formula and simplify. After we have our new equation, we have a new uu and dvdv. We find the derivative of the new uu to get dudu and the new vv by taking the anti-derivative of the new dvdv. After we have the new uu, dudu, vv, and dvdv, we plug it into the formula.

Set up this integration by parts. What should uu be for ∫xsin⁡x dx\int x \sin{x}\ dx?

Choose one answer

Video

(Video) Using Integration by Parts Twice

by PatrickJMT

Introduction

Here's a quick video by PatrickJMT where he solves an integration by parts problem that requires you to use the technique twice.

The integration by parts method tells us that: ∫u dv=uv−∫v du\int u\,dv=uv-\int v\,du

These problems aren't much harder but they can be tricky. So be careful when solving and write everything out.

Example

The problem that Patrick solves is: ∫(ln⁡x)2 dx\int(\ln x)^2\,dx

Let's start by selecting our uu and dvdv. u=(ln⁡x)2↓↑dv=dx\begin{array}{cc} \color{red}{u=(\ln x)^2}&\\ \downarrow&\uparrow\\ &\color{red}{dv=dx} \end{array}

Now find dudu and vv. u=(ln⁡x)2v=x↓↑du=2ln⁡xx dx=dv=dx\begin{array}{cc} \color{red}{u=(\ln x)^2}&v=x\\ \downarrow&\uparrow\\ du=\frac{2\ln x}{x}\,dx=&\color{red}{dv=dx} \end{array}

Let's put them into the expression. uv−∫v du=x(ln⁡x)2−∫x⋅2ln⁡xx dx=x(ln⁡x)2−2∫ln⁡x dx\begin{align} uv-\int v\,du&=x(\ln x)^2-\int x\cdot\frac{2\ln x}{x}\,dx\\ &=x(\ln x)^2-2\int\ln x\,dx \end{align}

Now we need to use by parts again. Let's use the variables ss and tt for this one. s=ln⁡xt=x↓↑ds=1x dx=dt=dx\begin{array}{cc} \color{red}{s=\ln x}&t=x\\ \downarrow&\uparrow\\ ds=\frac{1}{x}\,dx=&\color{red}{dt=dx} \end{array}

Let's add these in and integrate. x(ln⁡x)2−2∫ln⁡x dx=x(ln⁡x)2−2[st−∫t ds]=x(ln⁡x)2−2[xln⁡x−∫x⋅1x dx]=x(ln⁡x)2−2[xln⁡x−∫dx]=x(ln⁡x)2−2[xln⁡x−x]=x(ln⁡x)2−2xln⁡x+2x+C\begin{align} x(\ln x)^2-2\int\ln x\,dx&=x(\ln x)^2-2\left[st-\int t\,ds\right]\\ &=x(\ln x)^2-2\left[x\ln x-\int x\cdot\frac1x\,dx\right]\\ &=x(\ln x)^2-2\left[x\ln x-\int dx\right]\\ &=x(\ln x)^2-2\left[x\ln x-x\right]\\ &=\boxed{x(\ln x)^2-2x\ln x+2x+C} \end{align}

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems