While solving the following system of equations, i get the error message "Kernel connection has been lost". I believe it is a memory problem.
![= u[1]*u[2]*(B[1]-B[2]) = xi*(u[2]*E-u[2]*v[1]*B[1]-u[1]*E+u[1]*v[2]*B[2]);](http://mapleoracles.maplesoft.com:8080/maplenet/primes/62fb7d07b6d13dc6300858ac423978e9.gif)
![= rho[1]*u[1]-rho[2]*u[2] = xi*(rho[1]*v[1]-rho[2]*v[2]);](http://mapleoracles.maplesoft.com:8080/maplenet/primes/095f4d290743f4f46276fed868eb501f.gif)
![=1/2*(2*rho[1]*u[1]^4*u[2]^2+2*p[1]*u[1]^2*u[2]^2-B[1]^2*u[1]^2*u[2]^2+u[2]^2*E^2-2*u[2]^2*E*v[1]*B[1]+u[2]^2*v[1]^2*B[1]^2-2*rho[2]*u[2]^4* u[1]^2-2*p[2]*u[1]^2*u[2]^2+B[2]^2*u[1]^2*u[2]^2-u[1]^2*E^2+2*u[1]^2*E*v[2]*B[2]-u[1]^2*v[2]^2*B[2]^2) = u[1]*u[2]*xi* (rho[1]*u[1]^2*v[1]*u[2]-B[1]*u[2]*E+B[1]^2*u[2]*v[1]-rho[2]*u[2]^2*v[2]*u[1]+B[2]*u[1]*E-B[2]^2*u[1]*v[2]);](http://mapleoracles.maplesoft.com:8080/maplenet/primes/eb372d1ac07555dccf757449f8699d45.gif)
![= u[1]*u[2]*(rho[1]*u[1]^2*v[1]*u[2]-B[1]*u[2]*E+B[1]^2*u[2]*v[1]-rho[2]*u[2]^2*v[2]*u[1]+B[2]*u[1]*E-B[2]^2*u[1]*v[2]) = -(1/2)*xi* (-2*rho[1]*v[1]^2*u[1]^2*u[2]^2-2*p[1]*u[1]^2*u[2]^2-B[1]^2*u[1]^2*u[2]^2+u[2]^2*E^2-2*u[2]^2*E*v[1]*B[1]+u[2]^2*v[1]^2*B[1]^2+2*rho[2]*v[2]^2*u[1]^2*u[2]^2 +2*p[2]*u[1]^2*u[2]^2+B[2]^2*u[1]^2*u[2]^2-u[1]^2*E^2+2*u[1]^2*E*v[2]*B[2]-u[1]^2*v[2]^2*B[2]^2);](http://mapleoracles.maplesoft.com:8080/maplenet/primes/bf18ca7322b71279f563b8b867cca578.gif)
![= u[2]*rho[1]*u[1]^2*v[1]^2*gamma-6*u[2]*E*v[1]*B[1]*gamma-u[1]*rho[2]*u[2]^2*v[2]^2*gamma+6*u[1]*E*v[2]*B[2]*gamma-u[2]*rho[1]*u[1]^4 +2*u[2]*E^2*gamma-4*u[2]*v[1]^2*B[1]^2+u[1]*rho[2]*u[2]^4-2*u[1]*E^2*gamma+4*u[1]*v[2]^2*B[2]^2-2*u[2]*E^2+2*u[1]*E^2+u[2]*rho[1]*u[1]^4*gamma- u[2]*rho[1]*u[1]^2*v[1]^2+2*u[2]*gamma*p[1]*u[1]^2+6*u[2]*E*v[1]*B[1]+4*u[2]*v[1]^2*B[1]^2*gamma-u[1]*rho[2]*u[2]^4*gamma+u[1]*rho[2]*u[2]^2*v[2]^2- 2*u[1]*gamma*p[2]*u[2]^2-6*u[1]*E*v[2]*B[2]-4*u[1]*v[2]^2*B[2]^2*gamma = u[1]*u[2]*xi*(v[1]*rho[1]*u[1]^2*gamma-v[1]*rho[1]*u[1]^2 +rho[1]*v[1]^3*gamma-rho[1]*v[1]^3+2*v[1]*gamma*p[1]+4*v[1]*B[1]^2*gamma-4*v[1]*B[1]^2-2*B[1]*E*gamma+2*B[1]*E-v[2]*rho[2]*u[2]^2*gamma +v[2]*rho[2]*u[2]^2-rho[2]*v[2]^3*gamma+rho[2]*v[2]^3-2*v[2]*gamma*p[2]-4*v[2]*B[2]^2*gamma+4*v[2]*B[2]^2+2*B[2]*E*gamma-2*B[2]*E);](http://mapleoracles.maplesoft.com:8080/maplenet/primes/e43c5be7c1b03ccbfd1bbdcebebb5e0e.gif)
![solve({eqe, eqd, eqc, eqb, eqa}, [xi, u[1], v[1], p[1], B[1]]);](http://mapleoracles.maplesoft.com:8080/maplenet/primes/5389826ddefb074490960ab9aa056d31.gif)
This is a simple non-linear 5*5 system and i believe maple should be able to solve it. If anybody has an idea, please let me know. Thanks,
Peter
Try Maple 9.5
In Maple 9.5, the following results:
solve({eqe, eqd, eqc, eqb, eqa}, {xi, u[1], v[1], p[1], B[1]});
{p[1] = p[1], u[1] = 0, xi = xi, v[1] = -rho[2]*(-xi*v[2]+u[2])/(xi*rho[1]),
B[1] = -xi*E*rho[1]/(rho[2]*(-xi*v[2]+u[2]))}
Subsequent to Maple 9.5, the solve command lost some functionality. It has still not been revived.
copy and paste
Is there some way to copy and paste these equations? Can you repost them as text?
copy and paste / displayed equations
usually one can save the page as html, then they appear as text
Five equations
Here are the equations. I used Doug's method of digging to the alternate text which is a property of the graphic image.
eqa:= u[1]*u[2]*(B[1]-B[2]) = xi*(u[2]*E-u[2]*v[1]*B[1]-u[1]*E+u[1]*v[2]*B[2]);
eqb:= rho[1]*u[1]-rho[2]*u[2] = xi*(rho[1]*v[1]-rho[2]*v[2]);
eqc:=1/2*(2*rho[1]*u[1]^4*u[2]^2+2*p[1]*u[1]^2*u[2]^2-B[1]^2*u[1]^2*u[2]^2+u[2]^2*E^2-2*u[2]^2*E*v[1]*B[1]+u[2]^2*v[1]^2*B[1]^2-2*rho[2]*u[2]^4* u[1]^2-2*p[2]*u[1]^2*u[2]^2+B[2]^2*u[1]^2*u[2]^2-u[1]^2*E^2+2*u[1]^2*E*v[2]*B[2]-u[1]^2*v[2]^2*B[2]^2) = u[1]*u[2]*xi* (rho[1]*u[1]^2*v[1]*u[2]-B[1]*u[2]*E+B[1]^2*u[2]*v[1]-rho[2]*u[2]^2*v[2]*u[1]+B[2]*u[1]*E-B[2]^2*u[1]*v[2]);
eqd:=u[1]*u[2]*(rho[1]*u[1]^2*v[1]*u[2]-B[1]*u[2]*E+B[1]^2*u[2]*v[1]-rho[2]*u[2]^2*v[2]*u[1]+B[2]*u[1]*E-B[2]^2*u[1]*v[2]) = -(1/2)*xi* (-2*rho[1]*v[1]^2*u[1]^2*u[2]^2-2*p[1]*u[1]^2*u[2]^2-B[1]^2*u[1]^2*u[2]^2+u[2]^2*E^2-2*u[2]^2*E*v[1]*B[1]+u[2]^2*v[1]^2*B[1]^2+2*rho[2]*v[2]^2*u[1]^2*u[2]^2 +2*p[2]*u[1]^2*u[2]^2+B[2]^2*u[1]^2*u[2]^2-u[1]^2*E^2+2*u[1]^2*E*v[2]*B[2]-u[1]^2*v[2]^2*B[2]^2);
eqe:=u[2]*rho[1]*u[1]^2*v[1]^2*gamma-6*u[2]*E*v[1]*B[1]*gamma-u[1]*rho[2]*u[2]^2*v[2]^2*gamma+6*u[1]*E*v[2]*B[2]*gamma-u[2]*rho[1]*u[1]^4 +2*u[2]*E^2*gamma-4*u[2]*v[1]^2*B[1]^2+u[1]*rho[2]*u[2]^4-2*u[1]*E^2*gamma+4*u[1]*v[2]^2*B[2]^2-2*u[2]*E^2+2*u[1]*E^2+u[2]*rho[1]*u[1]^4*gamma- u[2]*rho[1]*u[1]^2*v[1]^2+2*u[2]*gamma*p[1]*u[1]^2+6*u[2]*E*v[1]*B[1]+4*u[2]*v[1]^2*B[1]^2*gamma-u[1]*rho[2]*u[2]^4*gamma+u[1]*rho[2]*u[2]^2*v[2]^2- 2*u[1]*gamma*p[2]*u[2]^2-6*u[1]*E*v[2]*B[2]-4*u[1]*v[2]^2*B[2]^2*gamma = u[1]*u[2]*xi*(v[1]*rho[1]*u[1]^2*gamma-v[1]*rho[1]*u[1]^2 +rho[1]*v[1]^3*gamma-rho[1]*v[1]^3+2*v[1]*gamma*p[1]+4*v[1]*B[1]^2*gamma-4*v[1]*B[1]^2-2*B[1]*E*gamma+2*B[1]*E-v[2]*rho[2]*u[2]^2*gamma +v[2]*rho[2]*u[2]^2-rho[2]*v[2]^3*gamma+rho[2]*v[2]^3-2*v[2]*gamma*p[2]-4*v[2]*B[2]^2*gamma+4*v[2]*B[2]^2+2*B[2]*E*gamma-2*B[2]*E);
solve
Try solving for all the variables (note, gamma is considered a constant).
#63
The result is 81 solutions, of which number 45 is equivalent to the single Maple 9.5 solution Alex quoted. But number 63 is strange, because it has an extra variable that looks like O but seems to be an escaped local (it's not the global O):
more variables
Thanks for the hint, i am running it right now. Actually, not only gamma is a constant, all the variables with index 2 are constant. I solve for xi and the variables with index 1. Since i solve these exautions iterativally, i can pick one of those 6 variables, leaving a 5*5 system to solve. The reason why i pick rho_1 as being constant, and thus iterationg on it, is physical, it really is the only possibility. Therefore, i solve the system that i posted. I will keep you informed. Could you send the complete solution you got to me?
thanks,
peter