Differential equations: separating variables

Click For Summary

Homework Help Overview

The discussion revolves around two differential equations that require separation of variables. The first equation involves a function u dependent on x, while the second involves a function y dependent on t. Participants are exploring the integration techniques and initial conditions associated with these equations.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss their attempts to separate variables and integrate both sides of the equations. There are questions regarding the manipulation of logarithmic identities and the evaluation of constants of integration. Some participants express confusion about specific terms in the solutions and seek clarification on the integration process.

Discussion Status

Several participants have provided insights into the integration steps and have pointed out potential errors in the original poster's reasoning. There is an ongoing exploration of different approaches to isolating variables and understanding the implications of initial conditions. No consensus has been reached, but guidance has been offered regarding the integration techniques.

Contextual Notes

Participants are working under the constraints of homework rules, which may limit the extent of guidance provided. There is an emphasis on understanding the integration process and the correct application of logarithmic properties.

armolinasf
Messages
195
Reaction score
0

Homework Statement



So I have two problems that ask me to separate variables:

1: du/dx * x(x+1) = u^2 u(1)=1

2: dy/dt=y(2-y) Initial condition y(0)=1

The Attempt at a Solution



For #1 i get each variable on one side and have integral(u^-2du)=integral(dx/x(x+1)
I use partial fractions to break up the x side, coefficient are 1 and -1. Now I have:
-1/u=ln(x/x+1) +C ==> u=-1/(ln(x)-ln(x+1)) + C. And evaluated at (1,1) C=ln2.

that would give us, u=-1/(ln(x)-ln(x+1)) + ln2, however the answer in my book gives u=-1/((ln2x/x+1)-1) I'm having trouble seeing where the minus one in the denominator comes from can someone show me an explanation?

For #2 i get integral(dy/y(2-y)) = integral(dt) I again use partial fractions to break up the y side, giving coefficients of 1/2. I'm left with 1/2(ln(y) + ln(2-y))=t. I'm having trouble isolating y on one side. I need a point in the right direction.

Thanks for the help!
 
Physics news on Phys.org
For both questions, playing around with the identities
ln(a) + ln(b) = ln(ab)
ln(a) - ln(b) = ln(a/b)
may be useful.
 
u=-1/(ln(x)-ln(x+1)) + C. And evaluated at (1,1) C=ln2.

I don't think this is true... by properties of logarithms we have
u = -1/(ln(x/x+1)) + C.
Evaluated at (1,1) C = 1 + 1/ln(1/2)
 
armolinasf said:

Homework Statement



So I have two problems that ask me to separate variables:

1: du/dx * x(x+1) = u^2 u(1)=1

2: dy/dt=y(2-y) Initial condition y(0)=1

The Attempt at a Solution



For #1 i get each variable on one side and have integral(u^-2du)=integral(dx/x(x+1)
I use partial fractions to break up the x side, coefficient are 1 and -1. Now I have:
-1/u=ln(x/x+1) +C ==> u=-1/(ln(x)-ln(x+1)) + C. And evaluated at (1,1) C=ln2.

that would give us, u=-1/(ln(x)-ln(x+1)) + ln2, however the answer in my book gives u=-1/((ln2x/x+1)-1) I'm having trouble seeing where the minus one in the denominator comes from can someone show me an explanation?

For #2 i get integral(dy/y(2-y)) = integral(dt) I again use partial fractions to break up the y side, giving coefficients of 1/2. I'm left with 1/2(ln(y) + ln(2-y))=t. I'm having trouble isolating y on one side. I need a point in the right direction.

Thanks for the help!

I didn't work #1, but maybe my help with #2 will help you with that one.

You have a sign error when you integrated the left side.
1/2 \int [1/y + 1/(2 - y)] dy = \int dt
\Rightarrow 1/2 [ ln|y| - ln|2 - y| ]= t + C

In the second integral on the left side you have \int dy/(2 - y). Use an ordinary substitution to evaluate this integral.

Since y(0) = 1, then C = 0.

Now, since y(0) = 1, when t is near 0, y is near 1, so that should tell you something about whether you can get rid of the absolute values for |y| and |2 - y|.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
844
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K