integral transform methods for solutions of ordinary differential equations
dsolve(deqns, vars, method=transform)
dsolve(deqns, vars, method=transform, options)
ordinary differential equation in vars, or set of equations and/or initial conditions
variable or set of variables to be solved for
literal equation, one of laplace, fourier, fouriercos, fouriersin
Invoking the dsolve command with the options method=transform causes a solution to be found by way of one of the integral transform methods.
When adding the optional equation pointwise=true to dsolve, the desired solution should satisfy the initial conditions in a pointwise manner. This guarantees that the solution evaluates to the specified initial conditions at the initial point. By default this is false, which means that the input conditions are satisfied in a distributional manner (that is, applied as specified by the transform itself). This is most relevant when the input differential equations have distributional functions present (Dirac and Heaviside functions). For an example that illustrates the difference between these approaches see the Examples section below.
Caution must be used, as some of the transforms (most notably the fourier-type transforms) are only well defined for solutions with certain asymptotic properties.
Also note that for the one-sided transforms (fouriersin, fouriercos, and laplace) the solution may only be valid to the right of the initial condition.
For example, when solving a second order constant coefficient ode using the fouriersin transform, the solution y(t) must vanish as t -> infinity. This restriction is in fact one of the boundary conditions of the problem, so only one other boundary condition can be applied.
Some guidelines for using transforms for the solution of second-order constant coefficient ODE with initial point a are as follows.
fourier transform: the solution y(t) of the ODE (defined for all t) must be bounded as t approaches +/- infinity. No other boundary conditions can be applied.
fouriersin transform: the solution y(t) of the ODE (defined for t>=a) must be bounded as t approaches +infinity, and y(a) can be specified.
fouriercos transform: the solution y(t) of the ODE (defined for t>=a) must be bounded as t approaches +infinity, and D(y)(a) can be specified.
laplace transform: the solution y(t) of the ODE (defined for t>=a) must be sub-exponential, and both y(a) and D(y)(a) can be specified.
Additionally, care must be taken when choosing integral transform methods to obtain a solution to an ODE or ODE system. For example, use of fourier-type transforms for problems with polynomial coefficients may require the solution of another differential equation of higher differential order (see example below).
de1 ≔ ⅆ2ⅆt2⁢y⁡t+5⁢ⅆⅆt⁢y⁡t+6⁢y⁡t=0
de2 ≔ ⅆⅆt⁢y⁡t−y⁡t=ⅇ−t2
F ≔ t→Heaviside⁡3−t⁢A
de3 ≔ ⅆ2ⅆt2⁢y⁡t−h⁢y⁡t=F⁡t
de4 ≔ ⅆ2ⅆt2⁢y⁡t−h⁢y⁡t=F⁡t
However this gives no solution (over-specified):
Now a counter-productive transform:
de5 ≔ ⅆ2ⅆt2⁢y⁡t+t8⁢y⁡t=ⅇ−t2
You would now have an 8th order ODE to solve.
Attempting to use the fourier transform with initial conditions yields no solution:
de6 ≔ ⅆ2ⅆx2⁢y⁡x+y⁡x=x2⁢sin⁡x
The following ODE has different solutions depending on whether 'pointwise'=true has been specified.
de7 ≔ ⅆ2ⅆt2⁢x⁡t+4⁢x⁡t=Dirac⁡t
sol7a ≔ dsolve⁡de7,x⁡0=0,D⁡x⁡0=0,x⁡t,method=laplace
So the solution as provided does not satisfy the initial conditions in a pointwise fashion, as can be seen from
To instead enforce the conditions to be pointwise satisfied, the following can be used:
sol7b ≔ dsolve⁡de7,x⁡0=0,D⁡x⁡0=0,x⁡t,method=laplace,pointwise=true
Download Help Document
What kind of issue would you like to report? (Optional)