Second Order ODE with Weird Coefficients: Solving the Equation x2-2x+1

In summary: Just solve for v. The SolutionIn summary, the student is struggling to solve a linear equation. They don't know what substitution to make and are stuck. The professor suggests looking for a series solution and then using the Frobenius method. However, this is a non-homogenous equation and the student is not familiar with the method. They are also at a loss for how to solve the original equation.
  • #1
Design
62
0

Homework Statement


y''(x-1)-xy'+y=x2-2x+1



The Attempt at a Solution


I don't even know how to start this, Don't know what substitution to do.
 
Physics news on Phys.org
  • #2
It's a linear solution. Have you tried the Frobenius method?
 
  • #3
Is [itex]x - 1[/itex] a factor that multiplies [itex]y''[/itex] or is it the argument of that function?
 
  • #4
hunt_mat said:
It's a linear solution. Have you tried the Frobenius method?

Never heard of anything like this. My prof like putting problems we haven't learned in the problem set = ='. I guess its time to look it up.

Dickfore said:
Is [itex]x - 1[/itex] a factor that multiplies [itex]y''[/itex] or is it the argument of that function?

Don't know what you mean but y'' mutipled by (x-1)
 
  • #5
What you wrote originally, y"(x- 1) looked like "f(x-1)" where x- 1 is the argument of the function.

Frobenius' method consists of looking for series solution of the form [itex]\sum_{n=0}^\infty a_nx^{n+c}[/itex] where c does not have to be a positive integer.
 
  • #6
Is there any other way of doing it? It just seems weird because I haven't covered anything about series solutions and all of a sudden this comes up.
 
  • #7
Design said:
Is there any other way of doing it? It just seems weird because I haven't covered anything about series solutions and all of a sudden this comes up.

Doubtful. We have covered everything up until Frobenius method and I cannot think of any other way to solve it. As a matter of fact, this is a non-homogenous Frobenius EQ which we have not covered ... but that just makes more work, not necessarily "harder" work. Give it a try! You'll be ahead of the curve. I'll get you started. As Halls said, seek a solution in the form:

[tex]y = \sum_0^\infty a_nx^{n+s}\qquad(1)[/tex]

[tex]\Rightarrow y' = \sum_0^\infty (n+s)a_nx^{n+s-1}\qquad(2)[/tex]

[tex]\Rightarrow y' = \sum_0^\infty (n+s)(n+s-1)a_nx^{n+s-2}\qquad(3)[/tex]

Plug EQs 1 - 3 back into the original DE and see what happens. But be prepared, Frobenius solutions take awhile and usually for me at least 2 pages of work.
 
  • #8
Saladsamurai said:
Doubtful. We have covered everything up until Frobenius method and I cannot think of any other way to solve it. As a matter of fact, this is a non-homogenous Frobenius EQ which we have not covered ... but that just makes more work, not necessarily "harder" work. Give it a try! You'll be ahead of the curve. I'll get you started. As Halls said, seek a solution in the form:

[tex]y = \sum_0^\infty a_nx^{n+s}\qquad(1)[/tex]

[tex]\Rightarrow y' = \sum_0^\infty (n+s)a_nx^{n+s-1}\qquad(2)[/tex]

[tex]\Rightarrow y' = \sum_0^\infty (n+s)(n+s-1)a_nx^{n+s-2}\qquad(3)[/tex]

Plug EQs 1 - 3 back into the original DE and see what happens. But be prepared, Frobenius solutions take awhile and usually for me at least 2 pages of work.

Thanks, will definitely give it a shot.
 
  • #9
There is possibly another way to solve this. It is linear, second order, non-constant coefficients. It should be covered somewhere in any reasonable ODE book. You find two linearly independent solutions of the homogeneous equation:

y''(x-1)-xy'+y=0

Then you use these solutions to construct a determinant called a Wronskian. There are then then mechanical procedures to construct solutions of the original equation. I can't give all the details (I'm not going to type in 3 pages), but there should be several pages or a small chapter covering this method in any ODE book.
 
  • #10
PAllen said:
There is possibly another way to solve this. It is linear, second order, non-constant coefficients. It should be covered somewhere in any reasonable ODE book. You find two linearly independent solutions of the homogeneous equation:

y''(x-1)-xy'+y=0

Then you use these solutions to construct a determinant called a Wronskian. There are then then mechanical procedures to construct solutions of the original equation. I can't give all the details (I'm not going to type in 3 pages), but there should be several pages or a small chapter covering this method in any ODE book.

This is called variation of parameters. I thought you could apply it to nonconstant coefficient problems, but I am not so sure. We never actually have. Now the problem becomes, how do you solve the homogenous equation with nonconstant coefficients to get your homogenous solution so that you can apply variation?
 
  • #11
Design said:

Homework Statement


y''(x-1)-xy'+y=x2-2x+1

The Attempt at a Solution


I don't even know how to start this, Don't know what substitution to do.

Design, I can think of only one way to solve this problem in a classy manner: you have got to go out of your way to go to the library and find a decent ordinary DE textbook and go through the example of "reduction of order" but first it would be nice if you learn when you have problems like this to just quickly see if "simple" solutions work for the homogeneous case like a constant, x, x^2, wait, isn't x a solution to the homogeneous case? The second derivative of x is zero and the rest is just -x+x=0, bingo-bango. Then the next step in reduction of order is to let:

[tex]y=xv[/tex]

and just turn the crank.

And you should have written it as:

[tex](x-1)y''-xy'+y=x^2-2x+1[/tex]
 
Last edited:
  • #12
PAllen said:
There is possibly another way to solve this. It is linear, second order, non-constant coefficients. It should be covered somewhere in any reasonable ODE book. You find two linearly independent solutions of the homogeneous equation:

y''(x-1)-xy'+y=0

Then you use these solutions to construct a determinant called a Wronskian. There are then then mechanical procedures to construct solutions of the original equation. I can't give all the details (I'm not going to type in 3 pages), but there should be several pages or a small chapter covering this method in any ODE book.
Yes, of course, but the problem is finding the general solution to the associated homogenous equation and you seem to be taking that for granted!
 
  • #13
HallsofIvy said:
Yes, of course, but the problem is finding the general solution to the associated homogenous equation and you seem to be taking that for granted!

Not taking anything for granted, the OP asked how to get started. A big first step is to break it into simpler problems. Also, I was disagreeing with other posters that there was no reasonable method except series. I would first try the homogenous equation, before trying series approaches. In this case, as jackmell has already observed, there is at least one trivial solution the homogenous equation.

Also, as to the claim that this method might not be valid, that is silly. Back when I did this stuff (40 years ago), I routinely solved using this method for non-constant coefficients.

The approach I am referring to is just a special case of what jackmell is referring to: specializing the more general reduction of order techniques to a recipe for second order linear ODE with non-constant cefficients.
 
  • #14
Design said:

Homework Statement


y''(x-1)-xy'+y=x2-2x+1



The Attempt at a Solution


I don't even know how to start this, Don't know what substitution to do.

I will assume that the factor [itex](x - 1)[/itex] is a multiplier in front of [itex]y''[/itex]. You may rewrite the equation as:

[tex]
(x - 1) \, y'' - (x - 1 + 1) \, y' + y = (x - 1)^{2}
[/tex]

[tex]
(x - 1) (y'' - y') - (y' - y) = (x - 1)^{2}
[/tex]

If you define:

[tex]
z \equiv y' - y
[/tex]

you get a first order inhomogeneous linear differential equation:

[tex]
z' - \frac{1}{x - 1} \, z = x - 1
[/tex]

You can find the general solution of this equation which will contain one arbitrary integrating constant. After that, you may substitute in:

[tex]
y' - y = z(x)
[/tex]

which is another equation of the same type and you may find its general solution as well. This will give you one more integrating constant.
 
  • #15
Dickfore said:
I will assume that the factor [itex](x - 1)[/itex] is a multiplier in front of [itex]y''[/itex]. You may rewrite the equation as:

[tex]
(x - 1) \, y'' - (x - 1 + 1) \, y' + y = (x - 1)^{2}
[/tex]

[tex]
(x - 1) (y'' - y') - (y' - y) = (x - 1)^{2}
[/tex]

If you define:

[tex]
z \equiv y' - y
[/tex]

you get a first order inhomogeneous linear differential equation:

[tex]
z' - \frac{1}{x - 1} \, z = x - 1
[/tex]

You can find the general solution of this equation which will contain one arbitrary integrating constant. After that, you may substitute in:

[tex]
y' - y = z(x)
[/tex]

which is another equation of the same type and you may find its general solution as well. This will give you one more integrating constant.

Ok, sorry. Two. :)
 
  • #16
Dickfore said:
I will assume that the factor [itex](x - 1)[/itex] is a multiplier in front of [itex]y''[/itex]. You may rewrite the equation as:

[tex]
(x - 1) \, y'' - (x - 1 + 1) \, y' + y = (x - 1)^{2}
[/tex]

[tex]
(x - 1) (y'' - y') - (y' - y) = (x - 1)^{2}
[/tex]

If you define:

[tex]
z \equiv y' - y
[/tex]

you get a first order inhomogeneous linear differential equation:

[tex]
z' - \frac{1}{x - 1} \, z = x - 1
[/tex]

You can find the general solution of this equation which will contain one arbitrary integrating constant. After that, you may substitute in:

[tex]
y' - y = z(x)
[/tex]

which is another equation of the same type and you may find its general solution as well. This will give you one more integrating constant.

After trying this, I got a integral e-x/(x-1) which is unsolvable.
 
  • #17
Are you sure the factor [itex](x - 1)[/itex] is in the denominator? Actually, I think your solution for z is completely wrong.
 

FAQ: Second Order ODE with Weird Coefficients: Solving the Equation x2-2x+1

What is a second order ODE?

A second order ODE (ordinary differential equation) is a mathematical equation that involves a function, its derivatives, and independent variables. It is called "second order" because it contains the second derivative of the function.

What are "weird coefficients"?

"Weird coefficients" is a vague term that can refer to any non-standard or unusual coefficients in an equation. In the context of a second order ODE, it could refer to coefficients that are not constant or do not follow a typical pattern.

How do you solve a second order ODE with weird coefficients?

The general method for solving a second order ODE with weird coefficients is to use a combination of mathematical techniques, such as separation of variables, substitution, or power series. The specific method will depend on the form of the equation and the type of coefficients present.

What is the equation x2-2x+1?

The equation x2-2x+1 is a second order ODE with weird coefficients. It is a polynomial equation that can be rewritten as (x-1)2=0, which has a repeated root at x=1. This means that the solution to the equation will involve a linear combination of x and ex.

How can solving this equation be applied in real-world situations?

The equation x2-2x+1 and its solutions can be used in physics, engineering, and other scientific fields to model various phenomena, such as the motion of a pendulum or the behavior of a vibrating string. It can also be used to solve differential equations in other areas of mathematics, such as partial differential equations.

Back
Top