Definition of definition I was wondering if there is a good way to "define" what definition means exactly in mathematics. Since the answers may be subjective or philosophical, I want to ask only for references on this topic. So I am looking for references which answer the question

"What does definition mean in mathematics" in a concise and commonly accepted way.

and also for references which discuss philosophical problems connected with this question (if there are any).
 A: How can there be 6 other answers, yet no one has so far mentioned conservative extensions and/or extensions by definition? This is the correct framework in which to view definitions.
A: To define a word, even the word "define", you need a language with which to define it. Trying to do so in English is difficult, because English is not what we call a formal language. A formal language is a list of symbols and an acceptable grammar for these symbols to follow.
In mathematics, we generally use the formal language of Zermelo-Frankel set theory (or ZFC) to talk to each other (although many alternative ways have been studied). In this language, I would define a definition to be a finitely generated formula (would you accept an infinitely long definition of something?) of set theory that is legitimate according to the grammar whose quantifiers range over previously known results.
For example, in ZFC the definition "A number is an even number if it is a multiple of 2," can be written as "If x is a natural number and there exists another natural number y so that x=2y, then we define x as an even number," in ZFC which, in the scope of set theory, is a legitimate sentence whose quantifier ("all") ranges over the set of natural numbers. 
A sentence that isn't definable would be something like "Call a set U universal if it contains all possible sets," because to define it in ZFC, you would need a formula "If U is a set so that for any set X, X is in U, then we call U universal," this formula quantifies over the set of all sets, which is not a set by Russell's Paradox, so this is not a legitimate definition.
Kurt Gödel studied "definable" structures in set theory and came up with the constructible universe, called L, which is a very useful concept in studying models of set theory. L is basically the "set of things definable by a formula of ZFC".  Notably, under the assumption that all of the universe of set theory is actually equal to L, one can prove the generalized form of continuum hypothesis, one of the biggest problems in set theory during the 20th century.
A: References (of a philosophy-of-mathematics nature):


*

*Bertrand Russell's On Denoting.

*Ludwig Wittgenstein's Tracticus Logico-Philosophicus.

*Wittgenstein's later work, Philosophische Untersuchungen/Philosophical Investigations in which Wittgenstein refutes his earlier work (and deals with the problem you've brought up more or less directly).


(Note that Wittgenstein studied under Russell's direction at Cambridge, at Frege's suggestion).
Lastly, for context (and a deeper understanding of the strengths/weaknesses of formal languages), you'll probably want to study a formal language or two, and perhaps additionally study Godel's Incompleteness Theorems.
A: I would summarize my personal views about what "definition" means in mathematics as follows:

"[M]eaning is use — words are not defined by reference to the objects they designate, nor by the mental representations one might associate with them, but by how they are used. (source)

and

"Mathematicians do not study objects, but relations between objects. Thus, they are free to replace some objects by others so long as the relations remain unchanged. Content to them is irrelevant: they are interested in form only." - Henri Poincaré

For example consider the symbol "$\mathbb{Z}$". If I wanted to tell someone what I meant by it, I might write 
$$\mathbb{Z}=\{\ldots,-2,-1,0,1,2,\ldots\}$$
or if were being highbrow, perhaps
$$\mathbb{Z}\text{ is the infinite cyclic group.}$$
or
$$\mathbb{Z}\text{ is the initial object in }\mathsf{Ring}.$$
If I spoke another language, or used a different method of writing integers, or used a different notation for sets, these would appear quite different. But such differences are irrelevant; it doesn't even matter if someone else's mental conception of the integers is radically different from my own. What matters is that our usages agree - if it is the case that, any time I write a statement about $\mathbb{Z}$ that I consider true, anyone else agrees that (modulo differences of language / notation) that is a true statement about whatever it is they think of when they see "$\mathbb{Z}$", then functionally, our "definitions" agree.  So, I don't think of "definition" as a formal concept in math (I know almost nothing about logic / set theory / metamathematics - I am just expressing my opinions). Even in formal logic, how can we hope to define parentheses? Or "$\in$"? We just start using them, and if people agree what we've written makes sense to them, that's the best we can hope for - we can try to use natural language to convey our mental conceptions to other people, but we can't dive into their heads and check that their mental conception is actually the same. (Obviously, intuitions / mental conceptions are of the utmost importance in doing mathematics - we won't get anywhere with blind manipulation of symbols. I'm just saying that all we can check our agreement on are external expressions such as equations or sentences.)
Finally, I'd just like to add this comic from SMBC:

A: 
I was wondering if there is a good way to "define" what definition
  means exactly in mathematics.

To make the definition of definition exact IMHO you need to make everything exact. This is what tomcuchta is talking about. Use some computer language to do mathematics, look for proof checkers and proof assistants. (If a language is computerized, this guarantees that the language is completely formal.) Then definition is a syntactic construction which binds a name.
A: No references from me, sorry, but allow me a quick and handwaving answer.
The way I understand it, a definition of some object within a given theory is a meaningful shortcut.
"Shortcut", because it provides a name for a bunch of certain properties that an object in the theory may or may not have; then every time the properties have to be refered to, the name is used. And "meaningful", in the sense that the properties being grouped under the name, either already have an important counterpart in the intended model of the theory, or else, they prove to be mathematically (read "technically") useful in the elaboration of the theory.
Of course, this is still a narrow understanding, even mathematically (as opposed to "philosophically" I suppose), at least in that definitions are set forth in multiple levels of everyday mathematical practice--not just within a given theory, but on various meta-levels as well.
In fact, as an aside, I believe this might be a key question to ask before trying out questions of "invention vs discovery" (see Is there any difference between a math invention and a math discovery? for example): do mathematicians choose their definitions, or are these forced upon them? Is there a uniform answer to be applied to all definitions (within a given theory)? Et cetera.
A: A definition is just an abbreviation for typographical conveniences.
In Whitehead & Russell's words:

Theoretically, it is unnecessary ever to give a definition ... the definitions are no part of our subject, but are, strictly speaking, mere typographical conveniences. Practically, of course, if we introduced no definitions, our formulae would very soon become so lengthy as to be unmanageable; but theoretically, all definitions are superfluous. *

Pardon me for being petty, but definition itself cannot be defined; it can only be explained, because defining definition leads to endless regression.
For in-depth illustration, please see What is the difference between ❋3.01 and ❋4.5 in Whitehead and Russell's PM?
*Source: Whitehead & Russell. Principia Mathematica. Chapter 1. Page 12, Merchant Books, 1910
A: [The Role of Mathematical Definitions in Mathematics and in
Undergraduate Mathematics Courses][1]: http://pdfs.semanticscholar.org/2fca/dfddcc2e87d92ce0e80079863050aaa887a4.pdf
