Given a general quadratic equation of the form , with representing an unknown, and coefficients, , and representing known real or complex numbers with , the values of satisfying the equation, called the roots or zeros, can be found using the quadratic formula,
where the plus–minus symbol "" indicates that the equation has two roots.[1] Written separately, these are:
The quantity is known as the discriminant of the quadratic equation.[2] If the coefficients , , and are real numbers then when , the equation has two distinct real roots; when , the equation has one repeated real root; and when , the equation has no real roots but has two distinct complex roots, which are complex conjugates of each other.
Geometrically, the roots represent the values at which the graph of the quadratic function, a parabola, crosses the -axis: the graph's -intercepts.[3] The quadratic formula can also be used to identify the parabola's axis of symmetry.[4]
Derivation by completing the square
The standard way to derive the quadratic formula is to apply the method of completing the square to the generic quadratic equation .[5][6][7][8] The idea is to manipulate the equation into the form for some expressions and written in terms of the coefficients; take the square root of both sides; and then isolate .
We start by dividing the equation by the quadratic coefficient , which is allowed because is non-zero. Afterwards, we subtract the constant term to isolate it on the right-hand side:
The left-hand side is now of the form , and we can "complete the square" by adding a constant to obtain a squared binomial . In this example we add to both sides so that the left-hand side can be factored (see the figure):
Because the left-hand side is now a perfect square, we can easily take the square root of both sides:
Finally, subtracting from both sides to isolate produces the quadratic formula:
Equivalent formulations
The quadratic formula can equivalently be written using various alternative expressions, for instance
which can be derived by first dividing a quadratic equation by , resulting in , then substituting the new coefficients into the standard quadratic formula. Because this variant allows re-use of the intermediately calculated quantity , it can slightly reduce the arithmetic involved.
Square root in the denominator
A lesser known quadratic formula, first mentioned by Giulio Fagnano,[9] describes the same roots via an equation with the square root in the denominator (assuming ):
Here the minus–plus symbol "" indicates that the two roots of the quadratic equation, in the same order as the standard quadratic formula, are
This variant has been jokingly called the "citardauq" formula ("quadratic" spelled backwards).[10]
When has the opposite sign as either or , subtraction can cause catastrophic cancellation, resulting in poor accuracy in numerical calculations; choosing between the version of the quadratic formula with the square root in the numerator or denominator depending on the sign of can avoid this problem. See § Numerical calculation below.
This version of the quadratic formula is used in Muller's method for finding the roots of general functions. It can be derived from the standard formula from the identity , one of Vieta's formulas. Alternately, it can be derived by dividing each side of the equation by to get , applying the standard formula to find the two roots , and then taking the reciprocal to find the roots of the original equation.
Other derivations
Any generic method or algorithm for solving quadratic equations can be applied to an equation with symbolic coefficients and used to derive some closed-form expression equivalent to the quadratic formula. Alternative methods are sometimes simpler than completing the square, and may offer interesting insight into other areas of mathematics.
Completing the square by Śrīdhara's method
Instead of dividing by to isolate , it can be slightly simpler to multiply by instead to produce , which allows us to complete the square without need for fractions. Then the steps of the derivation are:[11]
Multiply each side by .
Add to both sides to complete the square.
Take the square root of both sides.
Isolate .
Applying this method to a generic quadratic equation with symbolic coefficients yields the quadratic formula:
This method for completing the square is ancient and was known to the 8th–9th century Indian mathematician Śrīdhara.[12] Compared with the modern standard method for completing the square, this alternate method avoids fractions until the last step and hence does not require a rearrangement after step 3 to obtain a common denominator in the right side.[11]
By substitution
Another derivation uses a change of variables to eliminate the linear term. Then the equation takes the form in terms of a new variable and some constant expression , whose roots are then .
By substituting into , expanding the products and combining like terms, and then solving for , we have:
Finally, after taking a square root of both sides and substituting the resulting expression for back into the familiar quadratic formula emerges:
By using algebraic identities
The following method was used by many historical mathematicians:[13]
Let the roots of the quadratic equation be and . The derivation starts from an identity for the square of a difference (valid for any two complex numbers), of which we can take the square root on both sides:
Since the coefficient , we can divide the quadratic equation by to obtain a monic polynomial with the same roots. Namely,
This implies that the sum and the product . Thus the identity can be rewritten:
Therefore,
The two possibilities for each of and are the same two roots in opposite order, so we can combine them into the standard quadratic equation:
An alternative way of deriving the quadratic formula is via the method of Lagrange resolvents,[14] which is an early part of Galois theory.[15]
This method can be generalized to give the roots of cubic polynomials and quartic polynomials, and leads to Galois theory, which allows one to understand the solution of algebraic equations of any degree in terms of the symmetry group of their roots, the Galois group.
This approach focuses on the roots themselves rather than algebraically rearranging the original equation. Given a monic quadratic polynomial assume that and are the two roots. So the polynomial factors as
which implies and .
Since multiplication and addition are both commutative, exchanging the roots and will not change the coefficients and : one can say that and are symmetric polynomials in and . Specifically, they are the elementary symmetric polynomials – any symmetric polynomial in and can be expressed in terms of and instead.
The Galois theory approach to analyzing and solving polynomials is to ask whether, given coefficients of a polynomial each of which is a symmetric function in the roots, one can "break" the symmetry and thereby recover the roots. Using this approach, solving a polynomial of degree is related to the ways of rearranging ("permuting") terms, called the symmetric group on letters and denoted . For the quadratic polynomial, the only ways to rearrange two roots are to either leave them be or to transpose them, so solving a quadratic polynomial is simple.
To find the roots and , consider their sum and difference:
These are called the Lagrange resolvents of the polynomial, from which the roots can be recovered as
Because is a symmetric function in and , it can be expressed in terms of and specifically as described above. However, is not symmetric, since exchanging and yields the additive inverse . So cannot be expressed in terms of the symmetric polynomials. However, its square is symmetric in the roots, expressible in terms of and . Specifically , which implies . Taking the positive root "breaks" the symmetry, resulting in
from which the roots and are recovered as
which is the quadratic formula for a monic polynomial.
Substituting , yields the usual expression for an arbitrary quadratic polynomial. The resolvents can be recognized as
respectively the vertex and the discriminant of the monic polynomial.
A similar but more complicated method works for cubic equations, which have three resolvents and a quadratic equation (the "resolving polynomial") relating and , which one can solve by the quadratic equation, and similarly for a quartic equation (degree 4), whose resolving polynomial is a cubic, which can in turn be solved.[14] The same method for a quintic equation yields a polynomial of degree 24, which does not simplify the problem, and, in fact, solutions to quintic equations in general cannot be expressed using only roots.
Numerical calculation
The quadratic formula is exactly correct when performed using the idealized arithmetic of real numbers, but when approximate arithmetic is used instead, for example pen-and-paper arithmetic carried out to a fixed number of decimal places or the floating-point binary arithmetic available on computers, the limitations of the number representation can lead to substantially inaccurate results unless great care is taken in the implementation. Specific difficulties include catastrophic cancellation in computing the sum if ; catastrophic calculation in computing the discriminant itself in cases where ; degeneration of the formula when , , or is represented as zero or infinite; and possible overflow or underflow when multiplying or dividing extremely large or small numbers, even in cases where the roots can be accurately represented.[16][17]
Catastrophic cancellation occurs when two numbers which are approximately equal are subtracted. While each of the numbers may independently be representable to a certain number of digits of precision, the identical leading digits of each number cancel, resulting in a difference of lower relative precision. When , evaluation of causes catastrophic cancellation, as does the evaluation of when . When using the standard quadratic formula, calculating one of the two roots always involves addition, which preserves the working precision of the intermediate calculations, while calculating the other root involves subtraction, which compromises it. Therefore, naïvely following the standard quadratic formula often yields one result with less relative precision than expected. Unfortunately, introductory algebra textbooks typically do not address this problem, even though it causes students to obtain inaccurate results in other school subjects such as introductory chemistry.[18]
For example, if trying to solve the equation using a pocket calculator, the result of the quadratic formula might be approximately calculated as:[19]
Even though the calculator used ten decimal digits of precision for each step, calculating the difference between two approximately equal numbers has yielded a result for with only four correct digits.
One way to recover an accurate result is to use the identity . In this example can be calculated as , which is correct to the full ten digits. Another more or less equivalent approach is to use the version of the quadratic formula with the square root in the denominator to calculate one of the roots (see § Square root in the denominator above).
Practical computer implementations of the solution of quadratic equations commonly choose which formula to use for each root depending on the sign of .[20]
These methods do not prevent possible overflow or underflow of the floating-point exponent in computing or , which can lead to numerically representable roots not being computed accurately. A more robust but computationally expensive strategy is to start with the substitution , turning the quadratic equation into
where is the sign function. Letting , this equation has the form , for which one solution is and the other solution is . The roots of the original equation are then and .[21][22]
With additional complication the expense and extra rounding of the square roots can be avoided by approximating them as powers of two, while still avoiding exponent overflow for representable roots.[17]
Historical development
The earliest methods for solving quadratic equations were geometric. Babylonian cuneiform tablets contain problems reducible to solving quadratic equations.[23] The Egyptian Berlin Papyrus, dating back to the Middle Kingdom (2050 BC to 1650 BC), contains the solution to a two-term quadratic equation.[24]
The Greek mathematician Euclid (circa 300 BC) used geometric methods to solve quadratic equations in Book 2 of his Elements, an influential mathematical treatise[25] Rules for quadratic equations appear in the Chinese The Nine Chapters on the Mathematical Art circa 200 BC.[26][27] In his work Arithmetica, the Greek mathematician Diophantus (circa 250 AD) solved quadratic equations with a method more recognizably algebraic than the geometric algebra of Euclid.[25] His solution gives only one root, even when both roots are positive.[28]
The Indian mathematicianBrahmagupta included a generic method for finding one root of a quadratic equation in his treatise Brāhmasphuṭasiddhānta (circa 628 AD), written out in words in the style of the time but more or less equivalent to the modern symbolic formula.[29][30] His solution of the quadratic equation was as follows: "To the absolute number multiplied by four times the [coefficient of the] square, add the square of the [coefficient of the] middle term; the square root of the same, less the [coefficient of the] middle term, being divided by twice the [coefficient of the] square is the value."[31]
In modern notation, this can be written . The Indian mathematician Śrīdhara (8th–9th century) came up with a similar algorithm for solving quadratic equations in a now-lost work on algebra quoted by Bhāskara II.[32] The modern quadratic formula is sometimes called Sridharacharya's formula in India and Bhaskara's formula in Brazil.[33]
The 9th-century Persian mathematician Muḥammad ibn Mūsā al-Khwārizmī solved quadratic equations algebraically.[34] The quadratic formula covering all cases was first obtained by Simon Stevin in 1594.[35] In 1637 René Descartes published La Géométrie containing special cases of the quadratic formula in the form we know today.[36]
Geometric significance
In terms of coordinate geometry, an axis-aligned parabola is a curve whose -coordinates are the graph of a second-degree polynomial, of the form , where , , and are real-valued constant coefficients with .
Geometrically, the quadratic formula defines the points on the graph, where the parabola crosses the -axis. Furthermore, it can be separated into two terms,
The first term describes the axis of symmetry, the line . The second term, , gives the distance the roots are away from the axis of symmetry.
If the parabola's vertex is on the -axis, then the corresponding equation has a single repeated root on the line of symmetry, and this distance term is zero; algebraically, the discriminant .
If the discriminant is positive, then the vertex is not on the -axis but the parabola opens in the direction of the -axis, crossing it twice, so the corresponding equation has two real roots. If the discriminant is negative, then the parabola opens in the opposite direction, never crossing the -axis, and the equation has no real roots; in this case the two complex-valued roots will be complex conjugates whose real part is the value of the axis of symmetry.
Dimensional analysis
If the constants , , and/or are not unitless then the quantities and must have the same units, because the terms and agree on their units. By the same logic, the coefficient must have the same units as , irrespective of the units of . This can be a powerful tool for verifying that a quadratic expression of physical quantities has been set up correctly.
^Li, Xuhui. An Investigation of Secondary School Algebra Teachers' Mathematical Knowledge for Teaching Algebraic Equation Solving, p. 56 (ProQuest, 2007): "The quadratic formula is the most general method for solving quadratic equations and is derived from another general method: completing the square."
^Rockswold, Gary. College algebra and trigonometry and precalculus, p. 178 (Addison Wesley, 2002).
^Beckenbach, Edwin et al. Modern college algebra and trigonometry, p. 81 (Wadsworth Pub. Co., 1986).
^Specifically, Fagnano began with the equation and found the solutions to be (In the 18th century, the square was conventionally written as .)
^ abHoehn, Larry (1975), "A More Elegant Method of Deriving the Quadratic Formula", The Mathematics Teacher, 68 (5): 442–443, doi:10.5951/MT.68.5.0442, JSTOR27960212
^Starting from a quadratic equation of the form , Śrīdhara's method, as quoted by Bhāskara II (c. 1150): "Multiply both sides of the equation by a number equal to four times the [coefficient of the] square, and add to them a number equal to the square of the original [coefficient of the] unknown quantity. [Then extract the root.]". Smith 1923, p. 446
^Debnath, Lokenath (2009), "The legacy of Leonhard Euler – a tricentennial tribute", International Journal of Mathematical Education in Science and Technology, 40 (3): 353–388, doi:10.1080/00207390802642237, S2CID123048345
^ abClark, A. (1984). Elements of abstract algebra. Courier Corporation. p. 146.
^ abGoualard, Frédéric (2023), The Ins and Outs of Solving Quadratic Equations with Floating-Point Arithmetic (Technical report), University of Nantes, HALhal-04116310
^Thompson, H. Bradford (1987), "Good numerical technique in chemistry: The quadratic equation", Journal of Chemical Education, 64 (12): 1009, Bibcode:1987JChEd..64.1009T, doi:10.1021/ed064p1009
^
This example comes from: Henrici, Peter (1982), Essentials of Numerical Analysis with Pocket Calculator Demonstrations, New York: Wiley, p. 13
^Baker, Henry G. (1998), "You Could Learn a Lot from a Quadratic: Overloading Considered Harmful", SIGPLAN Notices, 33 (1): 30–38, doi:10.1145/609742.609746
^Rocha, Rodrigo Luis da (2023). O uso da expressão 'fórmula de bhaskara' em livros didáticos brasileiros e sua relação com o método resolutivo da equação do 2º grau [The use of the expression 'bhaskara formula' in Brazilian textbooks and its relationship with the method for solving quadratic equations] (master's thesis) (in Portuguese). Universidade Federal do Paraná. hdl:1884/82597. Guedes, Eduardo Gomes (2019). A equação quadrática e as contribuições de Bhaskara [The quadratic equation and Bhaskara's contributions] (master's thesis) (in Portuguese). Universidade Federal do Paraná. hdl:1884/66582. Banerjee, Isha (July 2, 2024). "India Molded Math. Then Europe Claimed It". The Juggernaut. For instance, some Indian schools call the quadratic formula Sridharacharya's formula and some Brazilian schools call it Bhaskara's formula.
Questa voce sull'argomento aviazione è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Segui i suggerimenti del progetto di riferimento. I montanti o puntoni cabane (cabane strut in lingua inglese) è uno dei termini comuni ereditato dalla terminologia costruttiva di un velivolo biplano, che può essere tradotto come: montanti della sezione centrale. Questi elementi strutturali supportano l'ala superiore sulla fusoliera ed insieme con altri componenti, ...
районСайрамский районказ. Сайрам ауданы Герб 42°25′00″ с. ш. 69°50′00″ в. д.HGЯO Страна Казахстан Входит в Туркестанская область Адм. центр Аксукент Аким и.о Шухратулла Убайдуллаев История и география Дата образования 1928 год Площадь 1 700 км² Часовой пояс UTC+6 Нас�...
German philosopher (1806–1884) Hermann UlriciBorn(1806-03-23)23 March 1806Pförten, Neumark, Margraviate of BrandenburgDied11 January 1884(1884-01-11) (aged 77)Halle (Saale), Province of Saxony, German EmpireAlma materUniversity of BerlinEra19th-century philosophyRegionWestern philosophySchoolGerman idealismSpeculative theism[1]SpiritismInstitutionsUniversity of HalleMain interestsMetaphysics, philosophical logicNotable ideasScientific evidence for God's existence Hermann ...
Academic college of the University of Florida College of Journalismand CommunicationsTypePublicEstablished1925; 99 years ago (1925)Parent institutionUniversity of FloridaDeanHub Brown[1]Undergraduates2,300Postgraduates600LocationGainesville, Florida, United States29°38′52.3″N 82°20′51.0″W / 29.647861°N 82.347500°W / 29.647861; -82.347500Websitewww.jou.ufl.edu Weimer Hall, home of the College of Journalism and Communications Interio...
Eno SigitLahirRetnosari Widowati Harjojudanto10 April 1974 (umur 49)IndonesiaPekerjaanpengusaha, penyanyiSuami/istriFahmi DavidAnakJibrilian AmelKarier musik Retnosari Widowati Harjojudanto yang lebih dikenal sebagai Eno Sigit (lahir 10 April 1974) adalah pengusaha Indonesia. Dulu putri kedua dari tiga bersaudara pasangan Sigit Hardjojudanto dan Ilsye Aneke Ratnawati ini sempat dikenal sebagai penyanyi dan sempat merilis album duet bersama Harry de Fretes. Album yang dirilis tahun 1996 ...
Penulisan nya pada posisi awal tengah, akhir dan posisi lepas. Nya ڽ (bahasa Arab: النون المثلثة) adalah salah satu huruf Arab yang merupakan varian dari huruf nun yang melambangkan fonem [ɲ] dalam bahasa Melayu atau Indonesia. Huruf ini bukanlah termasuk ke dalam 28 huruf hijaiah, dan dipakai pada beberapa bahasa non-Arab yang menggunakan abjad Arab seperti pada tulisan jawi dan pegon pada bahasa Indonesia, bahasa Melayu, bahasa Jawa dan bahasa Sunda. Bahasa Arab sendiri tidak ...
كونيغشتاين إم تاونوس شعار الإحداثيات 50°10′59″N 8°27′49″E / 50.183125°N 8.4635416666667°E / 50.183125; 8.4635416666667 [1] تقسيم إداري البلد ألمانيا[2][3] التقسيم الأعلى هوختاونوسكرايس خصائص جغرافية المساحة 25.05 كيلومتر مربع (31 ديسمبر 2017)[4] ارتف�...
PT Wismilak Inti Makmur TbkJenisPerusahaan publikKode emitenIDX: WIIMIndustriRokokDidirikan14 Desember 1994; 29 tahun lalu (1994-12-14)PendiriLie Koen LieTjio Ing HienTjioe Ing HwaOel Bian HokKantorpusatSurabaya, Jawa TimurWilayah operasiIndonesiaTokohkunciRonald Walla[1](Direktur Utama)Indahtati Widjajadi[1](Komisaris Utama)ProdukRokokCerutuFilter rokokMerekGalanSlimSatyaPrimaArjaDiplomatEvoRobustoSeleccionPendapatan Rp 3,704 triliun (2022)[2]Laba operasi Rp 305,...
Mimicry of a less deadly species The deadly Texas coral snake, Micrurus tener (the Emsleyan/Mertensian mimic) The harmless Mexican milk snake, Lampropeltis triangulum annulata (the Batesian mimic) Emsleyan mimicry, also called Mertensian mimicry, describes an unusual type of mimicry where a deadly prey mimics a less dangerous species.[1] History Emsleyan mimicry was first proposed by M. G. Emsley[2] as a possible explanation for how a predator species could learn to avoid an a...
Artikel ini mungkin termasuk rintisan permanen. Artikel dapat dikatakan layak, tetapi sumbernya terbatas. Bantulah untuk menambahkan referensi atau sumber tepercaya jika memungkinkan. Leo SutantoLahir19 Desember 1947 (umur 76)Jakarta, IndonesiaPekerjaanProduser filmpenyuntingTahun aktif1996—sekarangSuami/istriElly Yanti NoorAnak4 Leo Sutanto (lahir 19 Desember 1947) adalah produser film dan penyunting Indonesia. Ia dikenal sebagai produser sekaligus pendiri rumah produksi SinemArt...
Численность населения республики по данным Росстата составляет 4 003 016[1] чел. (2024). Татарстан занимает 8-е место по численности населения среди субъектов Российской Федерации[2]. Плотность населения — 59,00 чел./км² (2024). Городское население — 76,72[3] % (20...
Diagram of font metrics showing where letters and symbols would be placed relative to each other. The letters would change size according to the font type, typographic unit and dimension used. Metric typographic units have been devised and proposed several times to overcome the various traditional point systems. After the French Revolution of 1789 one popular proponent of a switch to metric was Didot, who had been able to standardise the continental European typographic measurement a few deca...
Class of diesel electric locomotives British Rail Class 60An EWS Class 60 at Castleton East JunctionType and originPower typeDiesel-electricBuilderBrush Traction, LoughboroughBuild date1989–1993Total produced100SpecificationsConfiguration: • UICCo′Co′ • CommonwealthCo-CoGauge1,435 mm (4 ft 8+1⁄2 in) standard gaugeMinimum curve80 metres (4.0 chains)[1]Wheelbase15.3 m (50.2 ft)[2]Length21.34 m (70...
هذه المقالة تحتاج للمزيد من الوصلات للمقالات الأخرى للمساعدة في ترابط مقالات الموسوعة. فضلًا ساعد في تحسين هذه المقالة بإضافة وصلات إلى المقالات المتعلقة بها الموجودة في النص الحالي. (يوليو 2021) الأكاديمية الأسترالية لفنون السينما والتلفزيونالتاريخالتأسيس 2011 الجوائز A...
This article relies largely or entirely on a single source. Relevant discussion may be found on the talk page. Please help improve this article by introducing citations to additional sources.Find sources: 2019 Turkish Super Cup – news · newspapers · books · scholar · JSTOR (September 2019) Football match2019 Turkish Super CupEventTurkish Super Cup Galatasaray Akhisarspor 1 0 Date7 August 2019 (2019-08-07)VenueEryaman Stadium, AnkaraMan o...
لمعانٍ أخرى، طالع سومنر (توضيح). سومنر الإحداثيات 42°51′00″N 92°05′59″W / 42.85°N 92.099722222222°W / 42.85; -92.099722222222 [1] تاريخ التأسيس 1870 تقسيم إداري البلد الولايات المتحدة[2] التقسيم الأعلى مقاطعة بريمير خصائص جغرافية المساحة 6.559209 كيلو�...
Peta lokasi Munisipalitas Vallensbæk Munisipalitas Vallensbæk adalah sebuah kawasan pemukiman (Denmark: kommune) di Region Hovedstaden di Denmark. Munisipalitas Vallensbæk memiliki luas sebesar 9.15 km² dan memiliki populasi sebesar 12.399 jiwa. Referensi Municipal statistics: NetBorger Kommunefakta Diarsipkan 2007-08-12 di Wayback Machine., delivered from KMD aka Kommunedata (Municipal Data) Municipal merges and neighbors: Eniro new municipalities map Diarsipkan 2007-10-11 di Waybac...
Si ce bandeau n'est plus pertinent, retirez-le. Cliquez ici pour en savoir plus. Cet article ne cite pas suffisamment ses sources (août 2019). Si vous disposez d'ouvrages ou d'articles de référence ou si vous connaissez des sites web de qualité traitant du thème abordé ici, merci de compléter l'article en donnant les références utiles à sa vérifiabilité et en les liant à la section « Notes et références ». En pratique : Quelles sources sont attendues ? Com...
MAN TGS — крупнотоннажный грузовой автомобиль, выпускаемый компанией MAN с 2007 года. От модели MAN TGX отличается узкой кабиной шириной 2,24 м. MAN TGS Общие данные Производитель MAN Годы производства 2007 — настоящее время Класс HCV Дизайн и конструкция Компоновка переднемоторная, зад...