Docsity

Final Exam - Numerical Analysis | MAPL 667, Exams of Mathematics

Toggle sidebar
bg1
CMSC/MAPL
667
Dr.
Wolfe
FINAL
EXAM
May
17,
1997
Note:
Assume
all
functions
appearing
in
this
exam
are
smooth
with
bounded
derivatives.
1.
(10
points)
Prove
that
if
XQ
—
0,
a:
n+
i
=
Vx
n
+
2,
n
>
0,
then
lim
n
_>.oo
x
n
=
1.
2.
(10
points)
Let
/
:
R
2
-»
R
2
be
denned
by
Then
/((I,
l)
T
)
=
(0,0)
T
.
Would
you
expect
the
iteration
scheme
x
n+1
\_x
n
\_2/3
to
be
locally convergent
to
(1,
1)
T
?
If
so,
at
what
rate
?
Explain.
3.
(10
points)
(a)
What
is
the
method
of
steepest
descent
for
finding
the
minimum
of
a
function
/
:
R
n
»
R
?
Does
it
define
an algorithm
?
Explain.
(b)
Let
/(x)
=
3xj
-f
2zi:r2
+
x\,
XQ
=
(1,
1)
T
.
What
is
the
steepest-descent
direction
for
/
from
XQ
?
(c)
In
part
(b)
is
(1,
1)
T
a
descent
direction
?
4.
(18
points)
The
modified
Euler
method
for
the
initieil
value
problem
y'
=
is
given
by
«
,n
Give
a
direct
proof
that
this
method
is
convergent.
Do
not quote any
theorems.
What
is
the
order
of
the
method
?
Note:
For
all
this
you
need
to compute
(or
estimate) the
local
truncation
error.
5.
(17
points)
(a)
Show
that
the
two-step
method
5
1
y
n+
i
=
2y
n
-i
-
y
n
+
h[-f(x
n
,y
n
)
+
-/(&
n
_i,y
n
_i)]
is
of
order
2
and
unstable.
pf2

Partial preview of the text

Download Final Exam - Numerical Analysis | MAPL 667 and more Exams Mathematics in PDF only on Docsity!

CMSC/MAPL 667 Dr. Wolfe FINAL EXAM May 17, 1997

Note: Assume all functions appearing in this exam are smooth with bounded derivatives.

  1. (10 points) Prove that if

XQ — 0, a:n+i = Vx n + 2, n > 0,

then limn_>.oo x n = 1.

  1. (10 points) Let / : R2 -» R2 be denned by

Then /((I, l)T ) = (0,0)T. Would you expect the iteration scheme

xn+1 _xn _2/

to be locally convergent to (1, 1) T? If so, at what rate? Explain.

  1. (10 points) (a) What is the method of steepest descent for finding the minimum of a function / : Rn » R? Does it define an algorithm? Explain. (b) Let /(x) = 3xj -f 2zi:r2 + x, XQ = (1, 1) T. What is the steepest-descent direction for / from XQ? (c) In part (b) is (1, 1) T a descent direction?
  2. (18 points) The modified Euler method for the initieil value problem

y' =

is given by « ,n

Give a direct proof that this method is convergent. Do not quote any theorems. What is the order of the method? Note: For all this you need to compute (or estimate) the local truncation error.

  1. (17 points) (a) Show that the two-step method

5 1 yn+i = 2yn -i - yn + h[-f(xn ,yn ) + -/(&n _i,yn _i)]

is of order 2 and unstable.

(b) Give an example to show that the method in (a) need not converge when solving y' = /(*,y).

  1. (20 points) Consider the boundary value problem

-u" + u = /(x), u(0) = 0, u(l) = 0 (1)

(a) Suppose that u C[0, 1] n C2 (0, 1) is a solution of (1) with / > 0. Show that u > 0. Hint: Argue by contradiction. The proof is two lines and involves only elementary calculus. (b) Use the result of (a) to show that (1) has at most one solution. (c) Discretize the problem. Take a uniform partition of [0, 1]

Xi = ih, i = 0, 1,2,... ,n, h=l/n. (2)

Use the three point difference formula for u". Write the result in the form

Ay = f (3)

what are A, y and f? (d) For the system (3), show that if /, > 0 for all i then j/i > 0 for all i. (Compare with part (a)) (e) Use the result of (d) to show that (3) has a unique solution. Note: If you don't see how to do (d) you can earn extra credit by giving any argument which proves (3) has a unique solution.

  1. (20 points) We again consider the boundary value problem (1) introduced in problem
    1. (a) Derive the variational formulation of (1):

Find u 6 H such that B[u, v] = F(o) for all v 6 H. (4)

Define the bilinear form J3[u,u], the linear functional F(v) and the space H. (b) Prove (4) has a unique solution. (c) Define the piecewise linear finite element space used for finding approximate so- lutions of this problem. (Use the partition (2).) Show that the finite element problem has a unique solution Uh. (d) Show that < B[u,u].

(e) What is known about the size of \u —