6

When proving the quadratic formula (or any other mathematical equation, definition, formula, etc., from like all the way from basic math to advanced calculus), do we have to assume/declare the number system of $x$ beforehand, or do we determine that afterwards? Like, is #1 or #2 correct below?

  1. We already have to assume/declare that $x$ is a real number or a complex number before we solve. This ensures that we know what number system it belongs to and what operations are valid for it. Also, after we solve for $x$, we can determine the solutions for $x$ in that number system (i.e., we find the quadratic formula and it gives the solutions for $x$ in the number system that $x$ already exists in).

  2. We determine that $x$ must be a real or complex number after proving and using the quadratic formula (i.e., if the formula evaluated gives a real or complex number, or if the discriminant is positive or negative). So basically, we start by not assuming anything about $x$ (so it can be ANY type of number). And then after we solve for $x$ and evaluate the formula (this would require choosing the number system we are working in for at least the operations. For example, we must choose our operations to take place in $\Bbb{R}$ or $\Bbb{C}$, so then we can apply basic arithmetic operations, and we must also choose either $\Bbb{R}$ or $\Bbb{C}$ so we know if square roots will exist or not for negative numbers), we can determine the number system for $x$ based on what answer we get from the formula (i.e., whether or not the value is real or complex).

I feel like #1 is correct, but I'm not fully sure. Because we at least need to know what something represents, so like we need to know what number $x$ is even supposed to be. So then we would also need to know what number system we are even trying to solve it for (like if we want a solution that is real, complex, integer, positive, etc.). And also, if we have a function $f(x)$ (like a quadratic), then we also need to define its domain and codomain, which includes determining the number systems for $x$ and $f(x)$ beforehand. And also, we need to know what number system $x$ is part of so that we know what operations are valid on it.

Also, I have added links to similar questions (related to whether or not we need to assume that x exists in a specific number system when solving algebraic equations) that I have asked before, in case they may help anyone answer my question and understand it better. Links: Q1, Q2, Q3, Q4, Q5

Any help regarding these assumptions about variables in proofs would be greatly appreciated! Thank you!

Afntu
  • 4,305
  • This question is about when we apply the quadratic formula. And that depends simply on the question we are attempting to answer. I mean, it is up to the question to specify, as in say "find all real solutions of...". – coffeemath Oct 06 '25 at 18:43
  • @coffeemath I understand that, but I want to know for just the proofs (like the actual mathematically correct way to prove it). So like, I don't know if we assume/declare the number system for x for the proof, or determine it from the proof. – Aaditya Visavadiya Oct 06 '25 at 18:47
  • 2
    We just need to know that the steps are valid. For instance, we divide by $2$ so we better not have a field of characteristic $2$. But other characteristics work. – lulu Oct 06 '25 at 18:48
  • And of course some flexibility is needed. The square root can't be chosen in advance, typically. But that's a small point – lulu Oct 06 '25 at 18:50
  • @lulu so this would mean that we need to know the number system for x so we know what operations are valid on it and what we are trying to find, right? – Aaditya Visavadiya Oct 06 '25 at 18:50
  • Not sure what you are asking. I need some information, sure. But I hardly need to specify the domain precisely. – lulu Oct 06 '25 at 18:51
  • You really don't need much! Completing the square is easy, at least outside characteristic $2$. And that's pretty much it. – lulu Oct 06 '25 at 18:54
  • 2
    Sometimes we prove something with real numbers in mind and then realize that the proof works for complex numbers (or that an equation has complex solutions). There are no rules for your thought process when figuring things out, but it's important to keep track of your assumptions and to state the results clearly. – Karl Oct 07 '25 at 05:29
  • 1
    The question says "proving", but I wonder if actually "deriving" is meant. If you want to prove the quadratic formula, you could also say "I want to prove it only when x=0 and constants a, b and c are such that x=0 is a solution". You can certainly do that, but that is not interesting. More interesting is to do it for real numbers, and then analyze which properties of real numbers were used in the proof, and then generalize the proof to other number systems. But then you are exploring the world of potential math theories, not strictly proving anything (yet). – user132647 Oct 07 '25 at 07:55
  • @user132647 yes, I basically mean deriving. Like I want to derive the quadratic formula and "prove" it holds for quadratic equations where x is either a real or complex number. – Aaditya Visavadiya Oct 07 '25 at 13:31
  • I don't know if this is what you have in mind. The quadratic equation works and con be proven in any field. BUT it might not have a valid or unique solution. For example in $\mathbb Z_{13}$ if $2x^2+4x+9=0$ then $x=\frac{-4+\sqrt{4^2-4\cdot 2\cdot 9}}{2\cdot 2}$. But $4^2=3;4\cdot 2\cdot 9=7$ and $3-7=9$ and the square roots of $9$ are $3$ and $10$. So $x = \frac {12}4=3$ or $\frac 6{4}=\frac 32=3\times 7=8$. And indeed $2\cdot 3^2+4\cdot 3+9=5+12+9=0$ and $2\cdot 8^2+4\cdot 8 + 9=2\cdot 12+6+9=-2+6+9 = 0$. – fleablood Oct 09 '25 at 05:00
  • @fleablood This kind of answers my question. So when you say that the quadratic equation can be proven in any field, I want to know if we have to declare that field for $x$ beforehand or if we determine it afterward? Like, if we want to prove it for $\Bbb{R}$ or $\Bbb{C}$, then I would have to assume/declare/define $x$ to be a member of that number system before we start solving, right? So we cannot determine that $x$ must be in $\Bbb{R}$ or $\Bbb{C}$ afterwards, right? Instead, we must define $x$ to be in $\Bbb{R}$ or $\Bbb{C}$ first, and then we find a solution for it in that number system? – Aaditya Visavadiya Oct 09 '25 at 20:51
  • I'm kind of having a hard time understanding your question. We can say or do anything we want in a proof. The issue is only if the reader of the proof will understand it. If it's understood we are talking about real numbers we don't have to declare it. If the reader might be thinking we are talking about bunny rabbits we do have to explain we are doing math. We usually prove the quadratic formula in an algebra one class where it is assumed we only dealing with real numbers. It's only later when we introduce other systems that we specify. But then we don't really need to prove the ... – fleablood Oct 09 '25 at 21:47
  • ... quadratic formula. You introduce the number system and we assume basic results follow. And the quadratic formula is considered a basic result. $a^{k};k\in \mathbb N$ always has the same meaning whatever number system we are using and basic operations and distributions is the same so there is really nothing to say. – fleablood Oct 09 '25 at 21:51
  • 1
    Maybe if you can tell us why you are concerned? This really seems like an issue I've never seen anyone ever worry about and I can't really see why anyone would. We don't declare our number system every time we do a problem because we assume that part of the question implied (in context if no-where else) which number system we are dealing with. – fleablood Oct 09 '25 at 21:54
  • 1
    @fleablood I understand. I'm just asking because whenever I look at any proofs for solving equations, they just go ahead and solve for $x$ without ever explaining its meaning. Like I know $x$ is a variable, but wouldn't we have to declare what type of number $x$ even represents? I don't think it can just be "any number," and then we can "just solve." And I understand that the number system is almost always implied, and this makes sense because we don't always declare it. But I want to know if that means we declare it from the start (usually implicitly), or if we determine it afterward? – Aaditya Visavadiya Oct 10 '25 at 01:38

5 Answers5

24

This is maybe a worthwhile reminder of seeing how the quadratic formula is derived. Here goes. Assume $a \neq 0$.

$$ax^2+bx+c =0 \\ \Leftrightarrow x^2+\frac{b}{a}x +\frac{c}{a} = 0 \\ \Leftrightarrow (x^2+\frac{b}{a}x + (\frac{b}{2a})^2)-(\frac{b}{2a})^2 +\frac{c}{a}=0 \\ \Leftrightarrow (x+\frac{b}{2a})^2 = (\frac{b}{2a})^2-\frac{c}{a} \\ \Leftrightarrow x+ \frac{b}{2a} = \pm \sqrt{\dfrac{b^2-4ac}{4a^2}} =\pm\dfrac{\sqrt{b^2-4ac}}{2a}$$

And now let's check what we need for all these things to truly be equivalences:

  • First equivalence: We need to divide by $a$. Possible in fields. If we are just in a commutative domain, we can extend to its field of fractions and get this equivalence.
  • Second equivalence: For the extra term to make sense, we need to divide by $2$. Possible (in a possibly enlarged ring) as long as we are in a domain where $2 \neq 0$.
  • Third equivalence: True in any commutative ring (binomial formula).
  • Fourth equivalence: True if square roots of the term $b^2-4ac$ exist at all and come in a $\pm$ pair, possibly in a larger ring than ours.

So that's all you need.

In a nutshell, the quadratic formula will be true as soon as it makes sense at all -- if you can divide the terms you have by $2a$, and if there are two distinct square roots of $b^2-4ac$ which are each other's negatives. Notice that in commutative domains of characteristic $\neq 2$, this is always doable in some extension field of the field of fraction of our domain.


For a more in-depth answer to some of your good follow-up questions, note the following: what the quadratic formula a.k.a. completing the square achieves in spirit is that it reduces the solution of an arbitrary quadratic equation to (up to basic algebra) finding a certain (pair of) square root(s).

So once you say, you accept the division by $2a$ thing, all insight into your questions must come from (and already apply to) the special case

$$x^2 = d \qquad (*)$$

where $d$ is an element of your "number system", let's call that "number system" $D$. What are solutions to that? If you say, well, the square roots of $d$, then it is hard to argue, but that is just a name for the thing we are looking for. It does not tell us what that thing is, or how many there could be, or what "number system" (possibly bigger than the $D$ we started with) the answer(s) are in. I think these are your questions, and once they are solved for this special case, it's straightforward to go to the general case as per above.

Now I want to convince you that in most cases you are looking at, there can either only be one or two solutions to that. How so? Well, assume I have two solutions $\alpha$ and $\beta$ to (*). Behold:

$$\alpha^2=d=\beta^2 \Rightarrow \alpha^2-\beta^2=0 \stackrel{A}\Leftrightarrow (\alpha-\beta)(\alpha+\beta) = 0 \stackrel{B}\Leftrightarrow (\alpha=\beta \vee\alpha=-\beta)$$

Equivalence A holds iff $\alpha \beta =\beta \alpha$, in particular if you are dealing with commutative rings.

Equivalence B holds if $x\cdot y=0 \implies x=0 \vee y=0$, in particular if you are dealing with rings without zero divisors, a.k.a. "domains".

This shows that in any commutative domain containing the element $d$, equation $(*)$ can have at most two solutions. (In fact, it has exactly two, which are each others negatives -- unless $d=0$, or the characteristic of the domain is $2$: in both these cases, any seemingly two solutions are actually identical to each other)

These solutions, if they exist, are denoted $\pm \sqrt{d}$, but indeed that is a slight abuse of notation. Because for different extensions of $D$, these can be different things. (That is one of the main points of my answer https://math.stackexchange.com/a/4007515/96384: E.g. the two things denoted $\pm \sqrt 2$ in the field $\mathbb Q_7$ are not the same as the two things denoted $\pm \sqrt 2$ in the field $\mathbb R$. The fields $\mathbb Q_p$ and $\mathbb R$ are two different extensions of the "original" number system (here, $\mathbb Q$ or arguably $\mathbb Z$), and in that answer, I warn against this symbol which, if we wanted to be really precise, should always include a notation about what field we are in now. (Like $\pm \sqrt 2 _{\mathbb R}$ or so.)

A good reason why we do not always carry around such symbolism "square root in the domain so-and-so" is that for many practical purposes, it is redundant. In undergraduate math, mostly everything is tacitly understood to be in $\mathbb C$, where anything has square roots, so it's those.

Also, if you find square roots in some domain $E \supset D$, and then you look at an even bigger domain $F\supset E$, the two ones you already had in $E$ will still do the job, and according to what was proven above there cannot be any new ones "on top of that".

Also also, here's something to learn in higher algebra: In our situation ($D$ commutative domain) there is a "universal" solution to $(*)$ in the sense that I can always construct an extension $D'$ of $D$ which does contain solutions to $(*)$, and so that if $E$ is another extension of $D$ containing such solutions, there will be a pair of homomorphisms from $D'$ to $E$ which map the solutions in $D'$ to the ones in $E$. (In a certain sense, this provides us with a "minimal" extension in which we can solve the equation; and any other domain which contains solutions can be seen as a "further" extension of that "minimal" one, where, see last paragraph, nothing new of interest for our equation happens.)

Summing up: If you have never dealt with non-commutative rings, or rings with zero-divisors, it is great that you are a bit careful about what the symbol $\pm\sqrt{d}$ is supposed to mean (because it indeed can mean different things in different rings), but in the sense of the previous three paragraphs, the people who are a bit less precise than you have some good points.


If, on the other hand, you are allowing "number systems" which are not commutative, and/or have zero-divisors, then all hell can break loose, and the notation $\pm\sqrt{}$ should just not be used at all.

Example 1: In the ring $\mathbb Z/12 \mathbb Z$ ("clock numbers", modular arithmetic) the equation $x^2=\bar 1$ has four solutions: $\bar 1, \bar 5, \bar 7, \bar 11$). No one should use the notation $\sqrt{\bar 1}$ for any, or all, of them.

Example 2: In the quaternions, the equation $x^2=-1$ has infinitely many solutions, cf. Solving an equation in quaternions. No one should use the notation $\sqrt{-1}$ for any, or all, of them. (It is still true though that for each individual solution, I can find a commutative subfield of the quaternions which contains that solution and its negative, and none of the others. That is the universality alluded to above. Once one chooses such a subfield, one could call that pair $\pm\sqrt{-1}$ or with a related abuse of notation $\pm i$. But it's not the $i$ in the standard definition of the quaternions: it could be $j$, or $k$, or $\frac{5}{13}i - \frac{12}{13}k$, or...)

  • I understand, but I'm a bit confused. Like if we know our operations for the whole equation will be in the real numbers (so we can divide by 2 and square root positive numbers), then doesn't that also imply that $x$ must also be a real number (or a subset of it) since it's a part of the equation and so we can also apply the real number operations to it. And also, since $x$ is an unknown variable, don't we need to declare what type of number it is (like it can't just be ANY type of number)? And don't we also need to know what type of solution we want for x, so we let x be that from the start? – Aaditya Visavadiya Oct 07 '25 at 17:59
  • 1
    I'd put it like this: If the $a,b,c$ you start with are elements of any commutative domain $D$, then any solution $x$ which lies in a commutative domain $E \supset D$ has to satisfy this formula. – Torsten Schoeneberg Oct 07 '25 at 20:45
  • 1
    I understand that, because if $a, b, c$ are integers, $x$ can still be real or complex. But don't we also have to choose a number system for the equation where the operations live in (like is $\sqrt{}$ defined for real or complex?)? So then, wouldn't $x$ have to be a subset of the bigger system chosen for the whole equation? For example, for $x+\sqrt{-1}=0.5+i$, we must let the whole equation/operations take place in $\Bbb{C}$, and if we had defined $x \in \Bbb{Z}$, then there's no solution, but if it was $x \in \Bbb{Q}$, then $x=0.5$, and both $\Bbb{Z}$ and $\Bbb{Q}$ are subsets of $\Bbb{C}$. – Aaditya Visavadiya Oct 07 '25 at 23:22
  • 2
    Those are very good questions that deserve a more in-depth answer. I hope I'll have time for that tomorrow. – Torsten Schoeneberg Oct 08 '25 at 00:38
  • Thank you for your detailed answer! I think I understand, but I just want to clarify one thing to summarize it. In your answer (specifically paragraphs 3 (about $d \in D$), 8-12 (about solutions in a field and domain extensions), and 15 (solutions to $x^2=-1$) in your in-depth edit), you basically mean that we must define/represent/solve ANY mathematical statement (EX: equation, formula, definition, relationship, etc.) in a specific number system (may be extended or restricted later) from the beginning, and that applies to the whole equation, operations, and variables, including $x$, right? – Aaditya Visavadiya Oct 11 '25 at 02:02
  • 1
    Conceptually, yes. In practice, often, not really, by the "universal construction" I allude to. E.g. if you want to solve a polynomial equation $p(x)=0$, with all coefficients in $D$, the "universal" solution "is" the quotient ring $D' := D[x]/(p(x))$. What one calls "solutions" in lower algebra is now conceptualized as the ring homomorphisms $D' \rightarrow E$ which extend a given ring homomorphism $D \rightarrow E$. - That's why higher algebra has switched to studying homomorphisms of structures. That addresses exactly the subtlety you discovered here about "solutions" of equations. – Torsten Schoeneberg Oct 11 '25 at 02:55
  • Okay, I think I understand now. Thank you so much for your help! – Aaditya Visavadiya Oct 14 '25 at 01:53
9

As a general rule, one should always define precisely the variables they are using. In the context of quadratic equations, this means saying explicitly if one is interested in $x$ being a real number, a complex number, or something else (an integer, a matrix, etc); and similarly, $a$, $b$ and $c$ in $ax^2+bx+c=0$ have to be clearly defined.

That said,

  1. Human beings like to save their energy and the rule is not often followed to the letter. The "nature" of a variable (real number, etc) is often omitted if it can be easily inferred by context. For example, it is common to write things like "we prove $P(n)$ by induction on $n\ge 2$" since everybody who understands induction will understand that $n$ is assumed to be an integer.
  2. How to solve quadratic equations is usually told to students who have never heard about complex numbers. Complex numbers would appear a little bit further down the line in their study of precalculus. The only numbers they know are real numbers, so at that point, every number is probably implicitly assumed to be real, except otherwise stated (rational, integer, etc)
Taladris
  • 12,519
  • 2
    Also because only a monster would use math font $n$ for anything except a natural number (or at most an integer). Same for $i$, $j$, and $k$. – Chris Bouchard Oct 07 '25 at 23:07
  • 1
    @ChrisBouchard uh oh... enjoy https://en.wikipedia.org/wiki/Number_density https://en.wikipedia.org/wiki/Imaginary_unit https://en.wikipedia.org/wiki/Current_density https://en.wikipedia.org/wiki/Boltzmann_constant https://en.wikipedia.org/wiki/Wavenumber – leftaroundabout Oct 09 '25 at 15:37
6

The quadratic formula applies to a wide range of number systems, even to ones you have not seen on a algebra-precalculus level. (For those who know what this means: it applies at the minimum to fields which are not of characteristic $2$.)

Thus as a general theorem the quadratic formula is valid for different number systems and we don't need to specify exactly the number system to state it.

In any case where it is applied, the quadratic formula tells us not only that a certain expression is a solution, but also that IF there are any solutions they to have a certain form, including a certain square root. So if this square root doesn't exist in your number system, there are no solutions (but there will always exist solutions in a larger system).

Your question is like asking: When we divide by two, do we have to declare the number system beforehand? Because in some number systems like $\Bbb Z$ you can't always divide by two, you need a larger number system like $\Bbb Q$. But this is not an issue: if we divide an integer by two, the result may not be an integer, but it makes sense unambigously as a rational number. The situation with the quadratic formula is similar: we can apply it and even if we started with real coefficients and get a complex solution, the set of solutions is uniquely determined and makes sense. So we don't need to declare beforehand that $x$ is allowed to be complex.

Lukas Heger
  • 26,608
  • 2
    What you say is true for the quadratic formula, but not for other formulas. For example it is not true for Cardano's formula for the cubic equation. – btilly Oct 06 '25 at 18:59
  • 1
    @btilly good point, it's true that Cardano's formula is different in that respect – Lukas Heger Oct 06 '25 at 19:02
  • 1
    The fact that quadratic equations make sense in other number systems is a good argument to specify the number system before solving it, but this answer appears to say that the number system shouldn't be specified? Are you saying that someone who knows about complex numbers but has never heard of fields which are not of characteristic 2, should be able to solve quadratic equations in all generalities in all fields, and just hope that the proof they wrote, and the calculations used in that proof, happens to be correct in all fields that they've never heard of and know nothing about? – Stef Oct 07 '25 at 08:09
  • 1
    @Stef The OP specifically talks about picking between the real number system or the complex number system, neither of which is "strange" enough to require specifying in advance. The quadratic formula is generally going to do the same thing in all of the well-known number systems, so you don't need to specify unless you're using a quite unusual number system. – Brilliand Oct 09 '25 at 00:42
  • 1
    @Brilliand The only reason you know that the quadratic formula works in all of the "well-known number systems" is because you already know these spaces and you've already proven the quadratic formula in these spaces. In other words, you've already solved the quadratic equation in all generality in all these spaces. And when you did, you did specify which space you were working in. And now because you've already done all that work, the next time you have a quadratic equation to solve, you have the luxury to choose the largest space which includes all those as subspaces. – Stef Oct 09 '25 at 09:01
  • 1
    @Stef That's true; in a certain sense I'm choosing the "complex number" space by default, then possibly downgrading to a smaller space once I know what the answer is and can tell which smaller spaces it's valid in. – Brilliand Oct 09 '25 at 09:17
3

The answer depends on the formula in question.

Any general formula should be derived in a way that makes it hold in any number system that has the right properties to derive the formula. Most number systems in which we might want to use it, won't have those properties. But that's OK as long as some extension of the number system does. Then the answer will work as long as the output of the formula is within the original number system.

So, for instance, the quadratic formula requires a general square root. This may in general force us to operate in the complex numbers. If the final answer involves a square root of a negative number, we can then take this formula for the complex numbers, and then use it to show that there is no real answer. If it involves the square root of a rational that has no rational square root, then there is no rational answer.

In this case, when the formula can be evaluated within a number system, the answer is correct for that number system.

This gets more complicated with Cardano's famous solution of the cubic equation. We start with a cubic equation like $ax^3 + bx^2 + cx + d = 0$. Divide by $a$ and substitute $x = y - \frac{b}{3a}$ to put it in the form $y^3 + py + q = 0$. And now we solve for $y$ with:

$$ y = \sqrt[3]{-\tfrac{q}{2} + \sqrt{(\tfrac{q}{2})^2 + (\tfrac{p}{3})^3}} + \sqrt[3]{-\tfrac{q}{2} - \sqrt{(\tfrac{q}{2})^2 + (\tfrac{p}{3})^3}} $$

Even when you start with real coefficients and all roots are real, the intermediate terms in this calculation are often complex. (This is one of the things that drove mathematicians to start working with the complex numbers.) This is a good example of a useful formula for finding answers in a number system, where the calculations can't even be done in that number system!

If we are being formal, we need to care about such details. But informally we just assume that we're in "a strong enough" system. And that system is usually either the reals or the complex numbers.

btilly
  • 3,671
  • Okay, so I have a question about when you say that "the formula can be evaluated within a number system." Do you mean that we must choose our equation to be represented in a specific number system (e.g., the operations must take place in the reals)? So like if our whole equation takes place in $\Bbb{R}$, then $x$ is also implied to be in $\Bbb{R}$ since it's a part of the equation? (Also, $x$ can be a part of $\Bbb{R}$, or any subset of it, right?) So then the formula/solutions we find for $x$ are valid if they are part of the number system that was already declared for $x$ from the beginning? – Aaditya Visavadiya Oct 07 '25 at 23:33
  • @AadityaVisavadiya I mean that sometimes a calculation has to take place in a different number system than the one I started with. If I want to find the roots of a third degree polynomial with real coefficients, the formula can force me to work with complex numbers during the calculation. – btilly Oct 08 '25 at 00:35
  • Oh okay, I understand. But I have another question. Would this situation (where we do the calculations in another extended (superset) number system) also always apply to $x$? Because $x$ is also a part of the equation, I think we must know what type of number it is (since it's an unknown variable representing a number), and what type of number we are looking for as a solution for $x$. So then $x$ must have a defined number system like $a, b, c$ (ex., $a, b, c \in \Bbb{R}$ where $a \neq 0$), where it is a subset of the extended number system used for the whole equation and its operations. – Aaditya Visavadiya Oct 08 '25 at 02:52
  • 1
    @AadityaVisavadiya We get to be sloppy there. 1 could be a natural number, and integer, a rational number, a real number, a function on the real numbers, and so on. For each of those meanings of 1, the formal construction is different. So too are the properties of the number system that it is embedded in. But there are natural embeddings of each number system in the next, and the result of any calculation in the bigger number system, will still be true in the original one... – btilly Oct 08 '25 at 04:18
  • 1
    So we we get to take the problem, in whatever number system we found it, solve it in the most convenient number system to work in, and the conclusion will hold in the original numbers system we started with. – btilly Oct 08 '25 at 04:19
  • Okay, I think I understand now. So just to clarify, the result of any calculations in a larger number system will also hold in the original (subset) number system, IF the result from the larger set is also a member of the smaller set, right? (So if we work in the larger complex system, then a real solution also holds in the real subset, but any complex solution doesn't hold in reals, right?) And when you say we work in a larger number sys. (N.S.) and the result will hold in the original N.S., this means we must choose the N.S. for $x$ as well (along with $a, b, c$ and the calculations), right? – Aaditya Visavadiya Oct 08 '25 at 14:39
  • 1
    @AadityaVisavadiya Exactly. What we had to do to come to the answer doesn't matter, if the result is right. – btilly Oct 08 '25 at 15:00
  • I guess part of my issue is I don't think of the quadratic equation as something that requires proving. If you can do algebraic manipulation it has to be true and doesn't require proof. If you are even in a different system I think we assume someone has said "Welcome to kwickball space; here's your starter guide: You can add and multiply and inverses (except the multiplicative inverse of $0$) exist and distribution works. Have a nice day." – fleablood Oct 09 '25 at 22:01
  • @fleablood Of course it needs proof! Try using it in a field with characteristic 2. – btilly Oct 09 '25 at 23:25
  • Okay, point taken. But I'd quibble it doesn't need to be proven. It's just that its meaningless to use. (The guy handing out the starter guide would point out $2=0$ and as a consequence completing the square is impossible [$\frac b{2a}$ is udefined] and the quadratic formula is not derived. I guess that's the same thing as saying proven to be false but.... well, I'm stubborn. ) – fleablood Oct 10 '25 at 00:51
1

For the quadratic formula to apply, you need the expressions $ax^2 + bx + c$ and $\frac{-b\pm\sqrt{b^2-4ac}}{2a}$ to be well-defined. That is, you need a type of “number” where the following operations obey reasonable expectations:

  • Addition (in order to add the terms of the polynomial, and to make the plus branch of the $\pm$).
  • Additive inverse (to make the expressions $-b$ and $-4ac$)
  • Multiplication (to make the expressions $ax^2$, $bx$, $b^2$, $4ac$, and $2a$).
  • Multiplicative inverse (to make $\frac{1}{2a}$)
  • Square root (to make $\sqrt{b^2 - 4ac}$).

The first four operations are satisfied if $a$, $b$, $c$, and $x$ belong to any field, including $\mathbb{Q}$, $\mathbb{R}$, and $\mathbb{C}$.

The complication is the square root. Rationals and reals are not closed under this operation, but complex numbers are.

So, to make the formula as general as possible, we can say that $x \in \mathbb{C}$. It's possible that for a particular quadratic, $x$ happens to be a real number, rational number, or even an integer, but since all of these are subsets of complex numbers, $\boxed{x \in \mathbb{C}}$ covers everything.

It's possible to define a field with a square root that isn't $\mathbb{C}$, but $\mathbb{C}$ is the only one you're likely to encounter in high school.

Dan
  • 19,542