Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wish to solve $x'(t)=\frac{x+t}{2t-x}$ with the initial condition $x(1)=0$. I noted that $x'(t)=f(\frac{x}{t})$ where $f(y)=\frac{y+1}{2-y}$ so I denoted $y(t)=\frac{x(t)}{t}$ and got that $y'(t)=\frac{f(y)-y}{t}$ so I can write something like $\frac{dy}{dt}=\frac{f(y)-y}{t}$ so $\frac{dy}{f(y)-y}=\frac{dt}{t}$ .

Here I am a bit stuck, I know I should do something like take integrals on both sides, but I am having trouble with the initial condition. In this exercise I can leave integrals in the answer so I would like to know how to get the solution with the integral, I think this requires to calculate the boundaries of some integral (maybe of $\frac{f(y)-y}{t}$ ?)

How can I continue to get the solution with integral that satisfies the initial condition ? Help is appriciated!

share|cite|improve this question
up vote 3 down vote accepted

Your differential equation is homogenous of order one. You did it right finding $\frac{dy}{dt}=\frac{f(y)-y}{t}$. So you can integrate of both sides in last equation till your solution is achieved respect to $y(t)$ and $t$. Then you can substitute $x(t)=y(t)t$ in your solution and then apply the initial condition. I hope it help. :)

share|cite|improve this answer
What are the integrals limits ? – Belgi Jun 28 '12 at 16:21
It is an indefinite integral with a unknown constant to be solved from the initial condition. – ja72 Jun 28 '12 at 16:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.