Skip to main content
Removed unnecessary term in title some may find offensive/insensitive.
Link
ciao
  • 26k
  • 2
  • 61
  • 142

Mathematica and its autism (Conditionsuse of Conditions, Assumptions and so on)

deleted 7 characters in body
Source Link
rhermans
  • 37.4k
  • 4
  • 61
  • 152

I don't understand why Mathematica has to be such a pain in the ***.

ComplexExpand[(I*\[Omega]I*ω)^(-3/4), TargetFunctions->{Re, Im}]

The result is

$$\frac{\cos \left(\frac{3}{4} \tan ^{-1}(0,\omega )\right)}{\left(\omega ^2\right)^{3/8}}-\frac{i \sin \left(\frac{3}{4} \tan ^{-1}(0,\omega )\right)}{\left(\omega ^2\right)^{3/8}}$$

Now, all good BUT the arctangent.

I have tried EVERYTHING I could to FORCE Mathematica to understand that $\omega$ is a NATURAL number, and nothing.

It doesn't get it. Assuming, Assumption, Conditions...

Is there a way to get rid of that useless arctangent terms, which is, by the way, nothing but $\frac{\pi}{2}$ considering that indeed $\omega >0$ ?

Thank you!

I don't understand why Mathematica has to be such a pain in the ***.

ComplexExpand[(I*\[Omega])^(-3/4), TargetFunctions->{Re, Im}]

The result is

$$\frac{\cos \left(\frac{3}{4} \tan ^{-1}(0,\omega )\right)}{\left(\omega ^2\right)^{3/8}}-\frac{i \sin \left(\frac{3}{4} \tan ^{-1}(0,\omega )\right)}{\left(\omega ^2\right)^{3/8}}$$

Now, all good BUT the arctangent.

I have tried EVERYTHING I could to FORCE Mathematica to understand that $\omega$ is a NATURAL number, and nothing.

It doesn't get it. Assuming, Assumption, Conditions...

Is there a way to get rid of that useless arctangent terms, which is, by the way, nothing but $\frac{\pi}{2}$ considering that indeed $\omega >0$ ?

Thank you!

I don't understand why Mathematica has to be such a pain in the ***.

ComplexExpand[(I*ω)^(-3/4), TargetFunctions->{Re, Im}]

The result is

$$\frac{\cos \left(\frac{3}{4} \tan ^{-1}(0,\omega )\right)}{\left(\omega ^2\right)^{3/8}}-\frac{i \sin \left(\frac{3}{4} \tan ^{-1}(0,\omega )\right)}{\left(\omega ^2\right)^{3/8}}$$

Now, all good BUT the arctangent.

I have tried EVERYTHING I could to FORCE Mathematica to understand that $\omega$ is a NATURAL number, and nothing.

It doesn't get it. Assuming, Assumption, Conditions...

Is there a way to get rid of that useless arctangent terms, which is, by the way, nothing but $\frac{\pi}{2}$ considering that indeed $\omega >0$ ?

Thank you!

Source Link
Enrico M.
  • 963
  • 1
  • 7
  • 16

Mathematica and its autism (Conditions, Assumptions and so on)

I don't understand why Mathematica has to be such a pain in the ***.

ComplexExpand[(I*\[Omega])^(-3/4), TargetFunctions->{Re, Im}]

The result is

$$\frac{\cos \left(\frac{3}{4} \tan ^{-1}(0,\omega )\right)}{\left(\omega ^2\right)^{3/8}}-\frac{i \sin \left(\frac{3}{4} \tan ^{-1}(0,\omega )\right)}{\left(\omega ^2\right)^{3/8}}$$

Now, all good BUT the arctangent.

I have tried EVERYTHING I could to FORCE Mathematica to understand that $\omega$ is a NATURAL number, and nothing.

It doesn't get it. Assuming, Assumption, Conditions...

Is there a way to get rid of that useless arctangent terms, which is, by the way, nothing but $\frac{\pi}{2}$ considering that indeed $\omega >0$ ?

Thank you!