Internal
problem
ID
[9992]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
1.0
Problem
number
:
6
Date
solved
:
Monday, March 09, 2026 at 02:43:00 AM
CAS
classification
:
[_quadrature]
0.150 (sec)
Entering first order ode quadrature solver
Since the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).
| | |
| Direction field \(y^{\prime } = 1+x\) | Isoclines for \(y^{\prime } = 1+x\) |
Summary of solutions found
0.200 (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 y}= \frac {\partial N}{\partial x}\), then the ODE is exact The following equations are now set up to solve for the function \(\phi \left (x,y\right )\)
Integrating (1) w.r.t. \(x\) gives
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 equation (2) says that \(\frac {\partial \phi }{\partial y} = 1\). Therefore equation (4) becomes
Solving equation (5) for \( f'(y)\) gives
Integrating the above 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
Solving for \(y\) gives
| | |
| Direction field \(y^{\prime } = 1+x\) | Isoclines for \(y^{\prime } = 1+x\) |
Summary of solutions found
ode:=diff(y(x),x) = x+1; dsolve(ode,y(x), singsol=all);
Maple trace
Methods for first order ODEs: --- Trying classification methods --- trying a quadrature <- quadrature successful
Maple step by step
ode=D[y[x],x]== 1+x; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x + Derivative(y(x), x) - 1,0) ics = {} dsolve(ode,func=y(x),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=y(x)) ('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')