# Questions tagged [complex]

Questions about using complex numbers in Mathematica. This includes basic arithmetic, functions of complex numbers, plotting complex functions, and dealing with branch cuts.

844 questions
Filter by
Sorted by
Tagged with
38 views

### Force Mathematica to use only real valued intermediate values

I am trying to port a Mathematica expression to Python and eventually C++ code. I noticed that the expression can have some complex intermediate values, despite the final result always being a real ...
75 views

### Why is my plot hatched and how do I remove the hatched part of the plot? [closed]

Sorry for asking simple questions, I tried to solve it myself but I couldn't. I want to plot the following code, but the plot is hatched. ...
57 views

88 views

### Evaluation of contour integral seems be incorrect

I am performing an contour integral of the form ...
24 views

### plot function on complex plane region with contours for absolute value and colors for its argument [duplicate]

I have the following example function ...
61 views

### How to plot residue of a complex polynomial which coefficients are function? [closed]

It is easy to find residue when we know roots of polynomials, such as : g[z_, t_] := 1 + t*z Residue[1/(1 + t*z), {z, -1/t}] <...
41 views

82 views

### How to get rid of Conjugate in the result of Simplify? [closed]

FullSimplify[B^4 + A^3 E^(-I α) Conjugate[ AE^(-I α)], α ∈ Reals && A ∈ Reals && B ∈ Reals] I recently have the problem of simplifying a complex-...
51 views

### Hypergeometric function not giving a numerical value [closed]

I tried to run the following code: ...
46 views

### Using AbsArgPlot on parametricNDSolve output [closed]

I have solved following equation using ParametricNDSolve $$\frac{\mathrm d^2y}{\mathrm dx^2} + \left(a + \frac{2}{\pi} b\ \arctan x\right)y = 0$$ ...
115 views

30 views

### Inconsistency in complex line integral using 2 parameters vs 1 parameter

I am trying to numerically verify that, over a closed circular path, the line integral of a physics-inspired complex quantity $z_Q = P \cdot \frac{\partial}{\partial Q} S$ is the same regardless of ...
100 views

### Simplifying polynomial fractions with same DiracDelta function in both denominator and numerator

I am trying to simplify an expression with multiple Diracdelta functions in both numerator and denominator. For example, ...
51 views

### Remove imaginary part from expression on an interval

Let us have a expression: ...
65 views

### Keep mesh of triangulation under complex valued transformation

I try to make a quick tool for "plotting" complex valued functions. Therefore I generate a Table of complex valued points lying in the complex plane building a ...
102 views