Internal
problem
ID
[9151]
Book
:
Second
order
enumerated
odes
Section
:
section
2
Problem
number
:
29
Date
solved
:
Friday, April 25, 2025 at 05:58:10 PM
CAS
classification
:
[_Lienard]
Time used: 0.350 (sec)
Solve
In normal form the given ode is written as
Where
Calculating the Liouville ode invariant
Since the Liouville ode invariant does not depend on the independent variable
is used to change the original ode to a constant coefficients ode in
Hence (3) becomes
Applying this change of variable to the original ode results in
Which is now solved for
The above ode can be simplified to
This is second order with constant coefficients homogeneous ODE. In standard form the ODE is
Where in the above
Since exponential function is never zero, then dividing Eq(2) throughout by
Equation (2) is the characteristic equation of the ODE. Its roots determine the general solution form.Using the quadratic formula
Substituting
Hence
Which simplifies to
Since roots are complex conjugate of each others, then let the roots be
Where
Which becomes
Or
Will add steps showing solving for IC soon.
Now that
But from (5)
Hence (7) becomes
Will add steps showing solving for IC soon.
Summary of solutions found
ode:=cos(x)^2*diff(diff(y(x),x),x)-2*cos(x)*sin(x)*diff(y(x),x)+cos(x)^2*y(x) = 0; dsolve(ode,y(x), singsol=all);
Maple trace
Methods for second order ODEs: --- Trying classification methods --- 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 A Liouvillian solution exists Group is reducible or imprimitive <- Kovacics algorithm successful
ode=Cos[x]^2*D[y[x],{x,2}]-2*Cos[x]*Sin[x]*D[y[x],x]+y[x]*Cos[x]^2==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x)*cos(x)**2 - 2*sin(x)*cos(x)*Derivative(y(x), x) + cos(x)**2*Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)
False