Method of Undetermined Coefficients using X's on left

fernandoval3sbr

fernandoval3sbr

Answered question

2022-04-15

Method of Undetermined Coefficients using X's on left hand side
I have a couple questions on this question.
The question is asking me to find the general solution to
x+6x+9x=cos(2t)+sin(2t).
Solving for the general solution, I got
Yc=C1e3x+C2xe3x.
I was wondering if the fact that the left hand side uses x's instead of y's matters? For almost every question, it uses y's instead of x's.
Also, for Yp. I got Yp=Acos(2t)+Bsin(2t).
I ultimately got the answer to be
C1e3x+C2xe3x(7cos(2t)169)+(17cos(2t)169),
which I do not feel to be correct.

Answer & Explanation

prangijahnot

prangijahnot

Beginner2022-04-16Added 17 answers

Step 1
In this problem, x is the dependant variable, and t is the independant variable. It looks like for your homogenous solution, you solved the homogenous ODE
yc(x)+6yc(x)+9yc(x)=0
With the result
yc(x)=C1e3x+C2xe3x
Step 2
All the work you did in solving this is totally valid, but you renamed both variables for the ODE. Using the original variables from the problem, we get,
xc(t)+6xc(t)+9xc(t)=0
xc(t)=C1e3t+C2te3t
Your yp(t) is calculated correctly, but again should actually be named xp(t).
You can then get the final answer by adding xc(t) and xp(t).
ze2m1ingkdvu

ze2m1ingkdvu

Beginner2022-04-17Added 16 answers

Step 1
The complementary solution is xc(t)=C1e3t+C2te3t. Note: x is the dependent variable and t is the independent variable in this case.
Moreover, the complementary solution is the solution to the following second-order homogeneous differential equation:
xc+6xc+9xc=0.
Step 2
Finally, in order to get the particular solution, one must guess it to be:
yp(t)=Acos(2t)+Bsin(2t)
where A and B are to be found using the Method of Undetermined Coefficients.
After substitution and some algebraic manipulation, the equation becomes:
(5A+12B)cos(2t)+(12A+5B)sin(2t)=cos(2t)+sin(2t)
This implies one gets the following system of two equations with two unknowns via Method of Undetermined Coefficients:
1. 5A+12B=1
2. 12A+5B=1.
Using Cramer’s rule to solve the system, the solution to the system is A=7169 and B=17169.
Step 3
This implies the particular solution is
xp(t)=7169cos(2t)+17169sin(2t).
Hence, the general solution to the non-homogeneous second-order differential equation is:
X(t)=xc(t)+xp(t)=C1e3t+C2te3t7169cos(2t)+17169sin(2t)
where C1 and C2 are constants.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?