General Solution for (x^2)*y +x*y'-y=1/(x+1)

Click For Summary

Discussion Overview

The discussion revolves around finding the general solution for the differential equation (x^2)*y'' + x*y' - y = 1/(x+1). Participants explore methods for solving both the homogeneous and non-homogeneous parts of the equation, including the use of power series and recurrence relations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related
  • Mathematical reasoning

Main Points Raised

  • One participant suggests starting with the homogeneous equation by setting the right-hand side to zero and trying a solution of the form x^n.
  • Another participant proposes finding a particular solution for the non-homogeneous equation using a form similar to a/(x+1).
  • Concerns are raised about the treatment of terms involving (x^2) and x in the original equation and their role in the general solution.
  • Some participants confirm that y = Ax + B/x solves the homogeneous equation, but questions arise about the nature of these solutions and whether they are fundamental solutions.
  • There is a discussion about the concept of degrees of freedom in the context of differential equations and the implications of having arbitrary constants in the general solution.
  • One participant expresses confusion regarding the notation a(n)x^n and its relation to power series, seeking clarification on the differences between various types of differential equations.
  • A later reply provides a general overview of ordinary differential equations (ODEs) and partial differential equations (PDEs), emphasizing the importance of understanding the order and linearity of the equations.

Areas of Agreement / Disagreement

Participants generally agree on the need to find both the homogeneous and particular solutions, but there is uncertainty regarding the treatment of certain terms and the nature of the solutions. The discussion remains unresolved on several points, including the classification of solutions and the role of initial conditions.

Contextual Notes

Some participants express confusion about fundamental solutions and the implications of arbitrary constants in the general solution, indicating a need for further clarification on these concepts. There are also mentions of potential gaps in foundational knowledge regarding differential equations.

Who May Find This Useful

This discussion may be useful for students learning about differential equations, particularly those seeking to understand the methods for solving both homogeneous and non-homogeneous equations, as well as the underlying concepts of degrees of freedom and solution classification.

BobMarly
Messages
19
Reaction score
0
General Solution for (x^2)*y"+x*y'-y=1/(x+1)

Where do I start?
 
Physics news on Phys.org


Find a solution to the homogeneous equation first i.e. RHS = 0
Hint: Try x^n

Then find a solution to the forced equation i.e. RHS = 1/(x+1)
Hint: Try something along the lines of a/(x+1)
 


by substition I get:
(x^2)(sum(n=2))a(n)x^(n-2)+x(sum(n=1))a(n)x^(n-1)-(sum(n=0))a(n)x^(n)
Not sure what to do for n=0 for terms with (x^2) and x so I can end up with the (recurance relation)*x^n.
 


You're not using recurrence relations here, just try x^n and see what values of n will give you zero for the homogeneous equation.
 


Is this correct? (for the nonhomogeneous)
n(n-1)x^n+nx^n-x^n=0
(n^2-n+n-1)x^n=0
(n-1)(n+1)=0 n=+/- 1
y=Ax+Bx=>y=x(A+B)
 


You have the right values of n for the homogeneous equation i.e. n=+/- 1

So that means x^1 is a solution and x^(-1) is a solution i.e. y = Ax + B/x solves the homogeneous equation.

Now all you need is a particular integral which solves the forced (non homogeneous) equation :)
 


I don't understand why we seem to be ignoring the (x^2) and x from the original formula?
And why they are not involved in the general soluton?
 


Have we ignored the x^2 and the x?

Clearly y = x or y = 1/x are solutions to (x^2)*y'' + x*y' - y = 0

Sorry, you'll have to explain carefully where it is that you're getting confused...
 


Are these fundamental solutons? Or do I need initial values for a fundamental solution? Does this mean there are infinite amount of solutions, if so, is there a core of solutions? Or a center or solutions that the rest radiate out from?
 
Last edited:
  • #10


I'd say before I start explaining things, it would help if you tell me what you already know about differential equations and how to solve them. It seems to me like you might want to review a lot of the material as there are some fundamental concepts you seem to have missed out
 
  • #11


Yes, I understand. I thought there might be some quick answers. The book we are using doesn't seem to be the greatest for beginners. I've seen what looks to me better books from the library that are ten years old. I appreciate your help. Maybe you can suggest some books or resources. Any help would be appreciated.
 
  • #12


Here are the lecture notes that I used in first year undergrad. They should cover pretty much everything and more!
 

Attachments

  • #13


Maybe this is an easier question. What is the difference between x^n and a(n)x^n. The same, but only different? Is a(n)x^n used for power series? I'm sure these are one of the many processes to solving ODE. Maybe you can also point me in another direction. I understand the concept of ODE's and PDE's, but is there a group that I can only call NON ODE's (for lack of a better term(s))? Again, any help is appreciated?
 
  • #14


Right, so basically, here are the general ideas:

ODE's are when you have a differential equation where the function you're dealing with only depends on one variable e.g. y(x).
The other types of differential equations are PDE's where you deal with functions of more than one variable e.g. y(x,t)

Now, when you want to solve an ODE, you have to look at what order it is. So if the highest derivative in the ODE is y'(x) then it's of first order. If the highest derivative in the equation is y''(x) then it's of second order, etc.

The point here is you should think back to standard integration,
if you have dy/dx = f'(x), then y = f(x) + c, where c is an arbitrary constant.
This is important because dy/dx = f'(x) has infinitely many solutions and it's your boundary condition that determines a unique solution to your problem by allowing you to evaluate c. So if you're just finding the general solution, you have y = f(x) + c, where c is a degree of freedom.

This tells us that whenever we find the general solution to a first order ODE, we should always have one degree of freedom i.e. a constant that can be determined by some boundary condition e.g. if we are given y(0).

Similarly if we're trying to solve a second order ODE, we would expect two degrees of freedom as you're effectively integrating twice and obtaining two constants as a result.

The other important thing to think about is whether the ODE is linear i.e. if y1 and y2 are solutions of the ODE, is Ay1 + By2 also a solution for any constants A and B?
If so, the ODE is linear and more importantly this means that if you can find a y1 and a y2 which solve the ODE such that y1 is not a scalar multiple of y2, then you've found your general solution i.e. y = Ay1 + By2 where A and B are arbitrary constants (your degrees of freedom).
For a first order linear ODE, if you find a solution y1, then your general solution will be Ay1 where A is some arbitrary constant.

This is why in the example I said try x^n, because if x^n solves your equation then Ax^n solves it and A is your constant i.e. degree of freedom.

When you're doing series solutions, plug in y = Ʃa(n)*x^n
and then try to find a recurrence relation for the a(n) where usually a(0) and a(1) end up being arbitrary constants.

I'd say read the notes for further details and some worked examples, but above are all the basic general ideas for solving ODE's and how it works. The best way to get a feel for it is by doing loads of practice questions.
 
  • #15


Yes, I'll read the notes. Thank you.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 1 ·
Replies
1
Views
925
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 11 ·
Replies
11
Views
4K
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 0 ·
Replies
0
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K