Docsity

Solutions to CS 257: Numerical Methods - Spring 2006 - Prof. Luke Olson, Study notes of Computer Science

Toggle sidebar
bg1
CS 257: Numerical Methods Spring 2006 February 7, 2006
Q1 Let A > 0 and g(x) = 2x−Ax2.
1. Show that if fixed-point iteration converges to a nonzero limit, then the limit is x= 1/A.
2. Find an interval about 1/A for which fixed-point iteration converges, provided x0is in
that interval
SOLUTION: For the first part, if fixed-point iteration converges, then x=g(x). So x=
2x−Ax2. Since x6= 0, this gives 1 = 2 −Ax and x= 1/A. For the second part, we need to
show a couple things: g(x)∈[a, b] and g0(x)≤k < 1 for x∈[a, b] for some [a, b]. First find
when g0is bounded by 1:
|g0(x)| ≤
⇒|2x−Ax2| ≤ 1
⇒ − 1≤2x−Ax2
and
2x−Ax2≤1
⇒1
2A≤x
and
x≤3
2A
Also, g(x) attains a maximum when g0(x) = 0, which is at x= 1/A (consequently). From
this, we have
g(1
A) = 1
A
g(1
2A) = 3
4A
g(3
2A) = 3
4A
All of the hypothesis are satisfied for any interval about 1/A inside of [ 1
2A,3
2A].
pf3

Partial preview of the text

Download Solutions to CS 257: Numerical Methods - Spring 2006 - Prof. Luke Olson and more Study notes Computer Science in PDF only on Docsity!

CS 257: Numerical Methods Spring 2006 February 7, 2006

Q1 Let A > 0 and g(x) = 2x − Ax^2.

  1. Show that if fixed-point iteration converges to a nonzero limit, then the limit is x = 1/A.
  2. Find an interval about 1/A for which fixed-point iteration converges, provided x 0 is in that interval SOLUTION: For the first part, if fixed-point iteration converges, then x = g(x). So x = 2 x − Ax^2. Since x 6 = 0, this gives 1 = 2 − Ax and x = 1/A. For the second part, we need to show a couple things: g(x) ∈ [a, b] and g′(x) ≤ k < 1 for x ∈ [a, b] for some [a, b]. First find when g′^ is bounded by 1:

|g′(x)| ≤ ⇒| 2 x − Ax^2 | ≤ 1 ⇒ − 1 ≤ 2 x − Ax^2 and 2 x − Ax^2 ≤ 1 ⇒

2 A

≤ x and x ≤

2 A

Also, g(x) attains a maximum when g′(x) = 0, which is at x = 1/A (consequently). From this, we have

g(

A

A

g(

2 A

4 A

g(

2 A

4 A

All of the hypothesis are satisfied for any interval about 1/A inside of [ (^21) A , (^23) A ].