Internal
problem
ID
[19659]
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
:
1
(i)
Date
solved
:
Tuesday, March 10, 2026 at 11:54:02 AM
CAS
classification
:
[_quadrature]
This is a linear ODE. In canonical form it is written as
Where here
Hence the ode is
The domain of \(q(t)=0\) is
And the point \(t_0 = 1\) is inside this domain. The domain of \(p(t)=3 t^{2}+4 t\) is
And the point \(t_0 = 1\) is also inside this domain. Hence solution exists and is unique.
0.198 (sec)
Entering first order ode quadrature solver
Since the ode has the form \(x^{\prime }=f(t)\), then we only need to integrate \(f(t)\).
Solving for initial conditions the solution becomes
| |
|
| Solution plot for \(x^{\prime } = 3 t^{2}+4 t\) | Direction fields for \(x^{\prime } = 3 t^{2}+4 t\) |
| |
|
| Isoclines for \(x^{\prime } = 3 t^{2}+4 t\) |
Summary of solutions found
0.248 (sec)
Entering first order ode exact solver
To solve an ode of the form
We assume there exists a function \(\phi \left ( x,y\right ) =c\) where \(c\) is constant, that satisfies the ode. Taking derivative of \(\phi \) w.r.t. \(x\) gives
Hence
Comparing (A,B) shows that
But since \(\frac {\partial ^{2}\phi }{\partial x\partial y}=\frac {\partial ^{2}\phi }{\partial y\partial x}\) then for the above to be valid, we require that
If the above condition is satisfied, then the original ode is called exact. We still need to determine \(\phi \left ( x,y\right ) \) but at least we know now that we can do that since the condition \(\frac {\partial ^{2}\phi }{\partial x\partial y}=\frac {\partial ^{2}\phi }{\partial y\partial x}\) is satisfied. If this condition is not satisfied then this method will not work and we have to now look for an integrating factor to force this condition, which might or might not exist. The first step is to write the ODE in standard form to check for exactness, which is
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 \(\frac {\partial M}{\partial x}= \frac {\partial N}{\partial t}\), then the ODE is exact The following equations are now set up to solve for the function \(\phi \left (t,x\right )\)
Integrating (1) w.r.t. \(t\) gives
Where \(f(x)\) is used for the constant of integration since \(\phi \) is a function of both \(t\) and \(x\). Taking derivative of equation (3) w.r.t \(x\) gives
But equation (2) says that \(\frac {\partial \phi }{\partial x} = 1\). Therefore equation (4) becomes
Solving equation (5) for \( f'(x)\) gives
Integrating the above w.r.t \(x\) gives
But since \(\phi \) itself is a constant function, then let \(\phi =c_2\) where \(c_2\) is new constant and combining \(c_1\) and \(c_2\) constants into the constant \(c_1\) gives the solution as
Solving for initial conditions the solution becomes
Solving for \(x\) gives
| |
|
| Solution plot for \(x^{\prime } = 3 t^{2}+4 t\) | Direction fields for \(x^{\prime } = 3 t^{2}+4 t\) |
| |
|
| Isoclines for \(x^{\prime } = 3 t^{2}+4 t\) |
Summary of solutions found
ode:=diff(x(t),t) = 3*t^2+4*t; ic:=[x(1) = 0]; dsolve([ode,op(ic)],x(t), singsol=all);
Maple trace
Methods for first order ODEs: --- Trying classification methods --- trying a quadrature <- quadrature successful
Maple step by step
ode=D[x[t],t]==3*t^2+4*t; ic={x[1]==0}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(-3*t**2 - 4*t + Derivative(x(t), t),0) ics = {x(1): 0} dsolve(ode,func=x(t),ics=ics)
Python version: 3.12.3 (main, Aug 14 2025, 17:47:21) [GCC 13.3.0] Sympy version 1.14.0
classify_ode(ode,func=x(t)) ('factorable', 'nth_algebraic', 'separable', '1st_exact', '1st_linear', 'Bernoulli', '1st_power_series', 'lie_group', 'nth_linear_constant_coeff_undetermined_coefficients', 'nth_linear_euler_eq_nonhomogeneous_undetermined_coefficients', 'nth_linear_constant_coeff_variation_of_parameters', 'nth_linear_euler_eq_nonhomogeneous_variation_of_parameters', 'nth_algebraic_Integral', 'separable_Integral', '1st_exact_Integral', '1st_linear_Integral', 'Bernoulli_Integral', 'nth_linear_constant_coeff_variation_of_parameters_Integral', 'nth_linear_euler_eq_nonhomogeneous_variation_of_parameters_Integral')