Given a list of functions

flist = {f[x, y], g[x, y], h[x, y], ...};

I wish to some way apply Solve to flist to obtain

Solve[f[x, y] == g[x, y] == h[x, y] == ..., {x, y}]

Where there may be any number of functions in flist.


1 Answer 1


You need to change the Head of your list from List to Equal using Apply:

Equal @@ flist
(* Out: f[x, y] == g[x, y] == h[x, y] *)

You can then use this within Solve:

Solve[Equal@@flist, {x, y}]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.