Internal
problem
ID
[6095]
Book
:
Mathematical
Methods
in
the
Physical
Sciences.
third
edition.
Mary
L.
Boas.
John
Wiley.
2006
Section
:
Chapter
8,
Ordinary
differential
equations.
Section
2.
Separable
equations.
page
398
Problem
number
:
3
Date
solved
:
Sunday, March 30, 2025 at 10:38:28 AM
CAS
classification
:
[_separable]
With initial conditions
ode:=diff(y(x),x)*sin(x) = y(x)*ln(y(x)); ic:=y(1/3*Pi) = exp(1); dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]*Sin[x]==y[x]*Log[y[x]]; ic={y[Pi/3]==Exp[1]}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-y(x)*log(y(x)) + sin(x)*Derivative(y(x), x),0) ics = {y(pi/3): E} dsolve(ode,func=y(x),ics=ics)