# Radical in the denominator?

Is there any way I can get a general complex number to display with the radical in the denominator, rather than having it rationalized? For example (1+i)/sqrt(2).

Radical in the denominator?

add a comment

3

With the patches recently merged to Sage 4.6.alpha3, you can do this:

```
sage: sqrt(2).power(-1, hold=True)*(1+i)
(I + 1)/sqrt(2)
```

If you want to try it out before the release, you can find the new alpha here:

http://sage.math.washington.edu/home/release/sage-4.6.alpha3/sage-4.6.alpha3.tar

or you can upgrade with

```
./sage -upgrade http://sage.math.washington.edu/home/release/sage-4.6.alpha3/
```

If I understand correctly what you're saying, that would allow me to specifically enter a number in that form, and keep that specific number from being changed before being displayed, right? But what I'm looking for is a more general "form" ... simplify_??? ... Does that make any sense?

Mike, if you have the time, could you give us information about your build problem with 4.6.alpha3 on the sage-release mailing list ( http://groups.google.com/group/sage-release )?

Asked: **
2010-10-10 06:00:07 -0500
**

Seen: **312 times**

Last updated: **Oct 10 '10**

How to Rationalize the Denominator of a Fraction ?

How to keep 1/sqrt(2) as 1/sqrt(2) ? [the canonical form is not canonical]

solving radical equations with parameters

Cannot solve equation with two radical terms

radical expression for algebraic number

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.