Newton's method to solve a system of equations

927 Views Asked by At

I have a system of equations:

  1. $x_1^3 + x_1^2x_2 -x_1x_3 + 6 = 0$
  2. $e^{x_1} + e^{x_2} - x_3=0$
  3. $x_2^2 - 2x_1x_2 = 4$

and the question asks me to evaluate the left hand side of the equations at my estimate for the solution to ensure they agree with the right hand side to within $0.001$.

First I used Newton's method to find a solution to the system, which is $[-1.45604279595534, -1.66423046608154, .422493404446532]$ on Maple.

However, I do not exactly understand the question.

2

There are 2 best solutions below

0
On BEST ANSWER

I had a look to your problem since it is an interesting system of equations for which there is no way to know a priori the number of possible solutions.

From the second equation, you can eliminate x3 and express is as a function of x1 and x2. From the third equation, you can eliminate x1 as a function of x2. So, what is left is the first equation in which only appears x2. This equation has four roots which are -3.48958, -1.00851, 0.701462, 2.52722.

So, depending where you start your iterations, if the system solves, it could correspond to any of these solutions.

7
On

The question is asking for you to find an approximate solution such that when you plug your solution into the left-hand-side of each equation, the resulting values are within $0.001$ of the right hand side of each solution.

For this specific question you need to get $0 \pm 0.001$ when you plug in to the first equation, $0 \pm 0.001$ for the second, and $4 \pm 0.001$ for the third.