Internal
problem
ID
[17491]
Book
:
Differential
equations.
An
introduction
to
modern
methods
and
applications.
James
Brannan,
William
E.
Boyce.
Third
edition.
Wiley
2015
Section
:
Chapter
4.
Second
order
linear
equations.
Section
4.2
(Theory
of
second
order
linear
homogeneous
equations).
Problems
at
page
226
Problem
number
:
6
Date
solved
:
Monday, March 31, 2025 at 04:15:39 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
With initial conditions
ode:=(x-2)*diff(diff(y(x),x),x)+diff(y(x),x)+(x-2)*tan(x)*y(x) = 0; ic:=y(3) = 1, D(y)(3) = 2; dsolve([ode,ic],y(x), singsol=all);
ode=(x-2)*D[y[x],{x,2}]+D[y[x],x]+(x-2)*Tan[x]*y[x]==0; ic={y[3]==1,Derivative[1][y][3]==2}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
Not solved
from sympy import * x = symbols("x") y = Function("y") ode = Eq((x - 2)*y(x)*tan(x) + (x - 2)*Derivative(y(x), (x, 2)) + Derivative(y(x), x),0) ics = {y(3): 1, Subs(Derivative(y(x), x), x, 3): 2} dsolve(ode,func=y(x),ics=ics)
ValueError : Couldnt solve for initial conditions