Re: [sage-support] Why factor(6*x+3) doesn't give 3*(2*x+1) in SageCell?

2017-04-07 Thread Dima Pasechnik


On Friday, April 7, 2017 at 5:18:34 PM UTC+1, Chris Seberino wrote:
>
> I have no doubt you know about group theory and math in general more than 
> me.  I have no doubt
> your answer is defensible and accurate.  
>
> What I'm concerned about is the young students and what they expect to see 
> when
> they type factor( ... ).
>

They have to get used to the fact that the answer depends upon the domain 
the object they factor
comes from. Think e.g. about x^2-2  factored as (x-sqrt(2))*(x+sqrt(2)) 
 --- or not, if we only allow rational
coefficients in our polynomials. Or x^2+1 being factored as (x-i)*(x+i) 
 --- or not, if we only allow real coefficients...



> cs
>
> On Friday, April 7, 2017 at 9:56:31 AM UTC-5, projetmbc wrote:
>>
>> Just try : 
>>
>> - 
>> Z_T, t =  ZZ['x'].objgen() 
>>
>> print factor(6*t+3) 
>> print factor(6*x+3) 
>> - 
>>
>> You will se that you need to use the right ring of polynomials. 
>>
>> C. 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Why factor(6*x+3) doesn't give 3*(2*x+1) in SageCell?

2017-04-07 Thread Chris Seberino
I have no doubt you know about group theory and math in general more than 
me.  I have no doubt
your answer is defensible and accurate.  

What I'm concerned about is the young students and what they expect to see 
when
they type factor( ... ).

cs

On Friday, April 7, 2017 at 9:56:31 AM UTC-5, projetmbc wrote:
>
> Just try : 
>
> - 
> Z_T, t =  ZZ['x'].objgen() 
>
> print factor(6*t+3) 
> print factor(6*x+3) 
> - 
>
> You will se that you need to use the right ring of polynomials. 
>
> C. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Why factor(6*x+3) doesn't give 3*(2*x+1) in SageCell?

2017-04-07 Thread Christophe BAL (via GMAIL)

Just try :

-
Z_T, t =  ZZ['x'].objgen()

print factor(6*t+3)
print factor(6*x+3)
-

You will se that you need to use the right ring of polynomials.

C.

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Why factor(6*x+3) doesn't give 3*(2*x+1) in SageCell?

2017-04-07 Thread Chris Seberino
No

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Why factor(6*x+3) doesn't give 3*(2*x+1) in SageCell?

2017-04-06 Thread Christophe Bal
Hello

Havr you try to work with ZZ[X] ?

Le 6 avr. 2017 17:47, "Chris Seberino"  a écrit :

> Why factor(6*x+3) doesn't give 3*(2*x+1) ?
>
> Thanks!
>
> cs
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Why factor(6*x+3) doesn't give 3*(2*x+1) in SageCell?

2017-04-06 Thread Chris Seberino
Why factor(6*x+3) doesn't give 3*(2*x+1) ?

Thanks!

cs

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.