Solving xy''-y'=0 Using y=xr: Are r=0 and r=2 the only possible solutions?

  • Thread starter Thread starter Marco Lugo
  • Start date Start date
Click For Summary
SUMMARY

The differential equation xy'' - y' = 0 has specific solutions for y = x^r only when r = 0 and r = 2. The reasoning involves substituting y = x^r into the equation, leading to the conclusion that the expression simplifies to zero only for these values of r. Testing other values such as r = 1 shows that they do not satisfy the equation, confirming that r = 0 and r = 2 are the only valid solutions. The general solution to this differential equation can be expressed as y = A x^2 + B.

PREREQUISITES
  • Understanding of differential equations
  • Familiarity with derivatives and their applications
  • Knowledge of polynomial functions
  • Ability to manipulate algebraic expressions
NEXT STEPS
  • Explore the method of undetermined coefficients for solving differential equations
  • Learn about the general solutions of linear differential equations
  • Investigate the behavior of solutions for different values of r in polynomial forms
  • Study the implications of boundary conditions on differential equations
USEFUL FOR

Students studying differential equations, mathematicians, and educators looking to deepen their understanding of polynomial solutions in differential equations.

Marco Lugo
Messages
9
Reaction score
0

Homework Statement


Let xy''-y'=0. Try a solution of the form y=xr. Is this a solution for some r? If so, find all such r.

Homework Equations


xy''-y'=0

y=xr

The Attempt at a Solution


The answer I came up with was: r*x-r*x=0, for all r.
But in the solutions it says, "y = xr is a solution for r = 0 and r = 2."
Is there some reason it would only work for r=0 and r=2?
 
Physics news on Phys.org
The answer you came up is not the correct one. Check the second derivative of y(x)=x^r.
 
Marco Lugo said:

Homework Statement


Let xy''-y'=0. Try a solution of the form y=xr. Is this a solution for some r? If so, find all such r.

Homework Equations


xy''-y'=0

y=xr

The Attempt at a Solution


The answer I came up with was: r*x-r*x=0, for all r.
But in the solutions it says, "y = xr is a solution for r = 0 and r = 2."
Is there some reason it would only work for r=0 and r=2?

What you should do is plug in some concrete examples. I'll give you two and see if you can work out the rest: <br /> y = x^1 \\<br /> y&#039; = 1 \\<br /> y&#039;&#039; = 0 \\<br /> <br /> \implies xy&#039;&#039; - y&#039; = x(0) - 1 \neq 0
So you can see it doesn't work for r = 1. Now let's see why it does work for r = 2<br /> y = x^2 \\<br /> y&#039; = 2x \\<br /> y&#039;&#039; = 2 \\<br /> <br /> \implies xy&#039;&#039; - y&#039; = x(2) - 2x = 0
as required. Now try plugging in a few values of r less than zero and a few greater than 3 and see if you can see why they don't work.
 
soarce said:
The answer you came up is not the correct one. Check the second derivative of y(x)=x^r.
Thanks I see that now haha

o_O said:
What you should do is plug in some concrete examples. I'll give you two and see if you can work out the rest: <br /> y = x^1 \\<br /> y&#039; = 1 \\<br /> y&#039;&#039; = 0 \\<br /> <br /> \implies xy&#039;&#039; - y&#039; = x(0) - 1 \neq 0
So you can see it doesn't work for r = 1. Now let's see why it does work for r = 2<br /> y = x^2 \\<br /> y&#039; = 2x \\<br /> y&#039;&#039; = 2 \\<br /> <br /> \implies xy&#039;&#039; - y&#039; = x(2) - 2x = 0
as required. Now try plugging in a few values of r less than zero and a few greater than 3 and see if you can see why they don't work.

Thanks for your help; it makes sense now that I see it. Would there be away to find r directly or would I just have to try them all?
 
You kind of have to think a bit outside the box to figure out which values of r are "different".

If r = 0 then y is a constant so all if its derivatives are 0
If r = 2 then its first derivative is a function of x but its second derivative is a constant
if r < 0 or r >2 then all the derivatives are functions of x

Try out the few odd ones then go from there. For instance, you don't need to try out r = 4 after you try out r = 3 because they follow the same pattern. Same with r = -1 and r = -2
 
Ah yes I see. Alright thanks for your help!
 
Marco Lugo said:
Ah yes I see. Alright thanks for your help!
Hey there's actually a way you can do it without too much thinking: <br /> y = x^r \\<br /> y&#039; = rx^{r-1} \\<br /> y&#039;&#039; = r(r-1)x^{r-2} \\<br /> <br /> \implies xy&#039;&#039; - y&#039; = x[r(r-1)x^{r-2}] - rx^{r-1} = x^{r-1}r(r-1 -1) = x^{r-1}r(r-2)

Which equals zero for all x when r = 0 or r = 2. Sorry I didn't notice this before. A bit stressed out with my own midterms coming up. Cheers.
 
It is not too difficult to get the general solution to this d.e. which is

y = A x2 + B

Which includes the solutions given.
 
o_O said:
Hey there's actually a way you can do it without too much thinking: <br /> y = x^r \\<br /> y&#039; = rx^{r-1} \\<br /> y&#039;&#039; = r(r-1)x^{r-2} \\<br /> <br /> \implies xy&#039;&#039; - y&#039; = x[r(r-1)x^{r-2}] - rx^{r-1} = x^{r-1}r(r-1 -1) = x^{r-1}r(r-2)

Which equals zero for all x when r = 0 or r = 2. Sorry I didn't notice this before. A bit stressed out with my own midterms coming up. Cheers.

Wow thanks! I'll definitely keep this in mind when working on similar problems. No worries, good luck on your midterms!

epenguin said:
It is not too difficult to get the general solution to this d.e. which is

y = A x2 + B

Which includes the solutions given.

How did you get to that solution?
 
  • #10
Marco Lugo said:
How did you get to that solution?

First tell me if you've checked it works. Which if it does may even point you to how you could have solved it.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
Replies
14
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
Replies
1
Views
1K
Replies
6
Views
3K
Replies
4
Views
2K
  • · Replies 21 ·
Replies
21
Views
3K
Replies
7
Views
2K