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

In summary, the power series method for solving the differential equation xy'-3y=k involves writing y as a polynomial, differentiating it, and then substituting both y and y' into the original equation. By analyzing the coefficients, we can solve for the constant k and determine the solution for y. This method can be applied to any differential equation with powers of x in the right hand side, and can also be used for trigonometric and exponential functions by writing them as Taylor's series.
  • #1
asdf1
734
0
how do you solve
xy`-3y=k(constant)
using the power series method?
 
Physics news on Phys.org
  • #2
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 !
 
  • #3
@@ but there's an extra constant! usually don't you use that method only if the right side=0?
 
  • #4
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:
  • #5
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.
 
  • #6
thank you very much for writing the steps out! it makes things very clear~ :)
 

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

What is the Power Series Method for solving a differential equation?

The Power Series Method is a mathematical technique used to solve differential equations by expressing the solution as an infinite sum of powers of the independent variable. This method is particularly useful for solving non-linear differential equations.

How does the Power Series Method work?

The Power Series Method works by first assuming a general solution in the form of a power series, with undetermined coefficients. The power series is then substituted into the differential equation and solved for the coefficients by equating coefficients of the same powers of the independent variable. The resulting series can then be used to approximate the solution to the given differential equation.

When is the Power Series Method most useful?

The Power Series Method is most useful for solving differential equations that cannot be solved by other analytical methods, such as separation of variables or integrating factors. It is also useful for finding approximate solutions to non-linear differential equations.

What are the limitations of the Power Series Method?

The Power Series Method may not always converge to a solution, especially for non-linear differential equations with large values of the independent variable. In addition, it can be time-consuming and tedious to calculate the coefficients of the power series, especially for higher-order differential equations.

Are there any real-world applications of the Power Series Method?

Yes, the Power Series Method has many real-world applications in fields such as physics, engineering, and economics. It can be used to model and solve differential equations that describe physical phenomena, such as heat transfer, electrical circuits, and population dynamics.

Similar threads

Back
Top