Quadratic equation
A quadratic equation is an equation that can be expressed in the form
with . Here are coefficients; is the unknown. If additionally , it is called a pure quadratic equation.
Their solutions can be calculated using the formula
determine. In the domain of real numbers the quadratic equation can have no, one or two solutions. If the expression under the root is negative, no solution exists; if it is zero, one solution exists; if it is positive, two solutions exist.
The left-hand side of this equation is the term of a quadratic function (more generally, a second-degree polynomial), ; the function graph of this function in the Cartesian coordinate system is a parabola. Geometrically, the quadratic equation describes the zeros of this parabola.
General form - Normal form - Zero form
The general form of the quadratic equation is
Here is called quadratic term, linear term and constant term (or absolute term) of the equation.
The equation is in normal form if , so if the quadratic member has coefficient 1. From the general form, the normal form can be obtained by equivalence transformations by dividing by With the definition
and
the normal form can thus be written as
If one side of an equation is 0, it is also called zero form.
In the following, quadratic equations with real numbers as coefficients , and respectively as and .
Solutions of the quadratic equation with real coefficients
A solution of the quadratic equation is a number that satisfies the equation when substituted for Every quadratic equation, if complex numbers are allowed as solutions, has exactly two (possibly coincident) solutions, also called roots of the equation. Considering only the real numbers, a quadratic equation has zero to two solutions.
Number of real zeros
The number of solutions can be determined with the help of the so-called discriminant (from Latin "discriminare" = "to distinguish"). In the general case , in the normalized case (for derivation see below):
The graph shows the relationship between the number of real zeros and the discriminant:
- A Discriminant positive: The parabola has two intersections with the axis, so there are two distinct real zeros and
- B discriminant zero: The parabola has exactly one point of contact with the axis, namely its vertex. Thus, there is exactly one (double) real solution. The quadratic equation reduced to the form
- C Discriminant negative: The parabola has no intersection with the axis, there are no real solutions of the quadratic equation. If we allow complex numbers as the basic set for the solutions, we get two different complex solutions. These are conjugate to each other, that is, they have the same real part and their imaginary parts differ only by the sign.
Simple special cases
If the coefficient of the linear element or the absolute element then the quadratic equation can be solved by simple equivalent transformations without the need for a general solution formula.
Missing linear element
The purely quadratic equation with is equivalent to
The solutions are
In the case two solutions exist. In the case solutions exist for c a > The complex solutions are then
For example, the equation has the solutions . The equation has no real solutions, the complex solutions are
The case and because of therefore , i.e. a double solution, exists only for equations of the type with and it is .
Missing constant link
From the equation by bracketing. , i.e., or must hold. The two solutions are therefore
and
For example, the equation has solutions and
Equation in vertex form
The vertex shape
is a variation of the pure quadratic equation . Like the latter, it can be solved by "backward arithmetic": First subtract and divide by . This leads to
For it follows that
By adding we get the solutions
and
For we get the two complex solutions accordingly
and
Example:
Solve with quadratic complement
When solving with quadratic addition, the binomial formulas are used to take a quadratic equation in general or normal form to the vertex form, which can then be easily solved.
One uses the first or second binomial formula in the form
To do this, the quadratic equation is transformed so that the left side has the form Then added to both sides. This is the "quadratic addition". The left-hand side now has the form and can be transformed by the binomial formula to Then the equation is in the vertex form which is easy to solve.
This is best explained with a concrete numerical example. The following quadratic equation is considered
First, the equation is normalized by dividing by the conductance coefficient (here 3):
The constant element (here 6) is subtracted on both sides:
Now follows the actual quadratic addition: The left side must be completed in such a way that a binomial formula (here the second one) can be applied backwards. The from the binomial formula above is then , so on both sides of the equation must be added:
The left side is transformed according to the binomial formula, the right side is simplified:
This leads to
,
so to the two solutions and
General solution formulas
One can also solve quadratic equations by using one of the general solution formulas derived using quadratic addition.
Solution formula for the general quadratic equation (a-b-c formula)
The solutions of the general quadratic equation are:
The formula is colloquially called the "midnight formula" in parts of Germany and Switzerland because students are supposed to be able to recite it even if you wake them up at midnight and ask them for the formula. In Austria, the expression große Lösungsformel is commonly used.
Alternative forms
Alternative formulations of the a-b-c formula, more similar to the p-q formula discussed below, are:
If you write the quadratic equation in the form
(i.e. with β ), the somewhat simpler solution formula is obtained:
By extending the a-b-c formula with the term you get a formula which is also applicable for the linear case the case the calculation of the solution cannot be done because of a division by zero. In both cases, the solution formula is not needed anyway. However, for very small the alternative form is more robust to numerical cancellation.
Solution of the a-b-c formula with negative discriminant
If the discriminant introduced above is negative, the root of a negative number must be calculated for the solutions. In the number domain of the real numbers there are no solutions for this. In the complex number domain, . This term determines the imaginary part of the two conjugate solutions, once with positive sign, once with negative sign. The term before with becomes the constant real part of the two solutions:
(complex case with negative discriminant).
Derivation of the a-b-c formula
From the general form, transforming by the method of quadratic addition yields:
Calculation example
Given is the quadratic equation
.
Here and . Substituting these values into the a-b-c formula, we get the solutions
.
Solution formula for the normal form (p-q formula)
In the presence of the normal form the solutions are according to the p-q formula:
In Austria, this formula is known as the small solution formula.
Solution of the p-q formula with negative discriminant
As with the a-b-c formula, if negative, there are no solutions in the number domain of the real numbers. The complex solutions are then given by:
Derivation of the p-q formula
The formula is obtained from the normal form of the quadratic equation by quadratic addition:
Another way to derive the formula is to set in the a-b-c formula , and and draw the denominator 2 into the root.
Decomposition into linear factors
The solutions can be used to decompose the quadratic normalized polynomial into linear factors:
and the non-standardized in
Vieta set
If the quadratic equation is in normal form and has the solutions and , then
By comparing coefficients, we obtain Vieta's theorem
and
In particular, if and are integers, the solutions can often be found quickly with some practice by trying out whether pairs of divisors of add up to For example, for one obtains the solutions and by decomposing with
Numerical calculation
If the solutions are determined numerically and differ from each other by orders of magnitude, the problem of cancellation can be avoided by the following variation of the above formulas:
Here has the value for otherwise the value 1 {\displaystyle The first formula gives the largest-amount solution. The second formula is based on Vieta's theorem.
Examples
Calculation example
For the equation
the following solutions result according to the a-b-c formula
,
so and
To use the p-q formula, the general form is first converted to normal form by dividing the equation by 4:
The p-q formula gives the solutions
,
thus also and
Using the decompositions and we obtain the same solutions using Vieta's theorem.
More examples
For the discriminant holds: the two real solutions and
The discriminant is . The (double) real solution is
There are no real solutions, because the discriminant is negative. The complex solutions result in and
Position of the parabolas and effects on the number of zeros
Generalizations
Complex coefficients
The quadratic equation
with complex coefficients , always has two complex solutions , which coincide exactly when the discriminant zero.
The solutions can be calculated as in the real case by quadratic addition or with the solution formulas given above. In general, however, a square root of a complex number must be calculated.
Example
For the quadratic equation
the discriminant has the value . This gives the two solutions and
Quadratic equations in general rings
In general, in abstract algebra, an equation of the form
with elements p, q of a body or ring is a quadratic equation. In solids and more generally in integrality domains it has at most two solutions, in arbitrary rings it can have more than two solutions.
If solutions exist, then they are also obtained in commutativerings with the p-q formula, if the characteristic of the ring is not equal to 2. Here, however, all possible square roots of the discriminant have to be considered. For a finite body of characteristic 2 one makes the approach and arrives at a linear system of equations for the n coefficients from using i ϱ .
Example
The quadratic equation
has in the residue class ring the four solutions 1, 3, 5 and 7.
History
Already 4000 years ago in the Old Babylonian Empire problems were solved which are equivalent to a quadratic equation. For example, the clay tablet archived under the inventory number BM 34568 in the British Museum, according to the cuneiform translation succeeded by Otto Neugebauer in the 1930s, contains as the ninth problem the question of the side lengths of a rectangle, where the sum of length and width is 14 and whose area is equal to 48.
Although the solution path documented on the clay tablet does not reveal any reasoning, it does reveal intermediate values, as they also appear in the usual solution formula or equivalent geometric considerations:
"Length and width added is 14 and 48 is the area.
The sizes are not known. 14 times 14 (is) 196. 48 times 4 (is) 192.Subtract
192 from 196 and you are left with 4. What times what should
I take to (get) 4? 2 times 2 (is) 4. Subtract 2 from 14 and you are left with 12.
12 times ½ (is) 6. 6 is the width. To 2 you will add 6, 8 it is. 8 (is) the length."
- BM 34568#9, translation after Otto Neugebauer (1937). S. 18.
The intermediate values listed in the text, which are notated on the clay tablet in the Babylonian sexigesimal system, also result when the associated quadratic equation is solved with the usual solution formula. Thereby the two solutions 8 and 6 are obtained, which geometrically correspond to the two side lengths of the rectangle:
According to Høyrup, it can be assumed that the solution path followed by the Babylonians for the cited and similar tasks was geometrically motivated, as were the tasks themselves.
The ancient Greeks solved various geometrical problems that are equivalent to quadratic equations. For example, in Euclid's Elements one finds the problem:
"To divide a line so that the rectangle that makes the whole line with one part is equal to the square over the other part."
- Euclid: Elements. Volume II, Task 11
The task corresponds in today's notation to the equation
,
which can be transformed to the equation
In the book Brāhmasphuṭasiddhānta ("Perfection of the Teaching of Brahma") by the Indian scholar Brahmagupta, written around 628 AD, solution methods for quadratic equations were described verbally. Brahmagupta already used negative numbers and their calculation rules such as
"The product of a negative and a positive is negative, of two negatives is positive, of two positives is positive; the product of zero and a negative, of zero and a positive, or of two zeros is zero."
- Brahmagupta: Brāhmasphuṭasiddhānta. Chapter XVIII, verse 33.
This enabled Brahmagupta to avoid case distinctions when he arrived at the quadratic equation, which today is known in the form
withand
noted, described the following solution path:
"Using the mean [number] [meant: the coefficient of the unknowns, i.e., ], reduce the square root of the absolute value multiplied by four times the square [meant: coefficient unknowns] and increased by the square of the mean number; divide the remainder by twice the square [meant: coefficient ]. [The result] is the mean [number] [meant: the unknown ]"
- Brahmagupta, Brāhmasphuṭasiddhānta, Chapter XVIII, Verse 44.
This corresponds to the solution formula
Like the "Arabic"-Indian numerals, the findings of the Indian scholars found their dissemination and further development via Islamic scientists. A particularly prominent role was played by the mathematician Al-Chwarizmi, whose book al-Kitāb al-muḫtaṣar fī ḥisāb al-ğabr wa-ʾl-muqābala ("The Concise Book on Computational Procedures by Complementing and Equalizing"), written around 825 CE, contains for the first time general techniques for handling equations, albeit still described verbally. With the equivalent transformations of equations, which Al-Chwarizmi described in detail, any quadratic equation could be reduced to one of six types. Six types were necessary because Al-Chwarizmi, unlike Brahmagupta, did not use negative numbers.
Al-Chwarizmi's book contains a geometric solution procedure for all types by means of a numerical example, so that only positive solutions are possible. In the following list root means the searched solution and fortune means the square of the solution . Furthermore, and denote non-negative coefficients:
- As for the assets that are equal to the roots (today: ),
- As for the assets that are equal to the number (today: ),
- As for the roots that are equal to a number (today: ),
- As for the assets and the roots, which are equal to the number (today: ),
- As for the assets and the number equal to the roots (today: ) and
- As for the roots and the number equal to the asset (today: ).
To solve the quadratic equations, al-Chwarizmi did not use equivalent transformations, i.e., algebraic reasoning, but geometric arguments, following the Greek tradition. As an example, the equation as it appears in al-Chwarizmi,
can be solved as a special case of with (see figure). To do this, take the left side of the equation to be a square EFIH of side length (and thus area ) and two rectangles DEHG and BCFE with sides and (and thus area ), respectively. The square and the two rectangles are assembled into a gnomon with vertices BCIGDE as shown in the figure. This gnomon has an area of . If we add the square ABED with side length (and therefore the area ) to the square ACIG , then this has the area . On the other hand, this square ACIG by construction has side length and thus area . Because we conclude and thus . The quadratic equation is thus "quadratically completed" to with the (positive) solution . Note that this geometric method does not give the negative solution
In Heron of Alexandria and also in al-Chwarizmi, the solution of
described verbally; in today's spelling as
However, Heron adds the Euclidean way as a geometrical justification.
Around 1145 Robert of Chester and a little later Gerhard of Cremona translated the writings of al-Chwarizmi into Latin.
This brought the classification and geometric solution methods to Europe.
Michael Stiefel wrote the book Arithmetica integra in 1544 AD, which builds on the book Behend vnnd Hubsch Rechnung durch die kunstreichen regeln Algebre so gemeincklich die Coss genannt werden by Christoph Rudolff. The author manages to avoid the case distinction for quadratic equations by using negative numbers. But he does not allow negative numbers as solutions yet, because he considers them absurd.
A new approach to solving a quadratic equation was offered by Vieta's root theorem, published posthumously in 1615 in his work De Aequationem Recognitione et Emendatione Tractatus duo.
In 1637, René Descartes described a method for solving quadratic equations with a compass and ruler in his paper La Géométrie. He went on to show that equations of higher degree cannot generally be solved exclusively with compass and ruler.
See also
- Linear equation
- Cubic equation
- Quartic equation