Internal
problem
ID
[10262] Book
:
First
order
enumerated
odes Section
:
section
1 Problem
number
:
4 Date
solved
:
Monday, March 09, 2026 at 03:26:12 AM CAS
classification
:
[_quadrature]
2.1.4.1 Solved using first_order_ode_quadrature
0.114 (sec)
Entering first order ode quadrature solver
\begin{align*}
y^{\prime }&=1 \\
\end{align*}
Since the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).
\begin{align*} \int {dy} &= \int {1\, dx}\\ y &= x + c_1 \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 y}= \frac {\partial N}{\partial x}\), then the ODE is exactThe following equations are now set up to solve for the function \(\phi \left (x,y\right )\)
Where \(f(y)\) is used for the constant of integration since \(\phi \) is a function of both \(x\) and \(y\). Taking derivative
of equation (3) w.r.t \(y\) 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
\[
c_1 = -x +y
\]
Solving for \(y\) gives
\begin{align*}
y &= x +c_1 \\
\end{align*}
Figure 2.4: Phase plot for \(y^{\prime } = 1\)
Summary of solutions found
\begin{align*}
y &= x +c_1 \\
\end{align*}
2.1.4.3 Solved using first_order_ode_homog_type_D2
0.234 (sec)
Entering first order ode homog type D2 solver
\begin{align*}
y^{\prime }&=1 \\
\end{align*}
Applying change of variables \(y = u \left (x \right ) x\), then the ode becomes
Taking the exponential of both sides the solution becomes
\[
\frac {1}{-u \left (x \right )+1} = c_1 x
\]
We now need to find the singular solutions, these are found by finding for what values \(g(u)\) is zero,
since we had to divide by this above. Solving \(g(u)=0\) or
\[
-u +1=0
\]
for \(u \left (x \right )\) gives
\begin{align*} u \left (x \right )&=1 \end{align*}
Now we go over each such singular solution and check if it verifies the ode itself and any initial
conditions given. If it does not then the singular solution will not be used.
Therefore the solutions found are
\begin{align*}
\frac {1}{-u \left (x \right )+1} &= c_1 x \\
u \left (x \right ) &= 1 \\
\end{align*}
Converting \(\frac {1}{-u \left (x \right )+1} = c_1 x\) back to \(y\) gives
\begin{align*} \frac {1}{-\frac {y}{x}+1} = c_1 x \end{align*}
Converting \(u \left (x \right ) = 1\) back to \(y\) gives
\begin{align*} y = x \end{align*}
Simplifying the above gives
\begin{align*}
\frac {x}{x -y} &= c_1 x \\
y &= x \\
\end{align*}
Solving for \(y\) gives
\begin{align*}
y &= x \\
y &= \frac {c_1 x -1}{c_1} \\
\end{align*}
Figure 2.5: Phase plot for \(y^{\prime } = 1\)
Summary of solutions found
\begin{align*}
y &= x \\
y &= \frac {c_1 x -1}{c_1} \\
\end{align*}
2.1.4.4 Solved using first_order_ode_homog_type_G
0.217 (sec)
Entering first order ode homog type G solver
\begin{align*}
y^{\prime }&=1 \\
\end{align*}
Multiplying the right side of the ode, which is \(1\) by \(\frac {x}{y}\) gives