Quantcast
Channel: Why is Assuming[...] ignoring the assumption? - Mathematica Stack Exchange
Browsing latest articles
Browse All 3 View Live

Answer by Goofy for Why is Assuming[...] ignoring the assumption?

Assuming works by adding conditions to $Assumptions. Some functions make use of $Assumptions and some do not. Generally, it is explicitly mentioned in the documentation, if the function does apply...

View Article


Answer by azerbajdzan for Why is Assuming[...] ignoring the assumption?

a = {a1, a2, a3};Assuming[{a1^2 + a2^2 + a3^2 == 1}, ComplexExpand[Exp[I*Pi*Norm[a]]] // FullSimplify]FullSimplify[ComplexExpand[Exp[I*Pi*Norm[a]]], Assumptions -> {a1^2 + a2^2 + a3^2 == 1}]-1-1

View Article

Why is Assuming[...] ignoring the assumption?

Let's say I want to compute a quantity like $e^{i \pi \vert \vec a \vert}$, and for a certain vector a = {a1,a2,a3} I assume it has length 1, so the quatity would be -1. My minimal example in...

View Article
Browsing latest articles
Browse All 3 View Live