The characteristic equation of the linear ordinary differential equation is , with roots . A real pair of homogeneous solutions is therefore
Their Wronskian, with the convention , is
Thus the two functions are linearly independent throughout the interval and span its homogeneous solutions.
The homogeneous solution already has the prescribed endpoint values. Thus has zero boundary conditions and satisfies . The Green's function gives
Equivalently, splitting the integral at gives the explicit formula
Any difference between two solutions would be with zero endpoint values, forcing . The displayed solution is therefore unique.
Set . To construct the Green's function from a Dirac delta function, require and zero endpoint values. Away from , the homogeneous solutions satisfying the left and right boundary conditions are respectively
Write for and for . A discontinuity in would generate a derivative of the Dirac delta function, which is absent from the desired equation. Thus is continuous. Integrating that equation through then gives the jump condition
The resulting two equations are and . Since the Wronskian , they give
Both endpoint values vanish. At , subtracting the two first derivatives gives , verifying the sign and normalization of the Dirac delta function.
At , the nonzero homogeneous solution satisfies both zero boundary conditions. Thus the boundary value problem has a nontrivial kernel and cannot have an inverse for arbitrary forcing.
More directly, the adjoint operator has the zero-endpoint homogeneous solution . If an ordinary Green's function existed, the integration by parts identity would imply
But for . This contradiction rules out the Green's function for the unmodified operator. It is the Fredholm alternative obstruction.
For the positive coefficient of , setting gives the reduced equation , with general solution . A fast decaying homogeneous solution of is , placing the boundary layer at the left endpoint. Thus use the right boundary condition for the outer solution: implies
The dominant balance gives width . With the inner variable and , the exact rescaled equation is
At leading order, , so . The asymptotic matching condition sets , and sets . Therefore
The additive composite expansion has zero overlap to subtract. Its graph starts at one, decreases steeply over , and then stays close to zero; its initial slope is . The right endpoint discrepancy is exponentially small. The left panel of the figure below sketches this profile. A right-end inner expansion would instead contain a growing term and could not repair the left endpoint mismatch.
Rearrange as . The characteristic polynomial factors as , giving the homogeneous solutions . A particular polynomial solution obeys and . Hence
This is the full two-constant solution of the second-order linear differential equation.
For the linear differential operator , the exponential function is an eigenfunction: . Distinct give the two homogeneous solutions, while the method of undetermined coefficients supplies a particular solution at the distinct forcing exponent :
When all three exponents equal , write . The exponential shift rule for differential operators gives and . Thus . Two integrations give
The repeated characteristic root supplies and as homogeneous solutions; forcing at that same exponent needs the further factor.
The characteristic equation gives the complementary function . Write the forcing as . The method of undetermined coefficients gives for the first term. Because already belongs to the homogeneous solution, resonance in a differential equation requires a trial for the second; substitution gives . Therefore
The integrating factor is , giving . A quadratic particular solution for the polynomial forcing is , while the resonant exponential forcing contributes . Consequently
Substitution gives , and the free multiple of is the homogeneous solution.
The characteristic equation of the homogeneous linear differential equation is , giving the homogeneous solution . For the first forcing, a particular solution of the form gives , so
The initial conditions impose and , whence , . Thus the first solution is
For the second forcing, is already a homogeneous solution, so the usual exponential trial must be multiplied by . Substitution of the particular solution gives , hence . Now , and the initial conditions give , . Therefore the resonant solution is
The additional factor reflects resonance in a differential equation.
Two functions are linearly dependent if constants , not both zero, satisfy identically. Differentiating also gives . Since the determinant of these two equations is the nonzero Wronskian , both constants must vanish. Hence the two solutions are linearly independent.
Differentiating the Wronskian and substituting the homogeneous linear differential equation gives
Integrating proves Abel's identity:
For variation of parameters, impose on the proposed particular solution. Then , and substitution into the inhomogeneous differential equation leaves . Solving this two-by-two linear system gives
Arbitrary constants of integration merely add a homogeneous solution.
For the constant positive coefficient , take . Direct differentiation verifies that and solve the homogeneous linear differential equation; their Wronskian is . The requested integrands are
Taking yields
Thus grows with power one, whereas is bounded. Their combination simplifies to ; the final sine term is itself a homogeneous solution. The secular term is the response to resonance in a differential equation.
For the homogeneous solution, expand in the independent eigenvectors of . Each coefficient obeys , so the complementary function is
If is any particular integral, subtracting it from any other solution gives a homogeneous solution. Hence is the general solution. Complex-conjugate modes can be combined to produce real solutions when the forcing is real.
For a real two-by-two matrix, the characteristic polynomial is . Under the stated distinct-eigenvalue assumption, all nonzero homogeneous modes are purely oscillatory exactly when the eigenvalues are with . Their sum and product imply , . Conversely these trace and determinant conditions force those eigenvalues, so there is no exponential growth, decay or Jordan-block secular growth.
For the final specified initial-value problem, direct multiplication gives . The forcing vector satisfies , so the forcing is resonant and is a particular integral. The matrix exponential is
Since the resonant particular integral vanishes initially, the initial-value solution is
This complex solution is appropriate to the complex forcing as written. Taking real parts gives the corresponding solution for the real part of that forcing.
The integrating factor is , so . Integrating gives the general solution
The particular solution is only defined up to a homogeneous solution. Subtract from it, absorbing that multiple into the arbitrary constant. The same family can then be written
Holding fixed, the quotient tends to , the derivative of with respect to at . Thus the resonant family is . Direct differentiation gives , so it is the full general solution at resonance. This resonant exponential forcing in a first-order equation limit concerns a reparametrized family, not a fixed value of the original divergent constant . The initial condition gives , hence
Let and measure Lionel's fortune in unit stakes. This is gambler's ruin: the fortune moves by with probability and with probability , stopping at or . Let be the expected value of the absorption time starting at . It is finite: from any interior state, a run of wins or losses has a fixed positive probability of absorption within steps, giving a geometric bound on survival over successive blocks. First-step analysis therefore gives
For , the homogeneous solution of the recurrence is , and a particular solution is . Put . Imposing the two endpoint boundary conditions gives the expected duration of biased gambler's ruin
Consequently the expected number of games is
The denominator and numerator have matching signs, so this is positive. As a check its continuous limit at is , the expected duration of symmetric gambler's ruin.
Away from the impulse, the harmonic oscillator equation has a homogeneous solution. Before , the initial conditions select . The jump condition for an impulse requires continuity of and a unit jump in : a jump in would produce a derivative of the Dirac delta distribution, which is absent from the forcing, while integrating through the impulse gives .
Just before the impulse, and . Just afterwards, and , so uniqueness for the harmonic oscillator equation makes the subsequent solution identically zero. Equivalently the causal response is , with the Heaviside step function, and it cancels the original oscillation.
The solution is
The impulse cancellation of a harmonic oscillator produces a continuous graph with a corner at , followed by a horizontal zero line.
Transform in time and use the zero interior initial conditions. The Laplace transform of a derivative formula turns the wave equation into . Its transformed endpoint conditions are and . A homogeneous solution satisfying the right condition is a multiple of ; the left condition fixes that multiple. Thus, for ,
Here and the denominator has no zeros in this half-plane. The initial-boundary corner at is deliberately discontinuous: the applied step launches propagating fronts, so one should not demand a globally smooth solution across them.
Write , and . The first correction in the inner expansion satisfies . Direct differentiation verifies that is a particular solution. Adding the constant and error function homogeneous solutions gives .
The left boundary condition forces . Re-expanding the outer expansion at gives
Therefore , with no constant term in its large- overlap. Since and , this sets . Thus the required half-order correction is
It vanishes at zero and has the correct linear overlap. Keeping this term is essential even though the outer solution has no correction of that order.
An integrating factor explains the second hint and the first-order inner calculation. For
multiplication by gives . The term already produces , and integrating the remaining terms twice gives , in terms of the Gaussian drift primitives. The homogeneous solutions are a constant and the error function. Hence
For the piecewise forcing in the inner problem, replaces and provides the continuously matched particular solution for . The coefficients and then account for the forcing.
The homogeneous solution is
For the constant and forcing terms, a particular solution is
Indeed, applying multiplies the coefficient by . Thus
The term only changes the definition of at this order, so one may set .