Return to computing page for the first course APMA0330
Return to computing page for the second course APMA0340
Return to Mathematica tutorial for the first course APMA0330
Return to Mathematica tutorial for the second course APMA0340
Return to the main page for the course APMA0330
Return to the main page for the course APMA0340
You learn from calculus that the derivative of a smooth function f(x), defined on some interval
\( (a,b) , \) is another function defined by the limit (if it exists)
where we used the Lagrange and Leibniz notations for the derivative, respectively. There are known infinite many definitions of the derivative, we mention some of them:
We will use a special notation due to L. Euler
\( \texttt{D} = {\text d}/{\text d}x \quad\mbox{or} \quad\texttt{D} = {\text d}/{\text d}t \) for the derivative operator, depending on what independent variable is in use. In case of time variable t, it is a custom to utilize Newton's dot notation: \( \dot{y} = {\text d}y/{\text d}t . \) The derivative operator maps a continuously differentiable function into a continuous function. For this relation, we write
\( \texttt{D} : C^1 (a,b) \to C^0 (a,b) \equiv C(a,b) \) to indicate that the derivative operator maps the set of smooth functions on some open interval into a set of continuous functions on the same interval. The derivative operator is not a bounded or continuous operator because it can transfer a bounded function into an unbounded function.
where I is the identity operator. We would like to extend the above relation to negative indexes. So we first need to define the inverse operator,
\( \texttt{D}^{-1} . \)
The inverse of the derivative is called «antiderivative» in mathematical literature mostly because it is not an operator. Why? To be an operator, \( \texttt{D}^{-1} \) should assign to every input (namely, a function) a unique output (another function). Since the kernel (or null space) of the derivative operator \( \texttt{D} \) is a one dimensional space, it assigns infinite many antiderivatives, abusing mathematicians. This follows from the identities:
To knock out a single inverse operator, we consider a set of continuous functions on an open interval \( (a,b) \ni x_0 \) with a prescribed condition at the point x0:
\[
C_c (a,b) = \left\{ f : f(x_0 ) = c \quad\mbox{and} \quad f \mbox{ is continuous on the interval } (a,b) \,\right\} .
\]
Then the derivative operator considered as a mapping
So we see that \( \texttt{D} \) and \( \texttt{D}^{-1} \) do
not commute (unless a condition on the constant is imposed). This means that regular indefinite integral with arbitrary constant as initial condition is only left inverse of the derivative operator.
■
First order differential operator
For continuous function r(x) ∈ C and continuously differentiable function p(x) ∈ C¹, consider a first order differential operator
where \( \texttt{I} \) is the identity operator,
\( \texttt{D} \overset{\mbox{def}}{=} {\text d}/{\text d}x \) is the derivative operator, and prime denotes the derivative in Lagrange's notation. Assuming that r(x)p(x) ≠ 0, we find its inverse that depends on an arbitrary constant c:
If the product of two functions is equal to zero at the initial point:
\( r\left( x_0 \right) p\left( x_0 \right) = 0 , \)
then we have a singular differential operator.
There are some examples of first order differential operators and their inverses.
If one of the functions r(x) or p(x) (or both) has a zero withing the given interval, then the linear differential operator
\( L\left[ x, \texttt{D} \right] w(x) = r(x) \,\texttt{D} \left[ p(x)\,\texttt{D} w \right] \) becomes a singular one.
We present some typical examples of such operators and their inverses.
where p(x) ∈ C¹ and other known functions q(x) and r(x) are assumed to be continuous on some fixed interval. To find the inverse operator, we multiply both sides of the equation \( L\left[ x, \texttt{D} \right] y(x) = w(x) \) by integrating factor
Suppose that the initial conditions are specified at some point x0, where the integrating factor μ(x) and its first derivative have bounded values. Upon introducing a new dependent variable z = μ y, we get
where p(x) and q(x) are given smooth positive functions, and \( \texttt{D}y = {\text d} y/{\text d}x \) is the derivative in the Leibniz notation. To find its inverse, we need to solve the differential equation
\[
L\left[ x, \texttt{D} \right] w(x) = f(x) .
\]
For uniqueness of this operation, we have to impose two auxiliary conditions; for instance, we can take the initial conditions at some point and consider the set of continuously differentiable functions with prescribed value and its derivative:
If one of the functions r(x) or p(x) (or both) has a zero withing the given interval, then the linear differential operator
\( L\left[ x, \texttt{D} \right] w(x) = r(x) \,\texttt{D} \left[ p(x)\,\texttt{D} w \right] \) becomes a singular one.
We present some typical examples of such operators and their inverses.
Example:
because the solutions to many mathematical physics problems are expressed by the hypergeometric functions, we consider the corresponding differential equation
■
We consider the nonlinear differential operator of the second order:
where we use the Lagrange notation for the derivative: \( w' = {\text d} w/{\text d}r . \)
Simplify[1/r*D[(r*(-D[w[r], r])^n), r]]
-(((-Derivative[1][w][r])^(-1 +
n) (Derivative[1][w][r] + n r (w^\[Prime]\[Prime])[r]))/r)
Since the given differential operator is of the second order, the inverse operator will depend on two arbitrary constants; therefore, we need to consider L on a space of functions that have a specific values at a particular point and its derivative. In order to find its inverse, we need to solve the differential equation
In the above formula, you can choose r0 to be zero because the inner integral is not singular, but h should be always positive.
Bougoffa, L., On the exact solutions for initial value problems of second-orderdifferential equations, Applied Mathematics Letters, 2009, Vol. 22, pp. 1248--1251.
Return to Mathematica page
Return to the main page (APMA0330)
Return to the Part 1 (Plotting)
Return to the Part 2 (First Order ODEs)
Return to the Part 3 (Numerical Methods)
Return to the Part 4 (Second and Higher Order ODEs)
Return to the Part 5 (Series and Recurrences)
Return to the Part 6 (Laplace Transform)
Return to the Part 7 (Boundary Value Problems)