I had it turned on but I guess it doesn't get triggered for x (x -1).
Any way to change the behavior or
does that require a patch to Sage?

On Dec 15, 1:37 am, Jason Grout <jason-s...@creativetrax.com> wrote:
> On 12/15/11 1:31 AM, Chris Seberino wrote:
>
> > I know Sage has some issues with a variable in front of parens when
> > using implicit multiplication.  Why did that make the first give the
> > wrong answer when using implicit multiplication? How is sage
> > interpreting it?
>
> > sage: solve(3 + x (x-1)==5,x)
> > [x == 3]
> > sage: solve(3 + x*(x-1)==5,x)
> > [x == 2, x == -1]
>
> You have to explicitly turn on implicit multiplication; it's not on by
> default.  In your case above, it's not on (unless you turned it on)
>
> So "x(x-1)" is interpreted as:
>
> f(x)=x
> f(x-1)
>
> i.e., x(x-1) is just x-1 (the function y=x evaluated at x-1)
>
> Thanks,
>
> Jason

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to