Internal
problem
ID
[12082]
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.5-2
Problem
number
:
10
Date
solved
:
Sunday, March 30, 2025 at 10:39:20 PM
CAS
classification
:
[_Riccati]
ode:=diff(y(x),x) = y(x)^2+a*ln(beta*x)*y(x)-a*b*ln(beta*x)-b^2; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==y[x]^2+a*Log[\[Beta]*x]*y[x]-a*b*Log[\[Beta]*x]-b^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") BETA = symbols("BETA") a = symbols("a") b = symbols("b") y = Function("y") ode = Eq(a*b*log(BETA*x) - a*y(x)*log(BETA*x) + b**2 - y(x)**2 + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)