Why is there root of -1? [duplicate]

Always have we heard that there isn't a root of a negative number. That's why we call the root of -1 an imaginary number. But why, why do we need it and how even did they discover this case? I would want a good answer, not someone that says "we need it in engineering"(someone said me that). Thanks.

marked as duplicate by David K, user147263, George V. Williams, Mike Pierce, colormegoneJun 29 '15 at 2:08

• Why do we use them? Cuz it works. Well, analysis is more fun with the fundamental theorem of algebra and holomorphic functions. Someone (Euler, I guess) discovered that you don't run into any contradictions if you simply assume that there is a square root of $-1$ and since then people started playing around with it and having fun. Isn't that reason enough? :D – Zardo Jun 28 '15 at 20:15
• "They" (were Italians of the XVIth century and they) wanted to find the roots of third degree polynomials. It happened that they found themselves literally forced to use imaginary numbers, first as a trick providing rather mysteriously the solutions, and then, after a while, progressively, as a mathematical object worth investigating. Heroes of the time: Tartaglia, Cardano, Bombelli. – Did Jun 28 '15 at 20:16
• The main reason in math is that all polynomial equations of degree $n$ have exactly $n$ roots in $\mathbb{C}$. In engineering, you would need them to solve differentials , which are usually way nicer in $\mathbb{C}$ . – FisherDisinformation Jun 28 '15 at 20:16

Imaginary number, like many aspects of mathematics, are tools made up by mathematicians to solve abstract problems (like what are solutions to $x^2=-1$), and which scientists then found more concrete uses for. In this sense, imaginary numbers were not discovered (in the same sense that one discovers laws of the universe), but rather invented to serve a particular purpose. Because this purpose has many interesting extensions, consequences, and applications, we keep them around as a fundamental aspect of math. Raphael Bambelli, a 16th century mathematician, was the first to formalize the use of imaginary numbers, so I suppose you could say it was he who invented them.
Imaginary numbers are useful first because not all polynomial equations of the form $a_0+a_1 x+...a_n x^n=0$ (where $a_n$ are real) have roots in the reals. But they always have complex roots. Restricting ourselves to real numbers makes some problems very difficult to solve. For instance, the motion of a mass on a spring obeys the law
$$y''(t)=-ky(t),$$ where $y$ is an unknown function. Without imaginary numbers, it is difficult to solve equations like this, but by introducing them we can use them as a tool to find real solutions.
I connection with the pendulum problem, complex numbers next become useful because of beautiful relation discovered by Euler that $$e^{i x}=\cos(x)+i\sin(x).$$ This shows us how elementary functions behave when given complex inputs. We can use this result to simplify problems that are very difficult when restricted to real algebra. When someone says that complex numbers are useful in engineering, they are probably referring to engineers using this formula in one way or another. Particular areas that I know of which make heavy use of imaginary numbers are fluid dynamics, electricity and magnetism, optics, animation, quantum mechanics, acoustics, and I'm sure there are many others.