# polynomials in expressions

**URL:** <https://community.wolfram.com/t/polynomials-in-expressions/5998>\
**Category:** Questions\
**Tags:** mathematica\
**Created:** [June 22, 2015, 11:45am UTC](https://community.wolfram.com/t/polynomials-in-expressions/5998 "2015-06-22T11:45:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wookie99](https://avatars.discourse-cdn.com/v4/letter/w/a87d85/32.png) [@wookie99](https://community.wolfram.com/u/wookie99)\
**Post date:** [June 22, 2015, 11:45am UTC](https://community.wolfram.com/t/polynomials-in-expressions/5998/1 "2015-06-22T11:45:45Z")

</div>

Hi all.

In an expression, Mathematica puts the variables after a constant. ie. -1 + x or -6 + x^2.

How can I change the setting so that the default expression has the variables in front of the constant? Ie. x - 1, X^2 - 6, X^3 - X^2 +6x - 6?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![gianlucagorni](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@gianlucagorni](https://community.wolfram.com/u/gianlucagorni)\
**Post date:** [June 22, 2015, 12:51pm UTC](https://community.wolfram.com/t/polynomials-in-expressions/5998/2 "2015-06-22T12:51:30Z")

</div>

TraditionalForm should do that:

```
TraditionalForm[-1 + x]

```

Otherwise, select a whole cell with polynomials in it and then to to the menu Cell \> Convert To \> TraditionalForm.

---

<div class="post-metadata">

**Author:** ![wookie99](https://avatars.discourse-cdn.com/v4/letter/w/a87d85/32.png) [@wookie99](https://community.wolfram.com/u/wookie99)\
**Post date:** [June 22, 2015, 1:21pm UTC](https://community.wolfram.com/t/polynomials-in-expressions/5998/3 "2015-06-22T13:21:20Z")

</div>

Thanks for your reply.

Is there a way to set Mathematica’s output to be in TraditionalForm by default?

This is how Mathematica is formatting it’s output on my computer:

![mathematica.JPG](https://global.discourse-cdn.com/wolfram/original/3X/0/7/072aa7a6c24bb59544b5a8e0090ac615015908c5.jpeg)

---

<div class="post-metadata">

**Author:** ![gianlucagorni](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@gianlucagorni](https://community.wolfram.com/u/gianlucagorni)\
**Post date:** [June 22, 2015, 1:40pm UTC](https://community.wolfram.com/t/polynomials-in-expressions/5998/4 "2015-06-22T13:40:47Z")

</div>

Yes, you can do it in the preferences.

---

<div class="post-metadata">

**Author:** ![wookie99](https://avatars.discourse-cdn.com/v4/letter/w/a87d85/32.png) [@wookie99](https://community.wolfram.com/u/wookie99)\
**Post date:** [June 22, 2015, 2:00pm UTC](https://community.wolfram.com/t/polynomials-in-expressions/5998/5 "2015-06-22T14:00:04Z")

</div>

Ok. Thanks a lot. 🙂
