File:Demonstrating univariate residues with contour around origin.png

Summary

Description
English: A complex function where has two singularities . The two singularities plus the singularity at the origin are in red. There is a contour around the origin which represents the contour you might use for Cauchy's coefficient formula.
Date
Source Own work
Author Dom walden
PNG development
InfoField
Source code
InfoField

Python code

import matplotlib.pyplot as plt
import numpy as np

fig, ax = plt.subplots()

ax.scatter([0], [0], color='red')
ax.text(0, -0.1, '0')

ax.scatter([0.5], [0], color='red')
ax.text(0.5, -0.1, '$z_0$')

ax.scatter([1], [1], color='red')
ax.text(1, 0.9, '$z_1$')

theta = np.linspace(-np.pi, np.pi, 100)
r = 0.2
x = r * np.cos(theta)
y = r * np.sin(theta)
ax.plot(x, y, color='black')
ax.text(0.17, -0.17, '$\gamma_0$')

ax.set_xlabel('Re z')
ax.set_ylabel('Im z')
ax.set_xlim([-2, 2])
ax.set_ylim([-2, 2])

ax.grid(True)
ax.set_aspect('equal', adjustable='box')
plt.show()

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Category:CC-BY-SA-4.0#Demonstrating%20univariate%20residues%20with%20contour%20around%20origin.png
Category:Self-published work
Category:Contour integration
Category:CC-BY-SA-4.0 Category:Contour integration Category:Creative Commons Attribution-Share Alike 4.0 missing SDC copyright license Category:Creative Commons Attribution-Share Alike missing SDC copyright status Category:PNG created with Matplotlib code Category:Self-published work Category:Self-published work missing SDC copyright license