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
SUMMARY

The discussion focuses on solving the differential equation y(y')^2 + 2xy' - y = 0 using the variable change y^2 = r^2 - x^2. Participants derive necessary substitutions and simplify the equation, ultimately leading to the conclusion that the solution for (r')^2 = 1 results in r = x + C or r = -x + C. The importance of including the integration constant in the final solution is emphasized, as it allows for the representation of multiple solution curves.

PREREQUISITES
  • Understanding of differential equations and their solutions
  • Familiarity with variable substitution techniques in calculus
  • Knowledge of polar coordinates and their applications
  • Ability to manipulate algebraic expressions and solve for constants
NEXT STEPS
  • Study the method of solving differential equations using variable substitution
  • Learn about the implications of integration constants in differential equations
  • Explore polar coordinates and their relationship to Cartesian coordinates
  • Investigate the geometric interpretation of solution curves in differential equations
USEFUL FOR

Mathematicians, students studying differential equations, and educators looking for insights on solving complex equations through variable changes.

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