Internal
problem
ID
[12031]
Book
:
Handbook
of
exact
solutions
for
ordinary
differential
equations.
By
Polyanin
and
Zaitsev.
Second
edition
Section
:
Chapter
1,
section
1.2.
Riccati
Equation.
subsection
1.2.3-2.
Equations
with
power
and
exponential
functions
Problem
number
:
26
Date
solved
:
Sunday, March 30, 2025 at 10:19:44 PM
CAS
classification
:
[_Riccati]
ode:=diff(y(x),x) = -lambda*exp(lambda*x)*y(x)^2+a*x^n*exp(lambda*x)*y(x)-a*x^n; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==-\[Lambda]*Exp[\[Lambda]*x]*y[x]^2+a*x^(n)*Exp[\[Lambda]*x]*y[x]-a*x^n; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") lambda_ = symbols("lambda_") n = symbols("n") y = Function("y") ode = Eq(-a*x**n*y(x)*exp(lambda_*x) + a*x**n + lambda_*y(x)**2*exp(lambda_*x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : The given ODE -a*x**n*y(x)*exp(lambda_*x) + a*x**n + lambda_*y(x)**2*exp(lambda_*x) + Derivative(y(x), x) cannot be solved by the lie group method