Question: Plug a constraint into an equation

Hi all,

First of all, I would like to mention that I'm new to Maple, so please excuse my lack of knowledge.

I have a rather complicated expression, let us call it expr, and I have a constraint equation, let us call it constr = 0. I would like to simplify expr knowing that constr = 0.

Stupid example:

expr: 2*x+4*y+3

constr: x+2*y = 0

In that case:

expr = 2*(x+2*y)+3 = 2*0+3 = 3

How can I do that?

Thanks a lot.

Please Wait...