For a first-order linear ordinary differential equation , an integrating factor is . Here , so
The sine is positive on the specified interval, so this integrating factor never vanishes there. Any nonzero constant multiple is equally suitable.
Multiplication by the integrating factor and the product rule turn the left side into a single derivative:
Using integration by substitution gives . Therefore the general solution is
There is one arbitrary constant of integration, as expected for a first-order ordinary differential equation.
Insert the exponential function trial into the homogeneous linear differential equation. Its characteristic equation is , with polynomial roots
Taking real combinations of the two complex exponential solutions produces the general solution
Use the method of undetermined coefficients with a particular solution . The differential operator multiplies this exponential function by . Matching the forcing coefficient gives , hence
A linear polynomial trial has and . Substituting gives , so and . Thus a particular solution is
The superposition principle gives the general solution as :
The first boundary condition gives . At , the cosine vanishes and the sine equals . Comparing with the second boundary condition then gives
The unique solution satisfying both boundary conditions is therefore
Uniqueness follows because a homogeneous solution zero at both endpoints would have from the first and from the second.

Articles by others on the same topic (0)

There are currently no matching articles.