I face a problem with root finding. I'm solving a system of equations using FindRoot function. I received the following message "Singular Jacobian".. Is there a way to avoid this? I tried perturbing the initials and it didn't work.
Use FindMinimum by giving it an objective function of 0 and your equations as constraints. You could also try NSolve.
Linear Equations can be easily solved by FindMinimum
I checked FindMinimum and it is used to get Minimm of function, how it is used to solve system?
equations are linear system in unknowns u[i,j]
Would be easier to help if you post the equations.
You could try a FiniteDifference Jacobian or specify the Jacobian yourself, as described in the Options section of the FindRoot documentation.
Thank You. The problem that, I found it for a single function "blackbox" but I need it to solve system of equations. Any help?