Questions about the function Assuming[], the $Assumptions system variable, and the Assumptions option of functions such as Simplify[] and Integrate[].
10
votes
2answers
1k views
How to specify assumptions before evaluation?
If I request mathematica evaluate an integral for me, I'll often get a more general ConditionalExpression than I want. Example :
...
15
votes
2answers
446 views
Why doesn't FullSimplify drop the Re function from an expression known to be real?
For some reason Mathematica does not properly simplify this expression:
...
13
votes
5answers
626 views
Does $x>0$ imply that $x\in\mathbb{R}$?
Let’s assume I input
Assuming[x > 0, expression]
Is it assumed by Mathematica that $x$ is a real number? Or that the real part of $x$ is positive? Something ...
4
votes
2answers
116 views
Usage of Assuming for Integration
For some reason, when I enter the following integration in Mathematica
Assuming[{k \[Element] Integers}, Integrate[Exp[I * k* t], {t, -Pi, Pi}]]
the result turns ...
8
votes
1answer
388 views
Is it possible to set a variable as a positive one in the whole notebook?
I'm having issues during integration due to the fact that Mathematica doesn't know if an undefined variable is positive or not (it gives me complexes which bothers me in the end).
For example I do ...
4
votes
1answer
366 views
Does the Im function work with symbolic arguments?
Does the Im function work with symbolic arguments?
...
6
votes
4answers
227 views
Attaching persistent assumptions to symbol definition
Is it possible to attach assumptions to a symbol? This relates to this question. Most of my work involves physical equations, i.e. there are basic assumptions on variables that will always hold true ...
8
votes
5answers
377 views
simplifying $\frac{\log x^a}{a} = \log x$
If one makes the assumptions $x>0,a>0$, then $\frac{1}{a}\log x^a = \log x$. Thus, in Mathematica, Simplify[1/a*Log[x^a], {a > 0, x > 0}] returns ...
4
votes
4answers
548 views
Mathematica gives wrong answer for integral
When I execute the following,
Integrate[Exp[-w^2 + I w^3], {w, -\[Infinity], \[Infinity]}]
I get
...
6
votes
2answers
150 views
Why does Integrate declare a convergent integral divergent?
When I try this command
Integrate[1/Sqrt[(s^2 - u)^2 - 1], {s, m, Infinity}, Assumptions -> u > 2 && m > 10]
Mathematica declares that the ...
5
votes
2answers
254 views
Replacements/Substitutions in Mathematica
I am a new user of Mathematica and have some questions about the simplifications of calculated expressions.
I am unable to attach an image of the session, but my Mathematica commands are:
...
3
votes
1answer
93 views
Why does Assuming for Integrate not work as expected?
I'm trying to perform the following integral with Mathematica 7:
...
