Differential Equations - Verifying a solution of a given DE

Nickg140143
Messages
30
Reaction score
0

Homework Statement



Verify that the indicated funciton is a solution of the given Differential Equation. c1 and c2 denote constants where appropriate.

\frac { dX }{ dt } =(2-x)(1-x);\quad \quad \ln { \frac { 2-x }{ 1-x } } =t

The Attempt at a Solution


I'm not quite sure how to really start this problem. If I'm reading the question right, the differential equation is

\frac { dX }{ dt } =(2-x)(1-x)

and that the solution I'm checking is
\ln { \frac { 2-x }{ 1-x } } =t

I was thinking of perhaps integrating
\frac { dX }{ dt } =(2-x)(1-x)
then maybe plug in the the given value of t?

I've read through the section and looked at my notes from class, but I can't seem to fully understand what I should be doing in this problem. The solution in the back of the book says

\frac { d }{ dt } \ln { \frac { 2-X }{ 1-X } } =1,\quad \left[ \frac { -1 }{ 2-X } +\frac { 1 }{ 1-X } \right] \frac { dX }{ dt } =1
Simplifies to
\frac { dX }{ dt } =(2-X)(1-X)

...Not entirely sure what it necessarily means by that though. Any help would be GREATLY appreciated.
 
Physics news on Phys.org
I think they just want you to take the derivative of \ln { \frac { 2-x }{ 1-x } } and find that it does indeed equal (2-x)(1-x)

EDIT: although when I take the derivative I get the answer upside down. I get \frac{1}{(1-x)(2-x)}
 
Last edited:
You just need to take the derivative of the natural log function. Some things you might want to keep in mind when doing this are that you can split this function into two natural logs, and also the chain rule.
 
Alright, I'll give that a go and try to make sense of the question, thanks for the help you two
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top