Internal
problem
ID
[1823]
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
:
19
Date
solved
:
Friday, October 03, 2025 at 01:20:33 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=sin(x)*diff(diff(y(x),x),x)+(2*sin(x)-cos(x))*diff(y(x),x)+(sin(x)-cos(x))*y(x) = exp(-x); dsolve(ode,y(x), singsol=all);
ode=Sin[x]*D[y[x],{x,2}]+(2*Sin[x]-Cos[x])*D[y[x],x]+(Sin[x]-Cos[x])*y[x]==Exp[-x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((sin(x) - cos(x))*y(x) + (2*sin(x) - cos(x))*Derivative(y(x), x) + sin(x)*Derivative(y(x), (x, 2)) - exp(-x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : The given ODE Derivative(y(x), x) - (-sqrt(2)*y(x)*exp(x)*cos(x + pi/4) + exp(x)*sin(x)*Derivative(y(x), (x, 2)) - 1)*exp(-x)/(-2*sin(x) + cos(x)) cannot be solved by the factorable group method