Internal
problem
ID
[8777]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
1.0
Problem
number
:
65
Date
solved
:
Friday, February 21, 2025 at 08:30:26 PM
CAS
classification
:
[[_2nd_order, _quadrature]]
Solve
Factoring the ode gives these factors
Now each of the above equations is solved in turn.
Solving equation (1)
Solving for \(y\) from
Solving gives \(y = 0\)
Solving equation (2)
Time used: 0.075 (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)
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)\).
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.001
(sec)
Leaf size : 13
dsolve(y(x)^2*diff(diff(y(x),x),x) = 0,y(x),singsol=all)
Solving time : 0.003
(sec)
Leaf size : 17
DSolve[{y[x]^2*D[y[x],{x,2}]==0,{}},y[x],x,IncludeSingularSolutions->True]
Solving time : 0.150
(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(y(x)**2*Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)
Eq(y(x), C1 + C2*x)