© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
H. Li, PhDNumerical Methods Using Kotlinhttps://doi.org/10.1007/978-1-4842-8826-9_4

4. Finding Roots of System of Equations

Haksun Li, PhD1  
(1)
Hong Kong, China
 
A root-finding algorithm for a system of multivariable equations can find the values of (x1, x2, …, xn) such that the values of the of n equations in the system equal 0.
$$ \left\{\begin{array}{c}{f}_1\left({x}_1,{x}_2,\dots, {x}_n\right)=0\\ {}{f}_2\left({x}_1,{x}_2,\dots, {x}_n\right)=0\\ {}\vdots \\ {}{f}_n\left({x}_1,{x}_2,\dots, {x}_n\right)=0\end{array}\right. $$

There can be no solution, one unique solution, or multiple solutions for the system. Systems of nonlinear equations can be solved numerically by Newton’s method, which uses the first-order derivatives or the Jacobian, an extension of ...

Get Numerical Methods Using Kotlin: For Data Science, Analysis, and Engineering now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.