Internal
problem
ID
[6111]
Book
:
Mathematical
Methods
in
the
Physical
Sciences.
third
edition.
Mary
L.
Boas.
John
Wiley.
2006
Section
:
Chapter
8,
Ordinary
differential
equations.
Section
3.
Linear
First-Order
Equations.
page
403
Problem
number
:
7
Date
solved
:
Sunday, March 30, 2025 at 10:39:04 AM
CAS
classification
:
[_linear]
ode:=(exp(x)+1)*diff(y(x),x)+2*exp(x)*y(x) = (exp(x)+1)*exp(x); dsolve(ode,y(x), singsol=all);
ode=(1+Exp[x])*D[y[x],x]+2*Exp[x]*y[x]==(1+Exp[x])*Exp[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((-exp(x) - 1)*exp(x) + (exp(x) + 1)*Derivative(y(x), x) + 2*y(x)*exp(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)