# [Maxima] Maxima equality operator

Stavros Macrakis macrakis at alum.mit.edu
Mon Jul 26 09:31:57 CDT 2010

```*In Maxima, '=' is used to express equations.  For example:*
*
*
*    quad: 2*x^2=x-1\$*

*assigns to the programming variable 'quad' the equation '2*x^2=x-1'.  To
find roots of the equation (that is, values of x which make it true), you
can use solve(quad,x).  To see if two expressions are syntactically equal,
you can use is( lhs(quad) = rhs(quad) ), which is false.  To see if two
expressions are mathematically equal, you can use is( equal( lhs(quad),
rhs(quad) )), which in this case is unknown (it depends on the value of x).*
*
*
-s

On Mon, Jul 26, 2010 at 10:25, Julien Martin <balteo at gmail.com> wrote:

> Hello,
> I would like to know which is the maxima equality operator for two
> expressions. For instance, Maxima tells me that:
> (%i1) expression1 - expression2
> yields "0"
> but:
> (%i2) is (expression1 = expression2)
> yields "false"
> Can anyone please help?
> Julien.
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20100726/c8d7beed/attachment.html>
```

More information about the Maxima mailing list