Absolute signs in solving ODEs \(\displaystyle{\frac{{{1}}}{{{y}}}}{\frac{{\text{d}{y}}}{{\text{d}{x}}}}={\frac{{{1}}}{{{x}}}}\) The way I

Zimbilin2p

Zimbilin2p

Answered question

2022-03-18

Absolute signs in solving ODEs
1ydydx=1x
The way I solve this:
for all x in (,0)
ln|y|=ln|x|+A where A is a real constant (since we know antiderivatives are separated by a constant)
|y|=B|x| where B is a positive constant equals exp(A)
y=Bx or Bx
It seems to me y=Cx where C is a real non-zero constant that equals either B or -B.
Since it seems like if y is equal to + or Bx for the entire interval (,0), then it must be only +Bx or Bx i.e. Cx for some subinterval. If it is +Bx, then for values outside and near this interval, they must also be +Bx since we know y is continuous and x is not zero. Vice versa.
But I don't know how to prove this. How to prove y=Cx for (,0)?
If that is the case, then I can write the general form of the differential equation picewisely as y=C1 for (,0),C2x for (0,), where C1 and C2 are non-zero reals.

Answer & Explanation

Brock Floyd

Brock Floyd

Beginner2022-03-19Added 6 answers

Step 1
The first point of confusion here is that you antidifferentiatied yy=1x
to ln(|y|)=ln(|x|)+A,
but this is not entirely correct. The antiderivatives of 1t are given by the piecewise,
ln(t)+A;,{t<0}
ln(t)+A;,{t>0}.
Taking this into account, you should have
ln(y)=ln(x)+A
or ln(y)=ln(x)+B.
This translates to y(x)=exp(A)x
or y(x)=exp(B)x.
Step 2
The second point of is in interpreting the "or." The two solutions we have here are that y(x)=c0x with c0>0, or that y(x)=c1x with c1<0. You could not have both happening simultaneously in all of (,0). Your question is, how do you prove it? Well, notice that the equation must be satisfied everywhere. But it cannot be satisfied if there are jump discontinities, which occur if you have a constant of one kind in one subinterval, and a constant of some other kind everywhere else. You can show that if

f ( x ) = { A x x C B x x > C ,

then f is not even differentiable at C unless A=B. You can prove it just using the definition of the derivative. The method for solving the equation, when done properly, already implies this, though, so in practice, you would not need to prove it.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?