SurdForm
is an option to RadicalBox and SqrtBox that indicates whether the radical represents a Surd expression.
Details
- With the default value SurdFormFalse, SqrtBox and RadicalBox represent principal roots. In particular, SqrtBox[x] is interpreted as Sqrt[x], and RadicalBox[x,n] is interpreted as x^(1/n).
- With the specification SurdFormTrue, SqrtBox and RadicalBox represent real roots computed using Surd. In particular, SqrtBox[x] is interpreted as Surd[x,2], and RadicalBox[x,n] is interpreted as Surd[x,n].
- SurdFormTrue displays with a short vertical line on the right side of the radical sign.
- A templated RadicalBox with SurdFormTrue can be entered as surd, and moves between the fields.
Examples
open allclose allBasic Examples (4)
Compare the display of SqrtBox with and without SurdFormTrue:
The interpretation of SqrtBox depends on the value of SurdForm:
The first expression is interpreted as a fractional power, the second as a Surd expression:
Compare the display of RadicalBox with and without SurdFormTrue:
The interpretation of RadicalBox depends on the value of SurdForm:
The first expression is interpreted as a fractional power, the second as a Surd expression:
Text
Wolfram Research (2012), SurdForm, Wolfram Language function, https://reference.wolfram.com/language/ref/SurdForm.html.
CMS
Wolfram Language. 2012. "SurdForm." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SurdForm.html.
APA
Wolfram Language. (2012). SurdForm. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SurdForm.html