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

  • Thread starter Thread starter Buffu
  • Start date Start date
  • Tags Tags
    Homework Ode
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 · 2K views
Buffu
Messages
851
Reaction score
147

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 ?
 
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   Reactions: Buzz Bloom