First Order Differential Equation

Click For Summary

Homework Help Overview

The discussion revolves around solving a first-order linear differential equation of the form xy' - 2y = x^5. Participants explore the method of integrating factors and the rearrangement of the equation into standard form.

Discussion Character

  • Exploratory, Mathematical reasoning, Conceptual clarification

Approaches and Questions Raised

  • Participants discuss the rearrangement of the equation and the application of the integrating factor. There are attempts to verify the solution by substituting back into the original equation. Some participants also clarify the integration process and its implications.

Discussion Status

Some participants express confidence in the correctness of the approach taken, while others provide additional insights into the integration process and verification methods. There is an ongoing exploration of the solution's validity without reaching a definitive consensus.

Contextual Notes

Participants note the absence of solution references for verification and discuss the implications of the integration factor in solving the equation.

jegues
Messages
1,085
Reaction score
3

Homework Statement



[tex]xy^{'} - 2y = x^{5}[/tex]

Homework Equations


[tex]e^{\int P(x)dx}[/tex]


The Attempt at a Solution



Rearranging the into the form,

[tex]y^{'} - P(x)y = Q(x)[/tex]

So,

[tex]y^{'} - \frac{2y}{x} = x^{4}[/tex]

Multiplying both sides by [tex]e^{\int P(x)dx}[/tex] or [tex]e^{-2\int \frac{dx}{x}}[/tex],

Since [tex]e^{-2ln|x|} = \frac{1}{x^{2}}[/tex]

[tex]\frac{y^{'}}{x^{2}} - \frac{2y}{x^{3}} = x^{2}[/tex]

Integrating both sides,

[tex]\int\left( \frac{y^{'}}{x^{2}} - \frac{2y}{x^{3}}\right)dx =\int x^{2}dx[/tex]

Integrating the LHS should result in my integrating factor times y, [tex]e^{-2ln|x|}(y)[/tex] or [tex]\frac{1}{x^{2}}(y)[/tex]

So,

[tex]\frac{1}{x^{2}}(y) = \int x^{2}dx[/tex]

[tex]\frac{1}{x^{2}}(y) = \frac{1}{3} x^{3} + C[/tex]

Finally,

[tex]y = \frac{x^{5}}{3} + Cx^{2}[/tex]

Is this correct? (I don't have any type of solutions to check, so I thought I'd post)
 
Last edited:
Physics news on Phys.org
Why you did is correct.

This is a linear non-homogeneous ODE with non-constant coefficients, you solved it correctly with an integration factor.

Good job ! :)

P.S.: for future reference, you can check if your answer is correct by replacing y(x) and y'(x) with the answer and its derivative ;)
verify it. it should end up as 0=0, basically..
 
gomunkul51 said:
P.S.: for future reference, you can check if your answer is correct by replacing y(x) and y'(x) with the answer and its derivative ;)
verify it. it should end up as 0=0, basically..

I'll give verifying it a shot!

[tex]y = \frac{x^{5}}{3} + Cx^{2}[/tex]

[tex]y^{'} = \frac{5x^{4}}{3} + 2Cx[/tex]

Plugging into the original equation,

[tex]\frac{5x^{5}}{3} + 2Cx^{2} - \frac{2x^{5}}{3} - 2Cx^{2} = x^{5}[/tex]

[tex]x^{5} = x^{5}[/tex]

Thanks!
 
jegues said:
[tex]\int\left( \frac{y^{'}}{x^{2}} - \frac{2y}{x^{3}}\right)dx =\int x^{2}dx[/tex]

Integrating the LHS should result in my integrating factor times y, [tex]e^{-2ln|x|}(y)[/tex] or [tex]\frac{1}{x^{2}}(y)[/tex]

So,

[tex]\frac{1}{x^{2}}(y) = \int x^{2}dx[/tex]

[tex]\frac{1}{x^{2}}(y) = \frac{1}{3} x^{3} + C[/tex]

Just a little note on this part here (which is correct, I'm not saying it isn't)...

Setting, say, u = 1/x^2, we can see that u' = -2/x^3...

and so the LHS would equal u y' + y u'

which obviously equals (u y)' or (y/x^2)'

Just saying, although you probably already knew that. Just clarifying for anyone else who might read.
 

Similar threads

  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K