>
|
|
>
|
|
Given a linear ODE:
>
|
|
| (1) |
And a particular solution for the corresponding homogeneous ODE:
| (2) |
Use this homogeneous solution to find a new ODE of reduced order which can be used to solve the original:
>
|
|
| (3) |
Solve the reduced order ODE:
>
|
|
| (4) |
Apply the transformation to find a simpler ODE for the original variable y(x):
>
|
|
| (5) |
Solve the simpler ODE to find the general solution of the original ODE:
>
|
|
| (6) |
Alternatively, the particular homogeneous solution can be used to solve the original ODE in a single step if we use the option solve:
>
|
|
| (7) |
Simplify the form of the general solution:
| (8) |
Use the output=basis option instead:
>
|
|
| (9) |
Show the new solution:
>
|
|
| (10) |
Calculate the Wronskian of the two solutions for y(x):
>
|
|
| (11) |
The determinant should be nonzero to prove independence of the solutions:
>
|
|
Another syntax showing that you can chose the name of the variable in the reduced ODE:
>
|
|
| (13) |