Starting from:

$30

Math 1080 Homework #5

Math 1080
Homework #5

Problem 1:
Find the absolute and relative condition number for the following problems. Comment on the values of x for
which the problem would be considered well-conditioned or ill-conditioned.
a) 𝑓(π‘₯) = (ln π‘₯)
2
b) 𝑓(π‘₯) = β€–π‘₯β€–2 = √∑ π‘₯𝑖
𝑛 2
𝑖=1
c) 𝑓(𝐴) = [π‘‘π‘Ÿπ‘Žπ‘π‘’(𝐴) det(𝐴)] for 2x2 matrix A
Use β€–. β€–∞ norm in the formula for the condition number and treat the input as a vector of dimension 4, so your
Jacobian becomes a 2 x 4 matrix.
d) 𝑓(π‘₯, 𝑦) = [
π‘₯𝑦 π‘₯
2
𝑦
2 π‘₯𝑦]
Use β€–. β€–1 norm in the formula for the condition number and treat the output as a vector of dimension 4, so your
Jacobian becomes a 4 x 2 matrix.
Problem 2:
Determine whether the following algorithms are backward stable, stable, or unstable:
a) Computation of
2 2
f ( x, y ) = x − y
as 𝑓̃(π‘₯, 𝑦) = [𝑓𝑙(π‘₯) ⊗ 𝑓𝑙(π‘₯)] βŠ– [𝑓𝑙(𝑦) ⊗ 𝑓𝑙(𝑦)]
b) Computation of
2 2
f ( x, y ) = x − y
as 𝑓̃(π‘₯, 𝑦) = [𝑓𝑙(π‘₯) ⊕ 𝑓𝑙(𝑦)] ⊗ [𝑓𝑙(π‘₯) βŠ– 𝑓𝑙(𝑦)]
c) Computation of 𝑓(π‘₯) = 1⁄(1 + π‘₯) as 𝑓̃(π‘₯, 𝑦) = 1 ⊘ [1 ⊕ 𝑓𝑙(π‘₯)]
Problem 3:
Determine the accuracy of the algorithms in Problem 2. Which of the algorithms a) and b) is more accurate?

More products