Learning Objectives
- Solve initial-value and boundary-value problems involving linear differential equations.
So far, we have been finding general solutions to differential equations. However, differential equations are often used to describe physical systems, and the person studying that physical system usually knows something about the state of that system at one or more points in time. For example, if a constant-coefficient differential equation is representing how far a motorcycle shock absorber is compressed, we might know that the rider is sitting still on his motorcycle at the start of a race, time [latex]t=t_0[/latex]. This means the system is at equilibrium, so [latex]y(t_0)=0[/latex], and the compression of the shock absorber is not changing, so [latex]y'(t_0)=0[/latex]. With these two initial conditions and the general solution to the differential equation, we can find the specific solution to the differential equation that satisfies both initial conditions. This process is known as solving an initial-value problem. (Recall that we discussed initial-value problems in Introduction to Differential Equations.) Note that second-order equations have two arbitrary constants in the general solution, and therefore we require two initial conditions to find the solution to the initial-value problem.
Sometimes we know the condition of the system at two different times. For example, we might know [latex]y(t_0)=y_0[/latex] and [latex]y(t_1)=y_1[/latex]. These conditions are called boundary conditions, and finding the solution to the differential equation that satisfies the boundary conditions is called solving a boundary-value problem.
Mathematicians, scientists, and engineers are interested in understanding the conditions under which an initial-value problem or a boundary-value problem has a unique solution. Although a complete treatment of this topic is beyond the scope of this text, it is useful to know that, within the context of constant-coefficient, second-order equations, initial-value problems are guaranteed to have a unique solution as long as two initial conditions are provided. Boundary-value problems, however, are not as well behaved. Even when two boundary conditions are known, we may encounter boundary-value problems with unique solutions, many solutions, or no solution at all.
Example: solving an initial-value problem
Solve the following initial-value problem: [latex]y''+3y'-4y=0[/latex], [latex]y(0)=1[/latex], [latex]y'(0)=-9[/latex].
try it
Solve the initial-value problem [latex]y''-3y'-10y=0[/latex], [latex]y(0)=0[/latex], [latex]y'(0)=7[/latex].
Watch the following video to see the worked solution to the above Try It
Example: solving an initial-value problem and graphing the solution
Solve the following initial-value problem and graph the solution:
[latex]y^{\prime\prime}+6y^\prime+13y=0, \ y(0)=0, \ y^\prime(0)=2[/latex].
try it
Solve the following initial-value problem and graph the solution: [latex]y''-2y'+10y=10=0[/latex], [latex]y(0)=2[/latex], [latex]y'(0)=-1[/latex].
Example: initial-value problem representing a spring-mass system
The following initial-value problem models the position of an object with mass attached to a spring. Spring-mass systems are examined in detail in Applications. The solution to the differential equation gives the position of the mass with respect to a neutral (equilibrium) position (in meters) at any given time. (Note that for spring-mass systems of this type, it is customary to define the downward direction as positive.)
[latex]y^{\prime\prime}+2y^\prime+y=0, \ y(0)=1, \ y^\prime(0)=0[/latex]
Solve the initial-value problem and graph the solution. What is the position of the mass at time [latex]t=2[/latex] sec? How fast is the mass moving at time [latex]t=1[/latex] sec? In what direction?
try it
Suppose the following initial-value problem models the position (in feet) of a mass in a spring-mass system at any given time. Solve the initial-value problem and graph the solution. What is the position of the mass at time [latex]t=0.3[/latex] sec? How fast is it moving at time [latex]t=0.1[/latex] sec? In what direction?
[latex]y^{\prime\prime}+14y^\prime+49y=0, \ y(0)=0, \ y^\prime(0)=1[/latex]
Example: solving a boundary-value problem
In Example “Solving Second-Order Equations with Constant Coefficients” part f. we solved the differential equation [latex]y''+16y=0[/latex] and found the general solution to be [latex]y(t)=c_1\cos4t+c_2\sin4t[/latex]. If possible, solve the boundary-value problem if the boundary conditions are the following:
- [latex]y(0)=0[/latex], [latex]y\left(\frac{\pi}4\right)=0[/latex]
- [latex]y(0)=1[/latex], [latex]y\left(\frac{\pi}8\right)=0[/latex]
- [latex]y\left(\frac{\pi}8\right)=0[/latex], [latex]y\left(\frac{3\pi}8\right)=0[/latex]