I have SymPy expressions as sinh(x) + sinh(y)
and I would like to express them as the product
2 sinh((x + y) / 2) cosh((x - y) / 2)
.
With simplify
I can do the reverse and transform the product into the sum and I also know that there is a way to achieve the product to sum transformation on sine and cosine. However, I did not (yet) find a way to achieve what I want with sinh/cosh.
Is there a function or a workaround in SymPy to transform the sum of hyperbolic functions into a product?
Thomas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.