Название: Numerical Methods in Computational Finance
Автор: Daniel J. Duffy
Издательство: John Wiley & Sons Limited
Жанр: Ценные бумаги, инвестиции
isbn: 9781119719724
isbn:
An example is:
Definition 1.3 (O-Notation).
An example is:
We note that complexity analysis applies to both continuous and discrete functions.
1.4 PARTIAL DERIVATIVES
In general, we are interested in functions of two (or more) variables. We consider a function of the form:
The variables x and y can take values in a given bounded or unbounded interval. First, we say that f (x, y) is continuous at (a, b) if the limit:
exists and is equal to f (a, b). We now need definitions for the derivatives of f in the x and y directions.
In general, we calculate the partial derivatives by keeping one variable fixed and differentiating with respect to the other variable; for example:
We now discuss the situation when we introduce a change of variables into some problem and then wish to calculate the new partial derivatives. To this end, we start with the variables (x, y), and we define new variables (u,
). We can think of these as ‘original’ and ‘transformed’ coordinate axes, respectively. Now define the function z(u, ) as follows:This can be seen as a function of a function. The result that we are interested in is the following: if z is a differentiable function of (u,
) and u, are themselves continuous functions of x, y, with partial derivatives, then the following rule holds:This is a fundamental result that we shall apply in this chapter. We take a simple example of Equation (1.11) to show how things work. To this end, consider the Laplace equation in Cartesian geometry:
We now wish to transform this equation into an equation in a circular region defined by the polar coordinates:
The derivative in r is given by:
and you can check that the derivative with respect to