Nonlinear BVPsMany real-world applications require the solution of BVPs for nonlinear ODEs. For example, consider the logistic equation, which occurs in population dynamics. This is the logistic equation. In[396]:=  |
The right-hand side of the equation can be expanded to a quadratic polynomial in . Hence, the logistic equation is simply a Riccati equation, and its general solution can be easily found. In[397]:=  |
Out[397]=
|
This sets the intrinsic growth rate to 1/2 and the saturation level to 4 and solves the initial value problem. The warning message from Solve is issued while solving for the arbitrary constant C[1] from the general solution. In[398]:=  |
Out[398]=
|
This solves the initial value problem for the logistic equation with symbolic parameters and . In[399]:=  |
Out[399]=
|
This verifies that the solution satisfies the equation and the initial condition. In[400]:=  |
Out[400]=
|
Here is a plot of the solution for different values of and . In[401]:=  |
Here is an example of an IVP for a second-order nonlinear ODE whose general solution can be obtained in explicit form. In[402]:=  |
In[403]:=  |
Out[403]=
|
This verifies that the solution satisfies the equation and the initial conditions. In[404]:=  |
Out[404]=
|
Finally, here is a boundary value problem for a nonlinear second-order ODE. The solution is required to satisfy boundary conditions at 0 and infinity. The Solve::ifun message is generated while finding the general solution in terms of JacobiSN, the inverse of EllipticF. The DSolve::bvlim messages are given because the limit required for satisfying the condition cannot be calculated for either branch of the general solution. However, the solution for the boundary value problem is found using an alternative method to determine the values of the constants C[1] and C[2] in the general solution. In[405]:=  |
Out[405]=
|
In[406]:=  |
Out[406]=
|
In[407]:=  |
As noted in the introduction, it may not always be possible to obtain a particular solution to an IVP for a nonlinear equation. Numerical methods may be necessary in such cases.
|