Integration by parts

2006-11-01 11:15 pm
Does anyone know what to do the integration of (cos x)^n using integration by parts? Thank you.

回答 (1)

2006-11-02 12:06 am
✔ 最佳答案
Let I(n) = Int (cos x)^n dx

Int = integral symbol (looks like a snake)

Let du/dx = cos x, v = (cos x)^(n-1)
then u = sin x, dv/dx = -(n-1)(cos x)^(n-2) sin x

I(n) = Int (cos x)^(n-1) cos x dx
= (cos x)^(n-1) sin x - Int -(n-1) (sin x)^2 (cos x)^(n-2) dx (using formula of int. by parts)
= (cos x)^(n-1) sin x + (n-1) Int (sin x)^2 (cos x)^(n-2) dx
= (cos x)^(n-1) sin x + (n-1) Int [1 - (cos x)^2] (cos x)^(n-2) dx (you know the identity)
= (cos x)^(n-1) sin x + (n-1) Int (cos x)^(n-2) dx - (n-1) Int (cos x)^2 (cos x)^(n-2) dx
= (cos x)^(n-1) sin x + (n-1) Int (cos x)^(n-2) dx - (n-1) Int (cos x)^n dx
= (cos x)^(n-1) sin x + (n-1) I(n-2) - (n-1) I(n)

So,
I(n) = (cos x)^(n-1) sin x + (n-1) I(n-2) - (n-1) I(n)
I(n) + (n-1) I(n) = (cos x)^(n-1) sin x + (n-1) I(n-2)
n I(n) = (cos x)^(n-1) sin x + (n-1) I(n-2)
I(n) = [1/n] (cos x)^(n-1) sin x + [(n-1)/n] I(n-2)

I(0) = Int dx = x + c
I(1) = Int cos x dx = sin x + c
參考: my mathematical knowledge


收錄日期: 2021-04-13 14:39:30
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20061101000051KK01717

檢視 Wayback Machine 備份