Particular solutions - DE

  • Thread starter shiri
  • Start date
In summary, a particular solution in differential equations is a specific solution that satisfies the given differential equation. It can be found using various methods such as undetermined coefficients, variation of parameters, or initial conditions. It can be unique if the differential equation has unique initial or boundary conditions. A particular solution is always a solution to the differential equation. However, there may be limitations in finding particular solutions, such as non-existence or difficulty in finding a solution for complex equations.
  • #1
shiri
85
0
Consider the equation [tex]y''+4y=2sin(2x)+e^{2x}+2[/tex]. According to the method of Undetermined Coefficients, the particular solution has the form:

C1 = 1st constant
C2 = 2nd constant
C3 = 3rd constant
.
.
.

A) [tex]C1xsin(2x) + C3x + C4xe^{2x} + C5xe^{-2x}[/tex]
B) [tex]C1sin(2x) + (C2)2 + C3xe^{-2x}[/tex]
C) [tex]C1xcos(2x) + C2xsin(2x) + C3 + C4e^{2x}[/tex]
D) [tex]C1cos(2x) + C2xsin(2x) + C3 + C4xe^{2x}[/tex]

Solution:
[tex]y^2 + 16 = 0[/tex]
[tex]y = -4, 4[/tex]
[tex]yh = c1cos(x) + c2sin(x)[/tex]

[tex]yp = Acos(2x) + Bsin(2x) + C + De^{2x}[/tex]
[tex]y'p = -2Asin(2x) + 2Bcos(2x) + 2De^{2x}[/tex]
[tex]y''p = -4Acos(2x) - 4Bsin(2x) + 4De^{2x}[/tex]

[tex]y'' + 4y = 2sin(2x) + 2 e^{2x}[/tex]
[tex][-4Acos(2x) - 4Bsin(2x) + 4De^{2x}] + 16[Acos(2x) + Bsin(2x) + C + De^{2x}] = 2sin(2x) + 2 + e^{2x}[/tex]
[tex]12Acos(2x) + 12Bsin(2x) + 20De^{2x} + 16C = 2sin(2x) + 2 + e^{2x}[/tex]

[tex]cos(2x)[/tex] ===> 12A = 0 ===> A = 0
[tex]sin(2x)[/tex] ===> 12B = 2 ===> B = 1/6
[tex]16[/tex] ===> 16C = 2===> C = 1/8
[tex]e^{2x}[/tex] ===> 20D = 1 ===> D = 1/20

So far what I got B) as a right answer, but I'm not too sure about A), C), and D)

Can anybody help me out here, please?
 
Last edited:
Physics news on Phys.org
  • #2
Check your work. Your homogeneous solution is wrong, which is causing your particular solution to be wrong as well.
 
  • #3
Also, you have y2 + 16 = 0 right at the start of your solution section. I guess this is your auxiliary equation, but it doesn't have anything to do with this problem.
 
  • #4
vela said:
Check your work. Your homogeneous solution is wrong, which is causing your particular solution to be wrong as well.

Bold: Changes

Solution:
[tex]y^2 + 4 = 0[/tex]
[tex]y = -2i, 2i[/tex]

[tex]yh = c1cos(x) + c2sin(x)[/tex]

[tex]yp = Acos(2x) + Bsin(2x) + C + De^{2x}[/tex]
[tex]y'p = -2Asin(2x) + 2Bcos(2x) + 2De^{2x}[/tex]
[tex]y''p = -4Acos(2x) - 4Bsin(2x) + 4De^{2x}[/tex]

[tex]y'' + 4y = 2sin(2x) + 2 e^{2x}[/tex]
[tex][-4Acos(2x) - 4Bsin(2x) + 4De^{2x}] + 4[Acos(2x) + Bsin(2x) + C + De^{2x}] = 2sin(2x) + 2 + e^{2x}[/tex]
[tex]0Acos(2x) + 0Bsin(2x) + 8De^{2x} + 4C = 2sin(2x) + 2 + e^{2x}[/tex]

[tex]cos(2x)[/tex] ===> 0A = 0 ===> A = 0
[tex]sin(2x)[/tex] ===> 0B = 2 ===> B = 0
[tex]16[/tex] ===> 4C = 2===> C = 1/2
[tex]e^{2x}[/tex] ===> 8D = 1 ===> D = 1/8


Am I doing this right, vela?
 
Last edited:
  • #5
No. Your homogeneous solution is still wrong. First, you solved the characteristic equation incorrectly. Second, the roots you did find don't appear in the homogeneous solution. The whole reason to find the roots is to determine what the homogeneous solution is.

Side note: You shouldn't write y2+4=0 because the symbol y already stands for the function you're looking for. You should use a different variable in the characteristic equation, e.g. r2+4=0.
 
  • #6
vela said:
No. Your homogeneous solution is still wrong. First, you solved the characteristic equation incorrectly. Second, the roots you did find don't appear in the homogeneous solution. The whole reason to find the roots is to determine what the homogeneous solution is.

Side note: You shouldn't write y2+4=0 because the symbol y already stands for the function you're looking for. You should use a different variable in the characteristic equation, e.g. r2+4=0.

so it should be like this [tex]yh = c1e^{2x}+c2e^{-2x}[/tex] ?

Update: I made an error on the equation from a 1st post. It was suppose to be

[tex]y''+4y=2sin(2x)+e^{2x}+2[/tex]

I forgot to put an addition sign between 2 and [tex]e^{2x}[/tex]
 
Last edited:
  • #7
shiri said:
so it should be like this [tex]yh = c1e^{2x}+c2e^{-2x}[/tex] ?
No, it shouldn't.
shiri said:
Update: I made an error on the equation from a 1st post. It was suppose to be

[tex]y''+4y=2sin(2x)+e^{2x}+2[/tex]

I forgot to put an addition sign between 2 and [tex]e^{2x}[/tex]
The homogeneous equation is y'' + 4y = 0. The characteristic equation is r2 + 4 = 0. Vela's remark about using a different variable in the characteristic equation is one you should heed.

The solutions to the characteristic equation are r = +/- 2i. Vela remarked that you didn't have the right solutions, but you edited your work, so I can't tell if he was talking about something you had that you changed.

Since the roots of the char. equation are +/- 2i, you could have as your homogeneous solution yh = c1e2ix + c2e-2ix, but it's much more convenient to use yh = c1cos(2x) + c2sin(2x) and not have to worry about imaginary parts.

Now, for your particular solution. The problematic part is the sin(2x) term. The other two are straightforward. Since your homogeneous solution already has a sin(2x) term (and a cos(2x) term), what you need for the sin(2x) term on the right side is two terms: xcos(2x) and xsin(2x). This means your particular solution will start off with 4 terms.
 
  • #8
Mark44 said:
No, it shouldn't.
The homogeneous equation is y'' + 4y = 0. The characteristic equation is r2 + 4 = 0. Vela's remark about using a different variable in the characteristic equation is one you should heed.

The solutions to the characteristic equation are r = +/- 2i. Vela remarked that you didn't have the right solutions, but you edited your work, so I can't tell if he was talking about something you had that you changed.

Since the roots of the char. equation are +/- 2i, you could have as your homogeneous solution yh = c1e2ix + c2e-2ix, but it's much more convenient to use yh = c1cos(2x) + c2sin(2x) and not have to worry about imaginary parts.

Now, for your particular solution. The problematic part is the sin(2x) term. The other two are straightforward. Since your homogeneous solution already has a sin(2x) term (and a cos(2x) term), what you need for the sin(2x) term on the right side is two terms: xcos(2x) and xsin(2x). This means your particular solution will start off with 4 terms.

yh [tex] = Axcos(2x) + Bxsin(2x) + C + De^{2x}[/tex]
y'h [tex] = Acos(2x) - 2Axsin(2x) + Bsin(2x) + 2Bxcos(2x) + 2De^{2x}[/tex]
y''h [tex] = -2Asin(2x) - 2Asin(2x) - 4Axcos(2x) + 2Bcos(2x) + 2Bcos(2x) -4Bxsin(2x) + 4De^{2x}[/tex]
y''h [tex] = -4Asin(2x) - 4Axcos(2x) + 4Bcos(2x) - 4Bxsin(2x) + 4De^{2x}[/tex]


[tex]y'' + 4y = 2sin(2x) + 2 + e^{2x}[/tex]
[tex](-4Asin(2x) - 4Axcos(2x) + 4Bcos(2x) - 4Bxsin(2x) + 4De^{2x}) + 4(Axcos(2x) + Bxsin(2x) + C + De^{2x}) = 2sin(2x) + 2 + e^{2x}[/tex]
[tex]4Bcos(2x) - 4Asin(2x) + 4C + 8De^{2x} = 2sin(2x) + 2 + e^{2x}[/tex]


sin(2x) ===> -4A = 2 ===> A = -1/2
cos(2x) ===> 4B = 0 ===> B = 0
[tex]4[/tex] ===> 4C = 2 ===> C = 1/2
[tex]e^{2x}[/tex] ===> 8D = 1 ===> D = 1/8

So is that mean C) and D) from the first post are true?
 
  • #9
anyone?
 
  • #10
No, C and D are different. The particular solution has the form of one of them and not the other, so they can't both be the right answer. By the way, is one of the terms in C supposed to have a cosine? The first and second terms are of the same form otherwise.
 
  • #11
vela said:
No, C and D are different. The particular solution has the form of one of them and not the other, so they can't both be the right answer. By the way, is one of the terms in C supposed to have a cosine? The first and second terms are of the same form otherwise.

oops...the first term in C) was suppose to be cosine

C) [tex]C1xcos(2x) + C2xsin(2x) + C3 + C4e^{2x}[/tex]

so according to my work (post #8), the answer is C) right?

yh [tex] = Axcos(2x) + Bxsin(2x) + C + De^{2x}[/tex]
 
  • #12
For this question, you don't need to actually solve the problem. It's just asking you what the particular solution should look like. Now you wrote:

shiri said:
yp [tex] = Axcos(2x) + Bxsin(2x) + C + De^{2x}[/tex]

which is correct. Which choice does yp match?
 
  • #13
vela said:
For this question, you don't need to actually solve the problem. It's just asking you what the particular solution should look like. Now you wrote:
which is correct. Which choice does yp match?

thanks vela!

I got another question I want to ask. It is same as the first post but this question had a different equation

[tex]y'' - 16y = 4cos(4x) + 4 +e^{4x}[/tex]

The particular equation for this question is

[tex]C1cos(4x) + C2sin(4x) + C3 + C4xe^{4x}[/tex]

right?
 
  • #14
shiri said:
thanks vela!

I got another question I want to ask. It is same as the first post but this question had a different equation

[tex]y'' - 16y = 4cos(4x) + 4 +e^{4x}[/tex]

The particular equation for this question is

[tex]C1cos(4x) + C2sin(4x) + C3 + C4xe^{4x}[/tex]

right?
Yup!
 

1. What is a particular solution in differential equations?

A particular solution in differential equations refers to a specific solution that satisfies the given differential equation. It is not a general solution, but rather a specific set of values that satisfies the equation.

2. How does one find a particular solution in differential equations?

There are several methods to find a particular solution in differential equations, such as the method of undetermined coefficients, variation of parameters, and using initial conditions. The method used depends on the type of differential equation and its corresponding boundary or initial conditions.

3. Can a particular solution be unique?

Yes, a particular solution in differential equations can be unique. If the differential equation has unique initial or boundary conditions, then the particular solution will also be unique.

4. Is a particular solution always a solution to the differential equation?

Yes, a particular solution is always a solution to the differential equation. It satisfies the given equation and its corresponding initial or boundary conditions.

5. Are there any limitations to finding particular solutions in differential equations?

There are certain limitations to finding particular solutions in differential equations, such as the non-existence of a particular solution for certain types of equations, or the complexity of the equation making it difficult to find a particular solution using traditional methods.

Similar threads

  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Differential Equations
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
3K
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
Replies
3
Views
1K
Replies
9
Views
2K
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
946
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
Back
Top