Math Problem Statement

Find a particular solution to the following 2nd order ODE using your choice of undetermined coefficients OR variation of parameters. y ′′ + 9y = 6e 3x + 3 sin(3x).

Solution

We are tasked with finding a particular solution to the second-order ordinary differential equation (ODE):

y+9y=6e3x+3sin(3x)y'' + 9y = 6e^{3x} + 3\sin(3x)

This is a non-homogeneous equation, and we will use the method of undetermined coefficients to find the particular solution.

Step 1: Solve the Homogeneous Equation

The corresponding homogeneous equation is:

y+9y=0y'' + 9y = 0

The characteristic equation is:

r2+9=0r^2 + 9 = 0

Solving for rr:

r=±3ir = \pm 3i

Thus, the general solution to the homogeneous equation is:

yh(x)=c1cos(3x)+c2sin(3x)y_h(x) = c_1 \cos(3x) + c_2 \sin(3x)

Step 2: Solve for the Particular Solution

The non-homogeneous term is 6e3x+3sin(3x)6e^{3x} + 3\sin(3x). We need to find the particular solution yp(x)y_p(x) that fits this form.

  • For the 6e3x6e^{3x} term, we assume a particular solution of the form: yp1(x)=Ae3xy_{p1}(x) = Ae^{3x}

  • For the 3sin(3x)3\sin(3x) term, since sin(3x)\sin(3x) and cos(3x)\cos(3x) already appear in the homogeneous solution, we need to multiply by xx to avoid overlap. Thus, we assume a particular solution of the form: yp2(x)=x(Bcos(3x)+Csin(3x))y_{p2}(x) = x(B \cos(3x) + C \sin(3x))

So, the general form of the particular solution is:

yp(x)=Ae3x+x(Bcos(3x)+Csin(3x))y_p(x) = Ae^{3x} + x(B \cos(3x) + C \sin(3x))

Step 3: Determine the Coefficients

  1. Substitute yp1(x)=Ae3xy_{p1}(x) = Ae^{3x} into the ODE:

yp1+9yp1=6e3xy_{p1}'' + 9y_{p1} = 6e^{3x}

First, compute the derivatives of yp1y_{p1}: yp1=3Ae3x,yp1=9Ae3xy_{p1}' = 3Ae^{3x}, \quad y_{p1}'' = 9Ae^{3x}

Substituting into the ODE:

9Ae3x+9Ae3x=6e3x9Ae^{3x} + 9Ae^{3x} = 6e^{3x}

18A=6A=1318A = 6 \quad \Rightarrow \quad A = \frac{1}{3}

Thus, yp1(x)=13e3xy_{p1}(x) = \frac{1}{3}e^{3x}.

  1. Substitute yp2(x)=x(Bcos(3x)+Csin(3x))y_{p2}(x) = x(B \cos(3x) + C \sin(3x)) into the ODE:

First, compute the derivatives of yp2y_{p2}: yp2=Bcos(3x)+Csin(3x)+x(3Bsin(3x)+3Ccos(3x))y_{p2}' = B \cos(3x) + C \sin(3x) + x(-3B \sin(3x) + 3C \cos(3x))

yp2=6Bsin(3x)+6Ccos(3x)+x(9Bcos(3x)9Csin(3x))y_{p2}'' = -6B \sin(3x) + 6C \cos(3x) + x(-9B \cos(3x) - 9C \sin(3x))

Substituting into the ODE:

(6Bsin(3x)+6Ccos(3x)+x(9Bcos(3x)9Csin(3x)))+9(x(Bcos(3x)+Csin(3x)))=3sin(3x)(-6B \sin(3x) + 6C \cos(3x) + x(-9B \cos(3x) - 9C \sin(3x))) + 9(x(B \cos(3x) + C \sin(3x))) = 3 \sin(3x)

Simplifying:

6Bsin(3x)+6Ccos(3x)+x(0)=3sin(3x)-6B \sin(3x) + 6C \cos(3x) + x(0) = 3 \sin(3x)

Equating coefficients of sin(3x)\sin(3x) and cos(3x)\cos(3x):

  • Coefficient of sin(3x)\sin(3x): 6B=3B=12-6B = 3 \quad \Rightarrow \quad B = -\frac{1}{2}
  • Coefficient of cos(3x)\cos(3x): 6C=0C=06C = 0 \quad \Rightarrow \quad C = 0

Thus, yp2(x)=12xcos(3x)y_{p2}(x) = -\frac{1}{2}x \cos(3x).

Step 4: General Solution

The general solution to the ODE is:

y(x)=yh(x)+yp(x)y(x) = y_h(x) + y_p(x)

y(x)=c1cos(3x)+c2sin(3x)+13e3x12xcos(3x)y(x) = c_1 \cos(3x) + c_2 \sin(3x) + \frac{1}{3}e^{3x} - \frac{1}{2}x \cos(3x)

This is the general solution to the given ODE.


Would you like further details on any part?

Here are some related questions:

  1. How does the method of undetermined coefficients compare with variation of parameters?
  2. What is the role of the characteristic equation in solving homogeneous ODEs?
  3. Why do we multiply by xx when terms appear in the homogeneous solution?
  4. What are the limitations of using undetermined coefficients?
  5. Can variation of parameters be applied to this same problem, and how?

Tip: Always check if any terms of the particular solution overlap with the homogeneous solution when using undetermined coefficients.

Ask a new question for Free

By Image

Drop file here or Click Here to upload

Math Problem Analysis

Mathematical Concepts

Differential Equations
Second-Order ODEs
Method of Undetermined Coefficients

Formulas

General solution of a second-order homogeneous ODE: y_h(x) = c_1 cos(3x) + c_2 sin(3x)
Particular solution form for non-homogeneous terms: y_p(x) = Ae^{3x} + x(B cos(3x) + C sin(3x))

Theorems

Method of Undetermined Coefficients
Characteristic Equation

Suitable Grade Level

Undergraduate Mathematics