Separation of variables question

Click For Summary

Homework Help Overview

The discussion revolves around solving a separable differential equation of the form dy/dx = y/(x(x-1)). Participants are examining their attempts to integrate and manipulate the equation, as well as the implications of constants introduced during the process.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants are discussing the integration of the equation and the role of constants in the solution. There are questions about the use of a constant 'c' in the integration process and its relationship to the final answer. Some participants suggest alternative methods for partial fraction decomposition.

Discussion Status

The conversation is ongoing, with participants exploring different interpretations of the integration process and the constants involved. There is no explicit consensus, but several lines of reasoning are being examined, particularly regarding the treatment of constants and integration techniques.

Contextual Notes

Some participants express confusion over the introduction of constants and their significance in the final solution. There are references to specific integration techniques and the need for clarity on assumptions made during the problem-solving process.

JamesGoh
Messages
140
Reaction score
0

Homework Statement



Solve the following separable equation

[itex]\frac{dy}{dx} = \frac{y}{x(x-1)}[/itex]

Homework Equations



[itex]\int\frac{1}{x}dx=ln(x)[/itex]


The Attempt at a Solution



See attachment

Im getting [itex]y=(\frac{x-1}{x})^{c}[/itex] as my answer when in fact the answer the tutor gave is [itex]y=c(\frac{x-1}{x})[/itex]

not sure what I am missing
 

Attachments

Physics news on Phys.org
I don't understand why you say that:
[itex]\int\frac{dx}{x(1-x)} = \int \frac{cdx}{1-x}- \int \frac{cdx}{x}[/itex]

What is this c?
You should be writing:
[itex]\int\frac{dx}{x(1-x)} = \int (\frac{a}{1-x} + \frac{b}{x})dx[/itex]
and find the appropriate a and b.
 
Tomer said:
I don't understand why you say that:
[itex]\int\frac{dx}{x(1-x)} = \int \frac{cdx}{1-x}- \int \frac{cdx}{x}[/itex]

What is this c?
You should be writing:
[itex]\int\frac{dx}{x(1-x)} = \int (\frac{a}{1-x} + \frac{b}{x})dx[/itex]
and find the appropriate a and b.

c is a constant value

a and b would be the same value, since the numerator on the [itex]\int\frac{dx}{x(1-x)}[/itex] is 1

you just have to treat [itex](\frac{a}{1-x} + \frac{b}{x})[/itex] like adding fractions and you'll realize why I simply put c on the top of both fractions
 
So if you know c = 1, why do you keep on dragging it?
It's not the "c" in the final answer.
The "c" in the final answer comes as a result of the integration constant.

[itex]\int \frac{dx}{x(x-1)} = ln(\frac{x}{x-1}) + C[/itex]

EDIT: I just reread your post - maybe you weren't aware that your c=1? Of course I realize that a and b have the same values (actually opposite values) - but you should also notice that a = -b = 1.
 
Last edited:
You added a false constant and omitted the actual constant.

dy/y=dx/[x(x-1)]
look like log write as log
d log(y)=d log(1-1/x)
integrate
y=C (1-1/x)

1/[x(x-1)]=1/(x-1)-1/x=(1/x)[1/(1-1/x)-(1-1/x)/(1-1/x)]
=(1/x^2)/(1-1/x)=(1-1/x)'/(1-1/x)=d log(1-1/x)
or
1/[x(x-1)]=1/(x-1)-1/x=d log(x-1)-d log(x)=d log(1-1/x)
 
Tomer said:
So if you know c = 1, why do you keep on dragging it?
It's not the "c" in the final answer.
The "c" in the final answer comes as a result of the integration constant.

[itex]\int \frac{dx}{x(x-1)} = ln(\frac{x}{x-1}) + C[/itex]

EDIT: I just reread your post - maybe you weren't aware that your c=1? Of course I realize that a and b have the same values (actually opposite values) - but you should also notice that a = -b = 1.


I was aware that c=1 from adding the fractions together

I explored the idea of using integration constant, however I backed out because I wouldn't be able to find an inverse natural log of it.

Im guessing cause C (integration constant ) is an arbitrary number, we can simply rewrite it as ln(C) ?
 
JamesGoh said:
I was aware that c=1 from adding the fractions together

I explored the idea of using integration constant, however I backed out because I wouldn't be able to find an inverse natural log of it.

Im guessing cause C (integration constant ) is an arbitrary number, we can simply rewrite it as ln(C) ?

You could do that, or you could look at it like this:

[itex]ln(y) = ln(\frac{x}{x-1}) + c => y(x) = e^{ln(\frac{x}{x-1}) + c} =><br /> <br /> y(x) = e^{c}ln(\frac{x}{x-1}) => y(x) = Cln(\frac{x-1}{x})^{-1} => <br /> y(x) = -Cln(\frac{x-1}{x}) => <br /> y(x) = Cln(\frac{x-1}{x})[/itex]

The example shows how C can alter it's value (c --> ec --> -ec). However I didn't bother to "rename" it every time, because it's clear that it's just a constant.

You'll always have C popping in a first order PDE, and that's because you'll always have a constant of integration. That's always the source of c.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
924
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
6
Views
2K
Replies
5
Views
2K