I have a system of equations and would like to retrieve the Jacobain w.r.t. to some variables. Now I see that this would be best done if I wrote the equations in a form == 0. Is there an easy way to do the latter? (or simply, retrieve the jacobian of this system of equations?).
Example below:
systemEq = {x1 == 2 x2 - 1,x1^2 == x2^2 - 4}
To make use of the D[] function, I imagine that we would have to rewrite this system as:
systemEqD = {x1 - ( 2 x2 - 1),x1^2 - ( x2^2 - 4)}
where implicitly I am aware that the equations ==0.
Is there an easy way to proceed? (ideally I would like to scale this for a larger number of equations). Many thanks.
