Verifying Differential Equations Solutions: ODEs on Intervals

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 3K views
mathnerd15
Messages
109
Reaction score
0
Hi! I think I have to ask this since I'm having health problems-

from Kreyszig, for xy'=-y how do you verify the solution y=h(x)=clnx by differentiating
y'=h'(x)=-clnx^2? I don't see how you get the x^2 term
also for ODEs the solution is on an open interval a<x<b but how does it include special cases of the intervals -inf<x<b, a<x<inf, -inf<x<inf; wouldn't the open interval a<x<b exclude -inf<x<b?
thanks very much!
 
Physics news on Phys.org
thanks very much!
I separated leading to-
-ln|y|=ln|x|+C
so then you just find the substitution c/x? (I misread the text: l is /)
 
mathnerd15 said:
thanks very much!
I separated leading to-
-ln|y|=ln|x|+C
so then you just find the substitution c/x? (I misread the text: l is /)
Well, you don't just "find" a substitution. You always solve an equation of the form f(y)= F(x) for y by taking [itex]f^{-1}[/itex] of both sides. The inverse function to ln(x) is, of course, [itex]e^x[/itex] so take the exponential of both sides:
[tex]e^{-ln|y|}= e^{ln|x|+ C}[/tex]

[itex]-ln|y|= ln|y^{-1}|[/itex] so the left side is [itex]y^{-1}= 1/y[/itex]. Because [itex]e^{a+ b}= e^ae^b[/itex] the right side is [itex]e^{ln|x|}e^C= C' |x|[/itex] where C'= e^C.
That is, [itex]1/|y|= C'|x|[/itex] or [itex]|y|= C'/|x|[/itex]. We can then "absorb" the absolute values into C' by allowing it to be positive or negative.