Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There are so-called wild-cards, for exactly this purpose:

sage: test2 = arcsinh(1/3*x + 1/3)
sage: w0 = SR.wild(0)
sage: test2.substitute(arcsinh(w0) == log(w0))
log(1/3*x + 1/3)