Internal
problem
ID
[19676] 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
:
Thursday, December 11, 2025 at 01:41:36 PM CAS
classification
:
[_exact, _rational, [_1st_order, `_with_symmetry_[F(x),G(x)]`], [_Abel, `2nd type`, `class A`]]
2.1.18.1 Solved using first_order_ode_exact
0.093 (sec)
Entering first order ode exact solver
\begin{align*}
2 t +3 x+\left (3 t -x\right ) x^{\prime }&=t^{2} \\
\end{align*}
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
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
Since \(\frac {\partial M}{\partial x}= \frac {\partial N}{\partial t}\), then the ODE is exactThe following equations are now set up to solve for the function \(\phi \left (t,x\right )\)
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
Where \(c_1\)
is constant of integration. Substituting result found above for \(f(x)\) into equation (3) gives \(\phi \)
\[
\phi = -\frac {t \left (t^{2}-3 t -9 x \right )}{3}-\frac {x^{2}}{2}+ c_1
\]
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
\[
c_1 = -\frac {t \left (t^{2}-3 t -9 x \right )}{3}-\frac {x^{2}}{2}
\]
Simplifying the above gives
\begin{align*}
-\frac {t^{3}}{3}+3 x t +t^{2}-\frac {x^{2}}{2} &= c_1 \\
\end{align*}
Solving for \(x\) gives
\begin{align*}
x &= 3 t -\frac {\sqrt {-6 t^{3}+99 t^{2}-18 c_1}}{3} \\
x &= 3 t +\frac {\sqrt {-6 t^{3}+99 t^{2}-18 c_1}}{3} \\
\end{align*}
Figure 2.26: Slope field \(2 t +3 x+\left (3 t -x\right ) x^{\prime } = t^{2}\)
Summary of solutions found
\begin{align*}
x &= 3 t -\frac {\sqrt {-6 t^{3}+99 t^{2}-18 c_1}}{3} \\
x &= 3 t +\frac {\sqrt {-6 t^{3}+99 t^{2}-18 c_1}}{3} \\
\end{align*}
Entering first order ode abel second kind solver
\begin{align*}
2 t +3 x+\left (3 t -x\right ) x^{\prime }&=t^{2} \\
\end{align*}
2.1.18.2 Solved using first_order_ode_abel_second_kind_case_5
0.038 (sec)
Figure 2.27: Slope field \(2 t +3 x+\left (3 t -x\right ) x^{\prime } = t^{2}\)
Figure 2.28: Slope field \(2 t +3 x+\left (3 t -x\right ) x^{\prime } = t^{2}\)
Summary of solutions found
\begin{align*}
x &= 3 t -\frac {\sqrt {-6 t^{3}+99 t^{2}+9 c_1}}{3} \\
x &= 3 t +\frac {\sqrt {-6 t^{3}+99 t^{2}+9 c_1}}{3} \\
\end{align*}
2.1.18.3 ✓Maple. Time used: 0.003 (sec). Leaf size: 51
\begin{align*}
x &= 3 t -\frac {\sqrt {-6 t^{3}+99 t^{2}+18 c_1}}{3} \\
x &= 3 t +\frac {\sqrt {-6 t^{3}+99 t^{2}+18 c_1}}{3} \\
\end{align*}
Maple trace
Methodsfor first order ODEs:---Trying classification methods ---tryinga quadraturetrying1st order lineartryingBernoullitryingseparabletryinginverse lineartryinghomogeneous types:tryingChinidifferentialorder: 1; looking for linear symmetriestryingexact<-exact successful