プリンキピア

第4章微分の応用

Failures of Newton’s Methodニュートン法がうまくいかない場合

Typically, Newton’s method is used to find roots fairly quickly. However, things can go wrong. Some reasons why Newton’s method might fail include the following:
ニュートン法は通常、根をかなり速く求められる。しかし、うまくいかないこともある。その理由には、次のようなものがある。
  1. At one of the approximations xn, the derivative f′ is zero at xn, but f(xn)≠0. As a result, the tangent line of f at xn does not intersect the x-axis. Therefore, we cannot continue the iterative process.
    途中の近似値xnにおいて、導関数f′はxnで0だが、f(xn)≠0である。この場合、xnでのfの接線はx軸と交わらず、反復を続けられない。
  2. The approximations x0,x1,x2,… may approach a different root. If the function f has more than one root, it is possible that our approximations do not approach the one for which we are looking, but approach a different root (see Figure 4.80). This event most often occurs when we do not choose the approximation x0 close enough to the desired root.
    英語のヒント
    近似値x0,x1,x2,…が、目的とは違う根に近づくことがある。関数fが複数の根を持つ場合、探していた根とは別の根へ近づく可能性がある(図4.80)。これは、最初の近似値x0を、求めたい根に十分近く選ばなかったときに起こりやすい。
  3. The approximations may fail to approach a root entirely. In Example 4.48, we provide an example of a function and an initial guess x0 such that the successive approximations never approach a root because the successive approximations continue to alternate back and forth between two values.
    英語のヒント
    近似値が、どの根にも近づかないことがある。例題4.48では、ある関数と初期値x0に対して、近似値が2つの値を交互に行き来し続け、根に近づかない例を示す。
2つの根を持つ関数のグラフに、「求めたい根」と「見つかった根」が示されている。初期値x₀は求めたい根のほうに近いが、その位置の接線は、もう一方の根の方向へx軸と交わっている。

OpenStax, Rice University; Calculus Volume 1. · CC BY-NC-SA 4.0

Figure 4.80図 4.80
If the initial guess x0 is too far from the root sought, it may lead to approximations that approach a different root.
初期値x0が求めたい根から離れすぎていると、近似値が別の根へ向かうことがある。
Example 4.48例題 4.48

When Newton’s Method Failsニュートン法が失敗する例

Consider the function f(x)=x3−2x+2. Let x0=0. Show that the sequence x1,x2,… fails to approach a root of f.
関数f(x)=x3−2x+2を考え、x0=0とする。数列x1,x2,…がfの根に近づかないことを示せ。
Solution解き方
For f(x)=x3−2x+2, the derivative is f′(x)=3x2−2. Therefore,
f(x)=x3−2x+2の導関数はf′(x)=3x2−2である。したがって、
x1=x0−f(x0)f′(x0)=0−f(0)f′(0)=−2−2=1.
x1=x0−f(x0)f′(x0)=0−f(0)f′(0)=−2−2=1
In the next step,
次の段階では、
x2=x1−f(x1)f′(x1)=1−f(1)f′(1)=1−11=0.
x2=x1−f(x1)f′(x1)=1−f(1)f′(1)=1−11=0
Consequently, the numbers x0,x1,x2,… continue to bounce back and forth between 0 and 1 and never get closer to the root of f which is over the interval [−2,−1] (see Figure 4.81). Fortunately, if we choose an initial approximation x0 closer to the actual root, we can avoid this situation.
このため、x0,x1,x2,…は0と1の間を行き来し続け、区間[−2,−1]にあるfの根には近づかない(図4.81)。実際の根にもっと近い初期値x0を選べば、この状況を避けられる。
f(x)=x³−2x+2のグラフ。根は−2と−1の間にある。x=0での接線はx軸とx=1で交わり、x=1での接線はx軸とx=0で交わる。

OpenStax, Rice University; Calculus Volume 1. · CC BY-NC-SA 4.0

Figure 4.81図 4.81
The approximations continue to alternate between 0and1 and never approach the root of f.
近似値は0と1の間を交互に行き来し、fの根に近づかない。
From Example 4.48, we see that Newton’s method does not always work. However, when it does work, the sequence of approximations approaches the root very quickly. Discussions of how quickly the sequence of approximations approach a root found using Newton’s method are included in texts on numerical analysis.
英語のヒント
例題4.48のとおり、ニュートン法が常に成功するとは限らない。しかし、うまくいく場合には、近似値の列は根に非常に速く近づく。その収束の速さについては、数値解析の教科書で詳しく扱われる。

Other Iterative Processesほかの反復過程

As mentioned earlier, Newton’s method is a type of iterative process. We now look at an example of a different type of iterative process.
ニュートン法は反復過程の1つである。ここでは、別の種類の反復過程を見よう。
Consider a function F and an initial number x0. Define the subsequent numbers xn by the formula xn=F(xn−1). This process is an iterative process that creates a list of numbers x0,x1,x2,…,xn,…. This list of numbers may approach a finite number x* as n gets larger, or it may not. In Example 4.49, we see an example of a function F and an initial guess x0 such that the resulting list of numbers approaches a finite value.
英語のヒント
関数Fと初期値x0を考える。それに続くxnを、公式xn=F(xn−1)で定義する。この反復によって、数列x0,x1,x2,…,xn,…が作られる。nを大きくしていくと、この数列は有限の値x*へ近づくかもしれないし、そうでないかもしれない。例題4.49では、関数Fと初期値x0を選ぶと、得られる数列が有限の値へ近づく例を見る。
Example 4.49例題 4.49

Finding a Limit for an Iterative Process反復過程の極限を求める

Let F(x)=12x+4 and let x0=0. For all n≥1, let xn=F(xn−1). Find the values x1,x2,x3,x4,x5. Make a conjecture about what happens to this list of numbers x1,x2,x3…,xn,… as n→∞. If the list of numbers x1,x2,x3,… approaches a finite number x*, then x* satisfies x*=F(x*), and x* is called a fixed point of F.
英語のヒント
F(x)=12x+4、x0=0とする。すべてのn≥1についてxn=F(xn−1)と定め、x1,x2,x3,x4,x5を求めよ。n→∞のとき、この数列x1,x2,x3…,xn,…がどうなるかを推測せよ。数列x1,x2,x3,…が有限の値x*へ近づくなら、この連続な関数ではx*はx*=F(x*)を満たす。x*をFの不動点という。
Solution解き方
If x0=0, then
x0=0ならば、
x1=12(0)+4=4x2=12(4)+4=6x3=12(6)+4=7x4=12(7)+4=7.5x5=12(7.5)+4=7.75x6=12(7.75)+4=7.875x7=12(7.875)+4=7.9375x8=12(7.9375)+4=7.96875x9=12(7.96875)+4=7.984375.
From this list, we conjecture that the values xn approach 8.
これらの値から、xnは8.に近づくと予想できる。
Figure 4.82 provides a graphical argument that the values approach 8 as n→∞. Starting at the point (x0,x0), we draw a vertical line to the point (x0,F(x0)). The next number in our list is x1=F(x0). We use x1 to calculate x2. Therefore, we draw a horizontal line connecting (x0,x1) to the point (x1,x1) on the line y=x, and then draw a vertical line connecting (x1,x1) to the point (x1,F(x1)). The output F(x1) becomes x2. Continuing in this way, we could create an infinite number of line segments. These line segments are trapped between the lines F(x)=x2+4 and y=x. The line segments get closer to the intersection point of these two lines, which occurs when x=F(x). Solving the equation x=x2+4, we conclude they intersect at x=8. Therefore, our graphical evidence agrees with our numerical evidence that the list of numbers x0,x1,x2,… approaches x*=8 as n→∞.
図4.82は、n→∞のとき値が8へ近づくことを、グラフで説明している。点(x0,x0)から鉛直線を引き、点(x0,F(x0))へ進む。数列の次の値はx1=F(x0)である。x1からx2を計算するため、(x0,x1)から水平線を引き、直線y=x上の点(x1,x1)へ進む。そこから鉛直線で(x1,x1)と(x1,F(x1))を結ぶ。出力F(x1)が次の値x2になる。この操作を続ければ、線分をいくらでも作れる。それらはF(x)=x2+4とy=xの2直線の間に収まり、2直線の交点へ近づく。交点ではx=F(x)なので、x=x2+4を解くとx=8とわかる。こうして、グラフからも数値計算からも、n→∞のとき数列x0,x1,x2,…はx*=8へ近づくと考えられる。
F(x)=x/2+4とy=xのグラフ。原点にあるx₀からFのグラフへ鉛直に進んでx₁=F(x₀)を求め、そこから右へ水平にy=xまで進む。次に鉛直にFのグラフへ進んでx₂=F(x₁)を求め、再び水平にy=xへ進む。同じ操作でx₃=F(x₂)を求める。この階段状の経路を続けると、2直線の交点x*=8へ近づく。

OpenStax, Rice University; Calculus Volume 1. · CC BY-NC-SA 4.0

Figure 4.82図 4.82
This iterative process approaches the value x*=8.
この反復過程は、x*=8へ近づく。
Project探究課題