# Math Help - Maxima

1. ## Maxima

Hi all,
Does anyone know haw I can assign names to the equations as they are solves in Maxima?

I am solving some simultaneous equations using
solve([f(x),g(y),h(z)],[x,y,z])
and I get three equations as output as I am not solving for actual values of x,y, and x, I'm looking for algebraic solutions. What I want to do is label each of the output equations as i,j and k.
Any help?

2. Originally Posted by kungal
Hi all,
Does anyone know haw I can assign names to the equations as they are solves in Maxima?

I am solving some simultaneous equations using
solve([f(x),g(y),h(z)],[x,y,z])
and I get three equations as output as I am not solving for actual values of x,y, and x, I'm looking for algebraic solutions. What I want to do is label each of the output equations as i,j and k.
Any help?
See attachment:

3. Yes, I know how to do that.
But this time I am not looking for actual numbers as output, I'm solving algebraic equations to get an equation for the solutions to the simultaneous equations.
The result of the solve formula is three equations. I want to know how to label these equations.

I've tried

[a,b,c]: solve([f(x),g(y),h(z)],[x,y,z]);

but it doesn't work.

4. Originally Posted by kungal
yes, i know how to do that.
But this time i am not looking for actual numbers as output, i'm solving algebraic equations to get an equation for the solutions to the simultaneous equations.
The result of the solve formula is three equations. I want to know how to label these equations.

I've tried

[a,b,c]: Solve([f(x),g(y),h(z)],[x,y,z]);

but it doesn't work.
That is verging on the rude but try something based on the following:

5. Sorry, about that. No offense intended.
Below is a simplified version of the problem I am dealing with

Code:
(%i1)  X: a*b+c*d=e;
(%o1)                            c d + a b = e
(%i2)  Y:g*b+h*d=f;
(%o2)                            d h + b g = f
(%i3)  solve([X,Y],[b,d]);
e h - c f    e g - a f
(%o3)                 [[b = - ---------, d = ---------]]
c g - a h     c g - a h
In my real problem I more equations and they are a lot longer. What I want to do is name the equations that are produced as output (the equations for b and d above) so that they can be recalled later.

6. Originally Posted by kungal
Sorry, about that. No offense intended.
Below is a simplified version of the problem I am dealing with

Code:
(%i1)  X: a*b+c*d=e;
(%o1)                            c d + a b = e
(%i2)  Y:g*b+h*d=f;
(%o2)                            d h + b g = f
(%i3)  solve([X,Y],[b,d]);
e h - c f    e g - a f
(%o3)                 [[b = - ---------, d = ---------]]
c g - a h     c g - a h

In my real problem I more equations and they are a lot longer. What I want to do is name the equations that are produced as output (the equations for b and d above) so that they can be recalled later.