exactsol - Maple Help

DEtools

 exactsol
 find solutions to an exact first order ODE

 Calling Sequence exactsol(lode, v)

Parameters

 lode - first order differential equation v - dependent variable of the lode

Description

 • 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](..).

Examples

 > $\mathrm{with}\left(\mathrm{DEtools}\right):$
 > $\mathrm{ode}≔3{t}^{3}{z\left(t\right)}^{2}\mathrm{diff}\left(z\left(t\right),t\right)+3{t}^{2}{z\left(t\right)}^{3}=0:$
 > $\mathrm{exactsol}\left(\mathrm{ode},z\left(t\right)\right)$
 $\left\{{z}{}\left({t}\right){=}\frac{{\mathrm{_C1}}}{{t}}{,}{z}{}\left({t}\right){=}\frac{{-}\frac{{\mathrm{_C1}}}{{2}}{-}\frac{{I}{}\sqrt{{3}}{}{\mathrm{_C1}}}{{2}}}{{t}}{,}{z}{}\left({t}\right){=}\frac{{-}\frac{{\mathrm{_C1}}}{{2}}{+}\frac{{I}{}\sqrt{{3}}{}{\mathrm{_C1}}}{{2}}}{{t}}\right\}$ (1)
 > $\mathrm{ode}≔\left(3{t}^{4}{z\left(t\right)}^{2}-{t}^{2}\right)\mathrm{D}\left(z\right)\left(t\right)+\left(4{t}^{3}{z\left(t\right)}^{3}-2tz\left(t\right)\right)=0:$
 > $\mathrm{exactsol}\left(\mathrm{ode},z\left(t\right)\right)$
 $\left\{{z}{}\left({t}\right){=}\frac{\frac{{\left(\left({12}{}\sqrt{{3}}{}\sqrt{{27}{}{{\mathrm{_C1}}}^{{2}}{-}{4}{}{{t}}^{{2}}}{-}{108}{}{\mathrm{_C1}}\right){}{{t}}^{{2}}\right)}^{{1}}{{3}}}}{{6}{}{t}}{+}\frac{{2}{}{t}}{{\left(\left({12}{}\sqrt{{3}}{}\sqrt{{27}{}{{\mathrm{_C1}}}^{{2}}{-}{4}{}{{t}}^{{2}}}{-}{108}{}{\mathrm{_C1}}\right){}{{t}}^{{2}}\right)}^{{1}}{{3}}}}}{{t}}{,}{z}{}\left({t}\right){=}\frac{{-}\frac{{\left(\left({12}{}\sqrt{{3}}{}\sqrt{{27}{}{{\mathrm{_C1}}}^{{2}}{-}{4}{}{{t}}^{{2}}}{-}{108}{}{\mathrm{_C1}}\right){}{{t}}^{{2}}\right)}^{{1}}{{3}}}}{{12}{}{t}}{-}\frac{{t}}{{\left(\left({12}{}\sqrt{{3}}{}\sqrt{{27}{}{{\mathrm{_C1}}}^{{2}}{-}{4}{}{{t}}^{{2}}}{-}{108}{}{\mathrm{_C1}}\right){}{{t}}^{{2}}\right)}^{{1}}{{3}}}}{-}\frac{{I}{}\sqrt{{3}}{}\left(\frac{{\left(\left({12}{}\sqrt{{3}}{}\sqrt{{27}{}{{\mathrm{_C1}}}^{{2}}{-}{4}{}{{t}}^{{2}}}{-}{108}{}{\mathrm{_C1}}\right){}{{t}}^{{2}}\right)}^{{1}}{{3}}}}{{6}{}{t}}{-}\frac{{2}{}{t}}{{\left(\left({12}{}\sqrt{{3}}{}\sqrt{{27}{}{{\mathrm{_C1}}}^{{2}}{-}{4}{}{{t}}^{{2}}}{-}{108}{}{\mathrm{_C1}}\right){}{{t}}^{{2}}\right)}^{{1}}{{3}}}}\right)}{{2}}}{{t}}{,}{z}{}\left({t}\right){=}\frac{{-}\frac{{\left(\left({12}{}\sqrt{{3}}{}\sqrt{{27}{}{{\mathrm{_C1}}}^{{2}}{-}{4}{}{{t}}^{{2}}}{-}{108}{}{\mathrm{_C1}}\right){}{{t}}^{{2}}\right)}^{{1}}{{3}}}}{{12}{}{t}}{-}\frac{{t}}{{\left(\left({12}{}\sqrt{{3}}{}\sqrt{{27}{}{{\mathrm{_C1}}}^{{2}}{-}{4}{}{{t}}^{{2}}}{-}{108}{}{\mathrm{_C1}}\right){}{{t}}^{{2}}\right)}^{{1}}{{3}}}}{+}\frac{{I}{}\sqrt{{3}}{}\left(\frac{{\left(\left({12}{}\sqrt{{3}}{}\sqrt{{27}{}{{\mathrm{_C1}}}^{{2}}{-}{4}{}{{t}}^{{2}}}{-}{108}{}{\mathrm{_C1}}\right){}{{t}}^{{2}}\right)}^{{1}}{{3}}}}{{6}{}{t}}{-}\frac{{2}{}{t}}{{\left(\left({12}{}\sqrt{{3}}{}\sqrt{{27}{}{{\mathrm{_C1}}}^{{2}}{-}{4}{}{{t}}^{{2}}}{-}{108}{}{\mathrm{_C1}}\right){}{{t}}^{{2}}\right)}^{{1}}{{3}}}}\right)}{{2}}}{{t}}\right\}$ (2)