We solve the differential equation , where is a function of ; on an interval where and , express :
On this interval, the right side only depends on : the equation is homogeneous. With , it reads
Let , where is a function of : then , and the equation becomes , that is
is never zero: separate the variables,
Set , so . Since , using gives = , hence
Integrating both sides, with since : , where is an arbitrary real constant, chosen independently on each interval
Replace by :
On an interval where and , express :
On this interval, the right side only depends on : the equation is homogeneous. With , it reads
Let , where is a function of : then , and the equation becomes , that is
is never zero: separate the variables,
First take the factor outside the integral: =
Set , so . Since , using gives = , hence , so
Integrating both sides, with since : , where is an arbitrary real constant, chosen independently on each interval
Replace by :
▶Solution: