Solving multivariable equation with integration

Click For Summary
SUMMARY

The discussion focuses on solving the multivariable equation dy/dx = (1+x)/xy with the initial condition y(1) = -4. The user successfully integrated both sides to derive the equation (1/2)y^2 = ln|x| + x + c and determined that c = 7 by substituting y(1) = -4. The correct form of the solution is y = ±√(2ln|x| + 2x + 2c). The user confirmed that using the inverse function to find c was an appropriate approach.

PREREQUISITES
  • Understanding of differential equations and integration techniques
  • Familiarity with initial value problems in calculus
  • Knowledge of inverse functions and their applications
  • Proficiency in manipulating logarithmic and algebraic expressions
NEXT STEPS
  • Study the method of integrating factors for solving first-order differential equations
  • Learn about initial value problems and their significance in differential equations
  • Explore the properties and applications of inverse functions in calculus
  • Review techniques for solving logarithmic equations and their transformations
USEFUL FOR

Students studying calculus, particularly those focusing on differential equations, as well as educators seeking to clarify concepts related to integration and initial value problems.

gingermom
Gold Member
Messages
31
Reaction score
0

Homework Statement



dy/dx = (1+x)/xy solve y(1) = -4





Homework Equations





The Attempt at a Solution

What threw me was the solve for if y(1) = -4

I grouped variables and then integrated both sides and solved for y.

(1/2)y^2 = ln|x|+x+c
y=+- √2ln|x|+x+c

I then switched the x and y to get the inverse of the equation and set that equal to -4

-4=-+ √2ln1+1+c
16= 2*(1+c)
8-1=c
7=c

However, I am not sure this was the correct approach. I could not figure out how to isolate x in the beginning, but I am not 100 percent sure of my logic of using the inverse, and whether I applied it appropriately. If this is way off base, can you point me in the correct direction? We have not had any problems quite like this and I am not sure I am making the correct leap in combining concepts.

Thanks.
 
Physics news on Phys.org
gingermom said:

Homework Statement



dy/dx = (1+x)/xy solve y(1) = -4





Homework Equations





The Attempt at a Solution

What threw me was the solve for if y(1) = -4

I grouped variables and then integrated both sides and solved for y.

(1/2)y^2 = ln|x|+x+c
y=+- √2ln|x|+x+c

I then switched the x and y to get the inverse of the equation and set that equal to -4

-4=-+ √2ln1+1+c
16= 2*(1+c)
8-1=c
7=c

However, I am not sure this was the correct approach. I could not figure out how to isolate x in the beginning, but I am not 100 percent sure of my logic of using the inverse, and whether I applied it appropriately. If this is way off base, can you point me in the correct direction? We have not had any problems quite like this and I am not sure I am making the correct leap in combining concepts.

Thanks.

Slight miscommunication here. Your second line should read:

##y= +- \sqrt{2ln|x| + 2x + 2c}##

Then ##y(1) = -4## would indeed imply ##c = 7##.

Then simply subbing ##c## into your solution from prior would be the last thing to do.
 
Thanks - Yes, sorry about that I had used parenthesis but they disappeared and I didn't notice. So using the inverse to find C was the right thing to do. Yeah, maybe I am getting this after all! I was so focused on finding C I forgot about putting it back in. Should have posted that part, too I guess. First time here. Will try and do better if ( I probably should say when) I need additional help. Thanks again.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
4
Views
3K
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K