Nonlinear System of Equations Newton-Raphson and SOR Sucessive Over Relaxatiom

In summary, the SOR method can be used to solve the system of equations given in the homework statement. It involves choosing a good initial guess for x, setting a relaxation parameter and error tolerance, and using the linearized system from Newton Raphson to set up an iterative formula. It may take some trial and error to find a solution that converges, but once you have one, be sure to check it against the original system of equations to ensure it satisfies all of them.
  • #1
teknodude
157
0

Homework Statement


3X1 - COS(X2*X3) – 0.5 = 0
X1^2 - 81*(X2 + 0.1)^2 + SIN(X3) + 1.06 = 0
EXP(-X1*X2) + 20*X3 + (10pi – 3)/3 = 0


Homework Equations


Newton Raphsom and Gauss Sceidal with relaxation term


The Attempt at a Solution


I've already solved the above system using Newton Raphsom and got an output of x=[0.5000, 0.0285,-0.5229] using various initial guesses. So far I've only been able to find one solution with my guesses with my Matlab code.

I need some help understanding the method of solving this with SOR. My understanding and approach so far is to use the Newtom Raphsom method to linearize the system. Thus this will generate the delta x (the change in x). From there I can use SOR and input the value found from Newton and iterate until my error is maybe less than 10^-5.

I just can't get it to converge to the answer that I want. One term in x seems to keep increasing and eventually blows up. Is my approach correct?
 
Physics news on Phys.org
  • #2
Any tips or pointers would be greatly appreciated.


Your approach is on the right track. Here are some tips for using the SOR method to solve this system of equations:

1. Start with a good initial guess for x. This is crucial for the SOR method to converge. You can use the solution you found using Newton Raphson as your initial guess.

2. Choose a value for the relaxation parameter, ω. This parameter controls the speed of convergence and can greatly affect the success of the SOR method. A good starting value to try is ω=1, but you may need to adjust it to find the best value for your system.

3. Set an error tolerance, ε, for your solution. This will be used to determine when the SOR method has converged. A good starting value for ε is 10^-5, but you may need to adjust it depending on the accuracy you require.

4. Use the linearized system from Newton Raphson to set up the iterative formula for the SOR method. This will involve solving for x1, x2, and x3 in terms of the other variables. It may be helpful to write out the formula for each variable to make sure you have it set up correctly.

5. Start with the initial guess for x and use the SOR formula to calculate the new values for each variable. Then use these new values to calculate the error, ε, and check if it is less than your error tolerance. If it is, then you have converged to a solution. If not, continue iterating until ε is less than ε.

6. If the SOR method does not converge, try adjusting the relaxation parameter, ω, and/or the initial guess for x. You may also need to adjust the error tolerance, ε, depending on the accuracy you require.

7. Once you have found a solution, check it against the original system of equations to make sure it satisfies all of them.

Overall, the key to success with the SOR method is to carefully choose your initial guess, relaxation parameter, and error tolerance, and to make sure you have set up the iterative formula correctly. Keep adjusting these parameters until you find a solution that works. Good luck!
 

Related to Nonlinear System of Equations Newton-Raphson and SOR Sucessive Over Relaxatiom

1. What is a nonlinear system of equations?

A nonlinear system of equations is a set of two or more equations that involve variables with powers greater than one or that are multiplied together. These equations do not have a linear relationship and cannot be solved using traditional algebraic methods.

2. What is the Newton-Raphson method for solving nonlinear systems of equations?

The Newton-Raphson method is an iterative algorithm for finding the roots of a nonlinear equation. It involves making an initial guess for the solution and then using the derivative of the equation to update the guess in each iteration until a desired level of accuracy is reached.

3. How does the SOR (Successive Over Relaxation) method improve upon the Newton-Raphson method?

The SOR method is an extension of the Newton-Raphson method that introduces a relaxation parameter. This parameter allows for faster convergence and can be adjusted to find a better solution. It is particularly useful for systems of equations with multiple solutions.

4. What are the advantages of using the Newton-Raphson and SOR methods over other numerical methods for solving nonlinear systems of equations?

The Newton-Raphson and SOR methods are more efficient and accurate compared to other numerical methods, such as the bisection method or the secant method. They also have the advantage of being able to find multiple solutions and can be easily implemented in computer programs.

5. Are there any limitations to using the Newton-Raphson and SOR methods for solving nonlinear systems of equations?

One limitation is that these methods may not converge or may converge to a wrong solution if the initial guess is not close enough to the actual solution. Additionally, they may not work for systems of equations with singular matrices or for highly nonlinear equations with multiple solutions. In these cases, other numerical methods may be more suitable.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
282
Replies
2
Views
2K
  • Precalculus Mathematics Homework Help
Replies
3
Views
3K
Replies
10
Views
723
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
  • Linear and Abstract Algebra
Replies
2
Views
883
Replies
9
Views
2K
  • Calculus and Beyond Homework Help
Replies
6
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
Replies
16
Views
6K
Back
Top