DEtools - Maple Programming Help

Home : Support : Online Help : Mathematics : Differential Equations : DEtools : Solving Methods : DEtools/bernoullisol

DEtools

 bernoullisol
 find solutions of a Bernoulli first order ODE

 Calling Sequence bernoullisol(lode, v)

Parameters

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

Description

 • The bernoullisol routine determines if the first argument is a first order ODE of Bernoulli type and, if so, returns a solution to the Bernoulli 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 bernoullisol(..) only after executing the command with(DEtools). However, it can always be accessed through the long form of the command by using DEtools[bernoullisol](..).

Examples

 > $\mathrm{with}\left(\mathrm{DEtools}\right):$
 > $\mathrm{ode}≔\mathrm{diff}\left(z\left(t\right),t\right)+p\left(t\right)z\left(t\right)=q\left(t\right){z\left(t\right)}^{2}$
 ${\mathrm{ode}}{≔}\frac{{ⅆ}}{{ⅆ}{t}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{z}{}\left({t}\right){+}{p}{}\left({t}\right){}{z}{}\left({t}\right){=}{q}{}\left({t}\right){}{{z}{}\left({t}\right)}^{{2}}$ (1)
 > $\mathrm{bernoullisol}\left(\mathrm{ode},z\left(t\right)\right)$
 $\left\{{z}{}\left({t}\right){=}\frac{{{ⅇ}}^{{\int }{-}{p}{}\left({t}\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{t}}}{{\int }{-}{{ⅇ}}^{{\int }{-}{p}{}\left({t}\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{t}}{}{q}{}\left({t}\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{t}{+}{\mathrm{_C1}}}\right\}$ (2)
 > $\mathrm{ode}≔\mathrm{diff}\left(z\left(t\right),t\right)+tz\left(t\right)=q\left(t\right){z\left(t\right)}^{n}:$
 > $\mathrm{bernoullisol}\left(\mathrm{ode},z\left(t\right)\right)$
 $\left\{{z}{}\left({t}\right){=}\frac{{{ⅇ}}^{{-}\frac{{{t}}^{{2}}{}{n}}{{2}{}\left({n}{-}{1}\right)}}{}{{ⅇ}}^{\frac{{{t}}^{{2}}}{{2}{}\left({n}{-}{1}\right)}}}{{\left({-}{n}{}\left({\int }{{ⅇ}}^{{-}\frac{{{t}}^{{2}}{}{n}}{{2}}}{}{{ⅇ}}^{\frac{{{t}}^{{2}}}{{2}}}{}{q}{}\left({t}\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{t}\right){+}{\mathrm{_C1}}{+}{\int }{{ⅇ}}^{{-}\frac{{{t}}^{{2}}{}{n}}{{2}}}{}{{ⅇ}}^{\frac{{{t}}^{{2}}}{{2}}}{}{q}{}\left({t}\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{t}\right)}^{\frac{{1}}{{n}{-}{1}}}}\right\}$ (3)
 > $\mathrm{ode}≔\mathrm{D}\left(z\right)\left(t\right)+tz\left(t\right)=t{z\left(t\right)}^{n}:$
 > $\mathrm{bernoullisol}\left(\mathrm{ode},z\left(t\right)\right)$
 $\left\{{z}{}\left({t}\right){=}\frac{{1}}{{\left({1}{+}{{ⅇ}}^{\frac{{{t}}^{{2}}{}\left({n}{-}{1}\right)}{{2}}}{}{\mathrm{_C1}}\right)}^{\frac{{1}}{{n}{-}{1}}}}\right\}$ (4)