Internal
problem
ID
[8732]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
1.0
Problem
number
:
20
Date
solved
:
Sunday, March 30, 2025 at 01:28:24 PM
CAS
classification
:
[_Bernoulli]
Time used: 0.187 (sec)
Solve
In canonical form, the ODE is
This is a Bernoulli ODE.
The standard Bernoulli ODE has the form
Comparing this to (1) shows that
The first step is to divide the above equation by
The next step is use the substitution
This method is now applied to the ODE at hand. Comparing the ODE (1) With (2) Shows that
Dividing both sides of ODE (1) by
Let
Taking derivative of equation (5) w.r.t
Substituting equations (5) and (6) into equation (4) gives
The above now is a linear ODE in
In canonical form a linear first order is
Comparing the above to the given ode shows that
The integrating factor
The ode becomes
Integrating gives
Dividing throughout by the integrating factor
The substitution
Solving for
Which simplifies to
Summary of solutions found
ode:=diff(y(x),x)+1/3*y(x) = 1/3*(-2*x+1)*y(x)^4; 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 <- Bernoulli successful
Maple step by step
ode=D[y[x],x]+y[x]/3== (1-2*x)/3*y[x]^4; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((2*x - 1)*y(x)**4/3 + y(x)/3 + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)