Solve 2nd-order differential eqn

  • Thread starter Thread starter DryRun
  • Start date Start date
  • Tags Tags
    Differential
Click For Summary

Homework Help Overview

The problem involves solving a second-order differential equation of the form 2y'' - 3y' + 2y = x^3 - 5x + 2, where the right-hand side is a polynomial of degree 3. Participants are discussing their attempts to find a particular solution and verifying their results against known answers.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the method of finding a particular solution and the verification of coefficients in their solutions. There are questions about the correctness of their calculations and methods for checking the validity of their answers.

Discussion Status

The discussion includes various attempts to verify the correctness of solutions, with some participants confirming their results and others seeking clarification on methods used for checking. There is an acknowledgment of the complexity involved in the calculations, and some participants express uncertainty about their approaches.

Contextual Notes

Participants mention the challenge of checking the inhomogeneous part of the differential equation and the potential for numerical errors in their calculations. There is also a reference to specific values and coefficients that are under scrutiny.

DryRun
Gold Member
Messages
837
Reaction score
4
Homework Statement
[tex]2y''-3y'+2y=x^3-5x+2[/tex]
The attempt at a solution
I recognized the R.H.S. as a polynomial of degree 3, so i have to expand up to [itex]D^3[/itex]

The answer i got is quite close to that in my notes, except for one coefficient, so i was hoping someone could check it. It's a very long problem so i don't know if i should type all the steps here from my copybook. Please let me know.

The answer in my notes:
http://s1.ipicture.ru/uploads/20120201/pdG4AE7V.png
The answer that i got is a different coefficient for x. So, i got 4x instead of 10x, but everything else is exactly as the answer that I'm supposed to get. I checked my long calculations and it appears to be correct, although it's a nagging feeling to be unsure about whether my entire method is flawed or not.
 
Physics news on Phys.org
If the only difference is 4x versus 10x your method is probably correct. It's probably just a numerical error. I did check that 10x works. 4x doesn't.
 
OK, thanks for checking. I will go over my calculations again...
 
Last edited:
I had made a small mistake. I got the answer 10x. However, I'm curious... How did you check that 10x works? Did you just differentiate the entire answer twice and then plug y, y' and y'' into the problem in post #1? Or is there an easier way of checking if the answer is correct?
 
sharks said:
I had made a small mistake. I got the answer 10x. However, I'm curious... How did you check that 10x works? Did you just differentiate the entire answer twice and then plug y, y' and y'' into the problem in post #1? Or is there an easier way of checking if the answer is correct?

Yes. That is how you check.
 
sharks said:
I had made a small mistake. I got the answer 10x. However, I'm curious... How did you check that 10x works? Did you just differentiate the entire answer twice and then plug y, y' and y'' into the problem in post #1? Or is there an easier way of checking if the answer is correct?

Well, I put A=0 and B=0 before I checked. I was just checking the inhomogeneous part.
 
That's a nice trick, Dick. I understand the principle behind putting A=0 and B=0.

But how can [itex]x^3-5x+2[/itex] be equivalent to [itex]\frac{1}{8}(4x^3+18x^2+10x-13)[/itex]?
 
sharks said:
That's a nice trick, Dick. I understand the principle behind putting A=0 and B=0.

But how can [itex]x^3-5x+2[/itex] be equivalent to [itex]\frac{1}{8}(4x^3+18x^2+10x-13)[/itex]?

Why do you think it should be? You have [itex]y_p=\frac{1}{8}(4x^3+18x^2+10x-13)[/itex], so what does [itex]2y_p''-3y_p'+y_p = ?[/itex]
 
OK, [itex]y_p=\frac{x^3-5x+2}{2D^2-3D+2}[/itex] which is equivalent to [itex]\frac{1}{8}(4x^3+18x^2+10x-13)[/itex]?

But it's still not so easy to check the inhomogeneous part with actually computing [itex]y_p=\frac{x^3-5x+2}{2D^2-3D+2}[/itex] or maybe I'm wrong?
 
  • #10
sharks said:
OK, [itex]y_p=\frac{x^3-5x+2}{2D^2-3D+2}[/itex] which is equivalent to [itex]\frac{1}{8}(4x^3+18x^2+10x-13)[/itex]?

But it's still not so easy to check the inhomogeneous part with actually computing [itex]y_p=\frac{x^3-5x+2}{2D^2-3D+2}[/itex] or maybe I'm wrong?

To CHECK the inhomogeneous part all you have to do is operate with [itex]2D^2-3D+2[/itex] on [itex]\frac{1}{8}(4x^3+18x^2+10x-13)[/itex] to make sure you get [itex]x^3-5x+2[/itex]. That's easier than doing the reverse to find [itex]y_p[/itex] to begin with.
 
  • #11
Thanks for the hint, Dick. I verified your method and it's indeed easier to check that way.
 
  • #12
sharks said:
OK, [itex]y_p=\frac{x^3-5x+2}{2D^2-3D+2}[/itex] which is equivalent to [itex]\frac{1}{8}(4x^3+18x^2+10x-13)[/itex]?

But it's still not so easy to check the inhomogeneous part with actually computing [itex]y_p=\frac{x^3-5x+2}{2D^2-3D+2}[/itex] or maybe I'm wrong?

You still have not shown any work. I'm not sure what the problem is:

[itex]y_p=\frac{4}{8}x^3+\frac{18}{8}x^2+\frac{10}{8}x-\frac{13}{8}[/itex]

[itex]y_p'=\frac{12}{8}x^2+\frac{36}{8}x+\frac{10}{8}[/itex]

[itex]y_p''=\frac{24}{8}x+\frac{36}{8}[/itex]

and so

[itex]2y''_p-3y_p'+2y = \frac{1}{8}(x^3-5x+2)[/itex].
 

Similar threads

  • · Replies 25 ·
Replies
25
Views
2K
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
1
Views
2K
Replies
9
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
8
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K