This is a question on using the Sympy solve() function in Python.
I am limited by my understanding of all the options for sympy.solve(). I am trying to use the symbolic solver to do the following:
Suppose I have 5 equations in 8 variables (unknowns). I would like to find an expression for one variable in terms of 2 other variables (using the 5 equations to eliminate 5 of the variables). I.e., given:
f1(x,a,b,c,d,e,u,w) = 0
f2(x,a,b,c,d,e,u,w) = 0
f3(x,a,b,c,d,e,u,w) = 0
f4(x,a,b,c,d,e,u,w) = 0
f5(x,a,b,c,d,e,u,w) = 0
find x = g(u,w) as an expression, if possible. In fact, I would be happy with an expression of the form: g(u,w,x) = 0, if Sympy can basically eliminate the other variables and return an expression that could be solved numerically for a variable when two others are specified.
My functions are a mix of linear and non-linear equations, fairly simple ones. I believe there is a symbolic solution based on manual attempts to solve it, but the substitutions became too unwieldy to complete accurately. I think Sympy.solve() should be able to do what I want, but I'm not sure how to set it up. Is there a way to do this? Also, is there a "verbose" mode for Sympy.solve() to understand why it returns nothing sometimes (not even empty list).