Say I have a list of expressions involving many different variables. I would like to see how many of the expressions I can set equal to zero thereby solving for some of the variables in terms of the rest.
For example, say I have the following array,
A={a^2-b, b-a^2+1}
and I would like Mathematica to try to set as many of the components of A to zero as possible. Solve[A==0, {a,b}] will give an empty set since obviously both components of A cannot be zero at the same time. I would like Mathematica to solve the first component b->a^2 and ignore the second.
How can I tell it to ignore those expressions that lead to a contradiction and keep going down the list of expressions, setting them equal to zero if possible?
Foldcan help. – Michael E2 Mar 14 '16 at 04:10