Differential Operators and Harmonic Oscillators
Operator Calculus to Solve Heterogeneous Second-Order Linear ODEs
Does Mathematica apply the Fourier Transform/Derivative Rule Automagically?
It does as of version 5.0! .
Does Mathematica apply the rules according to the Fourier Transform being a linear operator?
Apparently not--so we make some rules that can be applied. It may be instructive to see how to do this.
Try them out:
Let's Fourier Transform the left-hand -side of a second-order ODE:
Otherwise, the complete solution (i.e., the inhomogeneous plus the homogeneous parts) can be calculated by the DSolve function
Functionals: An Introduction to Variational Calculus by way of Variation of Parameters
An early application of introductory calculus involves finding extreme values of a function y = y(x): values of the independent variable x are sought that maximize or minimize y(x). In the calculus of variations, a common problem involves finding an unknown function y(x) that minimizes a different function in which y(x) appears inside an integral. Here we pursue an answer to a problem of this type.
The "quickest" path of running up-hill can be estimated with a model of how fast one runs up hill. Given a starting point y(x=0) = 0 and an ending point y(x=1) = 1, the question is to find, among all possible choices of path y(x) that connects the end and starting point, which is the one that takes the least time if there is a hill h(x) that has to be "run-up."
A reasonable model is that running speed is proportional to Cos(climbing-angle)--that is the velocity is 1 for running on a flat surface and goes to zero as the climbing-angle goes to .
In this case, the time can be represented as an integral of the unknown y(x) (this is worked out in the accompanying lecture notes)
T[y(x)] = dx
Suppose that the "hill" has the shape h(x) = .
Here, the "real" problem of finding the optimal path from the infinite set of all paths connecting y(x=0) = 0 toy(x=1) = 1 will be replaced by looking at all second-order polynomials: y(x) = a + bx + c
The general path must satisfy the boundary conditions:
There is one remaining free variable, it can be determined by minimizing the integral
OK, the time is a minimum somewhere on the interval 0 < b < 1. Solving for the value of b at the minimum:
Now we can write the desired fuction that minimizes the time and plot it:
The exact minimizing path can be found by using Calculus of Variations. The solution is obtained from a boundary-value problem which we do not take up at this point, but it is interesting to see the exact solution and compare it with the approximate one we obtained above. The closed-form expression for the function that minimizes the climbing time is:
and a series approimation to this function is:
Now plot the exact solution and compare it to our calculated approximation...
These two curves are very close!