Initial program 29.6
\[\frac{x}{x + 1} - \frac{x + 1}{x - 1}\]
- Using strategy
rm Applied frac-sub30.4
\[\leadsto \color{blue}{\frac{x \cdot \left(x - 1\right) - \left(x + 1\right) \cdot \left(x + 1\right)}{\left(x + 1\right) \cdot \left(x - 1\right)}}\]
- Using strategy
rm Applied distribute-lft-in30.4
\[\leadsto \frac{x \cdot \left(x - 1\right) - \color{blue}{\left(\left(x + 1\right) \cdot x + \left(x + 1\right) \cdot 1\right)}}{\left(x + 1\right) \cdot \left(x - 1\right)}\]
Applied associate--r+28.4
\[\leadsto \frac{\color{blue}{\left(x \cdot \left(x - 1\right) - \left(x + 1\right) \cdot x\right) - \left(x + 1\right) \cdot 1}}{\left(x + 1\right) \cdot \left(x - 1\right)}\]
Applied simplify27.0
\[\leadsto \frac{\color{blue}{x \cdot \left(x - \left(x + 2\right)\right)} - \left(x + 1\right) \cdot 1}{\left(x + 1\right) \cdot \left(x - 1\right)}\]
- Using strategy
rm Applied *-un-lft-identity27.0
\[\leadsto \frac{\color{blue}{1 \cdot \left(x \cdot \left(x - \left(x + 2\right)\right) - \left(x + 1\right) \cdot 1\right)}}{\left(x + 1\right) \cdot \left(x - 1\right)}\]
Applied times-frac25.3
\[\leadsto \color{blue}{\frac{1}{x + 1} \cdot \frac{x \cdot \left(x - \left(x + 2\right)\right) - \left(x + 1\right) \cdot 1}{x - 1}}\]
Applied simplify0.3
\[\leadsto \frac{1}{x + 1} \cdot \color{blue}{\frac{\left(\left(-x\right) + \left(-x\right)\right) - \left(x + 1\right)}{x - 1}}\]