Solving Homework Equations for x & y with 2x + 3y + 1 = 0

  • Thread starter Thread starter Buffu
  • Start date Start date
  • Tags Tags
    Homework Ode
Buffu
Messages
849
Reaction score
146

Homework Statement



##(2x + 3y + 1)dx + (4x + 6y + 1) dy = 0##

##y(-2) = 2##

Homework Equations

The Attempt at a Solution



Let ##z = 2x + 3y##
then ##z^\prime = 2 + 3y^prime##

##\displaystyle \dfrac{(z + 1)}{2z + 1} + \dfrac13\left({dz \over dx} - 2\right) = 0##
##\dfrac{dz}{dx} = \dfrac{z- 1}{2z + 1}##

##x = 2z + 3\log(1 - z) + C = 2(2x + 3y) + 3\log|(1 - 2x - 3y)| + C##

Plugging the values, I get ##C = -6##

So, ##0 = x + 2y + log|3y + 2x - 1| - 2##

But the answer given is ##0 = x + 2y \color{red}{-} log|3y + 2x - 1| - 2##.

Is the answer in the book wrong ?
 
Physics news on Phys.org
Buffu said:

Homework Statement



##(2x + 3y + 1)dx + (4x + 6y + 1) dy = 0##

##y(-2) = 2##

Homework Equations

The Attempt at a Solution



Let ##z = 2x + 3y##
then ##z^\prime = 2 + 3y^prime##

##\displaystyle \dfrac{(z + 1)}{2z + 1} + \dfrac13\left({dz \over dx} - 2\right) = 0##
##\dfrac{dz}{dx} = \dfrac{z- 1}{2z + 1}##

##x = 2z + 3\log(1 - z) + C = 2(2x + 3y) + 3\log|(1 - 2x - 3y)| + C##

Plugging the values, I get ##C = -6##

So, ##0 = x + 2y + log|3y + 2x - 1| - 2##

But the answer given is ##0 = x + 2y \color{red}{-} log|3y + 2x - 1| - 2##.

Is the answer in the book wrong ?
@Buffu I looked over your solution=I don't see any mistakes.
 
Hi Buffu:

I think your equation where dz/dx = f(x)is wrong.
You want to do two things first.
1. Substitute z=2x+3y into the given equation.
2. Substitute an expression for dy=g(dz) into the result of step 1.

Hope that helps.

Regards,
Buzz
 
Buzz Bloom said:
Hi Buffu:

I think your equation where dz/dx = f(x)is wrong.
You want to do two things first.
1. Substitute z=2x+3y into the given equation.
2. Substitute an expression for dy=g(dz) into the result of step 1.

Hope that helps.

Regards,
Buzz
##\displaystyle \dfrac{(z + 1)}{2z + 1} + \dfrac13\left({dz \over dx} - 2\right) = 0 \iff \dfrac{(3z + 3) - 4z - 2}{2z + 1} + {dz \over dx} = 0\iff \dfrac{ 1 - z}{2z + 1} + {dz \over dx} = 0 ##
 
  • Like
Likes Buzz Bloom
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