🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: sci.math.num-analysis
7 messages
7 total messages Started by Suresh Thennarangam - Research S... Tue, 01 Sep 1992 09:43
Newton Raphsons iteration method
#394
Author: Suresh Thennarangam - Research S...
Date: Tue, 01 Sep 1992 09:43
26 lines
1670 bytes
Newton-Raphson's method can handle non-linear n-dimensional equations
with reasonable results given a good starting point. What happens
if the system of equations is over-determined ? i.e. M equations in
N unknowns where M > N. 

I used the routine mnewt() from Numerical Recipes ... with SVD as the 
backbone linear equation solver. It always converged when M <= N but 
refused to converge when M > N.

Any comments about this ? Can NR handle M > N at all or does the 
algorithm have to modified to make it work ?


      __
     (_       o_   o  o |_
     __)/(_( _) (_(_ /_)| )_

***************************************************************************
* Suresh Thennarangam               *  EMail: suresh@iss.nus.sg(Internet) *
* Research Scholar                  *         ISSST@NUSVM.BITNET          *
* Institute Of Systems Science      *  Tel:  (065) 772 2588.              *
* National University Of Singapore  *  Facs.: (065) 778 2571          *
* Heng Mui Keng Terrace             *  Telex: ISSNUS RS 39988             *
* Singapore 0511.                   *                                     *
***************************************************************************
Re: Newton Raphsons iteration method
#401
Author: Steven Smith
Date: Tue, 01 Sep 1992 20:43
38 lines
2191 bytes
suresh@papaya.iss.nus.sg (Suresh Thennarangam - Research Scholar) writes:

> Newton-Raphson's method can handle non-linear n-dimensional equations
> with reasonable results given a good starting point. What happens
> if the system of equations is over-determined ? i.e. M equations in
> N unknowns where M > N. 
> 
> I used the routine mnewt() from Numerical Recipes ... with SVD as the 
> backbone linear equation solver. It always converged when M <= N but 
> refused to converge when M > N.
> 
> Any comments about this ? Can NR handle M > N at all or does the 
> algorithm have to modified to make it work ?

Let g: R^n -> R^n.  Newton's method is used to determine a point at
which g vanishes, i.e., it solves the equation g(x) = 0.

Note that if det g' != 0, then the number of points in R^n satisfying
g(x) = 0 must be finite.

If you have g: R^n -> R^m, m < n, g' full rank, then the equation
g(x) = 0 determines some subset of dimension n - m in R^n.  Newton's
method may (or may not) converge to any point in this subset.  I
believe that NR gets around the degeneracy of g as map into
R^m subset R^n by simply not inverting the small singular values
of g'.

In case m > n, the equation g(x) = 0 may not have a solution.
Consider, e.g., the map t -> (1+t, 1-t) from R to R^2.  Of course
Newton's method, even the Numerical Recipes version, could not
converge in such instances.

These ideas are all encapsulated by the implicit function theorem.

Nevertheless, there are methods to minimize the norm of g.  See, e.g.,
Fletcher's _Practical Methods of Optimization_.

Steven Smith
Roots of equations Was: Newton Raphsons iteration method
#404
Author: Roger Alexander
Date: Wed, 02 Sep 1992 11:25
20 lines
1304 bytes
In <SMITH.92Sep1154327@minerva.harvard.edu> smith@minerva.harvard.edu (Steven Smith) writes:

>Let g: R^n -> R^n.  [...]

>Note that if det g' != 0, then the number of points in R^n satisfying
>g(x) = 0 must be finite.

	Not so.  The solutions of the equation are isolated (implicit
function theorem) but there may be infinitely many.  Let

	g(x,y) = (exp(x)cos(y)-1, exp(x) sin(y)).  

Then det g' = exp(2x) != 0 anywhere, but g(0,2*Pi*n) = 0 for every
integer n.

-- 
*_________________*  "Faculty members encourage the free pursuit of       
 Roger Alexander  | learning in their students and protect academic          
 alex@iastate.edu | freedom of students." --ISU Faculty Handbook
*_________________* [official statement of policies & procedures]
Re: Roots of equations Was: Newton Raphsons iteration method
#405
Author: Steven Smith
Date: Wed, 02 Sep 1992 15:37
14 lines
1137 bytes
alex@iastate.edu (Roger Alexander) writes:

>          Not so.  The solutions of the equation are isolated (implicit
> function theorem) but there may be infinitely many.  Let
>
>          g(x,y) = (exp(x)cos(y)-1, exp(x) sin(y)).
>
> Then det g' = exp(2x) != 0 anywhere, but g(0,2*Pi*n) = 0 for every
> integer n.

Yes, I posted before I thought.  The example x -> sin x works too.
The zero set of an analytic function !==0 is at most countable.

Steven Smith
Re: Roots of equations Was: Newton Raphsons iteration method
#411
Author: Roger Alexander
Date: Thu, 03 Sep 1992 12:57
20 lines
1526 bytes
In <SMITH.92Sep2103757@minerva.harvard.edu> smith@minerva.harvard.edu (Steven Smith) writes:

>alex@iastate.edu (Roger Alexander) writes:

>>          Not so.  The solutions of the equation are isolated (implicit
>> function theorem) but there may be infinitely many.  Let
>>
>>          g(x,y) = (exp(x)cos(y)-1, exp(x) sin(y)).
>>
>> Then det g' = exp(2x) != 0 anywhere, but g(0,2*Pi*n) = 0 for every
>> integer n.

>			[...]  The example x -> sin x works too.

This function is not an example because the derivative has a zero.
-- 
*_________________*  "Faculty members encourage the free pursuit of       
 Roger Alexander  | learning in their students and protect academic          
 alex@iastate.edu | freedom of students." --ISU Faculty Handbook
*_________________* [official statement of policies & procedures]
Re: Roots of equations Was: Newton Raphsons iteration method
#413
Author: Steven Smith
Date: Thu, 03 Sep 1992 15:49
11 lines
1165 bytes
alex@iastate.edu (Roger Alexander) writes:

> >			[...]  The example x -> sin x works too.
> 
> This function is not an example because the derivative has a zero.

I don't understand what you mean.  The zero set of sin x is the
integers multiplied by pi.  The derivative of sin x at these points is
+- unity.  Newton's method works like a dream this instance.

Steven Smith
Re: Newton Raphsons iteration method
#476
Author: Van Snyder
Date: Tue, 08 Sep 1992 19:19
29 lines
1750 bytes
In article <1992Sep1.094300.2414@nuscc.nus.sg> suresh@papaya.iss.nus.sg (Suresh Thennarangam - Research Scholar) writes:
>
>Newton-Raphson's method can handle non-linear n-dimensional equations
>with reasonable results given a good starting point. What happens
>if the system of equations is over-determined ? i.e. M equations in
>N unknowns where M > N. 
>
>I used the routine mnewt() from Numerical Recipes ... with SVD as the 
>backbone linear equation solver. It always converged when M <= N but 
>refused to converge when M > N.
>
>Any comments about this ? Can NR handle M > N at all or does the 
>algorithm have to modified to make it work ?

Don't be surprised about errors or deficiencies in NR.  The authors
are physicists, not numerical analysts.  They have usually just
cobbled together something that seems to work on one of their
special problems, and made a leap of faith to generalize to all
superficially similar problems.

For nonlinear least squares problems, get nl2sol from netlib.
netlib is a network library server operated by Eric Grosse at AT&T
and Jack Dongarra at Oak Ridge National Laboratory.  Start by sending
"send help" and "send index" to netlib@ornl.gov.

-- 
vsnyder@jato.Jpl.Nasa.Gov   vsnyder@math.Jpl.Nasa.Gov  <-- preferred
ames!elroy!jato!vsnyder     ames!elroy!math!vsnyder
vsnyder@jato.uucp
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads