sym Fx - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Solving Linear Second Order ODEs for which a Symmetry of the Form [xi=0, eta=F(x)] Can Be Found

 

Description

Examples

Description

• 

All second order linear ODEs have symmetries of the form [xi=0, eta=F(x)]. Actually, F(x) is always a solution of the related homogeneous ODE. There is no general scheme for determining F(x); see dsolve,linear).

• 

When a symmetry of the form [xi=0, eta=F(x)] is found, this information is enough to integrate the homogeneous ODE (see Murphy's book, p. 88).

• 

In the case of nonhomogeneous ODEs, you can do the following:

  

1) look for F(x) as a symmetry of the homogeneous ODE;

  

2) solve the homogeneous ODE using this information;

  

3) set each of _C1 and _C2 equal to 0 and 1 in the answer of the previous step, in order to obtain the two linearly independent solutions of the homogeneous ODE;

  

4) use these two independent solutions of the homogeneous ODE to build the general solution to the nonhomogeneous ODE (see Bluman and Kumei, Symmetries and Differential Equations, p. 132 and ?dsolve,references).

Examples

withDEtools,odeadvisor,symgen

odeadvisor,symgen

(1)

ode1diffyx,x,x=adiffyx,x1lnxyxx2alnxyxx

ode1ⅆ2ⅆx2yx=aⅆⅆxyxyxlnxx2ayxlnxx

(2)

odeadvisorode1

_2nd_order,_with_linear_symmetries,_2nd_order,_linear,_with_symmetry_[0,F(x)]

(3)

dsolveode1

yx=ⅇaxlnx2ⅆxc__1+c__2lnx

(4)

A nonhomogeneous ODE example

ode2diffyx,x,x=diffFx,x,xyxFx+Hx

ode2ⅆ2ⅆx2yx=ⅆ2ⅆx2FxyxFx+Hx

(5)

dsolveode2,yx

yx=1Fx2ⅆxFxc__2+Fxc__1+FxHxFxⅆx1Fx2ⅆx1Fx2ⅆxFxHxⅆx

(6)

A nonhomogeneous example step by step

ode3diffyx,`$`x,2yx=Fx

ode3ⅆ2ⅆx2yxyx=Fx

(7)

homogeneous_odediffyx,`$`x,2yx

homogeneous_odeⅆ2ⅆx2yxyx

(8)

Steps 1) and 2) mentioned above

ans_hdsolvehomogeneous_ode

ans_hyx=c__1ⅇx+c__2ⅇx

(9)

Step 3): two independent solutions for the homogeneous_ode

sol_1rhssubs_C1=1,_C2=0,ans_h

sol_1ⅇx

(10)

sol_2rhssubs_C1=0,_C2=1,ans_h

sol_2ⅇx

(11)

Step 4): a procedure for the general solution to the original nonhomogeneous ODE (ode[3]) is given by

ANSs1,s2,Fyx=_C1s2+_C2s1+s2intFs1Ws1,s2,xs1intFs2Ws1,s2,x

ANSs1,s2,Fyx=c__1s2+c__2s1+s2Fs1Ws1,s2ⅆxs1Fs2Ws1,s2ⅆx

(12)

where s1 and s2 are the linearly independent solutions of the homogeneous ode (sol_1 and sol_2 above), F is the nonhomogeneous term (here represented by F(x)), and W is the Wronskian, in turn given by

Ws1,s2→simplifys1xs2s2xs1

Ws1,s2→simplifys1xs2s2xs1

(13)

from which the answer to the nonhomogeneous ODE follows

ansANSsol_1,sol_2,Fx

ansyx=c__1ⅇx+c__2ⅇx+ⅇxFxⅇx2ⅆxⅇxFxⅇx2ⅆx

(14)

odetestans,ode3

0

(15)

See Also

DEtools

odeadvisor

dsolve,Lie

quadrature

missing

reducible

linear_ODEs

exact_linear

exact_nonlinear

sym_Fx

linear_sym

Bessel

Painleve

Halm

Gegenbauer

Duffing

ellipsoidal

elliptic

erf

Emden

Jacobi

Hermite

Lagerstrom

Laguerre

Liouville

Lienard

Van_der_Pol

Titchmarsh

odeadvisor,types