Why does FullSimplify not work with assumptions in Mathematica?
- Context: Undergrad
- Thread starter daudaudaudau
- Start date
-
- Tags
- Mathematica
Click For Summary
Discussion Overview
The discussion revolves around the behavior of the FullSimplify function in Mathematica, particularly regarding its handling of assumptions about variables. Participants explore specific examples where FullSimplify does not yield expected simplifications when assumptions are applied, and they discuss potential workarounds and interpretations of Mathematica's assumptions about variable types.
Discussion Character
- Technical explanation
- Debate/contested
- Mathematical reasoning
Main Points Raised
- Some participants note that FullSimplify does not simplify expressions like Abs[(x*y)]^2 under the assumption x > 0 && y > 0, while it does simplify Abs[(x/y)]^2 under the same assumptions.
- One participant suggests that the inability to simplify Abs[(x*y)]^2 may be due to the possibility of x and y being imaginary, which could lead to a negative product.
- Another participant mentions that Mathematica assumes variables can be complex unless explicitly stated otherwise, and they propose convincing Mathematica that x and y belong to the reals as a potential solution.
- There is a discussion about the implications of using comparison operators versus equality in assumptions, with some participants questioning the interpretation of these operators in the context of FullSimplify.
- A workaround involving PiecewiseExpand is recommended by one participant, but there is uncertainty about how to properly apply assumptions in FullSimplify.
Areas of Agreement / Disagreement
Participants express differing views on how Mathematica handles assumptions and the implications of using different operators. There is no consensus on the reasons behind the observed behavior of FullSimplify or the best approach to resolve the issues discussed.
Contextual Notes
Participants mention that the behavior of FullSimplify may depend on the assumptions made about the variables, and there is uncertainty regarding the treatment of complex versus real numbers in these contexts. The discussion highlights limitations in the assumptions and the need for clarity in how they are applied.
Similar threads
- · Replies 2 ·
- · Replies 1 ·
- · Replies 1 ·
- · Replies 9 ·
- · Replies 2 ·
- · Replies 5 ·
- · Replies 3 ·
- · Replies 2 ·
- · Replies 3 ·
- · Replies 4 ·