# Thread: Help integrating complex function!

1. ## Help integrating complex function!

I'm stuck... its been awhile since I've done integrals.

So the integral is $\displaystyle \int\frac{dz}{z}$ along the straight line segment from 1 to i. I parameterized the curve as $\displaystyle \gamma:[0,1]\rightarrow C$, defined as $\displaystyle \gamma(t)=(-t+1)+it$ and then used the property that dividing 1 by z is the equivalent of $\displaystyle z^{-1}$. So I have (with the constant (-1+i) omitted):

$\displaystyle )\int(\frac{-t+1}{(-t+1)^2+t^2})-i\frac{t}{(-t+1)^2+t^2}dt\\=\int(\frac{-t+1}{(-t+1)^2+t^2})dt-i\int\frac{t}{(-t+1)^2+t^2}dt$

I have no clue how to integrate these... is there some trick I'm forgetting? any help?

2. Originally Posted by platinumpimp68plus1
I'm stuck... its been awhile since I've done integrals.

So the integral is $\displaystyle \int\frac{dz}{z}$ along the straight line segment from 1 to i. I parameterized the curve as $\displaystyle \gamma:[0,1]\rightarrow C$, defined as $\displaystyle \gamma(t)=(-t+1)+it$ and then used the property that dividing 1 by z is the equivalent of $\displaystyle z^{-1}$. So I have:

$\displaystyle \int(\frac{-t+1}{(-t+1)^2+t^2})-i\frac{t}{(-t+1)^2+t^2}dt\\=\int(\frac{-t+1}{(-t+1)^2+t^2})dt-i\int\frac{t}{(-t+1)^2+t^2}dt$

I have no clue how to integrate these... is there some trick I'm forgetting? any help?
$\displaystyle \int\frac{-t+1}{(-t+1)^2+t^2}dt=\int\frac{-t+1}{t^2-2t+1+t^2}dt=\int\frac{-t+1}{2t^2-2t+1}dt$. Let $\displaystyle z=2t^2-2t+1\implies dz=2t-2$..

3. Originally Posted by Drexel28
$\displaystyle \int\frac{-t+1}{(-t+1)^2+t^2}dt=\int\frac{-t+1}{t^2-2t+1+t^2}dt=\int\frac{-t+1}{2t^2-2t+1}dt$. Let $\displaystyle z=2t^2-2t+1\implies dz=2t-2$..
I got kind of excited until I noticed its actually $\displaystyle dz=4t-2$... but that lead me on this train of thought:

(Integrating the real term):

$\displaystyle z=2t^2-2t+1 \implies dz=4t-2$
$\displaystyle -t+1= \frac{-1}{4} (4t-4)=\frac{-1}{4} (4t-2-2)=\frac{-1}{4} (4t-2)+\frac{1}{2}$

So:

$\displaystyle =\frac{-1}{4}\int\frac{4t-2}{2t^2-2t+1}dt+\frac{1}{2}\int \frac{1}{2t^2-2t+1}dt$

Which should be...

$\displaystyle =-\frac{1}{4}\ln(2t^2-2t+1)+\frac{1}{2}\tan^-1(2x-1)$

yay/nay?
{"extraction_info": {"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": 0, "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": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.9950685501098633, "perplexity": 701.6681162563561}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 20, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2018-26/segments/1529267859923.59/warc/CC-MAIN-20180618012148-20180618032148-00208.warc.gz"}