Solving y-y' equation with variable change r^2-x^2

  • Context: MHB 
  • Thread starter Thread starter Ciaran
  • Start date Start date
  • Tags Tags
    Variables
Click For Summary

Discussion Overview

The discussion revolves around solving the differential equation y(y')^2 + 2xy' - y = 0 using the substitution y^2 = r^2 - x^2. Participants explore the implications of this variable change and the subsequent steps in solving the equation.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Exploratory

Main Points Raised

  • Some participants propose substituting y^2 = r^2 - x^2 and derive expressions for yy' and the modified differential equation.
  • There is a correction regarding the expression for yy', with some participants noting that it should be yy' = rr' - x instead of involving a factor of 2.
  • Participants discuss simplifying the resulting equation to (rr')^2 - r^2 = 0 and explore potential solutions.
  • There is a discussion about the necessity of including the integration constant when solving the differential equation, with differing opinions on its importance.
  • Some participants express uncertainty about solving for r' and discuss the implications of the solutions derived from (r')^2 = 1.

Areas of Agreement / Disagreement

Participants generally agree on the steps taken to manipulate the differential equation, but there is disagreement regarding the necessity of including the integration constant in the final solution. The discussion remains unresolved on this point.

Contextual Notes

Some participants note that assumptions about the positivity of r as a polar coordinate may not apply to r', which can take both positive and negative values. The implications of these assumptions on the solutions are not fully resolved.

Ciaran
Messages
71
Reaction score
0
Hello!

I've to solve y(y')^2+2xy' -y=0 by letting y^2= r^2-x^2 but this change of variable has thrown me. Could someone please help?
 
Physics news on Phys.org
Ciaran said:
Hello!

I've to solve y(y')^2+2xy' -y=0 by letting y^2= r^2-x^2 but this change of variable has thrown me. Could someone please help?

Hi Ciaran! ;)

Taking the derivative of:
$$y^2= r^2-x^2 \tag 1$$
we find:
$$2yy' = 2rr' - 2x \Rightarrow yy' = rr' - x \tag 2$$

To make it fit in the DE, we multiply the DE by $y$:
$$y^2(y')^2+2xyy' -y^2=0 \tag 3$$

What do you get if you substitute $(1)$ and $(2)$ in $(3)$?
 
Last edited:
Thanks for your swift reply! Should it not be yy'= rr'-x instead of 2x? I got

(rr'-x)^2 +2(rr'-2x)x-(r^2-x^2)=0

after substituting!
 
Ciaran said:
Thanks for your swift reply! Should it not be yy'= rr'-x instead of 2x? I got

(rr'-x)^2 +2(rr'-2x)x-(r^2-x^2)=0

after substituting!

Yep. You're right. It should be without the 2.
I've edited my post to correct that.

Unfortunately I see it already made it in your new equation, in the second substitution. (Doh)

Anway, next step is to simplify...
 
I got (rr')^2-r^2=0. Is this correct?
 
Ciaran said:
I got (rr')^2-r^2=0. Is this correct?

It is correct yes... but you can simplify (and solve) further...
 
So just taking out a common factor of r^2 giving me r^2=0 or (r')^2=1 then substituting x and y back in?
 
Ciaran said:
So just taking out a common factor of r^2 giving me r^2=0 or (r')^2=1 then substituting x and y back in?

Yes, but I wouldn't substitute x and y back in just yet.
Can you solve $(r')^2=1$ first?
 
I'm not actually sure how to solve that- is it something really simple that I'm missing?

- - - Updated - - -

Is it just r or negative r? Because differentiating these gives either 1 or -1 and squaring gives 1
 
  • #10
Ciaran said:
I'm not actually sure how to solve that- is it something really simple that I'm missing?

I think it is quite doable.

How would you solve $u^2=1$ for $u$?
And how would you solve $y'=2$?
 
  • #11
I'd say u= +- 1 and y= 2x (+C)
 
  • #12
Ciaran said:
I'd say u= +- 1 and y= 2x (+C)

Exactly.
So the solution of $(r')^2=1$ is $r=x+C$ or $r=-x+C$.

Btw, we can assume $r\ge 0$, since it is intended as a polar coordinate - the distance to the origin.
However, we can't make any such assumption about $r'$.
$r'$ is how $r$ changes along a solution curve. It can be both positive and negative.

Anyway, now is the time to back substitute x and y again...
 
  • #13
Do you need to include the constant? I was once told that it was unnecessary. If you do not need to include it, that means y=0 as y= r^2-x^2 and x^2=r^2
 
  • #14
Ciaran said:
Do you need to include the constant? I was once told that it was unnecessary. If you do not need to include it, that means y=0 as y= r^2-x^2 and x^2=r^2

I'm afraid that we really need to include the integration constant.

A DE typically has solution curves that cover the plane.
A boundary condition effective selects one of them.
Now you have only one curve, y=0, and no option to apply a boundary condition any more.

What are the solutions if you do include an integration constant?
 
  • #15
So that means that y^2= (x+C)^2-x^2 or y^2=(-x+D)^2-x^2?
 
  • #16
Ciaran said:
So that means that y^2= (x+C)^2-x^2 or y^2=(-x+D)^2-x^2?

Yep.

Perhaps those can be simplified?
 
  • #17
They can indeed- thank you very much for your help!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 36 ·
2
Replies
36
Views
5K