Math 1080: Homework #5 solution

$24.99

Original Work ?

Download Details:

  • Name: Homework5-x9wekn.zip
  • Type: zip
  • Size: 3.51 MB

Category: You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

Description

5/5 - (3 votes)

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 2×2 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?