Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

6. a. Write a function to approximate the change of an arbitrary function f() with respect to a small change in X, say dx, via

image text in transcribed

6. a. Write a function to approximate the change of an arbitrary function f() with respect to a small change in X, say dx, via its Taylor's series expansion: For any infinitely differentiable function f(-), one can write df (x) 1 dm f(x) 1 dn+1(E) f(x+4x) = f(x)+ -Ax+ (4x)" + dx 2 dx2 n! dxn 1d-f(x) (Ac)+...+ (n +1)! dxn+1(4x)n+1, I where E (2x, X + Ax). Comment on the differences between the true and the approximation values as a function of the number of terms included in the expansion. b. Using Taylor's series expansion, or otherwise, justify the following approximation: P(y) - P(y + dy) -D(dy), and P(y + dy) ~ P(y){1 D* (dy)}, where D and D* denote the dollar duration and the modified duration for a bond P(y) with yield y. You should also argue why the bond price can be infinitely differentiable with respect to y if you make use of the result in (a) to support your claim. Illustrate the approximation via a figure with R and/or Python. 6. a. Write a function to approximate the change of an arbitrary function f() with respect to a small change in X, say dx, via its Taylor's series expansion: For any infinitely differentiable function f(-), one can write df (x) 1 dm f(x) 1 dn+1(E) f(x+4x) = f(x)+ -Ax+ (4x)" + dx 2 dx2 n! dxn 1d-f(x) (Ac)+...+ (n +1)! dxn+1(4x)n+1, I where E (2x, X + Ax). Comment on the differences between the true and the approximation values as a function of the number of terms included in the expansion. b. Using Taylor's series expansion, or otherwise, justify the following approximation: P(y) - P(y + dy) -D(dy), and P(y + dy) ~ P(y){1 D* (dy)}, where D and D* denote the dollar duration and the modified duration for a bond P(y) with yield y. You should also argue why the bond price can be infinitely differentiable with respect to y if you make use of the result in (a) to support your claim. Illustrate the approximation via a figure with R and/or Python

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Finance questions

Question

5. Have you stressed the topics relevance to your audience?

Answered: 1 week ago