# 微積分の計算について　　　N0.3　不定積分の内容－５ 部分積分

###  学籍番号[＿＿＿＿＿＿＿＿＿]クラス[＿＿＿＿＿]　クラス番号[＿＿＿＿＿] 名前[＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿]

##### 積分の手法　（１）部分積分法

$$ \int f'(x)g(x)dx =f(x)g(x)- \int f(x)g'(x)dx $$


```python
from sympy import *
x, n , y, a = symbols('x n y a')
init_printing()
m ='3//5'
i =0
```

 ### 例題ー2


```python
expr = x*cos(x)
itg = Integral(expr,x)
i=i+1
print( 'No.',m,'---',i)
itg
```


```python
simplify(itg.doit())
```


```python
expr = log(x)
itg = Integral(expr,x)
i=i+1
print( 'No.',m,'---',i)
itg
```


```python
simplify(itg.doit())
```


```python
expr = x**2*sin(x)
itg = Integral(expr,x)
i=i+1
print( 'No.',m,'---',i)
itg
```


```python
simplify(itg.doit())
```


```python
expr = x**3*exp(x)
itg = Integral(expr,x)
i=i+1
print( 'No.',m,'---',i)
itg
```


```python
simplify(itg.doit())
```


```python
expr = atan(x)
itg = Integral(expr,x)
i=i+1
print( 'No.',m,'---',i)
itg
```


```python
simplify(itg.doit())
```


```python
expr = log(x)**2
itg = Integral(expr,x)
i=i+1
print( 'No.',m,'---',i)
itg
```


```python
simplify(itg.doit())
```


```python
expr = x**3*exp(2*x)
itg = Integral(expr,x)
i=i+1
print( 'No.',m,'---',i)
itg
```


```python
simplify(itg.doit())
```


```python
expr = x**2*sin(x)
itg = Integral(expr,x)
i=i+1
print( 'No.',m,'---',i)
itg
```


```python
simplify(itg.doit())
```


```python

```

86b9419512e35e790ad2492091b53562250d55f0
ipynb
Jupyter Notebook
05_20181106-sekibun-5-1-Ex&ans.ipynb
kt-pro-git-1/Calculus_Differential_Equation-public
d5deaf117e6841c4f6ceb53bc80b020220fd4814
MIT
2019-07-10T11:33:18.000Z
2019-07-10T11:33:18.000Z
05_20181106-sekibun-5-1-Ex&ans.ipynb
kt-pro-git-1/Calculus_Differential_Equation-public
d5deaf117e6841c4f6ceb53bc80b020220fd4814
MIT
05_20181106-sekibun-5-1-Ex&ans.ipynb
kt-pro-git-1/Calculus_Differential_Equation-public
d5deaf117e6841c4f6ceb53bc80b020220fd4814
MIT
Qwen/Qwen-72B
1. YES
2. YES