Questions: Find the solution of the differential equation
[ y''-3y'+2y=(3-4x)e^3x ]
satisfying the initial conditions (y(0)=frac32) and (y'(0)=frac92). Show your working.
Transcript text: Find the solution of the differential equation
\[
y^{\prime \prime}-3 y^{\prime}+2 y=(3-4 x) e^{3 x}
\]
satisfying the initial conditions $y(0)=\frac{3}{2}$ and $y^{\prime}(0)=\frac{9}{2}$. Show your working.
Solution
Solution Steps
To solve the given differential equation, we will use the method of undetermined coefficients. First, solve the homogeneous equation \( y'' - 3y' + 2y = 0 \) to find the complementary solution. Then, find a particular solution to the non-homogeneous equation by assuming a form based on the right-hand side \((3-4x)e^{3x}\). Finally, apply the initial conditions to determine the constants in the general solution.
Step 1: Solve the Homogeneous Equation
We start by solving the homogeneous part of the differential equation:
\[
y'' - 3y' + 2y = 0
\]
The characteristic equation is:
\[
r^2 - 3r + 2 = 0
\]
Factoring gives:
\[
(r - 1)(r - 2) = 0
\]
Thus, the roots are \( r_1 = 1 \) and \( r_2 = 2 \). The complementary solution is:
\[
y_c = C_1 e^{x} + C_2 e^{2x}
\]
Step 2: Find a Particular Solution
Next, we find a particular solution \( y_p \) for the non-homogeneous equation:
\[
y'' - 3y' + 2y = (3 - 4x)e^{3x}
\]
We assume a particular solution of the form:
\[
y_p = (Ax + B)e^{3x}
\]
Calculating the derivatives and substituting into the differential equation allows us to solve for the coefficients \( A \) and \( B \).
Step 3: General Solution and Apply Initial Conditions
Using the initial conditions \( y(0) = \frac{3}{2} \) and \( y'(0) = \frac{9}{2} \), we can solve for \( C_1 \) and \( C_2 \). The final solution, after applying the initial conditions, is: