Linked Questions
17 questions linked to/from Complex number operations: telling Mathematica variables are real
6
votes
2answers
622 views
Simplify — is this simplest result Mathematica can provide? [duplicate]
I have a question about Simplify: When I do a simplification the returned result is not as simple as I want. When I ask for the Norm of an complex expression, ...
4
votes
3answers
2k views
Conjugating symbolic expression [duplicate]
I am trying to conjugate a symbolic expression, and I have explicitly stated the real terms. However, I simply can't get it to work:
...
2
votes
2answers
634 views
Simplify an expression with complex numbers [duplicate]
How can I get a simplify expression of following when all a,b, .., f are real numbers?
FullSimplify[Abs[(a+I b)+(c+I d)(e+I f)]^2]
0
votes
1answer
305 views
How do I declare that a variable represents a real number? [duplicate]
How do I tell Mathematica that a variable is a real number. I searched for this question here and in Google and nothing that was suggested seems to work for me. I must be missing something. My code is ...
1
vote
1answer
86 views
Trouble getting Mathematica to assume some parameters are real and simplify the expression [duplicate]
Say I enter the following code:
FullSimplify[Im[r*Exp[I*theta]^2 + (s + I*t)*Exp[I*theta]],
Element[theta | r | s | t, Reals]]
I expect to get:
...
39
votes
3answers
61k views
How to tell Mathematica that certain variables are real/imaginary, integer-valued, etc
I'm trying to expedite some quantum mechanical calculations (expectation values etc.) by running them through Mathematica. When I say, for example,
...
33
votes
1answer
31k views
Extract real part of a complex expression better than Re does
I have a complex expression with real positive variables only.
Mathematica Input Style:
...
17
votes
1answer
10k views
How to assume all variables in my code are reals
I won't have any occasion to have any imaginary number in my code. If there are any, that is an error.
So allowing the imaginary case simply hinders the equation manipulation and simplification.
I ...
13
votes
2answers
10k views
7
votes
3answers
2k views
4
votes
4answers
9k views
How to take conjugate of a function?
Naïvely this is what happens and it obviously is not helpful!
...
12
votes
2answers
2k views
9
votes
2answers
529 views
What is the value Re[Sqrt[1+I*2*x]]?
When I try to evaluate Re[Sqrt[z]], for some values of Mathematica fails to evaluate it.
For example,
Re[Sqrt[2 + I*x]]`
<...
6
votes
1answer
1k views
Does the Im function work with symbolic arguments?
Does the Im function work with symbolic arguments?
...
1
vote
3answers
702 views
how to take complex conjugate of a real variable
I have a function defined as follows:
g[θ_] := 1/k (Exp[-I δ0] Sin[δ0] + 3 Exp[I δ1] Sin[δ1 Cos[θ] +
5/2 Exp[I δ2 (3 (Cos[θ])^2 - 1))
and I compute ...