For a first-order linear ordinary differential equation , an integrating factor is . Here , soThe 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 isThere 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 rootsTaking 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
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 givesThe unique solution satisfying both boundary conditions is thereforeUniqueness 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
There are currently no matching articles.