An initial-value problem picks out one solution from a whole family by its starting values. The Laplace transform replaces each derivative by multiplication by , and the starting values have to survive that step, or the algebra would describe the wrong member of the family. This lesson shows how integration by parts keeps them, as known terms beside the unknown, and then solves a second-order problem from start to finish. Throughout, is a function of time , primes mean derivatives with respect to , , and is a complex number.
Key terms
Integration by parts
Definition Let be continuous on and differentiable except at finitely many points, with piecewise continuous. For every complex ,
This is integration by parts with and , carried out on each piece between the points where fails to exist. The boundary terms at those interior points cancel because is continuous. If instead has a jump at a point in , the terms there do not cancel, and the right side gains the extra term .
In plain words Moving the derivative from onto the weight costs a boundary term. Differentiating the weight brings out the factor , and the boundary term keeps the values of at the two ends of the interval.
Example The switched signal with for and for has wherever exists, so the left side is . For the formula without a jump term would give
which is wrong. The jump at has size , and the extra term restores the correct value . Continuity of is a real hypothesis.
Laplace transform of a derivative
Definition Let be continuous on and of exponential order , so for , and let be piecewise continuous on . Then exists for and
If also is continuous and of exponential order , and is piecewise continuous, then for
The first rule is the integration by parts above as , because for , and this bound tends to . The second applies the first rule to . In the same way, if are continuous and of exponential order and is piecewise continuous, then for .
In plain words Differentiating multiplies its Laplace transform by and subtracts the starting value. Each further derivative brings one more starting value with it.
Example Take , with for , and . The rules predict
and
Both agree with the direct calculation, since and , whose Laplace transforms are and .
Initial-value terms
Definition The initial-value terms are the known quantities built from that the derivative rules attach to . For the expression with constants and , and meeting the hypotheses of the second-derivative rule,
The initial data enter the calculation only through these terms. Dropping them gives the Laplace transform of the solution with and , which is in general a different function.
In plain words The derivative rules leave behind a few starting values. They are known numbers, so they move to the right side of the equation, where they act like an extra input supplied by the initial state.
Example Consider with and . On a half-plane where all of these Laplace transforms exist, the terms become
The initial-value terms are and . Writing each term out before collecting anything keeps every sign easy to check.
Algebraic equation for the Laplace transform
Definition Consider with constants and , initial values and , and a piecewise continuous forcing of exponential order with Laplace transform . Applying to both sides gives, on a half-plane where all the Laplace transforms exist,
where
The polynomial is the characteristic polynomial of the equation, written in the variable , and collects the initial-value terms. For large enough , and
The first part is the Laplace transform of the response that starts from rest, and the second is that of the free motion from the initial state with no forcing.
In plain words After the Laplace transform, the differential equation becomes one linear equation for the unknown function . Solving it means dividing by the characteristic polynomial, and the answer splits into a part caused by the input and a part caused by the starting state.
Example For the problem above, and . Collecting terms gives , so
The two parts are
which invert to , the solution that starts from rest, and , the free motion with and .
Initial-value problems by Laplace transform
Definition Consider for , with constants and , data and , and piecewise continuous and of exponential order. Then the solution and its derivative are continuous and of exponential order, so the derivative rules apply. First take the Laplace transform of every term and keep the initial-value terms. Then solve the algebraic equation for , split by partial fractions and invert each piece. Finally check the result in the differential equation and in both initial conditions. The answer is the solution for , and when has jumps, jumps there too and the equation holds except at those points. Data given at a time need the shift first. The method relies on constant coefficients and linearity. A coefficient that depends on brings in derivatives with respect to , as in , and a nonlinear term has no rule of this kind, since is not in general. For , for example, while .
In plain words Take the Laplace transform, solve for , split it into table entries and invert. The initial values are used at the first step, so no constants are left to fit at the end, and a final check catches algebra slips.
Example For the problem above, write . Multiplying by each factor and evaluating at its zero gives , and , so for
To check it, . The derivatives are , so , and . In the coefficients of add to , those of add to , and the constant is . The poles , and show that is the Laplace transform of for . As both exponentials decay and , the level at which balances the constant input . Since for , the solution rises from toward without overshooting.
Check yourself
- Solve with by the Laplace transform.
Show the answer
The derivative rule gives , so and
The coefficients come from at and at . So for . As a check, , and with the sum .
- For with and , a classmate uses and gets . Find the error and solve the problem correctly.
Show the answer
The correct rule is , so the factor on was lost. The wrong rule gives , hence and the function , which is at instead of . Checking the initial condition exposes the mistake. With the correct rule, , so
and . It satisfies , and .
- Solve with and .
Show the answer
The terms give , so
For the first fraction write . At the coefficient is , and then forces and . Hence
and for , and is its Laplace transform for . As a check, , gives , and , so .