Is it always possible to refactor an equation so that a desired variable appears as the sole term of one side?* If so, how?
Simple example:
$$xa = ya + b \\ xa - ya = b \\ a(x - y) = b \\ a = \frac{b}{x -y}$$
I'm inclined to say yes (for any non-infinitely recursing $a$) but it's hard to pull an algorithm out of how I intuitively solve equations.
Tagging with recursive-algorithms because I think the solution will be recursive.
*excluding $a=a$
It's not always possible without defining new functions. Some classic examples:
So if the problem is interesting enough in a family, it may be worth defining a new function to solve. Then maybe dedicating your life to giving effecient numerical approximations ;)
It's also not even possible to solve for a variable for linear equations: