All Topics  
Quadratic equation

 

 

 

 

 

Quadratic equation


 
 
In mathematicsMathematics

Mathematics is the discipline that deals with concepts such as quantity, structure, space and change....
, a quadratic equation is a polynomialPolynomial

In mathematics, a polynomial is an expression in which a finite number of constants and variables are combined using only ad...
 equationEquation

An equation is a mathematical statement, in symbols, that two things are the same....
 of the second degreeDegree of a polynomial

The degree of a polynomial is the maximum of the degrees of all terms in the polynomial....
. The general form is

where a ? 0. (For if a = 0, the equation becomes a linear equationLinear equation

A linear equation is an equation involving only the sum of constants or products of constants and the first power of a vari...
.)

The letters a, b, and c are called coefficientCoefficient

In mathematics, a coefficient is a constant multiplicative factor of a certain object....
s: the quadratic coefficient a is the coefficient of , the linear coefficient b is the coefficient of x, and c is the constantConstant

In mathematics and the mathematical sciences, a constant is a fixed, but possibly unspecified, value....
 coefficient, also called the free term or constant termConstant term

In mathematics, the constant term of a polynomial is the term of degree 0....
.

Quadratic equations are called quadratic because quadratus is LatinLatin

Latin is an ancient Indo-European language originally spoken in Latium, the region immediately surrounding Rome....
 for "square"; in the leading term the variable is squaredSquare (algebra)

In algebra, the square of a number is that number multiplied by itself....
.


Quadratic formulaA quadratic equation with realReal number

In mathematics, the set of real numbers, denoted R, is the set of all rational numbers and irrational numbers....
 or complexComplex number

In mathematics, a complex number is a number of the form ...
 coefficients has two (not necessarily distinct) solutions, called rootsRoot (mathematics)

This article is about the zeroes of a function....
, which may or may not be real, given by the quadratic formula:

where the symbol "±"Facts About Plus-minus sign

The plus-minus sign is a mathematical symbol commonly used to indicate the precision of an approximation, or as a convenient...
 indicates that both

  and 



are solutions.
Discriminant
In the above formula, the expression underneath the square root sign:
is called the discriminantDiscriminant

In mathematics, a discriminant is an expression that discriminates qualities of algebraic structures....
of the quadratic equation.

A quadratic equation with real coefficients can have either one or two distinct real roots, or two distinct complex roots.






Discussion
Ask a question about 'Quadratic equation'
Start a new discussion about 'Quadratic equation'
Answer questions from other users
Full Discussion Forum





Recent Posts









Encyclopedia


In mathematicsMathematics

Mathematics is the discipline that deals with concepts such as quantity, structure, space and change....
, a quadratic equation is a polynomialPolynomial

In mathematics, a polynomial is an expression in which a finite number of constants and variables are combined using only ad...
 equationEquation

An equation is a mathematical statement, in symbols, that two things are the same....
 of the second degreeDegree of a polynomial

The degree of a polynomial is the maximum of the degrees of all terms in the polynomial....
. The general form is

where a ? 0. (For if a = 0, the equation becomes a linear equationLinear equation

A linear equation is an equation involving only the sum of constants or products of constants and the first power of a vari...
.)

The letters a, b, and c are called coefficientCoefficient

In mathematics, a coefficient is a constant multiplicative factor of a certain object....
s: the quadratic coefficient a is the coefficient of , the linear coefficient b is the coefficient of x, and c is the constantConstant

In mathematics and the mathematical sciences, a constant is a fixed, but possibly unspecified, value....
 coefficient, also called the free term or constant termConstant term

In mathematics, the constant term of a polynomial is the term of degree 0....
.

Quadratic equations are called quadratic because quadratus is LatinLatin

Latin is an ancient Indo-European language originally spoken in Latium, the region immediately surrounding Rome....
 for "square"; in the leading term the variable is squaredSquare (algebra)

In algebra, the square of a number is that number multiplied by itself....
.


Quadratic formula

A quadratic equation with realReal number

In mathematics, the set of real numbers, denoted R, is the set of all rational numbers and irrational numbers....
 or complexComplex number

In mathematics, a complex number is a number of the form ...
 coefficients has two (not necessarily distinct) solutions, called rootsRoot (mathematics)

This article is about the zeroes of a function....
, which may or may not be real, given by the quadratic formula:

where the symbol "±"Facts About Plus-minus sign

The plus-minus sign is a mathematical symbol commonly used to indicate the precision of an approximation, or as a convenient...
 indicates that both

  and 



are solutions.

Discriminant


In the above formula, the expression underneath the square root sign:
is called the discriminantDiscriminant

In mathematics, a discriminant is an expression that discriminates qualities of algebraic structures....
of the quadratic equation.

A quadratic equation with real coefficients can have either one or two distinct real roots, or two distinct complex roots. In this case the discriminant determines the number and nature of the roots. There are three cases:
  • If the discriminant is positive, there are two distinct roots, both of which are real numbers. For quadratic equations with integerInteger

    The integers consist of the positive natural numbers , their negatives and the number zero....
     coefficients, if the discriminant is a perfect squareSquare number

    In mathematics, a square number, sometimes also called a perfect square, is an integer that can be written as the squa...
    , then the roots are rational numberFacts About Rational number

    In mathematics, a rational number is a ratio or quotient of two integers, usually written as the vulgar fraction a''/b'...
    s—in other cases they may be quadratic irrationalQuadratic irrational

    In mathematics, a quadratic irrational, also known as a quadratic surd or quadratic irrationality, is an irratio...
    s.
  • If the discriminant is zero, there is exactly one distinct root, and that root is a real numberReal number

    In mathematics, the set of real numbers, denoted R, is the set of all rational numbers and irrational numbers....
    . Sometimes called a double root, its value is:* If the discriminant is negative, there are no real roots. Rather, there are two distinct (non-real) complexComplex number

    In mathematics, a complex number is a number of the form ...
     roots, which are complex conjugateComplex conjugate

    In mathematics, the complex conjugate...
    s of each other:

Thus the roots are distinct if and only if the discriminant is non-zero, and the roots are real if and only if the discriminant is non-negative.

Geometry



The roots of the quadratic equation




are also the zeros of the quadratic functionQuadratic function

A quadratic function, in mathematics, is a polynomial function of the form , where are real numbers and ....
:




since they are the values of x for which




If a, b, and c are real numbers and the domainDomain (mathematics)

In mathematics, a domain of a k-place relation L ? X1 × × X'k is one of the sets X'j,...
 of f is the set of real numbers, then the zeros of f are exactly the x-coordinates of the points where the graph touches the x-axis.

It follows from the above that, if the discriminant is positive, the graph touches the x-axis at two points, if zero, the graph touches at one point, and if negative, the graph does not touch the x-axis.

Quadratic factorization

The term

is a factor of the polynomial




if and only if r is a rootRoot (mathematics)

This article is about the zeroes of a function....
 of the quadratic equation




It follows from the quadratic formula that




In the special case where the quadratic has only one distinct root (i.e. the discriminant is zero), the quadratic polynomial can be factoredFactorization

In mathematics, factorization or factoring is the decomposition of an object into a product of other objects, or fa...
 as

Application to higher-degree equations

Certain higher-degree equations can be brought into quadratic form and solved that way. For example, the 6th-degree equation in x:
can be rewritten as:
or, equivalently, as a quadratic equation in a new variable u:
where
Solving the quadratic equation for u results in the two solutions:
Thus
Concentrating on finding the three cube roots of – the other three solutions for x will be their complex conjugateComplex conjugate

In mathematics, the complex conjugate...
s – rewriting the right-hand side using Euler's formulaEuler's formula

Euler's formula, named after Leonhard Euler, is a mathematical formula in complex analysis that shows a deep relationship be...
:
(since e2kpi = 1), gives the three solutions:
Using Eulers' formula again together with trigonometric identities such as cos(p/12) = , and adding the complex conjugates, gives the complete collection of solutions as:
and

History

The Babylonians, as early as 1800 BC (displayed on Old BabylonianOld Babylonian Summary

The term 'Old Babylonian' is a period in Mesopotamian history that refers, roughly, to the period between the end of the Third Dyn...
 clay tabletClay tablet Summary

Small tablets made out of clay were used from late 4th millennium BC onwards as a writing medium in Sumerian, other Me...
s) could solve a pair of simultaneous equations of the form:

which are equivalent to the equation:

The original pair of equations were solved as follows:

  1. Form
  2. Form
  3. Form
  4. Form
  5. Find by inspection of the values in (1) and (4).


In the Sulba SutraSulba Sutras

The Sulba Sutras or Sulva Sutras are texts of the Hindu canon dealing with the geometry of altar construction....
s in ancient IndiaIndian subcontinent

The Indian subcontinent is a peninsula landmass of the Asian continent occupying the Indian Plate and extending into the Ind...
 circa 8th century BCE quadratic equations of the form ax2 = c and ax2 + bx = c were explored using geometric methods. Babylonian mathematiciansBabylonian mathematics

Babylonian mathematics refers to any mathematics of the peoples of Mesopotamia, from the days of the early Sumerians to the ...
 from circa 400 BCE and Chinese mathematiciansChinese mathematics

Knowledge of Chinese mathematics before 100 BC is somewhat fragmentary, but there are elements that seem consistent....
 from circa 200 BCE used the method of completing the squareCompleting the square

Completing the square is an algebra technique, also used in many types of calculus....
 to solve quadratic equations with positive roots, but did not have a general formula. EuclidEuclid

Euclid , a Greek mathematician, who lived in Alexandria, Hellenistic Egypt, almost certainly during the reign of Ptolemy I...
, the Greek mathematician, produced a more abstract geometrical method around 300 BCE.

In 628 CE, BrahmaguptaBrahmagupta

Brahmagupta was an Indian mathematician and astronomer....
 gave the first explicit (although still not completely general) solution of the quadratic equation:

This is equivalent to:

The Bakhshali ManuscriptBakhshali Manuscript

The Bakhshali Manuscript is a mathematical manuscript written on birch bark which was found near the village of Bakhshali in...
dated to have been written in India in the 7th century CE contained an algebraic formula for solving quadratic equations, as well as quadratic indeterminateIndeterminate (variable)

In mathematics, more precisely in algebra, an indeterminate is a quantity that is not known, and cannot be solved for....
 equations (originally of type ax/c = y). Mohammad bin Musa Al-kwarismiMuhammad ibn Musa al-Khwarizmi Overview

' was a Persian mathematician, astronomer, astrologer and geographer....
 developed a set of formulae that worked for positive solutions. His work was based on BrahmaguptaBrahmagupta

Brahmagupta was an Indian mathematician and astronomer....
. Abraham bar Hiyya Ha-NasiAbraham bar Hiyya Ha-Nasi

Abraham bar Hiyya Ha-Nasi was a Spanish Jewish mathematician and astronomer, also known as Savasorda....
 (also known by the LatinLatin

Latin is an ancient Indo-European language originally spoken in Latium, the region immediately surrounding Rome....
 name Savasorda) introduced the complete solution to Europe in his book Liber embadorum in the 12th century12th century

As a means of recording the passage of time, the 12th century was that century which lasted from 1101 to 1200....
. Bhaskara II, an IndianIndia

India , officially the Republic of India, is a country in South Asia....
 mathematicianIndian mathematics

The chronology of Indian mathematics spans from the Indus Valley civilization and Vedic civilization to modern India....
astronomerAstronomer

An astronomer or astrophysicist is a person whose area of interest is astronomy or astrophysics....
, gave the first general solution to the quadratic equation with two roots.

The writing of the Chinese mathematician Yang HuiYang Hui

Yang Hui was a Chinese mathematician who worked on magic squares and binomial theorem....
 represents the first in which quadratic equations with negative coefficients of 'x' appear, although he attributes this to the earlier Liu Yi.

Derivation

The quadratic formula can be derived by the method of completing the squareCompleting the square

Completing the square is an algebra technique, also used in many types of calculus....
, so as to make use of the algebraic identity:

Dividing the quadratic equation

by a (which is allowed because a is non-zero), gives:

or

The quadratic equation is now in a form in which the method of completing the square can be applied.
To "complete the square" is to find some constant k such that

for another constant y. In order for these equations to be true,

or

and

thus

Adding this constant to equation (1) produces

The left side is now a perfect squarePerfect square

The term perfect square is used in mathematics in two meanings:...
 because

The right side can be written as a single fraction, with common denominator 4a2. This gives

Taking the square rootSquare root

In mathematics, a square root of a number x is a number whose square is x....
 of both sides yields

Isolating x, gives

Floating point implementation

A careful floating pointFloating point

Floating-point is a means of representing real numbers in terms of digits or bits in a computer or calculator, similar to ho...
 computer implementation differs a little from both forms to produce a robust result. Assuming the discriminant, b2-4ac, is positive and b is nonzero, the code will be something like the following.



Here sgn(b) is the sign functionSign function

In mathematics and especially in computer science, the sign function is a logical function which extracts the sign of a real...
, where sgn(b) is 1 if b is positive and -1 if b is negative; its use ensures that the quantities added are of the same sign, avoiding catastrophic cancellationLoss of significance

Loss of significance is an undesirable effect in calculations using floating-point arithmetic....
. The computation of r2 uses the fact that the product of the roots is c/a.

See , Section 5.6: "Quadratic and Cubic Equations".

Vičte's formulas

Vičte's formulasVičte's formulas Summary

In mathematics, more specifically in algebra, Vi?te's formulas, named after Fran?ois Vi?te, are formulas which relate the ro...
 give a simple relation between the roots of a polynomial and its coefficients. In the case of the quadratic polynomial, they take the following form:

and

The first formula above yields a convenient expression when graphing a quadratic function. Since the graph is symmetric with respect to a vertical line through the vertexFacts About Quadratic function

A quadratic function, in mathematics, is a polynomial function of the form , where are real numbers and ....
, when there are two real roots the vertex’s x-coordinate is located at the average of the roots (or intercepts). Thus the x-coordinate of the vertex is given by the expression:

The y-coordinate can be obtained by substituting the above result into the given quadratic equation, giving

Generalizations

The formula and its derivation remain correct if the coefficients a, b and c are complex numberComplex number

In mathematics, a complex number is a number of the form ...
s, or more generally members of any fieldField (mathematics)

In abstract algebra, a field is an algebraic structure in which the operations of addition, subtraction, multiplication and ...
 whose characteristicCharacteristic (algebra)

In mathematics, the characteristic of a ring R with multiplicative identity element 1R is defined to be the smallest...
 is not 2. (In a field of characteristic 2, the element 2a is zero and it is impossible to divide by it.)

The symbol

in the formula should be understood as "either of the two elements whose square is

if such elements exist. In some fields, some elements have no square roots and some have two; only zero has just one square root, except in fields of characteristic 2. Note that even if a field does not contain a square root of some number, there is always a quadratic extension field which does, so the quadratic formula will always make sense as a formula in that extension field.

Characteristic 2

In a field of characteristic 2, the quadratic formula, which relies on 2 being a unitUnit (ring theory)

In mathematics, a unit in a ring R is an invertible element of R, i.e....
, does not hold. Consider the monicMonic polynomial

A monic polynomial or normed polynomial is a polynomial whose leading coefficient is 1....
 quadratic polynomial

over a field of characteristic 2. If b = 0, then the solution reduces to extracting a square root, so the solution is

and note that there is only one root since

In summary,

See quadratic residueQuadratic residue

In mathematics, a number q is called a quadratic residue modulo n if there exists an integer x such that:...
 for more information about extracting square roots in finite fields.

In the case that b ? 0, there are two distinct roots, but if the polynomial is irreducibleIrreducible polynomial

In mathematics, the adjective irreducible means that...
, they cannot be expressed in terms of square roots of numbers in the coefficient field. Instead, define the 2-root R(c) of c to be a root of the polynomial x2 + x + c, an element of the splitting fieldSplitting field

In abstract algebra, the splitting field of a polynomial P over a given field K is a field extension L of K,...
 of that polynomial. One verifies that R(c) + 1 is also a root. In terms of the 2-root operation, the two roots of the (non-monic) quadratic ax2 + bx + c are
and

For example, let a denote a multiplicative generator of the group of units of F4, the Galois field of order four (thus a and a + 1 are roots of x2 + x + 1 over F4). Because (a + 1)2 = a, a + 1 is the unique solution of the quadratic equation x2 + a = 0. On the other hand, the polynomial x + ax + 1 is irreducible over F4, but splits over F16, where it has the two roots ab and ab + a, where b is a root of x2 + x + a in F16.

This is a special case of Artin-Schreier theoryArtin-Schreier theory

In mathematics, Artin-Schreier theory is a branch of Galois theory, and more specifically is a positive characteristic analo...
.

See also


External links

  • 101 uses of a quadratic equation
  • Interactive applet. Sliders for a,b,c show effects on a graph.
  • Trigonometric solutions: