Ask Your Question

# iozen's profile - activity

 2022-08-15 14:10:58 +0100 received badge ● Popular Question (source) 2020-06-04 13:54:49 +0100 received badge ● Student (source) 2020-06-04 11:05:28 +0100 received badge ● Supporter (source) 2020-06-04 11:05:03 +0100 commented answer simplifying a symbolic expression Thank you very much Emmanuel Carpentier. I tried this in the main problem (the above version was the simplified version) it works like a charm. 2020-06-04 11:01:45 +0100 received badge ● Scholar (source) 2020-06-04 08:18:02 +0100 received badge ● Editor (source) 2020-06-04 08:01:15 +0100 asked a question simplifying a symbolic expression Hi I am really tired of not being able to see that sage says the following expression is zero. Instead it returns the same expression. Please help how to make sure that I get 0 for the calculation. Thank you. q= var('q',domain='positive'); n= var('n',domain='positive'); k= var('k',domain='positive'); x= var('x',domain='positive'); (((q - 1)*x + 1)^n*q^n - ((q^2 - q)*x + q)^n).simplify_full() ((q - 1)*x + 1)^n*q^n - ((q^2 - q)*x + q)^n  2020-04-28 14:59:12 +0100 received badge ● Self-Learner (source) 2020-04-28 14:59:12 +0100 received badge ● Teacher (source) 2020-04-28 14:58:31 +0100 answered a question How to define variables so that (x^a)^b simplifies with x^(a*b)? Hi again. With some help I corrected the code as follows: r= var('r',domain='positive') var(' n');f(r,n)=(r^2)^n; g(r,n)=r^(2*n); bool(f==g); True  I think the problem was the possibile ambiguity of 0^0. Thanks. 2020-04-28 14:58:30 +0100 asked a question Why wouldn't (x^a)^b cancel with x^(a*b)? Hi all. In my installation I get False for the following code: var('r n'); f=(r^2)^n; g=r^(2*n); bool(f==g); False Do you think I have a missing package or what am I doing awfully wrong can you help please. Thank you. 2020-04-28 14:58:30 +0100 asked a question How to define variables so that (x^a)^b simplifies with x^(a*b)? Hi all I can't find the correct way to define the variables so that in my calculations (x^a)^b simplifies with x^(a*b). The following code returns False: var('r n'); f=(r^2)^n; g=r^(2*n); bool(f==g);  Thank you very much. 2020-04-28 10:03:44 +0100 received badge ● Organizer (source)