Internal
problem
ID
[20044]
Book
:
Introductory
Course
On
Differential
Equations
by
Daniel
A
Murray.
Longmans
Green
and
Co.
NY.
1924
Section
:
Chapter
II.
Equations
of
the
first
order
and
of
the
first
degree.
Exercises
at
page
27
Problem
number
:
Ex.
4
Date
solved
:
Thursday, October 02, 2025 at 05:16:02 PM
CAS
classification
:
[_linear]
ode:=(1+x)*diff(y(x),x)-n*y(x) = exp(x)*(1+x)^(n+1); dsolve(ode,y(x), singsol=all);
ode=(x+1)*D[y[x],x]-n*y[x]==Exp[x]*(x+1)^(n+1); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") n = symbols("n") y = Function("y") ode = Eq(-n*y(x) + (x + 1)*Derivative(y(x), x) - (x + 1)**(n + 1)*exp(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)