Internal
problem
ID
[18168]
Book
:
A
book
of
problems
in
ordinary
differential
equations.
M.L.
KRASNOV,
A.L.
KISELYOV,
G.I.
MARKARENKO.
MIR,
MOSCOW.
1983
Section
:
Section
12.
Miscellaneous
problems.
Exercises
page
93
Problem
number
:
289
Date
solved
:
Thursday, October 02, 2025 at 03:06:39 PM
CAS
classification
:
[_separable]
ode:=diff(y(x),x)+cos(1/2*x+1/2*y(x)) = cos(1/2*x-1/2*y(x)); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+Cos[(x+y[x])/2]==Cos[(x-y[x])/2]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-cos(x/2 - y(x)/2) + cos(x/2 + y(x)/2) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)