Internal
problem
ID
[18434]
Book
:
Elementary
Differential
Equations.
By
R.L.E.
Schwarzenberger.
Chapman
and
Hall.
London.
First
Edition
(1969)
Section
:
Chapter
3.
Solutions
of
first-order
equations.
Exercises
at
page
47
Problem
number
:
3
(vi)
Date
solved
:
Monday, March 31, 2025 at 05:28:34 PM
CAS
classification
:
[_exact, _rational, [_1st_order, `_with_symmetry_[F(x),G(x)]`], [_Abel, `2nd type`, `class A`]]
Time used: 0.064 (sec)
Solve
To solve an ode of the form
We assume there exists a function
Hence
But since
If the above condition is satisfied, then the original ode is called exact. We still need to determine
Therefore
Comparing (1A) and (2A) shows that
The next step is to determine if the ODE is is exact or not. The ODE is exact when the following condition is satisfied
Using result found above gives
And
Since
Integrating (1) w.r.t.
Where
But equation (2) says that
Solving equation (5) for
Integrating the above w.r.t
Where
But since
Solving for
Summary of solutions found
ode:=2*t+3*x(t)+(3*t-x(t))*diff(x(t),t) = t^2; dsolve(ode,x(t), 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 <- exact successful
Maple step by step
ode=(2*t+3*x[t])+(3*t-x[t])*D[x[t],t]==t^2; ic={}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(-t**2 + 2*t + (3*t - x(t))*Derivative(x(t), t) + 3*x(t),0) ics = {} dsolve(ode,func=x(t),ics=ics)
Timed Out