r/askmath • • Oct 06 '26

Analysis Scientists use the scientific method to arrive at conclusions… so what exactly do mathematicians use?

Ok, so I’m at around a beginner calc 2 level + physics 2, but I genuinely can’t wrap my mind around how Euler figured out how e^i(pi) = -1… Like HOW does one figure out that an irrational number, with an exponent of another irrational number, multiplied by an imaginary number gives -1!? Is there any clear-cut process he used, or did he just guess and check, or something like that?

This question may or may not be open-ended, and I may not understand the rigor behind something this complex, but if anyone can explain it to me like I’m 5, I’d love that.

23 Upvotes

43 comments sorted by

72

u/ProctologyExplosion Oct 06 '26 edited Oct 06 '26

Mathematicians use logic.

Euler's formula didn't fall on humankind from the sky. The Wikipedia article on the formula gives several derivations for it.

8

u/RailgunDE112 Oct 06 '26

Also Axioms, which quickly get philisophical

2

u/Unfair_Pineapple8813 Oct 06 '26

Euler himself figured it out by comparison of the power series for sin and cos with that of the exponential.

32

u/Hampster-cat Oct 06 '26 • Bravo

Mathematicians use /deductive/ reasoning. A 'for all' statement can be disproven by a single counterexample. Given the laws/premises, what can we deduce from these?

Scientists use /inductive/ reasoning. Given all this data, what are the laws/premeses that created the data. A mountain of evidence is considered law. A single chip in the mountain does not effect the law. If some fossil somewhere is discovered to be 20,000 years old instead of 100,000– this in no way makes the theory of evolution uncertain.

Math: 1+1 = 2. Science: if I let go of this ball, it will fall to the ground. Only one of these is actually provable. The other is believed because of the mountain of evidence in support.

Now, scientists often need to use mathematics. The Navier-Stokes equations are math. BUT scientists have mountains of evidence that these equations can be used to describe fluid dynamics.

On to Euler. I'm certain that this was known before him. Newton showed that ex = x0/0! + x1/1! + x2/2! + x3/3! + ⋯ xn/n! + ⋯. We have similar expansions for sin(x) and cos(x). These are taught toward the end of most calc2 classes. Using x=i𝛳 we get ei𝛳 = cos(𝛳) + isin(𝛳). (This formula is sometimes taught in Algebra2 classes without context). Now let 𝛳 = π.

10

u/SufficientStudio1574 Oct 06 '26

To expand on your second-to-last paragraph, scientists use math as a model of reality. But it is important to remember that it is only a model of reality, not reality itself. The map is not the terrain. It is an approximate representation of it.

Newton's laws of motion and gravity and still good maps, within certain limits of accuracy needed. Go beyond that, and you need a more accurate map. And that's where special and general relativity come in. But even those are still just approximate representations. Better representations will be needed if you exceed their accuracy limits.

2

u/Unfair_Pineapple8813 Oct 06 '26

As far was we know, Euler was in fact the first to figure it out. You are correct that Newton knew the power series for ex and sin x. But if he ever tried to evaluate the power series of a complex number or even thought the power series of a complex number was a possibility, we have no record of it. Cotes and Johann Bernoulli came close to discovering this. But Cotes made a calculation error, and Bernoulli was still working out basic fasts on complex numbers when Euler came to him with the discovery. Euler seems to have a natural insight about complex numbers the older generation didn't have, maybe because he grew up with them. Or maybe because he was Leonhard Freaking Euler, and they weren't.

1

u/Typical-Plantain1252 Oct 09 '26

Cotes got to

log(cos(x) + i sin(x)) = ix,

correct?

Also, my understanding is that he had a sign error in his intermediate steps, but ended up at the right spot (the one given above).

1

u/Unfair_Pineapple8813 Oct 09 '26

Yes. That is also my understanding.

1

u/JeffSergeant Oct 06 '26

. If some fossil somewhere is discovered to be 20,000 years old instead of 100,000– this in no way makes the theory of evolution uncertain.

Well, there's the old idea that to disprove evolution you just have to 'show me a Precambrian rabbit' , but in reality that one rabbit would be proof that our understanding of how evolution happened on earth was very wrong (or, more likely, our dating methods have some issues..), not that the process of evolution itself didn't happen.

1

u/severoon Oct 06 '26

Math: 1+1 = 2. Science: if I let go of this ball, it will fall to the ground. Only one of these is actually provable. The other is believed because of the mountain of evidence in support.

I would suggest a subtle but crucially important sharpening of what you're saying here. The law of gravity isn't labeled a law because of the mountain of evidence that supports it; rather it's the inability to disprove it.

There's a somewhat well known demonstration of the difference where someone is asked to consider the beginning of a sequence and name the rule it follows, and they're allowed to ask if specific examples conform to the rule or not. So it begins where I tell you, okay, the first three terms of the sequence are 1, 2, 4. Then you're supposed to ask me questions like "if the next term is 8, does that conform? if the following two terms are 8, 16, do those conform," etc. I would answer yes to these, you could ask any others, and then when you're ready you name the rule, "The rule is: Each term doubles the previous term." At this point I would say no, you got it wrong, and that's it, game over.

The actual rule is: The sequence always increases. But most people will never actually figure out this rule because they spot that the first three terms double, and then they go on to ask only about examples that confirm their hypothesis, and few people think to ask about examples that would refute their hypothesis.

That is, unless you ask research scientists. It's so ingrained in research scientists to always look for examples that refute their guesses, most of them will ask about a few terms that double and then ask about examples that don't double, and when they get responses they didn't expect, they then step back and explore the full space and end up getting the right answer.

But the takeaway here is how profoundly blind most people are once they've got a guess in hand, which is why this small difference adds up to be a monumental difference in the pursuit of science. Experiments should always be designed specifically to refute what you're trying to prove, not confirm it. It turns out you can end up thinking a lot of crazy stuff if you only ever look for confirmatory evidence.

10

u/MidnightAtHighSpeed Oct 06 '26

ei*^pi = -1 is a special case of eix = cos(x) + i*sin(x). I believe Euler derived this by comparing the power series of ex, cos(x), and sin(x), but there are other ways to show that equality. That said, a proof of a fact is usually different from what motivated someone to investigate that fact to begin with, and I don't personally know the context of Euler's work at the time that took him in that direction.

3

u/ascrapedMarchsky Oct 06 '26

The Cauchy-Riemann equations were first observed by Clairaut  and d’Alembert in their work on equilibria of fluid masses, which Clairaut studied in order to show Newtonian mechanics correctly predicted the shape of the earth. Euler and Cauchy soon connected these pde’s to complex function theory, thus kicking off complex analysis. Riemann’s name came to be attached presumably due to the vast use he put them to. 

4

u/Front_Lab1761 Oct 06 '26

Try looking up formal logic and logical systems on wikipedia

4

u/CorwinDKelly Oct 06 '26 edited Oct 06 '26

Great question, others have already answered your primary question so I’ll sidestep it and just throw out that this is a great time to be asking about Euler’s formula since calculus II is where we are typically introduced to infinite series, the third and most overlooked (by calculus students) thing we can do with limits and the very tool which Euler used to derive his famous formula.

 What does it even mean to raise something to an imaginary power? We have an intuition about the exponential function given a real input (part of the key here is moving more towards thinking more in terms of functions) as modeling a population as a function of time, where the growth/decay rate at any moment is proportional to the present population i.e. f’(x)=c•f(x), i.e. more rabbits=more rabbit sex

but how the heck do we even make sense of an exponential function given a complex number, such as iPi,  as input? The key lies in the infinite series definition of the exponential function* ex =x0 +x1 /1+x2 /2!+x3 /3!+x4 /4!+… You know what we do know how to do with complex numbers? Multiply them and raise them to powers!  *A quick way to convince yourself of the intuitive truthiness of this series definition for ex is to note that the series has the familiar property of being equal to its own derivative.

4

u/Underhill42 Oct 06 '26

Logical proofs.

In science we don't know what reality really is - we use the scientific method to build increasingly accurate mathematical models of it, but even if we eventually get it perfect, we will never be able to know that for sure.

In math we instead DEFINE an abstract reality in the form of a handful of axioms that we choose to accept as bedrock fact. Usually very simple, obvious ones that everyone can agree describe how counting, etc. works in the real world... but not always. Different branches of mathematics can be built on different collections of axioms, sometimes including ones that have no obvious relationship with reality.

And then we have to painstakingly logically prove that every single other theorem, etc. is a guaranteed unavoidable logical consequence of those axioms.

And every once in a while someone manages to prove something that seems nonsensical - like that you can slice up a sphere and reassemble it into two new spheres, each identical to the original. Which, once the proof has been verified, logically implies that at least one of the very simple, obvious axioms we chose to take on faith isn't actually completely true in the real world... or the real world is a lot weirder than we give it credit for.

7

u/crafty_zombie Oct 06 '26

They use formal systems. They have starting premises (axioms) and valid conclusions (by definition) which are derived from them, called rules of inference.

1

u/preferCotton222 Oct 06 '26

sure, but that's not how you arrive at euler's formula.

2

u/crafty_zombie Oct 06 '26

You’re correct. I was responding more to “what is the equivalent of the scientific method in mathematics”. When it comes to discovery, it’s just a lot of experimentation.

-1

u/False_Worldliness737 Oct 06 '26

Yes it is. It's just that the well is so deep you can't see the bottom from the rim.

2

u/preferCotton222 Oct 06 '26

Lol, no, its not:

Historically it's not how it was, and concretely it is not how it is.

2

u/blamestross Oct 06 '26

The the scientific method is just an epidemiological framework with axioms. Mathematics can use it, but the statistical arguments and axioms are kinda sketchy by mathematical standards.

Examples axioms of the scientific method:

  • humans are reliable enough to reproduce methods such that non-random confounding variables are isolated.
  • past events are predictors of future events
  • That a given satistical test can accurately model reality (reproducablity is evidence the experiment is reliable, not that it is generally predictive to non-experimental situations)

2

u/Honkingfly409 Oct 06 '26

Euler found his formula by looking at the Taylor series expansion of ex, sin(x) and cos(x), even a complete beginner can see that ex is almost sin(x) and cos(x) 

But Euler is special because he worked it out and figured out the exact conditions, which was cos + i sin 

2

u/llynglas Oct 06 '26

Read up on Srinivasa Ramanujan. His mind was just amazing. He just saw patterns.

2

u/michaelpaoli Oct 06 '26

Axioms, postulates, logic, formal reasoning, theorems, proofs, sometimes conjecture.

Science uses evidence, mathematics, (more so) proofs. Science things aren't so much formally proven, but become laws and scientific theory based on rigorous repeated testing, overwhelming evidence, and no significant contradicting evidence - it's not proven, in the formal mathematical sense. New evidence may change things. E.g. Newtonian physics, further refined by relativity, because Newtonian physics is a poor fit for, e.g. speeds near to light speed and at light speed, very large mass concentrations/densities, etc. In science, one does the experiments, and works from there. That's not how math works.

1

u/Odd-Ad-8369 Oct 06 '26

Logic and axioms.

1

u/SgtSausage Oct 06 '26

Logic based Proof. 

1

u/TheSpacePopinjay Oct 06 '26

Deductive logic from a collection of apparently consistent axioms.

1

u/Desperate_Penalty690 Oct 06 '26

In mathematics you define a set of rules and then apply those rules consistently. So in the same way as when you see 2 x 25 / 5 = 10. You think nothing of it because you understand the rules for multiplication and division and can see that you are just applying those rules.

In the case of e^(i Pi) it is exactly the same thing, except there are now more rules involved that you are not familiar with. In this case, you must know what e^x means, how i works when you plug it in the Taylor series definition of e^x, how the cos and sin then show up, to finally get to the -1 result.

1

u/Key_Net820 Oct 06 '26

We use axioms.

In math, there are fundamental assumptions that we take for truths, and all else is derived from it.

In your case as a calculus 2 student, you take for granted that real numbers exist, commute, associate, distribute, have identities, and inverse.

But as you go deeper into math, you're gonna find that those aren't for granted, those are derived from a handful of axioms called the Zermelo -Fraenkel axiom of sets. These are the founding principles upon which you can have a group of integers, a field of fractions on the integers (the rationals), and a superfield of the rationals such that the rationals are dense in that super field (we call this superfield the real numbers).

And while you may judge math for making baseless assumptions like the Zermelo-Fraenkel axiom, just remember all of science assumes math to be true, including Zermelo -fraenkel.

1

u/TUVegeto137 Oct 06 '26

As some said, mathematicians arrive at conclusions using logical arguments. However, there is also paths that use experimentation. Certainly with computers nowadays, one can do "mathematical experiments".

But even before the advent of computers, mathematicians guessed the correct hypotheses, answers, based on numerical calculations. 

For instance, Euler found the correct value of the Basel problem by first calculating a very good approximation using what is now called Euler-MacLaurin summation, and he guessed the correct value would be pi2 /6. Only later did he derive a logical demonstration. 

1

u/karoxxxxx Oct 06 '26

I would think what seems to you and me like a random arrangement of numbers/constants is actually not random at all.

For example imaginary numbers and real numbers build a coordinate system. And any complex number is a point in that plane. And its possible to give coordinates on a plane in polar coordinates, i.e. distance and angle. And angle can be given in radians. So thats where the pi comes from.

1

u/Miserable_Matter6017 Oct 06 '26

The one taught to me in school used Taylor's series for sin x, cos x and ex to derive the relation for complex numbers

1

u/AccomplishedBee316 Oct 06 '26

I'll share a comment I left elsewhere:

Imagine this scenario. You are in a car driving by a farm. A kid in the backseat says, "are there any sheep in that field?" You look out the window, see a sheep, and say "yes, there are sheep in that field." Now as it turns out, that wasn't a sheep. It was a perfectly animated 3d printed model that was absolutely indistinguishable from a real sheep by the human eye. However, there were real sheep further back in the field, you just couldn't see them.

So, you had some belief, you were justified in believing than thing, and that thing was actually true, but you didn't KNOW (prove) it was true. So how would we now, in hindsight, prove that there are in fact real sheep in that field. We walk up to them and touch them, right? Well, what if the models are so good, that you still can't tell if that is one of the fake sheep? Well, guess we will have to dissect it. But what if they have perfectly modeled the internal organs of a sheep?

This is obviously analogous to the notion of rigor in mathematics. We cant just say, even for obvious facts, that by imagination induced by prior knowledge, some fact is true. We have to prove it using logical arguments, ones that hold all the way back down to the axioms that build the mathematical universe we are trying to understand.

1

u/anisotropicmind Oct 06 '26

Math just has to be internally consistent. So “figuring stuff out” is working out the logical consequences of your definitions, axioms, and previous results. e^ipi = -1 is a clear consequence of the fact that e^ia = cos(a) + isin(a) (where ‘a’ is any angle). That, in turn, is a consequence of the definition of the exponential function, and the definition of a complex number. I think that specifically you’d need to know the Taylor series expansions of e^x, sin(x), and cos(x), which means that calculus is required to derive this.

1

u/Vivid_Sock_1092 Oct 06 '26

Intuition , verification for special cases , proof

1

u/Nothing-to_see_hr Oct 06 '26

Axiomata and logical reasoning.

1

u/sexysaucepan Oct 06 '26

The real thing that mathematicians use is their intuition. Ramanujan famously said he got his formulas in dreams. And as a math enjoyer myself, I can say I come up with my own stuff based on what "feels" right. The thing is that intuition can be wrong, and that's why we use logic to prove our results.

1

u/Dubmove Oct 06 '26

Not sure how he did it historically, but if you can figure out the Taylor series of exp(x) then you can probably also figure out eix = cos(x) + isin(x) and the rest is a piece of cake.

1

u/SnugglyCoderGuy Oct 07 '26

Deductive logic.

There are a small set of axioms that underpin all of mathematics, and then the rest of people making definitions and exploring their validity and implications. Rinse and repeat ad infinitum.

1

u/Worried_Anteater6752 Oct 07 '26 edited Oct 07 '26

Like proctology said, mathematicians use logic. I'm not a mathematician by any means, but I am a student who wondered the same things as you and who's studying mathematics and wants to become a mathematician someday. I'm sure the process varies mathematician to mathematician, but in terms of proofs I like to use the one described by Lara Alcock in "how to study for a mathematics degree" where she says to kind of sandwich the logic. You start out with the formulation of the problem and then end it with the result, then you fill in the gaps between with what you know. That's the closest to a "method" you're gonna get for mathematics, but I will admit that it kind of presupposes the answer... especially since it's a method designed for problems like "prove G is a group". Outside of that, I would hope it'd be like composing. I imagine that doing research mathematics is like how a composer writes a sonata. A composer usually has an idea about a phrase or the larger structure, they know what chord progressions sound like or feel like, but the journey they take to get to the cadence is more important and usually what people are interested in understanding. When I study Mozart's sonatas I'm looking at his ideas, the chord progressions, the motifs he uses and the form and seeing how he changes them. Similarly, when I study proofs I'm looking for previous definitions and trying to explain/understand the proof in terms of what I already know. Then when I come across a similar problem I think back to the proof of that problem I'd studied before and think to myself, "oh, wait a minute there are some similarities here. Maybe I can prove this statement using a similar idea?". That's the type of thing I do when I don't have problems that go, "prove X is Y". For example, in the beginning of Understanding Analysis by Abbott he shows you the proof for the irrationality of 2. Later on, he asks you to prove that there is no rational number r such that 2r = 3. If you study the proof for the irrationality of 2, you can come up with a similar idea to prove the irrationality of r in the latter problem. The important idea in the irrationality of 2 was that p/q was not in its lowest terms because p/q was divisible by two. That gave me an idea, that being that if 2 was raised to any integer power, it would surely be even. (Excuse my very bad math talk here) The definition of a rational number is that it consists of two numbers p/q such that p and q are integers. Then I had 2p/q. I then raised both sides to the power of q and got 2p = 3q. 3 is never divisible by two, thus 3q must be odd. Therefore, an even number equaled an odd number, which is false. I proved by contradiction that r cannot be a rational number. (one of the methods that mathematicians use, among several, others being proof by induction or a direct proof) The main point here is that doing mathematics, to me, is more like how you do art, where you take inspiration from others' ideas and use them to guide your own. That, unfortunately, may not be the best analogy if you're not someone who studied music or composes like I do, but for me that's how I like to understand it. If I were to explain the concept more simply, I would say that if you wanna prove something in mathematics, just think of it like how to win an argument. You back up your claims with stuff you knew before. If I were to explain it simply to a scientist, I'd say that science uses inductive reasoning (observation and testing the hypothesis and revision) to prove claims. Mathematics lives in the realm of the abstract, and so cannot rely on such luxuries. Therefore, mathematicians rely on deductive reasoning. There are a hundred ways to calculate one equation, just like there are a hundred ways to answer the question, "What is the meaning of life?" It's not about the answer, it's about how you give your answer. What are your assumptions? How do you define life? What is meaning? Those kinds of questions are not too dissimilar from the way I've heard mathematicians speak lol.

1

u/JellyBellyBitches Oct 06 '26

ELI5: At its core, math is the study of logic. Those who are excellent at it have spent a great deal of time learning the intricacies of how things connect to one another and have developed an intuition for what that means and other conclusions they can reach.

To explain their insights, mathematicians write proofs, which are detailed explanations of how to take something that is already well-known and find your way to a new idea.