I'm trying to get maple to solve some inequalities for me, and in particular to tell me when they have no solution. Unfortunately, it does not seem to be doing what I expect.
The following inequalities have no solution.
\begin{align*} 0 &\lt f[1], &0 &< f[2], \\0 &< f[3], &0 &< f[4], \\ 8 &< f[1]+f[3], &6 &< f[2]+f[4],\\ 6 &< f[2]+f[3], &7 &< f[1]+f[4],\\ 5&=f[1]+f[2], & 11/2&=f[3]+f[4] \end{align*}
This is because the left most bottom two expressions imply $1+f[1]<f[3]$ whereas the right-most bottom two expressions imply that $f[3]<f[1]-3/2$.
Yet if I put the following into maple 15
solve({f[1]+f[2] = 5, f[3]+f[4] = 11/2, 0 <f[1], 0 < f[2], 0 < f[3], 0 < f[4],
6 < f[2]+f[3], 6 < f[2]+f[4], 7 < f[1]+f[4], 8 < f[1]+f[3]},
{f[1],f[2],f[3],f[4]});
then it gives the following "solution":
{f[1] = 5-f[2], f[2] = f[2], f[3] = 11/2-f[4], f[4] = f[4]}
Who is being stupid here? Me or maple?
solveworks for inequalities? – Sigur Jan 29 '13 at 17:51solve({a+b = 1, 3*a+2*b > 1}, {a,b});returns{a = -b+1, b < 2}. – Jan 29 '13 at 17:56solvecould be used to do that. – Sigur Jan 29 '13 at 17:59