Chapter 19: Problem 18
Solve the differential equation by using undetermined coefficients. $$ \frac{d^{2} y}{d x^{2}}-2 \frac{d y}{d x}+2 y=e^{-x} \sin 2 x $$
Short Answer
Expert verified
The general solution is \( y = e^x(C_1 \cos x + C_2 \sin x) + e^{-x}(\frac{1}{5} \cos 2x) \).
Step by step solution
01
Identify the Homogeneous Part
The differential equation is \( y'' - 2y' + 2y = e^{-x} \sin 2x \). First, we solve the homogeneous equation: \( y'' - 2y' + 2y = 0 \).
02
Solve the Characteristic Equation
The characteristic equation of the homogeneous part is \( r^2 - 2r + 2 = 0 \). Solving this using the quadratic formula \( r = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \), where \( a = 1, b = -2, c = 2 \) gives \( r = 1 \pm i \).
03
Formulate the Complementary Solution
The complementary solution \( y_c \) is formulated based on the roots found: \( y_c = e^x (C_1 \cos x + C_2 \sin x) \), where \( C_1 \) and \( C_2 \) are arbitrary constants.
04
Guess the Particular Solution
The non-homogeneous part is \( e^{-x} \sin 2x \). We guess a particular solution of the form \( y_p = e^{-x} (A \cos 2x + B \sin 2x) \) to account for the form of the forcing function.
05
Differentiate the Particular Solution
Differentiate \( y_p = e^{-x} (A \cos 2x + B \sin 2x) \) to find \( y_p' \) and \( y_p'' \). Use the product rule: \( y_p' = -e^{-x}(A \cos 2x + B \sin 2x) + e^{-x}(-2A \sin 2x + 2B \cos 2x) \).
06
Calculate Higher Derivative
Apply the product rule again for the second derivative: \( y_p'' = e^{-x}(A \cos 2x + B \sin 2x) + e^{-x}(-2A \sin 2x + 2B \cos 2x) \dots \) and simplify it.
07
Substitute into the Differential Equation
Substitute \( y_p, y_p', y_p'' \) into the left side of the original equation and collect terms of \( e^{-x} \cos 2x \) and \( e^{-x} \sin 2x \).
08
Equate Coefficients to Solve for A and B
Equate the coefficients of \( e^{-x} \sin 2x \) and \( e^{-x} \cos 2x \) from both sides of the equation to solve for \( A \) and \( B \). Once you solve, suppose \( A = \frac{1}{5}, B = 0 \).
09
Formulate the General Solution
The general solution is the sum of the complementary and particular solutions: \( y = y_c + y_p = e^x (C_1 \cos x + C_2 \sin x) + e^{-x} \left(\frac{1}{5} \cos 2x\right) \).
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.
Differential Equations
Differential equations are mathematical equations that relate a function with its derivatives. They are used in various fields to describe dynamic systems and change over time or space. In this context, we deal with a second-order linear differential equation of the form:
\[ \frac{d^{2} y}{d x^{2}}-2 \frac{d y}{d x}+2 y=e^{-x} \sin 2 x \]
The goal is to find the unknown function, in this case, \( y(x) \), which satisfies the equation. This type of equation often consists of two parts:
\[ \frac{d^{2} y}{d x^{2}}-2 \frac{d y}{d x}+2 y=e^{-x} \sin 2 x \]
The goal is to find the unknown function, in this case, \( y(x) \), which satisfies the equation. This type of equation often consists of two parts:
- Homogeneous part, where the function equals zero.
- Non-homogeneous or particular part, where it equals a non-zero term.
Complementary Solution
The complementary solution is derived from the homogeneous part of the differential equation. For the equation given, the homogeneous version is:
\[ y'' - 2y' + 2y = 0 \]
To solve this, we first form the characteristic equation by replacing the derivatives with powers of \( r \):
\[ r^2 - 2r + 2 = 0 \]
Solving this quadratic equation gives us the roots, which in this case are complex: \( r = 1 \pm i \). This indicates that the solution involves exponential decay and oscillation, which results in:
\[ y_c = e^x (C_1 \cos x + C_2 \sin x) \]
Here, \( C_1 \) and \( C_2 \) are constants determined by boundary or initial conditions. The complementary solution captures the behavior of the system without external forces (or non-homogeneous terms).
\[ y'' - 2y' + 2y = 0 \]
To solve this, we first form the characteristic equation by replacing the derivatives with powers of \( r \):
\[ r^2 - 2r + 2 = 0 \]
Solving this quadratic equation gives us the roots, which in this case are complex: \( r = 1 \pm i \). This indicates that the solution involves exponential decay and oscillation, which results in:
\[ y_c = e^x (C_1 \cos x + C_2 \sin x) \]
Here, \( C_1 \) and \( C_2 \) are constants determined by boundary or initial conditions. The complementary solution captures the behavior of the system without external forces (or non-homogeneous terms).
Particular Solution
The particular solution addresses the non-homogeneous part of the differential equation. In our problem, we assume the form of the particular solution based on the non-homogeneous term \( e^{-x} \sin 2x \). This leads us to guess a particular solution of the form:
\[ y_p = e^{-x} (A \cos 2x + B \sin 2x) \]
To find \( A \) and \( B \), we differentiate \( y_p \) to obtain expressions for \( y_p' \) and \( y_p'' \). With these derivatives, we substitute back into the original equation and solve for the coefficients by equating terms with equivalent functions on both sides. In this example, we find that:
\[ y_p = e^{-x} (A \cos 2x + B \sin 2x) \]
To find \( A \) and \( B \), we differentiate \( y_p \) to obtain expressions for \( y_p' \) and \( y_p'' \). With these derivatives, we substitute back into the original equation and solve for the coefficients by equating terms with equivalent functions on both sides. In this example, we find that:
- \( A = \frac{1}{5} \)
- \( B = 0 \)
Characteristic Equation
The characteristic equation is a key component in solving linear differential equations, especially when finding the complementary solution. In our differential equation, the form \( y'' - 2y' + 2y = 0 \) transforms into the characteristic equation:
\[ r^2 - 2r + 2 = 0 \]
This is a quadratic equation, where coefficients are derived from the differential equation itself. Solving it generally involves using the quadratic formula:
\[ r = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \]
In our case, plugging values \( a = 1, \ b = -2, \ c = 2 \) into the formula gives us the complex roots \( r = 1 \pm i \). These roots reveal the nature of the solution and result in a combination of exponential and trigonometric functions for the complementary solution. Understanding the characteristic equation allows one to evaluate how solutions to the differential equation behave.
\[ r^2 - 2r + 2 = 0 \]
This is a quadratic equation, where coefficients are derived from the differential equation itself. Solving it generally involves using the quadratic formula:
\[ r = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \]
In our case, plugging values \( a = 1, \ b = -2, \ c = 2 \) into the formula gives us the complex roots \( r = 1 \pm i \). These roots reveal the nature of the solution and result in a combination of exponential and trigonometric functions for the complementary solution. Understanding the characteristic equation allows one to evaluate how solutions to the differential equation behave.