-sin(x) + cos(x)
----------------------
2
/cos(x) \
1 + |------ + sin(x)|
\ 1 /
$$\frac{- \sin{\left(x \right)} + \cos{\left(x \right)}}{\left(\sin{\left(x \right)} + \frac{\cos{\left(x \right)}}{1}\right)^{2} + 1}$$
/ 2 \
| 2*(-cos(x) + sin(x)) |
-|1 + ----------------------|*(cos(x) + sin(x))
| 2|
\ 1 + (cos(x) + sin(x)) /
------------------------------------------------
2
1 + (cos(x) + sin(x))
$$- \frac{\left(1 + \frac{2 \left(\sin{\left(x \right)} - \cos{\left(x \right)}\right)^{2}}{\left(\sin{\left(x \right)} + \cos{\left(x \right)}\right)^{2} + 1}\right) \left(\sin{\left(x \right)} + \cos{\left(x \right)}\right)}{\left(\sin{\left(x \right)} + \cos{\left(x \right)}\right)^{2} + 1}$$
/ 2 2 2 2\
| 6*(cos(x) + sin(x)) 2*(-cos(x) + sin(x)) 8*(-cos(x) + sin(x)) *(cos(x) + sin(x)) |
(-cos(x) + sin(x))*|1 - ---------------------- + ---------------------- - ----------------------------------------|
| 2 2 2 |
| 1 + (cos(x) + sin(x)) 1 + (cos(x) + sin(x)) / 2\ |
\ \1 + (cos(x) + sin(x)) / /
-------------------------------------------------------------------------------------------------------------------
2
1 + (cos(x) + sin(x))
$$\frac{\left(\sin{\left(x \right)} - \cos{\left(x \right)}\right) \left(1 + \frac{2 \left(\sin{\left(x \right)} - \cos{\left(x \right)}\right)^{2}}{\left(\sin{\left(x \right)} + \cos{\left(x \right)}\right)^{2} + 1} - \frac{6 \left(\sin{\left(x \right)} + \cos{\left(x \right)}\right)^{2}}{\left(\sin{\left(x \right)} + \cos{\left(x \right)}\right)^{2} + 1} - \frac{8 \left(\sin{\left(x \right)} - \cos{\left(x \right)}\right)^{2} \left(\sin{\left(x \right)} + \cos{\left(x \right)}\right)^{2}}{\left(\left(\sin{\left(x \right)} + \cos{\left(x \right)}\right)^{2} + 1\right)^{2}}\right)}{\left(\sin{\left(x \right)} + \cos{\left(x \right)}\right)^{2} + 1}$$