Internal
problem
ID
[9164]
Book
:
Second
order
enumerated
odes
Section
:
section
2
Problem
number
:
41
Date
solved
:
Sunday, March 30, 2025 at 02:24:33 PM
CAS
classification
:
[[_Riccati, _special]]
Time used: 0.056 (sec)
Solve
This is reduced Riccati ode of the form
Comparing the given ode to the above shows that
Since
Since
Therefore the solution becomes
Substituting the value of
Letting
Summary of solutions found
Time used: 0.210 (sec)
Solve
In canonical form the ODE is
This is a Riccati ODE. Comparing the ODE to solve
With Riccati ODE standard form
Shows that
Using the above substitution in the given ODE results (after some simplification)in a second order ODE to solve for
But
Substituting the above terms back in equation (2) gives
This is Airy ODE. It has the general form
Where in this case
Therefore the solution to the homogeneous Airy ODE becomes
Will add steps showing solving for IC soon.
Taking derivative gives
Doing change of constants, the solution becomes
Which simplifies to
Summary of solutions found
ode:=diff(y(x),x) = x-y(x)^2; dsolve(ode,y(x), singsol=all);
Maple trace
Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear trying Bernoulli trying separable trying inverse linear trying homogeneous types: trying Chini differential order: 1; looking for linear symmetries trying exact Looking for potential symmetries trying Riccati trying Riccati Special <- Riccati Special successful
Maple step by step
ode=D[y[x],x]==x-y[x]^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x + y(x)**2 + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
TypeError : bad operand type for unary -: list