I expect the following code to yield True, but instead it is False:
var('x, y, n')
assume(n,'integer')
bool((x-y)^n==(-1)^n*(y-x)^n)
Is there anything I can do to enable the equality to be recognized?
| 1 | initial version |
I expect the following code to yield True, but instead it is False:
var('x, y, n')
assume(n,'integer')
bool((x-y)^n==(-1)^n*(y-x)^n)
Is there anything I can do to enable the equality to be recognized?
I expect the following code to yield True, but instead it is False:
var('x, y, n')
assume(n,'integer')
assume(n >= 0)
bool((x-y)^n==(-1)^n*(y-x)^n)
Is there anything I can do to enable the equality to be recognized?
| 3 | retagged |
I expect the following code to yield True, but instead it is False:
var('x, y, n')
assume(n,'integer')
assume(n >= 0)
bool((x-y)^n==(-1)^n*(y-x)^n)
Is there anything I can do to enable the equality to be recognized?
I expect the following code to yield True, True, but instead it is False:False:
var('x, y, n')
assume(n,'integer')
assume(n >= 0)
bool((x-y)^n==(-1)^n*(y-x)^n)
Is there anything I can do to enable the equality to be recognized?
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.