Internal
problem
ID
[1837]
Book
:
Elementary
differential
equations
with
boundary
value
problems.
William
F.
Trench.
Brooks/Cole
2001
Section
:
Chapter
5
linear
second
order
equations.
Section
5.7
Variation
of
Parameters.
Page
262
Problem
number
:
33
Date
solved
:
Monday, January 27, 2025 at 05:36:55 AM
CAS
classification
:
[[_2nd_order, _exact, _linear, _nonhomogeneous]]
With initial conditions
✓ Solution by Maple
Time used: 0.086 (sec). Leaf size: 67
dsolve([(x-1)^2*diff(y(x),x$2)+4*x*diff(y(x),x)+2*y(x)=2*x,y(0) = 0, D(y)(0) = -2],y(x), singsol=all)
✓ Solution by Mathematica
Time used: 0.205 (sec). Leaf size: 71
DSolve[{(x-1)^2*D[y[x],{x,2}]+4*x*D[y[x],x]+2*y[x]==2*x,{y[0]==0,Derivative[1][y][0] ==-2}},y[x],x,IncludeSingularSolutions -> True]