ODE with Substitution: Solving for y' = (2x+3y-5)/(x+4y) using z = b/a method

  • Thread starter Thread starter manenbu
  • Start date Start date
  • Tags Tags
    Ode Substitution
manenbu
Messages
101
Reaction score
0

Homework Statement



y' = \frac{2x+3y-5}{x+4y}

Homework Equations





The Attempt at a Solution



First of all, I switched it to another coordinates, a and b, giving:

b' = \frac{2a+3b}{a+4b}
where a = x-4 and b = y+1.
Then using the substitution z = \frac{b}{a} and some algebra I get:
z' = \frac{2z+2-4z^2}{a(1+4z)}
the integral is:
\frac{1}{2} \int \frac{(1+4z)dz}{2+1-2z^2} = \int \frac{da}{a}
solving the integral (using partial fractions) gives me:
5\ln{|z-1|} + \ln{|z+\frac{1}{2}|} = 6\ln{|a|}+C
getting rid of the logarithm, and putting back a and b inside:
\left(\frac{b-a}{a}\right)^5 \left(\frac{2b+a}{2a}\right)=C(a)^6
making it back in x and y:
\left(\frac{y-x+5}{x-4}\right)^5 \left(\frac{2y+x-2}{2x-8}\right)=C(x-4)^6

Which should be the final answer, but when I look at the answers, it's different, being:
(y-x+5)^5(2y+x-2)=C

And my question is - where did I go wrong?
I had a similar problem where I got similar results, me having denominators which didn't appear in the given answer. Am I doing something wrong in my technique, or both of the answers are equal (and I'm missing some algebra here)?

Thanks!
 
Physics news on Phys.org
manenbu said:
… Which should be the final answer, but when I look at the answers, it's different …

Hi manenbu! :smile:

No, it's the same (if you keep cancelling) …

except that their C is twice your C (which of course doesn't matter). :wink:
 
Ok thanks, but how is it the same?
I'm ok with solving the ODE but then I guess that the algebra part is a bit hard for me.
I tried getting from one form to another but no success.
 
manenbu said:
Ok thanks, but how is it the same?

Hi manenbu! :smile:

Because on the bottom left, you have (x - 4)5(2x - 8), which is 2(x- 4)6, and on the right …

ohhh … you need a minus there (i didn't notice that before) …

you missed out a "minus" on the LHS when you changed to partial fractions. :wink:
 
Oh so assuming I get the minus right that's -6 and -6 powers on both sides. Ok got it!
Thanks. :)
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top