# Is it preferable to give links to external resources in questions or to give the context yourself?

Sometimes you are working through a math book and there is a fair bit of context involved.

For example question involves few definitions from the book + some paragraph explaining the context.

There are two options:

a) copy all the necessary text - definitions, paragraph with context etc. into the question and then ask the question

b) simply link to the specific page of the book, provided it is publicly available, free and legal, then ask the question

Which one should the poster choose?

a) is good because makes question self contained, bad because makes the question long and writing it requires much more time/effort.

b) is good because provides all the necessary context in easier way, is bad because link can stop working and it might require a person answering to jump around the book to find all the necessary definitions / paragraphs etc.

• (a) Is absolutely the best option. Links can deteriorate over time. This site is not just for current questions and answers; it is also an archive of ten years' worth of questions and answers. Just as answers can be marked as "very low quality" and deleted if they are primarily based on a link to an external source (hence not self-contained), askers are expected to make questions self-contained. – amWhy May 16 at 13:27
• Sometimes it isn't clear how much of the background material is really needed to address the difficulty. In such a case I'd encourage you to go ahead and post a Question with the minimal amount of background information, accompanied by the textbook citation and links if possible to where you found the problem. Such a Question can always be collaboratively edited by the Community if it turns out the root of the difficulty is deeper than the OP initially thought. – hardmath May 16 at 14:00
• If there is a lot of context you should also see if you can reduce your question to a smaller set of assumptions and issues. When you are asking for help in a computer programming context you are expected to present a minimal program that demonstrates the issue. You should do a similar courtesy to the community here. – JonathanZ supports MonicaC May 16 at 14:00
• And further to what @hardmath said: It's perfectly fine if people ask for clarification in the comments and you later edit the question to include them. Some people (like me) want to post a perfect, beyond criticism question, and end up distracting readers with too much detail.Yes, there are people who go too far the other way with too little detail, but given that you're here asking this question makes me guess you're not one of them. – JonathanZ supports MonicaC May 16 at 14:05

Every post on Math Stack Exchange (MSE) should be as self-contained as possible. This means that a sufficiently expert reader here should be able to understand your post without needing to view some external resource. This applies to both questions and answers.

As such, you should include the important details in the post. If this means copying definitions, then copy those definitions. If it means quoting a significant portion of the exposition, then quote that exposition. Of course, you should also provide links to the original material.

That being said, if you are copying significant portions of the source material into a question on MSE, then you might reconsider your question. If a reader absolutely must be familiar with every detail of every one of several definitions from some other source, then your question is probably not a very good fit for MSE. What is described in the question sounds like a question which is either

1. related to active research (in which case, Math Overflow might be a better fit), or

2. overly broad (narrow it down to one or two definitions and perhaps a theorem, then ask a more focused question).

Expanding a little on the second case: I agree that a long question with a lot of definitions is problematic, but hiding all of the definitions behind a link or reference doesn't fix this problem—indeed, it makes it worse, because readers have to expend more effort to understand your question. Rather, you should think about how to more narrowly focus your question and make it easier for potential answerers and other readers to get to the point. A few ideas:

• Put the question right at the top. Set it off from the rest of the text, and ask in as concise a manner as possible. You should be able to reduce your question to a single sentence; maybe a short paragraph in the worse case. This helps the reader with the rest of your post, as they will have a better idea about what to look for as they skim over the remaining context.

• Provide a link to the source. An interested reader can follow up if they want, and it is possible that the source will provide some context for a narrow set of users (i.e. those already familiar with that source).

• Include only those parts of the original text which are really crucial to understanding the question. This might mean editing some definitions or theorems down to a couple of key statements, and leaving expository material out entirely (unless the question is about the exposition). Again, if you are finding it necessary to copy more than a couple of definitions into a question, then your question is probably too broad, and needs to be more narrowly focused.

Options (a) and (b) are not necessarily exclusive. When possible, a combination may be preferable.

Instead of "copying" verbatim, you can summarize briefly the context needed and provide a link to the book, if available. Ideally, citing the title of the book and names of the author(s) is preferable, since one can still identify which book you are talking about if the link is broken.

Unless your question depends heavily on the context of some specific book, standard definitions/theorems are usually available from Wikipedia. In such cases, leaving a link is sufficient. See, for example, this well-written post on the main site:

Does there exist a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?

The Wikipedia link to "Invariance of domain (theorem)" gives context to the question. The link is very stable and it is rather unnecessary in this case to repeat definitions in the linked post.

• But you fail to distinguish between the linked post you approve of (selected very carefully to prove your point in your post), and the countless questions of the sort: "Please solve this for me: [link to an external source]." Links can enrich a post, but should never substitute for a good question. – amWhy May 16 at 19:04
• @amW: "Links ... substitute for a good question. " I did not, do not, say such a thing at all. I'm afraid you are talking about something else. – T. S May 16 at 19:12
• I did not claim you said such a thing. But I wanted to help illustrate to the asker that not all questions with links are equivalent. They can enrich a post, but never substitute for a well written question. – amWhy May 16 at 19:22
• @amW: That would be a fair point. Link-only answers are hard to be well-written. For questions that "depend heavily on the context of some specific book" I do consider providing a link is not sufficient. – T. S May 16 at 19:37