MATLAB: How to find every solution for this system nonlinear equations

equations

syms k1 k2
j=(3-k1+2*k2)/( 2*k2*(3+2*k1-k1^2-4*k2) )
f1=diff(j,k1)
f2=diff(j,k2)
sol = solve([f1, f2], [k1, k2])
sol.k1
sol.k2

Best Answer

The two solutions that MATLAB returns are the only two consistent solutions. All of the other potential solutions to the simultaneous polynomials implied by the numerators of [f1, f2] lead to division by 0.