# Sandbox for drafts of long, complex answers

This sandbox is intended for saving drafts of long, complex answers, especially answers whose composition takes a long time. It serves to localize to one thread the front-page "bumps" caused by edits to drafts of such answers, so that they may be easily ignored. Also, it helps to guard against losing longly-composed answers due to system crashes.

When you are happy with your draft here, you may simply copy the code and paste it to the desired location.

Proper Use of the Sandbox

1. Do not post a new answer! We wish all the answers on this page to be owned by the Community user (so that only a non-sentient bot is informed of edits to these answers). Posting a new answer will make you the owner, meaning that you will be notified whenever another user makes an edit to that answer.
2. Do not delete answers! Deleting seems like a reasonable option, but there are no "hard deletions" on Stack Exchange, and users will sufficient privileges will still see your supposedly deleted postings.
3. Do look for an answer which indicates that it is free and then edit it to your heart's content. If none looks available, take over the one that has been left unchanged the longest (which will appear at the bottom of the page if you order answers by "activity").
4. Do clear your draft when you are finished. This includes removing all $\LaTeX$ from your answers. Replacing all code with a simple statement like
This answer is free for anyone to use
is sufficient. Periodically users may go through and free up answer slots that have not been edited in, say, over one month. But you can aid in the smooth running of this sandbox by clearing away your drafts when you are finished with them.
5. Do not create new such sandboxes. The point of having a unique such sandbox is that it minimizes the noise on the front page when the sandbox is edited. If there were multiple sandboxes they will frequently occupy numerous front page slots, pushing other topics off the front page, and increasing noise.
-
I have added a [sandbox] tag to allow people ignore it more easily (via software support of ignoring tags), and since it seems that we have two sandboxes now, a tag may seem a bit more in place here. –  Asaf Karagila Jul 18 '12 at 8:35
+1, great idea! It might be preferable if moderators delete "free for use" posts from time to time. You don't want two users writing their extensive, carefully crafted answers as edits of the same post and overwrite each other. Also, Chrome crashes from time to time. For some reason, I don't lose what I've written in an original post, but lose it when editing. So if I would use this thread, I would still prefer to create a new post. –  Michael Greinecker Jul 18 '12 at 11:06
@MichaelGreinecker, since deleted answers are still visible for 10k+ users, they would just accumulate in a useless state if they were deleted rather than reused. Also, if you prefer working in a pristine post rather than saving-and-then-editing (such as due to the autosave), then this sandbox is probably not for you anyway. You could do that just as easily at the eventual location of your post. –  Henning Makholm Jul 18 '12 at 11:13
(+1) For thinking outside the (sand)box. –  cardinal Jul 18 '12 at 19:40
My own practice for sandboxes is to post a stub question and then delete it immediately. If you don't leave the page, you can continue to edit the deleted question, and then undelete it when you are finished. –  MJD Jul 23 '12 at 18:14
I have discovered a drawback of the method I described in the previous comment: moderators might choose to undelete your sandbox without consulting you. If you do use this method, it is probably a good idea to attach a header that says draft in large letters. –  MJD Jul 24 '12 at 13:40
I must say I am somewhat curious to why there are up/down-votes on the sandbox answers... –  Willie Wong Jul 24 '12 at 13:44
@Mark Please don't delete any answers in this sandbox. Deleted answers are displayed to users with 10k+ rep. If every answer was deleted when done, then the thread would eventually have hundreds of deleted answers, which would make page navigation and MathJax rendering very complex for 10k+ users. That is why I advocated reuse of answers. –  anon Jul 24 '12 at 14:14
@Willie My guess would be that they are used to keep the answers sorted (so that they are not permuted randomly and user who edited one of the answers finds it in the same place when it returns). Perhaps it is slightly more comfortable that way. –  Martin Sleziak Aug 6 '12 at 8:37
I find the sandbox is too slow to edit a long answer. –  Makoto Kato Aug 26 '12 at 0:37
@Makoto MathJax can get very slow when rendering long answers. I don't think the sandbox plays any role in what you see, since there is no other TeX code on the page. –  anon Aug 26 '12 at 2:15
@MakotoKato, unfortunately, you have chosen the worst possible browser to use. IE8 is slower than all other browsers (e.g., IE9 and IE7 are twice as fast, chrome is 5 times as fast for MathJax). Switching browsers would give you an immediate performance improvement. Short of that, the incremental preview that I link to above would help you a lot as well. I will look into it more, but IE8 has such poor performance, I doubt I can do much to help. Do you shut down your browser between uses, or is it running all the time? –  Davide Cervone Aug 29 '12 at 10:33
I just did some timing tests, and here are the results. Editing Makoto's post (with over 400 equations), to retypeset the entire page: in IE8, 2 minutes 25 seconds, in IE9, 12 seconds, in Safari 5, 10 seconds, in Firefox 15, 13 seconds. So you see that IE8 is really a bad choice or this type of work. The reason it is so bad is that any time MathJax asks for the size of some piece of mathematics (so it can place the superscripts properly, etc), IE reflows the entire page, and that slows things down considerably... –  Davide Cervone Aug 29 '12 at 11:18
At the suggestion of the moderators, I have gone and changed the associated owners of all the answers here to the Community user. This way, the original owners will not receive excess pings for each time another user uses the draft space for their work. Enjoy! –  Grace Note Oct 5 '12 at 14:45
To prevent crashes I've found the "Bookmarks to disable/enable MathJax", provided in here, pretty useful. –  leo Dec 17 '12 at 18:03

This answer is $\;\bbox[3pt,color:red;border-radius:4px;box-shadow:2px 2px 4px firebrick]{\verb/Free/}\;$ for everyone to use

-

This answer is free for everyone.

-

available.....................

-

$\begin{array}{c|ccc} ··&··X··&··Y··&··Z··\\ \hline &c&s&0\\ \to&x&{{\sqrt{10}y+2z}\over\sqrt{14}}&{{-2y+\sqrt{10}z}\over{\sqrt{14}}}\\ &c&\sqrt{35}s\over7&-{\sqrt{14}s\over7}\\ \to&{x-3z}\over\sqrt{10}&y&{3x+z}\over\sqrt{10}\\ \end{array}$

-

This answer is free for anyone to use

-

This answer is free for everyone to use.

-

Free for anyone at all to use.

-

This answer is free for everyone.

-

This answer is free for everyone to use.

-

In progress for question 879618.

The substitution $x=\tan \phi$ converts this integral to \begin{align} \int_{0}^{\pi/2}\frac{\cos \phi\,d\phi}{\sqrt{1+\frac{1}{3}\sin^22\phi+\sqrt{1+\frac{1}{3}\sin^22\phi}}} \end{align} Note that the transformation $\phi\mapsto \pi/2-\phi$ simply replaces $\cos\phi\mapsto\sin\phi$ in the numerator. Consequently we symmeterize these two expressions and write $$\int_{0}^{\pi/4}\frac{d\phi \,(\sin\phi+ \cos \phi)}{\sqrt{1+\frac{1}{3}\sin^22\phi+\sqrt{1+\frac{1}{3}\sin^22\phi}}}$$ where we have used the symmetry to cut the bounds of integration in half. Since $\cos\phi+\sin\phi =\sqrt{2}\cos(\pi/4-\phi),$ we take $\phi\mapsto\pi/4-\phi$ to obtain

$$\sqrt{2}\int_{0}^{\pi/4}\frac{d\phi\cos\phi}{\sqrt{1+\frac{1}{3}\cos^2 2\phi+\sqrt{1+\frac{1}{3}\cos^22\phi}}}$$

-
I think your last integral is equivalent to what I got. –  Olivier Oloa yesterday

This answer is free for anyone to use.

-

A bit prettier, perhaps: If $P=3ac-b^2$ and $Q=27a^2d-9abc+2b^3$, then $x={{{\sqrt[3]{4\left(-Q+\sqrt{4P^3+Q^2}\right)}}+{\sqrt[3]{4\left(-Q-\sqrt{4P^3+Q^2}\right)}}-{2ab}}\over{6a}}$

-

This answer is free for everyone to use.

-

This answer is free for anyone to use.

-

Task: Develop a fraction equivalent to $1\over{\sum_{i=0}^{n-1}{c_i\sqrt[n]{n^i}}}$ in which the denominator is rational.

Step 1: Develop the denominator. The preliminary answer you seek will be a fraction in which the numerator and denominator are two nearly-similar determinants which differ only in their top rows. The initial form of the denominator is

$\begin{vmatrix} c_0&c_{n-1}n&c_{n-2}n&\cdots&c_3n&c_2n&c_1n\\ c_1&c_0&c_{n-1}n&\cdots&c_4n&c_3n&c_2n\\ c_2&c_1&c_0&\cdots&c_5n&c_4n&c_3n\\ \vdots&\vdots&\vdots&\ddots&\vdots&\vdots&\vdots\\ c_{n-3}&c_{n-4}&c_{n-5}&\cdots&c_0&c_{n-1}n&c_{n-2}n\\ c_{n-2}&c_{n-3}&c_{n-4}&\cdots&c_1&c_0&c_{n-1}n\\ c_{n-1}&c_{n-2}&c_{n-3}&\cdots&c_2&c_1&c_0\\ \end{vmatrix}$.

Step 2: The numerator is merely the same determinant as the denominator, except that its top row is replaced by

$\begin{matrix} 1&\sqrt[n]n&\sqrt[n]{n^2}&\cdots&\sqrt[n]{n^{n-3}}&\sqrt[n]{n^{n-2}}&\sqrt[n]{n^{n-1}}\\ \end{matrix}$.

This gives rise, for example, to the following:

${1\over{A+B\sqrt n}}= {{\begin{vmatrix} 1&\sqrt n\\ B&A\\ \end{vmatrix}}\over {\begin{vmatrix} A&Bn\\ B&A\\ \end{vmatrix}}}={{A-B\sqrt n}\over{A^2-B^2 n}}$ and
${1\over{A+B\sqrt[3] n+\sqrt[3]{n^2}}}= {{\begin{vmatrix} 1&\sqrt[3]n&\sqrt[3]{n^2}\\ B&A&Cn\\ C&B&A\\ \end{vmatrix}}\over{ \begin{vmatrix} A&Cn&Bn\\ B&A&Cn\\ C&B&A\\ \end{vmatrix}}}={{A^2-BCn+(C^2n-AB)\sqrt[3]n+C\sqrt[3]{n^2}}\over{A^3+B^3 n+C^3 n^2}}$.

-