I am very confused on what path and contour integrals actually represent.
I tried looking for an answer on Google but the only examples were related to Quantum Mechanics.
For instance, real Riemann integrals can be thought as "the area under the curve". What about path/contour integrals?
Also, is there a difference between path and contour integrals, or are they the same thing? I've been thinking of contour integrals as path integrals where the path is a "closed loop", but I'm not sure if that's the case.
It's all so confusing, and not being able to visualise these concepts makes it feel like I'm just memorising formulas and theorems without any reason.
I have been thinking about path integrals as integrating over a curve in three dimensions. For example, in an $xyz$ coordinate system (with $y$ pointing “up”), we have a path on the $x$-"$z$" plane and integrate over that path. That is, instead of integrating over and along "$y=0$", we integrate over a certain path. But I don't know if this is a correct way to think of path integrals.
This issue has been frustrating me a lot because I'm now studying theorems that involve path/contour integrals and I just can't understand what they really do or mean.
By path integral I mean $$\int_{\gamma\vert_{[a,b]}}f(z)\hspace{0.2em}dz = \int_{a}^{b}f(\gamma(t))\cdot\gamma'(t)\hspace{0.2em}dt$$ where $f:U\subseteq\mathbb{C}\rightarrow\mathbb{C}$ is a function that satisfies all conditions for complex integration and $\gamma:[a,b]\rightarrow U\subseteq\mathbb{C}$ is at least a piece-wise regular path.
Any help would be appreciated.