2 / 2 \
x *\1 - tanh (x)/ + 2*x*tanh(x)
$$x^{2} \left(- \tanh^{2}{\left (x \right )} + 1\right) + 2 x \tanh{\left (x \right )}$$
/ / 2 \ 2 / 2 \ \
2*\- 2*x*\-1 + tanh (x)/ + x *\-1 + tanh (x)/*tanh(x) + tanh(x)/
$$2 \left(x^{2} \left(\tanh^{2}{\left (x \right )} - 1\right) \tanh{\left (x \right )} - 2 x \left(\tanh^{2}{\left (x \right )} - 1\right) + \tanh{\left (x \right )}\right)$$
/ 2 \
| 2 2 / 2 \ 2 2 / 2 \ / 2 \ |
2*\3 - 3*tanh (x) - x *\-1 + tanh (x)/ - 2*x *tanh (x)*\-1 + tanh (x)/ + 6*x*\-1 + tanh (x)/*tanh(x)/
$$2 \left(- x^{2} \left(\tanh^{2}{\left (x \right )} - 1\right)^{2} - 2 x^{2} \left(\tanh^{2}{\left (x \right )} - 1\right) \tanh^{2}{\left (x \right )} + 6 x \left(\tanh^{2}{\left (x \right )} - 1\right) \tanh{\left (x \right )} - 3 \tanh^{2}{\left (x \right )} + 3\right)$$