Very simple D.E.

  • Thread starter Jameson
  • Start date
  • #1
Jameson
Gold Member
MHB
4,538
13
Find a solution to the following D.E.

[tex]\frac{dy}{dx} + \frac{x}{y}=0[/tex]

[tex]\frac{dy}{dx}=-\frac{x}{y}[/tex]

Separate variables...

[tex]ydy = -xdx[/tex]

Integrate both sides...

[tex]\frac{y^2}{2}=-\frac{x^2}{2}[/tex]

Multiply both sides by 2, and here is where my problem arises...

[tex]y^2=-x^2[/tex]

Stuck. [itex]x^2[/itex] will always be positive, so after applying the negative, I can't take the squareroot. It has to be a simple mistake. Please give a small bit of help or a small hint. :confused:
 

Answers and Replies

  • #2
Dr Avalanchez
18
0
Aaargh... nearly there...

[tex]y^2=-x^2+C[/tex]

Does this ring a bell?
 
  • #3
Integral
Staff Emeritus
Science Advisor
Gold Member
7,253
63
Is there some reason you must restrict yourself to the reals? Even with the constant of integration which you need (as above) there is the possibility of a complex solution. A complete problem statement will include the boundary conditions or initial values. You have not provided a complete problem statement. Without that. your solution is complete with the addion of the constant of integration.
 

Suggested for: Very simple D.E.

Replies
4
Views
860
  • Last Post
Replies
5
Views
232
  • Last Post
Replies
11
Views
320
Replies
1
Views
398
Replies
9
Views
327
  • Last Post
Replies
4
Views
803
  • Last Post
Replies
1
Views
739
  • Last Post
Replies
5
Views
483
Top