NumericalMethodTextbook/Chapter 02 - Solution of Algebraic and Transcendental Equations/2.12 Solution to Systems of Nonlinear Equations.md
10.6 KB · commit a9602da
2.12 SOLUTION TO SYSTEMS OF NONLINEAR EQUATIONS
In this section, we consider two methods for the solution of simultaneous nonlinear equations: (i) the method of iteration and (ii) Newton–Raphson method. For simplicity, we consider a system of two equations:
f(x,y)andg(x,y)=0=0}(2.72)
2.12.1 Method of Iteration
As in the case of a single equation, we assume that Eq. (2.72) may be written in the form
x=F(x,y),y=G(x,y),(2.73)
where the functions F and G satisfy the following conditions in a closed neighbourhood R of the root (α,β):
(i) F and G and their first partial derivatives are continuous in R, and
(ii)
∂x∂F+∂y∂F<1and∂x∂G+∂y∂G<1,(2.74)
for all (x,y) in R.
If (x0,y0) is an initial approximation to the root (α,β), then Eq. (2.73) give the sequence
For faster convergence, recently computed values of xi may be used in the evaluation of yi in Eq. (2.75). Conditions in Eq. (2.74) are sufficient for convergence and in the limit, we obtain
α=F(α,β)andβ=G(α,β)(2.76)
Hence, α and β are the roots of Eq. (2.73), and therefore, also of the Eq. (2.72).
The method can obviously be generalized to any number of equations.
2.12.2 Newton–Raphson Method
Let (x0,y0) be an initial approximation to the root of Eq. (2.72). If (x0+h,y0+k) is the root of the system, then we must have
f(x0+h,y0+k)=0,g(x0+h,y0+k)=0(2.77)
Assuming that f and g are sufficiently differentiable, we expand both the functions in Eq. (2.77) by Taylor’s series to obtain
where
∂x0∂f=[∂x∂f]x=x0,f0=f(x0,y0), etc.
Neglecting the second and higher-order derivative terms, we obtain the following system of linear equations:
The new approximations are, therefore,
x1=x0+handy1=y0+k(2.82)
The process is to be repeated till we obtain the roots to the desired accuracy. As in the case of a single equation, the convergence is of second order.