DEtools - Maple Programming Help

Home : Support : Online Help : Mathematics : Differential Equations : DEtools : Linear DE Manipulation : DEtools/translate

DEtools

 translate
 translate a DE or operator list centered on 0 to one centered on a point
 untranslate
 translate a DE or operator list centered on a point to one centered on 0

 Calling Sequence translate(des, ivar, pt, dvar) untranslate(des, ivar, pt, dvar)

Parameters

 des - differential equation, or differential operator list ivar - independent variable pt - point of translation dvar - dependent variable, in the case of a DE

Description

 • The routines translate and untranslate are used for the translation of DEs and operators.  In the case of a linear differential operator, the input des is given by a list (here A), which defines the operator by

 $L$  |  $L\left(y\right)={A}_{1}y\left(x\right)+{A}_{2}y\text{'}\left(x\right)+\mathrm{...}+{A}_{n+1}\left(\frac{{ⅆ}^{n}}{ⅆ{x}^{n}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}y\left(x\right)\right)$

 • The routine translate takes a DE or linear operator in the independent variable ivar, assumed to be centered about 0, and translates it to a DE or operator centered about pt.  Essentially, translate acts like DEtools[Dchangevar] for the restricted cases $t=\frac{1}{x}$ (pt = infinity) and $t=x+\mathrm{pt}$ (otherwise).
 • Likewise, the routine untranslate takes a DE, operator, or DE solution that is centered on the point pt and translates it to the equivalent centered on 0.
 • dvar must be provided in the instance that des is a differential equation or DE solution.  It is not required if des is an operator list.
 • Results may be "normalized" by way of DEtools[DEnormal].
 • Linear differential operators may be derived from DEs by way of DEtools[convertAlg].
 • These functions are part of the DEtools package, and so they can be used in the form translate(..) and untranslate(..) only after executing the command with(DEtools). However, they can always be accessed through the long form of the command DEtools[translate](..) or DEtools[untranslate](..).

Examples

 > $\mathrm{with}\left(\mathrm{DEtools}\right):$

Linear differential operator

 > $\mathrm{L_A}≔\left[\frac{1}{x\left({x}^{5}+2x+2\right)},{x}^{2}+1,{x}^{5}+2x+2\right]:$
 > $\mathrm{a1}≔\mathrm{translate}\left(\mathrm{L_A},x,\mathrm{\infty }\right)$
 ${\mathrm{a1}}{≔}\left[\frac{{{x}}^{{6}}}{{2}{}{{x}}^{{5}}{+}{2}{}{{x}}^{{4}}{+}{1}}{,}\frac{{4}{}{{x}}^{{5}}{+}{3}{}{{x}}^{{4}}{-}{{x}}^{{2}}{+}{2}}{{{x}}^{{2}}}{,}\frac{{2}{}{{x}}^{{5}}{+}{2}{}{{x}}^{{4}}{+}{1}}{{x}}\right]$ (1)
 > $\mathrm{a2}≔\mathrm{untranslate}\left(\mathrm{a1},x,\mathrm{\infty }\right)$
 ${\mathrm{a2}}{≔}\left[\frac{{1}}{{x}{}\left({{x}}^{{5}}{+}{2}{}{x}{+}{2}\right)}{,}{{x}}^{{2}}{+}{1}{,}{{x}}^{{5}}{+}{2}{}{x}{+}{2}\right]$ (2)

Differential equation

 > $\mathrm{DE}≔21\left(-2{x}^{3}+3{x}^{2}-5x+2\right)y\left(x\right)+42\left({x}^{2}-x+1\right)x\left(x-1\right)\mathrm{D}\left(y\right)\left(x\right)+50{x}^{3}{\left(x-1\right)}^{3}{\mathrm{D}}^{\left(2\right)}\left(y\right)\left(x\right)=x\mathrm{sin}\left(x\right):$
 > $\mathrm{de1}≔\mathrm{translate}\left(\mathrm{DE},x,a,y\left(x\right)\right)$
 ${\mathrm{de1}}{≔}{21}{}\left({-}{2}{}{\left({x}{+}{a}\right)}^{{3}}{+}{3}{}{\left({x}{+}{a}\right)}^{{2}}{-}{5}{}{x}{-}{5}{}{a}{+}{2}\right){}{y}{}\left({x}\right){+}{42}{}\left({\left({x}{+}{a}\right)}^{{2}}{-}{x}{-}{a}{+}{1}\right){}\left({x}{+}{a}\right){}\left({x}{+}{a}{-}{1}\right){}{\mathrm{D}}{}\left({y}\right){}\left({x}\right){+}{50}{}{\left({x}{+}{a}\right)}^{{3}}{}{\left({x}{+}{a}{-}{1}\right)}^{{3}}{}{{\mathrm{D}}}^{\left({2}\right)}{}\left({y}\right){}\left({x}\right){=}\left({x}{+}{a}\right){}{\mathrm{sin}}{}\left({x}{+}{a}\right)$ (3)
 > $\mathrm{de2}≔\mathrm{untranslate}\left(\mathrm{de1},x,a,y\left(x\right)\right):$
 > $\mathrm{de2}≔\mathrm{DEnormal}\left(\mathrm{de2},x,y\left(x\right)\right)$
 ${\mathrm{de2}}{≔}\left({50}{}{{x}}^{{6}}{-}{150}{}{{x}}^{{5}}{+}{150}{}{{x}}^{{4}}{-}{50}{}{{x}}^{{3}}\right){}\left(\frac{{{ⅆ}}^{{2}}}{{ⅆ}{{x}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right){+}\left({42}{}{{x}}^{{4}}{-}{84}{}{{x}}^{{3}}{+}{84}{}{{x}}^{{2}}{-}{42}{}{x}\right){}\left(\frac{{ⅆ}}{{ⅆ}{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right){-}{42}{}{y}{}\left({x}\right){}{{x}}^{{3}}{+}{63}{}{y}{}\left({x}\right){}{{x}}^{{2}}{-}{105}{}{y}{}\left({x}\right){}{x}{+}{42}{}{y}{}\left({x}\right){=}{x}{}{\mathrm{sin}}{}\left({x}\right)$ (4)