Internal
problem
ID
[18607]
Book
:
Differential
equations.
An
introduction
to
modern
methods
and
applications.
James
Brannan,
William
E.
Boyce.
Third
edition.
Wiley
2015
Section
:
Chapter
2.
First
order
differential
equations.
Section
2.1
(Separable
equations).
Problems
at
page
44
Problem
number
:
21
Date
solved
:
Thursday, October 02, 2025 at 03:15:59 PM
CAS
classification
:
[_separable]
With initial conditions
ode:=diff(y(x),x) = (1+y(x)^2)*tan(2*x); ic:=[y(0) = -3^(1/2)]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=D[y[x],x]==(1+y[x]^2)*Tan[2*x]; ic={y[0]==-Sqrt[3]}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
{}
from sympy import * x = symbols("x") y = Function("y") ode = Eq((-y(x)**2 - 1)*tan(2*x) + Derivative(y(x), x),0) ics = {y(0): -sqrt(3)} dsolve(ode,func=y(x),ics=ics)