## 11


```python
from sympy import *
```


```python
init_printing()
```


```python
x = Symbol('x')
```


```python
m = Symbol('m')
```


```python
f0 = x**2 + x + m
```


```python
f1 = x**2 + 3 * x + 2 *m
```


```python
expand(f0)
```


```python
expand(f1)
```


```python
solve([f0, f1], [x, m])
```

$$
\begin{equation}
x^2+ 2x + m = 0
\label{eq:pythagoras}
\tag{1} 
\end{equation}
$$

$$
\begin{equation}
2x^2+ 4x + 2m = 0
\label{eq:pythagoras}
\tag{1'} 
\end{equation}
$$

$$
\begin{equation}
x^2+ 3x + 2m = 0
\label{eq:pythagoras}
\tag{2} 
\end{equation}
$$

(1') - (2)

$$
\begin{align*}
x ^ 2 + x = 0 \\
x(x + 1) = 0 \\
x = 0, 1
\end{align*}
$$

(2)の式


$$
\begin{align*}
0 ^ 2  + 3 \times 0 + 2m = 0 ( x = 0)\\
1 ^ 2  + 3 \times 1 + 2m = 0 ( x = 1)\\
m = 0, -2
\end{align*}
$$


```python

```

50e8fd2737c2b5290fb5af8adfd442a084a47eab
ipynb
Jupyter Notebook
markdown/python/anaconda/notebook/math/math.2018-09-11.11.ipynb
hdknr/annotated-django
5843908dd6586a54b92d974f45049fa87e64db8b
PSF-2.0 BSD-3-Clause
markdown/python/anaconda/notebook/math/math.2018-09-11.11.ipynb
hdknr/annotated-django
5843908dd6586a54b92d974f45049fa87e64db8b
PSF-2.0 BSD-3-Clause
2016-02-27T06:02:24.000Z
2021-11-01T07:53:20.000Z
markdown/python/anaconda/notebook/math/math.2018-09-11.11.ipynb
hdknr/annotated-django
5843908dd6586a54b92d974f45049fa87e64db8b
PSF-2.0 BSD-3-Clause
Qwen/Qwen-72B
1. YES
2. YES