Internal
problem
ID
[18550]
Book
:
Elementary
Differential
Equations.
By
Thornton
C.
Fry.
D
Van
Nostrand.
NY.
First
Edition
(1929)
Section
:
Chapter
IV.
Methods
of
solution:
First
order
equations.
section
32.
Problems
at
page
89
Problem
number
:
2
Date
solved
:
Saturday, February 22, 2025 at 09:25:19 PM
CAS
classification
:
[_rational, _dAlembert]
Solve
Solving for the derivative gives these ODE’s to solve
Now each of the above is solved separately.
Solving Eq. (1)
Let \(p=y^{\prime }\) the ode becomes
Solving for \(y\) from the above results in
This has the form
Where \(f,g\) are functions of \(p=y'(x)\). The above ode is dAlembert ode which is now solved.
Taking derivative of (*) w.r.t. \(x\) gives
Comparing the form \(y=x f + g\) to (1A) shows that
Hence (2) becomes
The singular solution is found by setting \(\frac {dp}{dx}=0\) in the above which gives
Solving the above for \(p\) results in
Substituting these in (1A) and keeping singular solution that verifies the ode gives
The general solution is found when \( \frac { \mathop {\mathrm {d}p}}{\mathop {\mathrm {d}x}}\neq 0\). From eq. (2A). This results in
Inverting the above ode gives
This ODE is now solved for \(x \left (p \right )\). The integrating factor is
Integrating gives
Now we need to eliminate \(p\) between the above solution and (1A). The first method is to solve for \(p\) from Eq. (1A) and substitute the result into Eq. (5). The Second method is to solve for \(p\) from Eq. (5) and substitute the result into (1A).
Unable to solve for \(p\) from Eq(5). Will use the first method. Solving for \(p\) from Eq. (1A) gives
Substituting the above in the solution for \(x\) in Eq. (5) gives
We now need to find the singular solutions, these are found by finding for what values \((\frac {-1+\sqrt {y x +1}}{x})\) is zero. These give
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.
The solution \(y = 0\) satisfies the ode and initial conditions.
Solving Eq. (2)
Let \(p=y^{\prime }\) the ode becomes
Solving for \(y\) from the above results in
This has the form
Where \(f,g\) are functions of \(p=y'(x)\). The above ode is dAlembert ode which is now solved.
Taking derivative of (*) w.r.t. \(x\) gives
Comparing the form \(y=x f + g\) to (1A) shows that
Hence (2) becomes
The singular solution is found by setting \(\frac {dp}{dx}=0\) in the above which gives
No valid singular solutions found.
The general solution is found when \( \frac { \mathop {\mathrm {d}p}}{\mathop {\mathrm {d}x}}\neq 0\). From eq. (2A). This results in
Inverting the above ode gives
This ODE is now solved for \(x \left (p \right )\). The integrating factor is
Integrating gives
Now we need to eliminate \(p\) between the above solution and (1A). The first method is to solve for \(p\) from Eq. (1A) and substitute the result into Eq. (5). The Second method is to solve for \(p\) from Eq. (5) and substitute the result into (1A).
Unable to solve for \(p\) from Eq(5). Will use the first method. Solving for \(p\) from Eq. (1A) gives
Substituting the above in the solution for \(x\) in Eq. (5) gives
`Methods for first order ODEs: -> Solving 1st order ODE of high degree, 1st attempt trying 1st order WeierstrassP solution for high degree ODE trying 1st order WeierstrassPPrime solution for high degree ODE trying 1st order JacobiSN solution for high degree ODE trying 1st order ODE linearizable_by_differentiation trying differential order: 1; missing variables trying dAlembert <- dAlembert successful`
Solving time : 0.017
(sec)
Leaf size : 65
dsolve(x*diff(y(x),x)^2-y(x)+2*diff(y(x),x) = 0,y(x),singsol=all)
Solving time : 12.594
(sec)
Leaf size : 50
DSolve[{x*D[y[x],x]^2-y[x]+2*D[y[x],x]==0,{}},y[x],x,IncludeSingularSolutions->True]
Solving time : 0.000
(sec)
Leaf size : 0
Python version: 3.13.1 (main, Dec 4 2024, 18:05:56) [GCC 14.2.1 20240910] Sympy version 1.13.3
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*Derivative(y(x), x)**2 - y(x) + 2*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : The given ODE Derivative(y(x), x) - (sqrt(x*y(x) + 1) - 1)/x cannot be solved by the factorable group method