Chapter 18: Problem 450
Solve the following initial value problem: $$ \begin{aligned} &\ddot{x}+x=3 \\ &x(\pi)=1, \dot{x}(\pi)=2 \end{aligned} $$
Short Answer
Expert verified
The final solution to the given initial value problem is \(x(t) = 2\cos(t) - 2\sin(t) + 3\).
Step by step solution
01
Identify the type of differential equation
The given differential equation is:
\[\ddot{x} + x = 3\]
This is a linear second-order ordinary differential equation with constant coefficients.
02
Solve the homogeneous equation
First, consider the homogeneous equation:
\[\ddot{x} + x = 0\]
The characteristic equation is given as:
\[r^2 + 1 = 0\]
Solving for r, we get complex roots:
\[r = \pm i\]
The general solution for the homogeneous equation is given by:
\[x_h(t) = A\cos(t) + B\sin(t)\]
03
Find a particular solution for the non-homogeneous equation
In this case, since the right-hand side of the given non-homogeneous equation is a constant, we try a particular solution of the form:
\[x_p(t) = C\]
where C is a constant.
Taking the second derivative, for this function we get:
\[\ddot{x_p}(t) = 0\]
Now, substituting this into the given non-homogeneous equation, we have:
\[0 + C = 3\]
\[C = 3\]
Thus, the particular solution is:
\[x_p(t) = 3\]
04
Add the solutions from steps 2 and 3
The general solution for the given non-homogeneous equation is the sum of the solutions from steps 2 and 3:
\[x(t) = x_h(t) + x_p(t) = A\cos(t) + B\sin(t) + 3\]
05
Apply the initial conditions and solve for the constants
Now, we use the given initial conditions to solve for A and B:
\[x(\pi) = 1\]
\[\dot{x}(\pi) = 2\]
Plugging in the initial condition for x, we get:
\[1 = A\cos(\pi) + B\sin(\pi) + 3\]
\[1 = -A + 0 + 3\]
\[A = 2\]
To apply the initial condition for \(\dot{x}\), we first need to find the derivative of x(t):
\[\dot{x}(t) = -2\sin(t) + B\cos(t)\]
Now, we plug in the initial condition for \(\dot{x}\):
\[2 = -2\sin(\pi) + B\cos(\pi)\]
\[2 = 0 + (-B)\]
Thus, \(B = -2\).
The final solution is:
\[x(t) = 2\cos(t) - 2\sin(t) + 3\]
Unlock Step-by-Step Solutions & Ace Your Exams!
-
Full Textbook Solutions
Get detailed explanations and key concepts
-
Unlimited Al creation
Al flashcards, explanations, exams and more...
-
Ads-free access
To over 500 millions flashcards
-
Money-back guarantee
We refund you if you fail your exam.
Over 30 million students worldwide already upgrade their learning with 91Ó°ÊÓ!
Key Concepts
These are the key concepts you need to understand to accurately answer the question.
Linear Second-Order Differential Equation
A linear second-order differential equation is one where the highest derivative is of second order, and the equation is linear in nature. This particular type is identified by the form \( ax'' + bx' + cx = f(t) \), where \( a, b, \) and \( c \) are constants, and \( f(t) \) is some function of \( t \).In our example, the equation is \( \ddot{x} + x = 3 \), which clearly fits this form:- The second derivative \( \ddot{x} \) relates linearly.- The term \( x \) is the dependent variable.- It's in second-order without a first derivative term present, making it linear in both variables. Remember that understanding the structure of the equation is key to solving it effectively.
Homogeneous Equation Solution
For solving a linear second-order differential equation, it's essential first to handle the associated homogeneous equation. This is done by setting the right-hand side of the differential equation to zero. Thus, for \( \ddot{x} + x = 3 \), the homogeneous part is \( \ddot{x} + x = 0 \).This expressed equation is tackled through its characteristic equation which, in this case, becomes \( r^2 + 1 = 0 \). By solving this, we arrive at the roots \( r = \pm i \), which are complex. For these specific roots, the solution is typically expressed as:
- \( x_h(t) = A\cos(t) + B\sin(t) \)
Particular Solution
Finding a particular solution involves identifying a specific solution to the non-homogeneous differential equation, which includes the function on the right side of the equation. In our example, \( \ddot{x} + x = 3 \), this accounts for the constant \( 3 \).Given that the non-homogeneous part is a constant (\( 3 \)), it's logical to try a solution of the constant form \( x_p(t) = C \). Taking the derivatives of this form, the result remains 0, simplifying substitution back into the original equation:
- \( 0 + C = 3 \)
Initial Conditions in Differential Equations
The initial conditions in this problem - given as \( x(\pi) = 1 \) and \( \dot{x}(\pi) = 2 \) - are crucial for determining the particular values of constants \( A \) and \( B \) within the general solution. They transform the general solution into a specific one tailored to the problem's context.Starting with the general solution \( x(t) = A\cos(t) + B\sin(t) + 3 \), substitute \( t = \pi \) to adhere to the initial condition:
- \( 1 = -A + 3 \)
- \( 2 = -B \)