When is a Constant a Solution to a Differential Equation

  • I
  • Thread starter Drakkith
  • Start date
  • #1
Drakkith
Staff Emeritus
Science Advisor
2022 Award
22,300
6,385
I've run across several instances while doing homework where a question will have two solutions. One will be an equation, and the 2nd will be a constant (usually zero). I can't figure out why this constant is a solution though.

For example, take the following differential equation: $$(x^2-3y^2)dx+(2xy)dy=0$$

The solutions to this differential equation turn out to be $$y=±\sqrt{x^2+Cx^3}$$
and$$x=0$$

Why is ##x=0## a solution? The only thing I can think of, and this is mostly a guess, is that plugging ##x=0## into the original equations yields $$(-3y^2)dx=0$$
Is it that ##y## is taken to be a constant here and since there's no ##x## variable there is no change?
 

Answers and Replies

  • #2
Orodruin
Staff Emeritus
Science Advisor
Homework Helper
Insights Author
Gold Member
20,004
10,653
If x=0 it does not matter what y is because both x and dx are zero and so both terms contain factors that are zero.
 
  • #3
Drakkith
Staff Emeritus
Science Advisor
2022 Award
22,300
6,385
because both x and dx are zero

Why is ##dx## zero?
 
  • #4
Orodruin
Staff Emeritus
Science Advisor
Homework Helper
Insights Author
Gold Member
20,004
10,653
Because x is constant.
 
  • #5
Drakkith
Staff Emeritus
Science Advisor
2022 Award
22,300
6,385
I'm assuming that's not true for, say, ##x=1##. Is that because the ##dy## term isn't zero then?
 
  • #6
Orodruin
Staff Emeritus
Science Advisor
Homework Helper
Insights Author
Gold Member
20,004
10,653
I'm assuming that's not true for, say, ##x=1##. Is that because the ##dy## term isn't zero then?
##dx## would still be zero if ##x## was constantly equal to one. Indeed, the ##dy## term is not zero then.
 
  • #7
Drakkith
Staff Emeritus
Science Advisor
2022 Award
22,300
6,385
Alright. Thanks Oro.
 
  • #8
VuIcan
13
2
When you solved the differential equation you had to divide both sides by x, since x ≠ 0, x=0 will be omitted from your general solution by default. Remember to write your restrictions, because it's impossible to get singular solutions by varying the parameters of your general solution as far as I know.
 
  • #9
Drakkith
Staff Emeritus
Science Advisor
2022 Award
22,300
6,385
When you solved the differential equation you had to divide both sides by x, since x ≠ 0, x=0 will be omitted from your general solution by default. Remember to write your restrictions, because it's impossible to get singular solutions by varying the parameters of your general solution as far as I know.

What restrictions? X=0 was not omitted from the general solution as far as the book is concerned. That was the point of my question.
 
  • #10
VuIcan
13
2
What restrictions? X=0 was not omitted from the general solution as far as the book is concerned. That was the point of my question.
I misunderstood your question, my apologies.
 
  • #11
Drakkith
Staff Emeritus
Science Advisor
2022 Award
22,300
6,385
I misunderstood your question, my apologies.

Well, looking back at the question, I now have another question. The equation can easily be rearranged into ##\frac{dy}{dx}=\frac{3y^2-x^2}{2xy}##
In this form you certainly have a problem when ##x=0##, right?
 
  • #12
VuIcan
13
2
Well, looking back at the question, I now have another question. The equation can easily be rearranged into ##\frac{dy}{dx}=\frac{3y^2-x^2}{2xy}##
In this form you certainly have a problem when ##x=0##, right?

I'm self-taught on this topic, so take what I say with a grain of salt. But here's what I was referring to:

https://en.wikipedia.org/wiki/Singular_solution

"Therefore, when one is solving a differential equation and using division one must check what happens if the term is equal to zero, and whether it leads to a singular solution."

This is why I urged you to write your restrictions. I assumed you were wondering why your textbook had constant values as solutions. It's because those constant values are omitted on occasion when you perform certain operations(division in this case) from the domains of all the particular solutions obtainable via varying the constant in your general solution.

Again, I'm self taught (still learning in fact) so take what I say with a grain of salt and please do correct me if I'm mistaken. Thanks in advance.
 

Suggested for: When is a Constant a Solution to a Differential Equation

Replies
1
Views
569
Replies
3
Views
680
Replies
1
Views
369
Replies
6
Views
885
Replies
20
Views
1K
Replies
5
Views
418
Replies
2
Views
2K
  • Last Post
Replies
3
Views
918
  • Last Post
Replies
3
Views
1K
Top