I got ln y = ln |kx|, then y = kx (equalin' logarithm quantities)
Remember that "k" is an arbitrary constant.
That's what I think.
I was helping someone today on a basic Differential Equations problem and the answer I got disagreed with the one given in the back of the book. I'm hoping someone can confirm which is correct:
The problem is:
dy/dx = y/x
The answer I got (after combining all constants into K) is:
y = K|x|
The answer in the back of the book is:
y = Kx
(NOTE: There were no initial limits put on the domain or range of the function.)
I'm pretty sure the book "cheated" and decided to drop the absolute value (assuming the + and - would be absorbed into the K).
Can someone confirm whether that's legal to do?
What counts in the final analysis is what the original differential equation says. I see nothing to restrict x and y from being negative there, so I see no reason to restrict the solution.
I'm not too sure of the theory, but I would suggest that we might be able to "get rid" of the absolute value bars by solving the equation TWICE: once on (-infinity, 0] and [0, infinty) making sure that the two solutions match at x = 0. Someone better versed in theory than me would need to verify this, though.
-Dan
We are solving this on some open interval I \ {0}.
That is,
(0,N) where N is finite or infinite.
Or,
(-N,0) where N is finite or infinite.
In that case, these are the the solutions:
y=0 on I
Or,
ln |y| = ln|x|+C
Thus,
exp (ln|y|) = exp (\ln|x|+C)
|y| = |x|*exp(C)=K*|x| where K>0
Case 1: I=(0,N)
|y|=K*|x|=Kx
Thus,
y=+/- K*x = Mx where M is non-zero real.
Together with trivial solution y=0.
We have,
y=Mx where M is any real number.
Case 2: I=(-N,0)
|y|=K*|x|=-Kx
y=+/- (-K)x=Mx where M is non-zero real.
Together with trivial solution y=0.
We have,
y=Mx where M is any real number.
In both cases both solutions work.
Thus ye book did not cheat.
(However, it was not nice because they did not specify the interval on which to find the solution).
Sorry, my Moderator Edit button is located next to the Quote Button. I deleted your entire post.
I wanted to add, that do not worry how differencial equations work. Typical Textbooks do not do much theory. But it is complicated, very complicated. Thus, they just avoid it. You will no way be asked on your exam.
I appreciate you trying to look out for me, but it's not necessary. I'm a math major - if I'm content not knowing how the math works then what the heck am I doing majoring in math? I did not create this post because I am having a hard time understanding Differential Equations (especially equations as simple as the one I posted) but because I wanted to know if an absolute value could be removed from the final answer. I'm not having a hard time at all understanding Differential Equations.
I realize that many of the theories behind Differential Equations are given by proofs that are beyond my current level of understanding, but I am not content not knowing simply because I am not yet able to understand.
I have the same problem you have. But I agree with the approach colleges teach it.
My philosophy in mathematics is first learn how do it (countour integrations, differencial equations, line integrals...). Then when you get good at the stuff then learn the theory behind it. That is exactly what "Advanced Claculus" is. First you spend close to 2 years learning calculus and then finally when you know it you can start learning why it works.
This approach to math is not always true. If you are learning some area in mathematics that is completely based on none-stop proofs (like set theory) then no you cannot say the above.