Solution to Initial Value Problem with Separable Equations | Diffy Q Homework

  • Thread starter Thread starter Jamin2112
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around solving an initial value problem involving separable differential equations, specifically the equation y'=(2x)/(y+x2y) with the initial condition y(0)=-2.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the separation of variables and the integration process, with some expressing confusion about the placement of the constant C in the solution. There are questions about how this affects the initial condition and the resulting solution.

Discussion Status

The discussion is ongoing, with participants exploring different interpretations of the placement of the constant C and its implications for the initial value problem. Some guidance is offered regarding checking the solution against the original differential equation.

Contextual Notes

Participants are grappling with the implications of their choices in the integration process, particularly concerning the constant of integration and its effect on the initial condition. There is also mention of the complexity introduced by square roots and logarithms in the solution.

Jamin2112
Messages
973
Reaction score
12

Homework Statement



Find the solution to each of the following initial value problems in explicit form.

(a) y'=(2x)/(y+x2y), y(0)=-2

Homework Equations



Uhhhhh I suppose it would be relevant to mention that an equation in the form dy/dx = g(x)h(y) is separable

The Attempt at a Solution



y'=(2x)/(y+x2y)=[1/y][2x/(1+x2)]

==> y dy=2x/(1+x2) dx
==> y2/2 + C1 = ln|1+x2| + C2
==> y2/2 = ln|1+x2| + C (C = C2 - C1, just to combine into one constant)

==> (-2)2/2 = ln|1+02| + C
==> C = 2
==> y2 = 2ln|1+02| + 4
==> y = +/- √(2ln|1+x2| + 4)

That just seems a little too complicated an answer.
 
Physics news on Phys.org
I just don't understand the whole procedure. If I had put C on the left hand side of the equals sign, I would've came up with a different answer.
 
Jamin2112 said:
I just don't understand the whole procedure. If I had put C on the left hand side of the equals sign, I would've came up with a different answer.

How so? Leaving C on the left simply makes C=-2 as opposed to 2.
 
rs1n said:
How so? Leaving C on the left simply makes C=-2 as opposed to 2.

which would change the initial value problem
 
Jamin2112 said:
which would change the initial value problem

No it wouldn't -- not if C is on the left. Are you sure you aren't mixing C's? Had you left C on the left, then you wouldn't be using the equation above (in which C is on the right).
 
rs1n said:
No it wouldn't -- not if C is on the left. Are you sure you aren't mixing C's? Had you left C on the left, then you wouldn't be using the equation above (in which C is on the right).

Got'cha. Do you think the rest of the problem is right? I'm getting quite a few answers with "plus or minus" in this homework.
 
Seems like you understand separable DEQs to me. It also doesn't hurt to check your answers by seeing if the answer satisfies the original DEQ.
 
rs1n said:
Seems like you understand separable DEQs to me. It also doesn't hurt to check your answers by seeing if the answer satisfies the original DEQ.

Horrible idea. Square roots and natural logs, combined, are a b***h to integrate.
 

Similar threads

Replies
3
Views
2K
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
4
Views
2K
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K