Internal
problem
ID
[8730]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
1.0
Problem
number
:
18
Date
solved
:
Wednesday, March 05, 2025 at 06:14:10 AM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=diff(y(x),x) = ((1+y(x))/y(x)^2)^(1/2); ic:=y(0) = 1; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]==Sqrt[ (1+y[x])/y[x]^2]; ic=y[0]==1; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-sqrt((y(x) + 1)/y(x)**2) + Derivative(y(x), x),0) ics = {y(0): 1} dsolve(ode,func=y(x),ics=ics)