Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

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 have the following ODE Where given is $x(0)=1$:


After separation of variables I got this:

$$\frac{-1}{x} = 4\ln(t+3)+C$$

I think this simplifies more as:


Please tell me if this is correct, I also have problem finding C in this case, MapleTA does not accept my answer which happens to be:



I found that the C should e expresed also in $\ln$ (logarithmic) term, not a number. Any ideas?

share|cite|improve this question
To find the value of $C$, plug in the initial conditions: plugging in $t=0$ and setting $x=1$ should allow you to obtain the value for $C$. – Arturo Magidin May 14 '12 at 19:30
up vote 1 down vote accepted

The general solution seems correct, but your computation of $C$ does not.

You know that $x(0)=1$. That means that when $t=0$, you should get $x=1$. Plugging in $t=0$ you get $$x(0) = \frac{-1}{4\ln(0+3) + C} = \frac{-1}{4\ln(3)+C}.$$ Since $x(0)=1$, that means $$\begin{align*} 1 &= \frac{-1}{4\ln(3)+C}\\ 4\ln(3)+C &= -1\\ C &= -1-4\ln(3)\approx -1-4(1.0986) = -5.3944 \end{align*}$$ So I'm not sure how you get that $C\approx -0.52$.

share|cite|improve this answer
Thanks, I contacted a fellow classmate, What I have to achive here is not a real number, it should be expressed in terms of logarithms. Any idea how to do that? – Sean87 May 14 '12 at 22:03
Aaaaa I see you already did that :P I did too but with a little bit of mistake! Thanks! – Sean87 May 14 '12 at 22:56

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.