Which is coming from

```py
In [5]: cancel(diff(tan(x)/(tan(x)**2 + 1)))
Out[5]:
 ⎛   2       ⎞
-⎝tan (x) - 1⎠
──────────────
    2
 tan (x) + 1
```