Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

why won't simplify square roots?

assume(x-1>0)

(sqrt(x^2 - 2*x + 1)).simplify_full()

why won't simplify square roots?

assume(x-1>0)

(sqrt(x^2 sage: assume(x>2) sage: sqrt(x^2 - 2*x 2x + 1)).simplify_full()1).simplify_full() sqrt(x^2 - 2x + 1)

why won't simplify square roots?

sage: assume(x>2) sage: sqrt(x^2 - 2x + 1).simplify_full() sqrt(x^2 - 2x + 1)

why won't simplify square roots?

sage: assume(x>2) assume(x>2)

sage: sqrt(x^2 - 2x 2*x + 1).simplify_full() 1).simplify_full()

sqrt(x^2 - 2x 2*x + 1)