MHB Newton Rhapson Failure Analysis

hariharan82
Messages
3
Reaction score
0
Hi,

My name is Hari and i am new to this forum. I am currently working on a research problem using Newton rhapson method to find solution for a system of non-linear functions. The precise application is Inverse Kinematics of manipulators. However, i have three non linear equations function of three variables. the equations represent location of a point in a robot. i need to find the three variables that will satisfy the given location of the point.

I have a certain trajectory for the point in the robot. i need to solve for the variables at every point in the trajectory using the NR method. the NR works for 90% of the points but has some spots where it fails. These points are generated very close to each other. So the initial condition for the NR is the solution from the previous point. i am not able to understand why the NR method fails at certain spots and not everywhere else. I would like some help with regards to this as i have spent significant amount of time with no solution. Please let me know if you need any other information to make this as clear as possible. I am sure the problem is vague now.

thanks
Hari
 
Mathematics news on Phys.org
hariharan82 said:
Hi,

My name is Hari and i am new to this forum. I am currently working on a research problem using Newton rhapson method to find solution for a system of non-linear functions. The precise application is Inverse Kinematics of manipulators. However, i have three non linear equations function of three variables. the equations represent location of a point in a robot. i need to find the three variables that will satisfy the given location of the point.

I have a certain trajectory for the point in the robot. i need to solve for the variables at every point in the trajectory using the NR method. the NR works for 90% of the points but has some spots where it fails. These points are generated very close to each other. So the initial condition for the NR is the solution from the previous point. i am not able to understand why the NR method fails at certain spots and not everywhere else. I would like some help with regards to this as i have spent significant amount of time with no solution. Please let me know if you need any other information to make this as clear as possible. I am sure the problem is vague now.

thanks
Hari

Welcome to MHB, Hari! :)

Most numerical algorithms fail for badly conditioned problems.
I would suggest to use the Levenberg-Marquardt algorithm instead.
It finds the optimal solution, and if there is no unique solution, it finds the solution closest to the initial guess.
 
Hi,

thanks for you reply. there is one reason why i am not using LM method, it is the time of execution. i am pressing on real-time aspect of the execution. i know a solution exist but for some reason the NR method does not converge. i also checked the condition number of the NR jacobian. it looks fine, similar to points it converges.

Hari
 
hariharan82 said:
Hi,

thanks for you reply. there is one reason why i am not using LM method, it is the time of execution. i am pressing on real-time aspect of the execution. i know a solution exist but for some reason the NR method does not converge. i also checked the condition number of the NR jacobian. it looks fine, similar to points it converges.

Hari

Here are the common reasons why NR would fail or be slow to converge.

Btw, what's your reason to think that NR is faster than LM?
For multidimensional problems, NR is usually not the best choice, certainly not for speed of convergence.
 
Admin,
thanks once again for the prompt reply. i will give LM a shot and compare the execution times.

Hari
 
hariharan82 said:
Hi,

My name is Hari and i am new to this forum. I am currently working on a research problem using Newton rhapson method to find solution for a system of non-linear functions. The precise application is Inverse Kinematics of manipulators. However, i have three non linear equations function of three variables. the equations represent location of a point in a robot. i need to find the three variables that will satisfy the given location of the point.

I have a certain trajectory for the point in the robot. i need to solve for the variables at every point in the trajectory using the NR method. the NR works for 90% of the points but has some spots where it fails. These points are generated very close to each other. So the initial condition for the NR is the solution from the previous point. i am not able to understand why the NR method fails at certain spots and not everywhere else. I would like some help with regards to this as i have spent significant amount of time with no solution. Please let me know if you need any other information to make this as clear as possible. I am sure the problem is vague now.

thanks
Hari

A precise condition of convergence of the NRM is reported here...

http://mathhelpboards.com/discrete-mathematics-set-theory-logic-15/difference-equation-tutorial-draft-part-i-426.html#post2492

In most cases of non convergence the following alternative recursive equation...

$\displaystyle x_{n+1} = x_{n} - a\ \frac{f(x_{n})}{f^{\ '}(x_{n})}\ (1)$

... where 0< a< 1 is an appropriate constant can overcome the problem...

Kind regards

$\chi$ $\sigma$
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top