I have a set of 5 non-linear equations:
$w_0 + w_1 + w_2 = 1$,
$w_0v_0 + w_1v_1 + w_2v_2 = a$,
$w_0v_0^2 + w_1v_1^2 + w_2v_2^2 = a^2 + b^2$,
$w_0v_0^3 + w_1v_1^3 + w_2v_2^3 = a^3 + 3ab^2$,
$w_0v_0^4 + w_1v_1^4 + w_2v_2^4 = a^4 + 6a^2b^2 + 3b^4$,
Where $v_0 = a$. I want to express the values of $w_0,w_1,w_2,v_1,v_2 $in terms of $a,b,$ and $c = w_1/w_2,$ where c is a root of a polynomial of c parametrized by a and b. I know I can do this for the case of $v_0 = 0$, but I can't manage to do it it for $v_0 = a$. Could anyone help me figure this out, or more generally to reduce the system to a root finding problem of a polynomial (that is not necessarily a polynomial of $c = w_1/w_2)$. Any tips would also be much appreciated.
MATLAB has isolate command which does this kind of operations. You can arrange your equations according to any variable by using this command.