Arbitrary constant in denominator

In summary: Correct?2) a) I see that restricting the arbitrary constant in order to restrict y≠0 isn't possible. There's no restriction on C that will do this.**************************That is correct. You are not doing that to restrict y=0, you are doing it to avoid dividing by zero when you substitute y=0 (and thus also dy/dx=0) into your solution.**************************b) Yes, I should. Since my general solution emerged from the restriction y=0, then I must check whether y=0 is itself a solution...and it is. Correct?**************************Correct.**************************
  • #1
humphreybogart
22
1

Homework Statement


Find the general solution to the differential equation:
upload_2016-10-28_12-39-42.png


Homework Equations


Separation of variables for solving 1st order separable differential equation.

The Attempt at a Solution


Using separation of variables, I can write:
upload_2016-10-28_12-43-47.png


upload_2016-10-28_14-29-53.png


My questions are:

1) Am I correct to restrict the arbitrary constant, such that C≠e^–x? I'm doing so to avoid division by zero.
2) Since I initially restricted y such that y≠0;
a) How do I restrict my arbitrary constant to reflect this initial restriction on y?
b) Should I consider the case of y=0 separately to check if it's a solution?
c) If so, am I right to conclude that since I cannot arrange the RHS to be equal to zero, y=0 is NOT a solution?
4) In general, how does one deal with arbitrary constants on the denominator? I've played around in search of simpler way to express my solution, but can't find one.
 
Last edited:
Physics news on Phys.org
  • #2
humphreybogart said:

Homework Statement


Find the general solution to the differential equation:
View attachment 108105

Homework Equations


Separation of variables for solving 1st order separable differential equation.

The Attempt at a Solution


Using separation of variables, I can write:
View attachment 108108

https://www.physicsforums.com/attachments/108109My questions are:

1) Am I correct to restrict the arbitrary constant, such that C≠e^x? I'm doing so to avoid division by zero.
2) Since I initially restricted y such that y≠0;
a) How do I restrict my arbitrary constant to reflect this initial restriction on y?
b) Should I consider the case of y=0 separately to check if it's a solution?
c) If so, am I right to conclude that since I cannot arrange the RHS to be equal to zero, y=0 is NOT a solution?
4) In general, how does one deal with arbitrary constants on the denominator? I've played around in search of simpler way to express my solution, but can't find one.

Your solution is incorrect; it should be
$$y(x) = \frac{1}{c+e^{-x}} = \frac{e^x}{1+c e^x}$$
However, the same basic issues still arise.

I think that if you work at it a bit more and do some more thinking you can answer most of these questions on your own. You will learn more by doing that first, and coming back here only after reaching a genuine impasse.
 
  • #3
There is a sign error in your solution.

1) A constant should not depend on x anyway. If it could, there would be a sign error in your restriction.
2a/b) Can y=0 be true with your solution? If not, there is no problem, but you have to check it separately because it could be a solution.
2c) Check y=0 in the original differential equation - not in the solution you got assuming y≠0. Does it satisfy the original equation?
4) Not different from constants anywhere else.
 
  • #4
Apologies, I've corrected the sign error now. Very frustrating since now, naturally, help with the questions is muddied by correction of the error. :(
And also for not being able to count to 3 :P.

Regarding:
1) If I don't restrict the constant in this way, I'm saying that y=infinity is a solution to my differential equation. I can't reason why this would make any sense (y=infinity has a slope given by the differential equation (DE)? Surely y=infinity has no slope?), hence why I believe I must restrict it. I'm confused because I've never restricted a constant using the independent variable, and I'm not sure if it's mathematically correct?

2) Substituting y=0, and so dy/dx=0, into the original DE, I get that 0=0, which means that y=0 is actually a solution to the DE after all. Correct?
 
  • #5
humphreybogart said:
Apologies, I've corrected the sign error now. Very frustrating since now, naturally, help with the questions is muddied by correction of the error. :(
And also for not being able to count to 3 :P.

Regarding:
1) If I don't restrict the constant in this way, I'm saying that y=infinity is a solution to my differential equation.

***************************

No, that is not what it says.

You are simply never, ever allowed to divide anything by zero, so if you pick a value of ##C## that may (or may not) restrict the values of ##x## you are allowed to use in your solution.
****************************

I can't reason why this would make any sense (y=infinity has a slope given by the differential equation (DE)? Surely y=infinity has no slope?), hence why I believe I must restrict it. I'm confused because I've never restricted a constant using the independent variable, and I'm not sure if it's mathematically correct?

***********************************
Why are you asking if you are unsure? Don't you know if you are unsure? (That is the effect of using a "?" at the end.)

Anyway: it is mathematically correct to never divide by zero, and absolutely incorrect to divide by zero. End of story.
**************************************

2) Substituting y=0, and so dy/dx=0, into the original DE, I get that 0=0, which means that y=0 is actually a solution to the DE after all. Correct?

*******************************************
Is the differential equation satisfied by doing that? If so, would you not call that a solution?
*******************************************
 
  • #6
Infinity is not a real number.
humphreybogart said:
2) Substituting y=0, and so dy/dx=0, into the original DE, I get that 0=0, which means that y=0 is actually a solution to the DE after all. Correct?
Correct.
 
  • #7
Ray Vickson said:
"You are simply never, ever allowed to divide anything by zero, so if you pick a value of C that may (or may not) restrict the values of x you are allowed to use in your solution."

…then? I'm not sure what your point was here Ray.

"Why are you asking if you are unsure? Don't you know if you are unsure? (That is the effect of using a "?" at the end.)"

I said I am not sure. You can take that to mean I'm unsure. There really isn't any other way to interpret my sentence.

Anyway, regarding:

2) a) I see that restricting the arbitrary constant in order to restrict y≠0 isn't possible. There's no restriction on C that will do this.
b) Yes, I should. Since my general solution emerged from the restriction y=0, then I must check whether y=0 is itself a solution to the DE.
c) No. Again, the general solution emerged from the restriction y≠0, so naturally, it won't be possible to arrange the general solution such that y=0. In any case, this is not how to check whether y=0 is a solution or not. To check, I substitute y=0 and dy/dx=0 into the DE.
4)
mfb said:
Not different from constants anywhere else.
.

Please, correct me if I have misunderstood any of the above points.

Then, the only remaining question, which I will re-word, is:

1) Since division by zero is not possible, is it always necessary to place a restriction on an equation to reflect this? In my example, would this mean restricting C such that C≠–e^–x?
 
Last edited:
  • #8
Ray Vickson said:
"Why are you asking if you are unsure? Don't you know if you are unsure? (That is the effect of using a "?" at the end.)"
humphreybogart said:
I said I am not sure. You can take that to mean I'm unsure. There really isn't any other way to interpret my sentence.
What Ray meant was that if you had ended your sentence with a period, as in "...and I'm not sure if it's mathematically correct.", it would be clear that you are unsure. By ending it with a question mark, he's interpreting what you said as not being sure that you were unsure.

It's the difference between saying
5 + 4 is 11. - a declarative sentence (that happens to be false)
vs.
5 + 4 is 11? -- a declarative sentence expressing uncertainty
 
  • #9
Well, I'm sure I was unsure. :) I think it was a wholly unnecessary digression, however.
 
  • #10
humphreybogart said:
Then, the only remaining question, which I will re-word, is:

1) Since division by zero is not possible, is it always necessary to place a restriction on an equation to reflect this? In my example, would this mean restricting C such that C≠e^–x?

You don't impose such a condition on [itex]C[/itex]. Instead you must put a condition on the domain of [itex]y[/itex] (ie. a condition on the upper and lower bounds of [itex]x[/itex]).

Informally we say that the solution "blows up" at [itex]x_{\mathrm{crit}} = - \ln(-C)[/itex]. Now [itex]e^{-x} > 0[/itex] so this can only happen when [itex]C< 0[/itex].

But do we care about that?

If our initial condition is at [itex]x= 0[/itex] then we only care if [itex]x_{\mathrm{crit}} > 0[/itex], ie. [itex]-1 < C < 0[/itex]. Now in this case [itex]C = \frac{1}{y(0)} - 1[/itex], so [itex]x_{\mathrm{crit}} > 0[/itex] when [itex]y(0) > 1[/itex]. Thus our conclusion:
- If [itex]y(0) < 1[/itex] then [itex]y(x)[/itex] is bounded as [itex]x \to \infty[/itex] (this includes the case [itex]y(0) = 0[/itex] where [itex]y(x) = 0[/itex] is constant).
- If [itex]y(0) = 1[/itex] then [itex]y(x) = e^x \to \infty[/itex] as [itex]x \to \infty[/itex].
- If [itex]y(0) > 1[/itex] then [itex]y(x)[/itex] blows up in finite time [itex]x_{\mathrm{crit}} = \ln (y(0)/(y(0) - 1))[/itex] and so the domain of [itex]y[/itex] is [itex][0, x_{\mathrm{crit}})[/itex].
 
  • #11
pasmith said:
If our initial condition is at x=0

What do you mean by the initial condition of x=0?
 
  • #12
pasmith said:
If our initial condition is at x=0
There is no initial condition given in the problem, at least as far as what was posted.
 
  • #13
humphreybogart said:
What do you mean by the initial condition of x=0?
In a differential equation like the one you posted, you get a whole family of solutions, with one solution for each possible value of the arbitrary constant.

If an initial condition is given, such as y(0) = 1, then you can typically find the unique solution of this initial value problem (i.e., a differential equation and an initial condition).
 
  • #14
Yes, sorry, I thought that's what was meant. It's just that I hadn't stated an initial condition. I'm just considering the general solution, not the particular solution.

I'd like to know how I can deal with situations involving "division by zero" in the future, since they arise often in solving differential equations, and presumably elsewhere.

If I write my general solution without restricting C in the way I suggested (C≠–e^–x), then aren't I wrongly implying that "there are a family of solutions to this DE of the form y(x)=1/(e^-x + C), where C can take any value"? Surely I must specify that a solution does not exist when C≠–e^–x.
 
  • #15
humphreybogart said:
If I write my general solution without restricting C in the way I suggested (C≠–e^–x), then aren't I wrongly implying that "there are a family of solutions to this DE of the form y(x)=1/(e^-x + C), where C can take any value"? Surely I must specify that a solution does not exist when C≠–e^–x.
I'm not sure why you keep writing a constant ##C## as being equal to a non-constant function of ##x##.

I think you're asking if the constant ##C## can be a negative value because then there's some ##x=x_0## such that ##C+e^{-x_0}=0##. The answer is: yes, ##C## can be negative. In that case, ##x_0## simply isn't in the domain of the solution.
 
  • #16
vela said:
I think you're asking if the constant ##C## can be a negative value because then there's some ##x=x_0## such that ##C+e^{-x_0}=0##. The answer is: yes, ##C## can be negative. In that case, ##x_0## simply isn't in the domain of the solution.
If this can happen, the domain is not connected any more, the differential equation does not make sense at this point, and we get two different regions which can have a different constant C.

A common example is the solution to dy/dx = -1/x2: Sure, y=1/x + C is a class of solutions, but there is also [y=1/x + C[sub]1[/sub] for x<0 and y=1/x + C2 for x>0].
 
  • Like
Likes vela

1. What is an arbitrary constant in the denominator?

An arbitrary constant in the denominator refers to a numerical value that is added to the denominator of a mathematical expression. It is often used in integrals or differential equations to represent a family of solutions rather than a single specific solution.

2. Why is an arbitrary constant used in the denominator?

An arbitrary constant is used in the denominator to account for all possible solutions to a mathematical problem. It allows for a general solution to be found, rather than a specific one. This is particularly useful in cases where there are multiple solutions or a range of possible values.

3. How is an arbitrary constant in the denominator determined?

The value of an arbitrary constant in the denominator is typically determined by the initial conditions or boundary conditions of the problem. These conditions provide specific values that can be used to solve for the arbitrary constant and find a more specific solution.

4. Can an arbitrary constant in the denominator be eliminated?

Yes, in some cases an arbitrary constant in the denominator can be eliminated by manipulating the equation or using additional information. However, in many cases, it is necessary to keep the arbitrary constant in order to represent the full range of solutions.

5. Are there any limitations to using an arbitrary constant in the denominator?

While an arbitrary constant in the denominator can be a useful tool, it is important to note that it may not always accurately represent all solutions to a problem. In some cases, there may be other factors or conditions that are not accounted for by the arbitrary constant, leading to limitations in its use.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
319
  • Calculus and Beyond Homework Help
Replies
2
Views
273
  • Calculus and Beyond Homework Help
Replies
3
Views
328
  • Calculus and Beyond Homework Help
Replies
1
Views
277
  • Calculus and Beyond Homework Help
Replies
5
Views
911
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
11
Views
741
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
279
  • Calculus and Beyond Homework Help
Replies
8
Views
760
Back
Top