# Integration of (Tsiolkovsky) rocket equation

The (Tsiolkovsky) rocket equation states that the velocity of a rocket can be calculated as

$$v(t) = v_0 \ln\frac{m_0}{m_0 - \dot m t}$$

where $m_0$ is the starting mass, $\dot m$ is the (constant) loss of mass per time due to the rocket engine which emits the exhaust gas with the velocity $v_0$. To get the distance travelled at a certain time after the launch, I have to integrate this formula. My approach is as follows:

\begin{align} &\int \ln \frac{a}{a-bt}\text{d}t\\ = &\int \ln a \text{d}t - \int \ln (a-bt)\text{d}t\\ = & t\ln a - \left( -\frac{1}{b}((a-bt) \ln(a-bt) - (a-bt)\right) \end{align}

I know that there is a "nice" solution: $$\int \ln \frac{a}{a-bt}\text{d}t = \frac{a-bt}{b} \ln \frac{a-bt}{a} + t$$ but I can't see how to get there from my approach. Which steps are neccessary, or is there a different way to begin with?

PS: it seems to work if I remove the constant $\frac{a}{b}$ and add the constant term $-\frac{a}{b}\ln a$ in my antiderivative. But there has to be a better way!

You may just use an integration by parts. \begin{align} \int \ln \frac{a}{a-bt}\:\text{d}t&=t\:\ln \frac{a}{a-bt}-\int t\:\frac{\left(\frac{a}{a-bt}\right)'}{\frac{a}{a-bt}}\:\text{d}t\\\\ &=t\:\ln \frac{a}{a-bt}-\int t\:\frac{b}{a-bt}\:\text{d}t\\\\ &=t\:\ln \frac{a}{a-bt}+\int \frac{a-bt-a}{a-bt}\:\text{d}t\\\\ &=t\:\ln \frac{a}{a-bt}+t-a\int \frac{1}{a-bt}\:\text{d}t\\\\ &=t\:\ln \frac{a}{a-bt}+t-\frac ab\int \frac{b}{a-bt}\:\text{d}t\\\\ &=t\:\ln \frac{a}{a-bt}+t-\frac ab\ln \frac{a}{a-bt}\\\\ &=\left(t-\frac ab\right)\ln \frac{a}{a-bt}+t\\\\ &=\frac{a-bt}{b} \ln \frac{a-bt}{a} + t. \end{align}
• Could you please explain why you multiply with $b/b$, and more importantly, why do you add $\ln a$? Is this only to get to my proposed solution? – Jasper Feb 13 '15 at 22:04
• @Jasper Yes, it is because you may notice that: $$\left(\ln \frac{a}{a-bt} \right)'=\frac{\left(\frac{a}{a-bt}\right)'}{\frac{a}{a-bt}}=\frac{b}{a-bt}$$ giving $$\int \frac{b}{a-bt}\:\text{d}t=\ln \frac{a}{a-bt}.$$ Thanks. – Olivier Oloa Feb 13 '15 at 23:21
• But using just integration by substitution, one would get $\ln \frac {1}{a-bt}$, right? – Jasper Feb 14 '15 at 0:25
• @Jasper Right. The general form is $$\ln \frac{1}{a-bt} +C$$ $C$ is any constant, if $C:=\ln a$ you get $$\ln \frac{1}{a-bt} +\ln a=\ln \frac{a}{a-bt}$$ as another primitive. – Olivier Oloa Feb 14 '15 at 1:33
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 1, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 2, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://math.stackexchange.com/questions/1144257/integration-of-tsiolkovsky-rocket-equation", "fetch_time": 1558523002000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2019-22/segments/1558232256797.20/warc/CC-MAIN-20190522103253-20190522125253-00021.warc.gz", "warc_record_offset": 558224005, "warc_record_length": 33232, "token_count": 970, "char_count": 2431, "score": 3.90625, "int_score": 4, "crawl": "CC-MAIN-2019-22", "snapshot_type": "latest", "language": "en", "language_score": 0.6467814445495605, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00031-of-00064.parquet"}