Power Series Method for Solving xy`-3y=k Differential Equation

Click For Summary

Homework Help Overview

The discussion revolves around solving the differential equation xy' - 3y = k using the power series method. Participants are exploring the implications of having a constant on the right side of the equation and how it affects the application of the power series technique.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss writing y as a polynomial and differentiating it to substitute into the original differential equation. There are questions about the appropriateness of using the power series method when the right side is not zero, with some suggesting that it can still be applied by treating the constant as a power series.

Discussion Status

Some participants have provided detailed steps for manipulating the coefficients in the equation, while others are questioning the validity of the approach due to the presence of the constant k. The conversation reflects an ongoing exploration of how to handle the constant term within the context of the power series method.

Contextual Notes

There is a mention of potential difficulties in applying the method if the original differential equation involves functions other than powers of x, such as trigonometric or exponential functions.

asdf1
Messages
734
Reaction score
0
how do you solve
xy`-3y=k(constant)
using the power series method?
 
Physics news on Phys.org
Write y as a polynomial in x : y = a_0 + a_1.x + a_2.x² + a_3.x^3 + ...

differentiate y to get y'

Substitute for y and y' in the original de, analyse and solve !
 
@@ but there's an extra constant! usually don't you use that method only if the right side=0?
 
It comes out OK.

Write y as a poynomial
[tex]y = a_0 + a_1.x + a_2.x^2 + a_3.x^3 + a_4.x^4 + ...[/tex]

Differentiate
[tex]y' = a_1 + 2a_2x + 3a_3x^2 + 4a_4x^3 + ...[/tex]

Substitute
[tex]xy' - 3y = a_1x + 2a_2x^2 + 3a_3x^3 +4a_4x^4 + ... - 3a_0 - 3a_1x - 3a_2x^2 - 3a_3x^3 - 3a_4x^4 + ...[/tex]
[tex]xy' - 3y = (-3a_0) + (a_1 -3a_1)x + (2a_2 - 3a_2)x^2 + (3a_3 - 3a_3)x^3 + (4a_4 - 3a_4)x^4 + ...[/tex]

[tex]\mbox{substituting for } xy' - 3y = k,[/tex]

[tex]k = (-3a_0) + (a_1 -3a_1)x + (2a_2 - 3a_2)x^2 + (0)x^3 + (4a_4 - 3a_4)x^4 + ... ----------------------(1)[/tex]

Analysis
[tex]\mbox{For the lhs to equal the rhs, } k = -3a_0 \mbox{ (a constant) and all the other coefficents must be zero: }a_n = 0, n \in N, n \neq 0,3.[/tex]

ergo,

[tex]y = a_0 + a_3x^3[/tex]

or

[tex]y = -k/3 + Cx^3[/tex]
============

As long as the original DE is made up of powers of x only (I think it would be difficult for trig functions and exponentials) then you're just manipulating the coefficents in the rhs of (1) to give your answer.
 
Last edited:
asdf1 said:
@@ but there's an extra constant! usually don't you use that method only if the right side=0?

You don't have to. Just write the right hand side as a power series also and set coefficients of corresponding powers of x equal. In the simple case that k is constant, you are just setting the constant terms equal as Fermat did.

If the right hand side were sin(x) or ex, you would write those as Taylor's series and set corresponding coefficients equal.
 
thank you very much for writing the steps out! it makes things very clear~ :)
 

Similar threads

  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
26
Views
3K
Replies
29
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K