Internal
problem
ID
[8818]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
2.0
Problem
number
:
15
Date
solved
:
Friday, April 25, 2025 at 05:12:21 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
Time used: 1.079 (sec)
Solve
This is Airy ODE. It has the general form
Where in this case
Therefore the solution to the homogeneous Airy ODE becomes
Since this is inhomogeneous Airy ODE, then we need to find the particular solution. The particular solution
Where
In the Variation of parameters
Where
Which gives
Therefore
Which simplifies to
Which simplifies to
Therefore Eq. (2) becomes
Which simplifies to
Hence
And Eq. (3) becomes
Which simplifies to
Hence
Therefore the particular solution, from equation (1) is
Which simplifies to
Therefore the general solution is
Will add steps showing solving for IC soon.
Summary of solutions found
ode:=diff(diff(y(x),x),x)-diff(y(x),x)-x*y(x)-x^2 = 0; dsolve(ode,y(x), singsol=all);
Maple trace
Methods for second order ODEs: --- Trying classification methods --- trying a quadrature trying high order exact linear fully integrable trying differential order: 2; linear nonhomogeneous with symmetry [0,1] trying a double symmetry of the form [xi=0, eta=F(x)] -> Try solving first the homogeneous part of the ODE checking if the LODE has constant coefficients checking if the LODE is of Euler type trying a symmetry of the form [xi=0, eta=F(x)] checking if the LODE is missing y -> Trying a Liouvillian solution using Kovacics algorithm <- No Liouvillian solutions exists -> Trying a solution in terms of special functions: -> Bessel <- Bessel successful <- special function solution successful <- solving first the homogeneous part of the ODE successful
ode=D[y[x],{x,2}]-D[y[x],x]-x*y[x]-x^2==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x**2 - x*y(x) - Derivative(y(x), x) + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : The given ODE x**2 + x*y(x) + Derivative(y(x), x) - Derivative(y(x), (x, 2)) cannot be solved by the factorable group method