DEtools
exactsol
find solutions to an exact first order ODE
Calling Sequence
Parameters
Description
Examples
exactsol(lode, v)
lode
-
first order differential equation
v
dependent variable of the lode
The exactsol routine determines whether the first argument is an exact first order ODE and, if so, returns a solution to the equation. When the equation is not exact, the routine tries to find an integrating factor that converts the equation into an equivalent exact equation.
The first argument is a differential equation in diff or D form and the second argument is the function in the differential equation.
This function is part of the DEtools package, and so it can be used in the form exactsol(..) only after executing the command with(DEtools). However, it can always be accessed through the long form of the command by using DEtools[exactsol](..).
with⁡DEtools:
ode≔3⁢t3⁢z⁡t2⁢diff⁡z⁡t,t+3⁢t2⁢z⁡t3=0:
exactsol⁡ode,z⁡t
z⁡t=c__1t,z⁡t=−c__12−I⁢3⁢c__12t,z⁡t=−c__12+I⁢3⁢c__12t
ode≔3⁢t4⁢z⁡t2−t2⁢D⁡z⁡t+4⁢t3⁢z⁡t3−2⁢t⁢z⁡t=0:
z⁡t=12⁢3⁢27⁢c__12−4⁢t2−108⁢c__1⁢t2136⁢t+2⁢t12⁢3⁢27⁢c__12−4⁢t2−108⁢c__1⁢t213t,z⁡t=−12⁢3⁢27⁢c__12−4⁢t2−108⁢c__1⁢t21312⁢t−t12⁢3⁢27⁢c__12−4⁢t2−108⁢c__1⁢t213−I⁢3⁢12⁢3⁢27⁢c__12−4⁢t2−108⁢c__1⁢t2136⁢t−2⁢t12⁢3⁢27⁢c__12−4⁢t2−108⁢c__1⁢t2132t,z⁡t=−12⁢3⁢27⁢c__12−4⁢t2−108⁢c__1⁢t21312⁢t−t12⁢3⁢27⁢c__12−4⁢t2−108⁢c__1⁢t213+I⁢3⁢12⁢3⁢27⁢c__12−4⁢t2−108⁢c__1⁢t2136⁢t−2⁢t12⁢3⁢27⁢c__12−4⁢t2−108⁢c__1⁢t2132t
See Also
dsolve
Download Help Document