Cauchy-Euler Equations - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


ODE Steps for Cauchy-Euler Equations

 

Overview

Examples

Overview

• 

This help page gives a few examples of using the command ODESteps to solve Cauchy-Euler equations.

• 

See Student[ODEs][ODESteps] for a general description of the command ODESteps and its calling sequence.

Examples

withStudent:-ODEs:

ode1x2diffyx,x,x4xdiffyx,x+2yx=0

ode1x2ⅆ2ⅆx2yx4xⅆⅆxyx+2yx=0

(1)

ODEStepsode1

Let's solvex2ⅆ2ⅆx2yx4xⅆⅆxyx+2yx=0Highest derivative means the order of the ODE is2ⅆ2ⅆx2yxIsolate 2nd derivativeⅆ2ⅆx2yx=2yxx2+4ⅆⅆxyxxGroup terms withyxon the lhs of the ODE and the rest on the rhs of the ODE; ODE is linearⅆ2ⅆx2yx4ⅆⅆxyxx+2yxx2=0Multiply by denominators of the ODEx2ⅆ2ⅆx2yx4xⅆⅆxyx+2yx=0Make a change of variablest=lnxSubstitute the change of variables back into the ODECalculate the1stderivative ofywith respect tox, using the chain ruleⅆⅆxyx=ⅆⅆtytⅆⅆxtxCompute derivativeⅆⅆxyx=ⅆⅆtytxCalculate the2ndderivative ofywith respect tox, using the chain ruleⅆ2ⅆx2yx=ⅆ2ⅆt2ytⅆⅆxtx2+ⅆ2ⅆx2txⅆⅆtytCompute derivativeⅆ2ⅆx2yx=ⅆ2ⅆt2ytx2ⅆⅆtytx2Substitute the change of variables back into the ODEx2ⅆ2ⅆt2ytx2ⅆⅆtytx24ⅆⅆtyt+2yt=0Simplifyⅆ2ⅆt2yt5ⅆⅆtyt+2yt=0Characteristic polynomial of ODEr25r+2=0Use quadratic formula to solve forrr=5±172Roots of the characteristic polynomialr=52172,52+1721st solution of the ODEy1t=ⅇ52172t2nd solution of the ODEy2t=ⅇ52+172tGeneral solution of the ODEyt=C1y1t+C2y2tSubstitute in solutionsyt=C1ⅇ52172t+C2ⅇ52+172tChange variables back usingt=lnxyx=C1ⅇ52172lnx+C2ⅇ52+172lnxSimplifyyx=x52x172C1+x172C2

(2)

ode2x3diffyx,x,x,x+3x2diffyx,x,x6xdiffyx,x6yx=0

ode2x3ⅆ3ⅆx3yx+3x2ⅆ2ⅆx2yx6xⅆⅆxyx6yx=0

(3)

ODEStepsode2

See Also

diff

Int

Student

Student[ODEs]

Student[ODEs][ODESteps]