Internal
problem
ID
[9073]
Book
:
Second
order
enumerated
odes
Section
:
section
1
Problem
number
:
2
Date
solved
:
Friday, February 21, 2025 at 09:07:40 PM
CAS
classification
:
[[_2nd_order, _quadrature]]
Solve
Time used: 0.194 (sec)
This is missing independent variable second order ode. Solved by reduction of order by using substitution which makes the dependent variable \(y\) an independent variable. Using
Then
Hence the ode becomes
Which is now solved as first order ode for \(p(y)\).
Factoring the ode gives these factors
Now each of the above equations is solved in turn.
Solving equation (1)
Solving for \(p\) from
Solving gives \(p = 0\)
Solving equation (2)
Solving for the derivative gives these ODE’s to solve
Now each of the above is solved separately.
Solving Eq. (1)
Since the ode has the form \(p^{\prime }=f(y)\), then we only need to integrate \(f(y)\).
Solving Eq. (2)
Since the ode has the form \(p^{\prime }=f(y)\), then we only need to integrate \(f(y)\).
For solution (1) found earlier, since \(p=y^{\prime }\) then we now have a new first order ode to solve which is
Since the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).
For solution (2) found earlier, since \(p=y^{\prime }\) then we now have a new first order ode to solve which is
Since the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).
For solution (3) found earlier, since \(p=y^{\prime }\) then we now have a new first order ode to solve which is
Since the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.130 (sec)
This is second order ode with missing dependent variable \(y\). Let
Then
Hence the ode becomes
Which is now solved for \(u(x)\) as first order ode.
Solving for the derivative gives these ODE’s to solve
Now each of the above is solved separately.
Solving Eq. (1)
Since the ode has the form \(u^{\prime }\left (x \right )=f(x)\), then we only need to integrate \(f(x)\).
Solving Eq. (2)
Since the ode has the form \(u^{\prime }\left (x \right )=f(x)\), then we only need to integrate \(f(x)\).
In summary, these are the solution found for \(u(x)\)
For solution \(u \left (x \right ) = c_1\), since \(u=y^{\prime }\) then we now have a new first order ode to solve which is
Since the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).
For solution \(u \left (x \right ) = c_2\), since \(u=y^{\prime }\) then we now have a new first order ode to solve which is
Since the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).
In summary, these are the solution found for \((y)\)
Will add steps showing solving for IC soon.
Summary of solutions found
`Methods for second order ODEs: --- Trying classification methods --- trying a quadrature <- quadrature successful`
Solving time : 0.022
(sec)
Leaf size : 9
dsolve(diff(diff(y(x),x),x)^2 = 0,y(x),singsol=all)
Solving time : 0.003
(sec)
Leaf size : 12
DSolve[{(D[y[x],{x,2}])^2==0,{}},y[x],x,IncludeSingularSolutions->True]
Solving time : 0.038
(sec)
Leaf size : 7
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(Derivative(y(x), (x, 2))**2,0) ics = {} dsolve(ode,func=y(x),ics=ics)
Eq(y(x), C1 + C2*x)