Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Simplifying a simple rational function

The following code:

var('d,T')
simplify((d^(T + 1)-d)/d)

returns:

(d^(T + 1) - d)/d

Apparently, this should be simplified to:

d^T - 1

What am I doing wrong?