Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Quadratic equation

From Wikipedia, the free encyclopedia
Not to be confused withQuartic equation.
Polynomial equation of degree two

Inmathematics, aquadratic equation (from Latin quadratus 'square') is anequation that can be rearranged in standard form as[1]ax2+bx+c=0,{\displaystyle ax^{2}+bx+c=0\,,}where thevariablex{\displaystyle x} represents an unknown number, anda,b, andc represent known numbers, wherea ≠ 0. (Ifa = 0 andb ≠ 0 then the equation islinear, not quadratic.) The numbersa,b, andc are thecoefficients of the equation and may be distinguished by respectively calling them, thequadratic coefficient, thelinear coefficient and theconstant coefficient orfree term.[2]

The values ofx{\displaystyle x} that satisfy the equation are calledsolutions of the equation, androots orzeros of thequadratic function on its left-hand side. A quadratic equation has at most two solutions. If there is only one solution, one says that it is adouble root. If all the coefficients arereal numbers, there are either two real solutions, or a real double root, or twocomplex solutions that arecomplex conjugates of each other. A quadratic equation always has two roots, if complex roots are included and a double root is counted for two. A quadratic equation can befactored into an equivalent equation[3]ax2+bx+c=a(xr)(xs)=0{\displaystyle ax^{2}+bx+c=a(x-r)(x-s)=0}wherer ands are the solutions forx{\displaystyle x}.

Thequadratic formulax=b±b24ac2a{\displaystyle x={\frac {-b\pm {\sqrt {b^{2}-4ac}}}{2a}}}expresses the solutions in terms ofa,b, andc.Completing the square is one of several ways for deriving the formula.

Solutions to problems that can be expressed in terms of quadratic equations were known as early as 2000 BC.[4][5]

The quadratic equation contains onlypowers ofx{\displaystyle x} that are non-negative integers, and therefore it is apolynomial equation. In particular, it is asecond-degree polynomial equation, since the greatest power is two.

Solving the quadratic equation

[edit]
Figure 1. Plots of the quadratic function, y = eh x squared plus b x plus c, varying each coefficient separately while the other coefficients are fixed at values eh = 1, b = 0, c = 0. The left plot illustrates varying c. When c equals 0, the vertex of the parabola representing the quadratic function is centered on the origin, and the parabola rises on both sides of the origin, opening to the top. When c is greater than zero, the parabola does not change in shape, but its vertex is raised above the origin. When c is less than zero, the vertex of the parabola is lowered below the origin. The center plot illustrates varying b. When b is less than zero, the parabola representing the quadratic function is unchanged in shape, but its vertex is shifted to the right of and below the origin. When b is greater than zero, its vertex is shifted to the left of and below the origin. The vertices of the family of curves created by varying b follow along a parabolic curve. The right plot illustrates varying eh. When eh is positive, the quadratic function is a parabola opening to the top. When eh is zero, the quadratic function is a horizontal straight line. When eh is negative, the quadratic function is a parabola opening to the bottom.
Figure 1. Plots of quadratic functiony =ax2 +bx +c, varying each coefficient separately while the other coefficients are fixed (at valuesa = 1,b = 0,c = 0)

A quadratic equation whosecoefficients arereal numbers can have either zero, one, or two distinct real-valued solutions, also calledroots. When there is only one distinct root, it can be interpreted as two roots with the same value, called adouble root. When there are no real roots, the coefficients can be considered ascomplex numbers with zeroimaginary part, and the quadratic equation still has two complex-valued roots,complex conjugates of each-other with a non-zero imaginary part. A quadratic equation whose coefficients are arbitrary complex numbers always has two complex-valued roots which may or may not be distinct.

The solutions of a quadratic equation can be found by several alternative methods.

Factoring by inspection

[edit]

It may be possible to express a quadratic equationax2 +bx +c = 0 as a product(px +q)(rx +s) = 0. In some cases, it is possible, by simple inspection, to determine values ofp,q,r, ands that make the two forms equivalent to one another. If the quadratic equation is written in the second form, then the "Zero Factor Property" states that the quadratic equation is satisfied ifpx +q = 0 orrx +s = 0. Solving these two linear equations provides the roots of the quadratic.

For most students, factoring by inspection is the first method of solving quadratic equations to which they are exposed.[6]: 202–207  If one is given a quadratic equation in the formx2 +bx +c = 0, the sought factorization has the form(x +q)(x +s), and one has to find two numbersq ands that add up tob and whose product isc (this is sometimes called "Vieta's rule"[7] and is related toVieta's formulas). As an example,x2 + 5x + 6 factors as(x + 3)(x + 2). The more general case wherea does not equal1 can require a considerable effort in trial and error guess-and-check, assuming that it can be factored at all by inspection.

Except for special cases such as whereb = 0 orc = 0, factoring by inspection only works for quadratic equations that have rational roots. This means that the great majority of quadratic equations that arise in practical applications cannot be solved by factoring by inspection.[6]: 207 

Completing the square

[edit]
Main article:Completing the square
Figure 2 illustrates an x y plot of the quadratic function f of x equals x squared minus x minus 2. The x-coordinate of the points where the graph intersects the x-axis, x equals −1 and x equals 2, are the solutions of the quadratic equation x squared minus x minus 2 equals zero.
Figure 2. For thequadratic functiony =x2x − 2, the points where the graph crosses thex-axis,x = −1 andx = 2, are the solutions of the quadratic equationx2x − 2 = 0.

The process of completing the square makes use of the algebraic identityx2+2hx+h2=(x+h)2,{\displaystyle x^{2}+2hx+h^{2}=(x+h)^{2},}which represents a well-definedalgorithm that can be used to solve any quadratic equation.[6]: 207  Starting with a quadratic equation in standard form,ax2 +bx +c = 0

  1. Divide each side bya, the coefficient of the squared term.
  2. Subtract the constant termc/a from both sides.
  3. Add the square of one-half ofb/a, the coefficient ofx, to both sides. This "completes the square", converting the left side into a perfect square.
  4. Write the left side as a square and simplify the right side if necessary.
  5. Produce two linear equations by equating the square root of the left side with the positive and negative square roots of the right side.
  6. Solve each of the two linear equations.

We illustrate use of this algorithm by solving2x2 + 4x − 4 = 02x2+4x4=0{\displaystyle 2x^{2}+4x-4=0} x2+2x2=0{\displaystyle \ x^{2}+2x-2=0} x2+2x=2{\displaystyle \ x^{2}+2x=2} x2+2x+1=2+1{\displaystyle \ x^{2}+2x+1=2+1}(x+1)2=3{\displaystyle \left(x+1\right)^{2}=3} x+1=±3{\displaystyle \ x+1=\pm {\sqrt {3}}} x=1±3{\displaystyle \ x=-1\pm {\sqrt {3}}}

Theplus–minus symbol "±" indicates that bothx=1+3{\textstyle x=-1+{\sqrt {3}}} andx=13{\textstyle x=-1-{\sqrt {3}}} are solutions of the quadratic equation.[8]

Quadratic formula and its derivation

[edit]
Main article:Quadratic formula

Completing the square can be used toderive a general formula for solving quadratic equations, called the quadratic formula.[9] Themathematical proof will now be briefly summarized.[10] It can easily be seen, bypolynomial expansion, that the following equation is equivalent to the quadratic equation:(x+b2a)2=b24ac4a2.{\displaystyle \left(x+{\frac {b}{2a}}\right)^{2}={\frac {b^{2}-4ac}{4a^{2}}}.}Taking thesquare root of both sides, and isolatingx, gives:x=b±b24ac2a.{\displaystyle x={\frac {-b\pm {\sqrt {b^{2}-4ac}}}{2a}}.}

Some sources, particularly older ones, use alternative parameterizations of the quadratic equation such asax2 + 2bx +c = 0 orax2 − 2bx +c = 0 ,[11] whereb has a magnitude one half of the more common one, possibly with opposite sign. These result in slightly different forms for the solution, but are otherwise equivalent.

A number ofalternative derivations can be found in the literature. These proofs are simpler than the standard completing the square method, represent interesting applications of other frequently used techniques in algebra, or offer insight into other areas of mathematics.

A lesser known quadratic formula, as used inMuller's method, provides the same roots via the equationx=2cb±b24ac.{\displaystyle x={\frac {2c}{-b\pm {\sqrt {b^{2}-4ac}}}}.} This can be deduced from the standard quadratic formula byVieta's formulas, which assert that the product of the roots isc/a. It also follows from dividing the quadratic equation byx2{\displaystyle x^{2}} givingcx2+bx1+a=0,{\displaystyle cx^{-2}+bx^{-1}+a=0,} solving this forx1,{\displaystyle x^{-1},} and then inverting.

One property of this form is that it yields one valid root whena = 0, while the other root contains division by zero, because whena = 0, the quadratic equation becomes a linear equation, which has one root. By contrast, in this case, the more common formula has a division by zero for one root and anindeterminate form0/0 for the other root. On the other hand, whenc = 0, the more common formula yields two correct roots whereas this form yields the zero root and an indeterminate form0/0.

When neithera norc is zero, the equality between the standard quadratic formula and Muller's method,2cbb24ac=b+b24ac2a,{\displaystyle {\frac {2c}{-b-{\sqrt {b^{2}-4ac}}}}={\frac {-b+{\sqrt {b^{2}-4ac}}}{2a}}\,,}can be verified bycross multiplication, and similarly for the other choice of signs.

Reduced quadratic equation

[edit]

It is sometimes convenient to reduce a quadratic equation so that itsleading coefficient is one. This is done by dividing both sides bya, which is always possible sincea is non-zero. This produces thereduced quadratic equation:[12]

x2+px+q=0,{\displaystyle x^{2}+px+q=0,}

wherep =b/a andq =c/a. Thismonic polynomial equation has the same solutions as the original.

The quadratic formula for the solutions of the reduced quadratic equation, written in terms of its coefficients, isx=p2±(p2)2q.{\displaystyle x=-{\frac {p}{2}}\pm {\sqrt {\left({\frac {p}{2}}\right)^{2}-q}}\,.}

Discriminant

[edit]
Figure 3. This figure plots three quadratic functions on a single Cartesian plane graph to illustrate the effects of discriminant values. When the discriminant, delta, is positive, the parabola intersects the x-axis at two points. When delta is zero, the vertex of the parabola touches the x-axis at a single point. When delta is negative, the parabola does not intersect the x-axis at all.
Figure 3. Discriminant signs

In the quadratic formula, the expression underneath the square root sign is called thediscriminant of the quadratic equation, and is often represented using an upper caseD or an upper case Greekdelta:[13]Δ=b24ac.{\displaystyle \Delta =b^{2}-4ac.}A quadratic equation withreal 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:

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.

Geometric interpretation

[edit]
Visualisation of the complex roots ofy =ax2 +bx +c: the parabola is rotated 180° about its vertex (orange). Itsx-intercepts are rotated 90° around their mid-point, and the Cartesian plane is interpreted as the complex plane (green).[15]

The functionf(x) =ax2 +bx +c is aquadratic function.[16] The graph of any quadratic function has the same general shape, which is called aparabola. The location and size of the parabola, and how it opens, depend on the values ofa,b, andc. Ifa > 0, the parabola has aminimum point and opens upward. Ifa < 0, the parabola has a maximum point and opens downward. The extreme point of the parabola, whether minimum or maximum, corresponds to itsvertex. Thex-coordinate of the vertex will be located atx=b2a{\displaystyle \scriptstyle x={\tfrac {-b}{2a}}}, and they-coordinate of the vertex may be found by substituting thisx-value into the function. They-intercept is located at the point(0,c).

The solutions of the quadratic equationax2 +bx +c = 0 correspond to theroots of the functionf(x) =ax2 +bx +c, since they are the values ofx for whichf(x) = 0. Ifa,b, andc arereal numbers and thedomain off is the set of real numbers, then the roots off are exactly thex-coordinates of the points where the graph touches thex-axis. If the discriminant is positive, the graph touches thex-axis at two points; if zero, the graph touches at one point; and if negative, the graph does not touch thex-axis.

Quadratic factorization

[edit]

The termxr{\displaystyle x-r}is a factor of the polynomialax2+bx+c{\displaystyle ax^{2}+bx+c}if and only ifr is aroot of the quadratic equationax2+bx+c=0.{\displaystyle ax^{2}+bx+c=0.}It follows from the quadratic formula thatax2+bx+c=a(xb+b24ac2a)(xbb24ac2a).{\displaystyle ax^{2}+bx+c=a\left(x-{\frac {-b+{\sqrt {b^{2}-4ac}}}{2a}}\right)\left(x-{\frac {-b-{\sqrt {b^{2}-4ac}}}{2a}}\right).}In the special caseb2 = 4ac where the quadratic has only one distinct root (i.e. the discriminant is zero), the quadratic polynomial can befactored asax2+bx+c=a(x+b2a)2.{\displaystyle ax^{2}+bx+c=a\left(x+{\frac {b}{2a}}\right)^{2}.}

Graphical solution

[edit]
Figure 4. Graphing calculator computation of one of the two roots of the quadratic equation2x2 + 4x − 4 = 0. Although the display shows only five significant figures of accuracy, the retrieved value ofxc is 0.732050807569, accurate to twelve significant figures.
A quadratic function without real root:y = (x − 5)2 + 9. The "3" is the imaginary part of thex-intercept. The real part is thex-coordinate of the vertex. Thus the roots are5 ± 3i.

The solutions of the quadratic equationax2+bx+c=0{\displaystyle ax^{2}+bx+c=0}may be deduced from thegraph of thequadratic functionf(x)=ax2+bx+c,{\displaystyle f(x)=ax^{2}+bx+c,}which is aparabola.

If the parabola intersects thex-axis in two points, there are two realroots, which are thex-coordinates of these two points (also calledx-intercept).

If the parabola istangent to thex-axis, there is a double root, which is thex-coordinate of the contact point between the graph and parabola.

If the parabola does not intersect thex-axis, there are twocomplex conjugate roots. Although these roots cannot be visualized on the graph, theirreal and imaginary parts can be.[17]

Leth andk be respectively thex-coordinate and they-coordinate of the vertex of the parabola (that is the point with maximal or minimaly-coordinate. The quadratic function may be rewritteny=a(xh)2+k.{\displaystyle y=a(x-h)^{2}+k.}Letd be the distance between the point ofy-coordinate2k on the axis of the parabola, and a point on the parabola with the samey-coordinate (see the figure; there are two such points, which give the same distance, because of the symmetry of the parabola). Then the real part of the roots ish, and their imaginary part are±d. That is, the roots areh+idandhid,{\displaystyle h+id\quad {\text{and}}\quad h-id,}or in the case of the example of the figure5+3iand53i.{\displaystyle 5+3i\quad {\text{and}}\quad 5-3i.}

Avoiding loss of significance

[edit]

Although the quadratic formula provides an exact solution, the result is not exact ifreal numbers are approximated during the computation, as usual innumerical analysis, where real numbers are approximated byfloating point numbers (called "reals" in manyprogramming languages). In this context, the quadratic formula is not completelystable.

This occurs when the roots have differentorder of magnitude, or, equivalently, whenb2 andb2 − 4ac are close in magnitude. In this case, the subtraction of two nearly equal numbers will causeloss of significance orcatastrophic cancellation in the smaller root. To avoid this, the root that is smaller in magnitude,r, can be computed as(c/a)/R{\displaystyle (c/a)/R} whereR is the root that is bigger in magnitude. This is equivalent to using the formula

x=2cb±b24ac{\displaystyle x={\frac {-2c}{b\pm {\sqrt {b^{2}-4ac}}}}}

using the plus sign ifb>0{\displaystyle b>0} and the minus sign ifb<0.{\displaystyle b<0.}

A second form of cancellation can occur between the termsb2 and4ac of the discriminant, that is when the two roots are very close. This can lead to loss of up to half of correct significant figures in the roots.[11][18]

Examples and applications

[edit]
The trajectory of the cliff jumper isparabolic because horizontal displacement is a linear function of timex=vxt{\displaystyle x=v_{x}t}, while vertical displacement is a quadratic function of timey=12at2+vyt+h{\displaystyle y={\tfrac {1}{2}}at^{2}+v_{y}t+h}. As a result, the path follows quadratic equationy=a2vx2x2+vyvxx+h{\displaystyle y={\tfrac {a}{2v_{x}^{2}}}x^{2}+{\tfrac {v_{y}}{v_{x}}}x+h}, wherevx{\displaystyle v_{x}} andvy{\displaystyle v_{y}} are horizontal and vertical components of the original velocity,a isgravitationalacceleration andh is original height. Thea value should be considered negative here, as its direction (downwards) is opposite to the height measurement (upwards).

Thegolden ratio is found as the positive solution of the quadratic equationx2x1=0.{\displaystyle x^{2}-x-1=0.}

The equations of thecircle and the otherconic sectionsellipses,parabolas, andhyperbolas—are quadratic equations in two variables.

Given thecosine orsine of an angle, finding the cosine or sine ofthe angle that is half as large involves solving a quadratic equation.

The process of simplifying expressions involving thesquare root of an expression involving the square root of another expression involves finding the two solutions of a quadratic equation.

Descartes' theorem states that for every four kissing (mutually tangent) circles, theirradii satisfy a particular quadratic equation.

The equation given byFuss' theorem, giving the relation among the radius of abicentric quadrilateral'sinscribed circle, the radius of itscircumscribed circle, and the distance between the centers of those circles, can be expressed as a quadratic equation for which the distance between the two circles' centers in terms of their radii is one of the solutions. The other solution of the same equation in terms of the relevant radii gives the distance between the circumscribed circle's center and the center of theexcircle of anex-tangential quadrilateral.

Critical points of acubic function andinflection points of aquartic function are found by solving a quadratic equation.

Inphysics, formotion with constantaccelerationa{\displaystyle a}, thedisplacement or positionx{\displaystyle x} of a moving body can be expressed as aquadratic function oftimet{\displaystyle t} given the initial positionx0{\displaystyle x_{0}} and initialvelocityv0{\displaystyle v_{0}}:x=x0+v0t+12at2{\textstyle x=x_{0}+v_{0}t+{\frac {1}{2}}at^{2}}.

Inchemistry, thepH of asolution ofweak acid can be calculated from the negativebase-10 logarithm of the positive root of a quadratic equation in terms of theacidity constant and theanalytical concentration of the acid.

History

[edit]

Babylonian mathematicians, as early as 2000 BC (displayed onOld Babylonianclay tablets) could solve problems relating the areas and sides of rectangles. There is evidence dating this algorithm as far back as theThird Dynasty of Ur.[19] In modern notation, the problems typically involved solving a pair of simultaneous equations of the form:x+y=p,  xy=q,{\displaystyle x+y=p,\ \ xy=q,}which is equivalent to the statement thatx andy are the roots of the equation:[20]: 86 z2+q=pz.{\displaystyle z^{2}+q=pz.}

The steps given by Babylonian scribes for solving the above rectangle problem, in terms ofx andy, were as follows:

  1. Compute half ofp.
  2. Square the result.
  3. Subtractq.
  4. Find the (positive) square root using a table of squares.
  5. Add together the results of steps (1) and (4) to givex.

In modern notation this means calculatingx=p2+(p2)2q{\displaystyle x={\frac {p}{2}}+{\sqrt {\left({\frac {p}{2}}\right)^{2}-q}}}, which is equivalent to the modern dayquadratic formula for the larger real root (if any)x=b+b24ac2a{\displaystyle x={\frac {-b+{\sqrt {b^{2}-4ac}}}{2a}}} witha = 1,b = −p, andc =q.

Geometric methods were used to solve quadratic equations in Babylonia, Egypt, Greece, China, and India. The EgyptianBerlin Papyrus, dating back to theMiddle Kingdom (2050 BC to 1650 BC), contains the solution to a two-term quadratic equation.[21] Babylonian mathematicians from circa 400 BC andChinese mathematicians from circa 200 BC usedgeometric methods of dissection to solve quadratic equations with positive roots.[22][23] Rules for quadratic equations were given inThe Nine Chapters on the Mathematical Art, a Chinese treatise on mathematics.[23][24] These early geometric methods do not appear to have had a general formula.Euclid, theGreek mathematician, produced a more abstract geometrical method around 300 BC. With a purely geometric approachPythagoras and Euclid created a general procedure to find solutions of the quadratic equation. In his workArithmetica, the Greek mathematicianDiophantus solved the quadratic equation, but giving only one root, even when both roots were positive.[25]

In 628 AD,Brahmagupta, anIndian mathematician, gave in his bookBrāhmasphuṭasiddhānta the first explicit (although still not completely general) solution of the quadratic equationax2 +bx =c 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."[26] This is equivalent tox=4ac+b2b2a.{\displaystyle x={\frac {{\sqrt {4ac+b^{2}}}-b}{2a}}.}TheBakhshali Manuscript written in India in the 7th century AD contained an algebraic formula for solving quadratic equations, as well as linearindeterminate equations (originally of typeax/c =y).

Muhammad ibn Musa al-Khwarizmi (9th century) developed a set of formulas that worked for positive solutions. Al-Khwarizmi goes further in providing a full solution to the general quadratic equation, accepting one or two numerical answers for every quadratic equation, while providing geometricproofs in the process.[27] He also described the method of completing the square and recognized that thediscriminant must be positive,[27][28]: 230  which was proven by his contemporary'Abd al-Hamīd ibn Turk (Central Asia, 9th century) who gave geometric figures to prove that if the discriminant is negative, a quadratic equation has no solution.[28]: 234  While al-Khwarizmi himself did not accept negative solutions, laterIslamic mathematicians that succeeded him accepted negative solutions,[27]: 191  as well asirrational numbers as solutions.[29]Abū Kāmil Shujā ibn Aslam (Egypt, 10th century) in particular was the first to accept irrational numbers (often in the form of asquare root,cube root orfourth root) as solutions to quadratic equations or ascoefficients in an equation.[30] The 9th century Indian mathematicianSridhara wrote down rules for solving quadratic equations.[31]

The Jewish mathematicianAbraham bar Hiyya Ha-Nasi (12th century, Spain) authored the first European book to include the full solution to the general quadratic equation.[32] His solution was largely based on Al-Khwarizmi's work.[27] The writing of the Chinese mathematicianYang Hui (1238–1298 AD) is the first known one in which quadratic equations with negative coefficients of 'x' appear, although he attributes this to the earlierLiu Yi.[33] By 1545Gerolamo Cardano compiled the works related to the quadratic equations. The quadratic formula covering all cases was first obtained bySimon Stevin in 1594.[34] In 1637René Descartes publishedLa Géométrie containing the quadratic formula in the form we know today.

Advanced topics

[edit]

Alternative methods of root calculation

[edit]

Vieta's formulas

[edit]
Main article:Vieta's formulas

Vieta's formulas (named afterFrançois Viète) are the relationsx1+x2=ba,x1x2=ca{\displaystyle x_{1}+x_{2}=-{\frac {b}{a}},\quad x_{1}x_{2}={\frac {c}{a}}} between the roots of a quadratic polynomial and its coefficients. They result from comparing term by term the relation(xx1)(xx2)=x2(x1+x2)x+x1x2=0{\displaystyle \left(x-x_{1}\right)\left(x-x_{2}\right)=x^{2}-\left(x_{1}+x_{2}\right)x+x_{1}x_{2}=0}with the equationx2+bax+ca=0.{\displaystyle x^{2}+{\frac {b}{a}}x+{\frac {c}{a}}=0.}

The first Vieta's formula is useful for graphing a quadratic function. Since the graph is symmetric with respect to a vertical line through thevertex, the vertex'sx-coordinate is located at the average of the roots (or intercepts). Thus thex-coordinate of the vertex isxV=x1+x22=b2a.{\displaystyle x_{V}={\frac {x_{1}+x_{2}}{2}}=-{\frac {b}{2a}}.}They-coordinate can be obtained by substituting the above result into the given quadratic equation, givingyV=b24a+c=b24ac4a.{\displaystyle y_{V}=-{\frac {b^{2}}{4a}}+c=-{\frac {b^{2}-4ac}{4a}}.}Also, these formulas for the vertex can be deduced directly from the formula (seeCompleting the square)ax2+bx+c=a(x+b2a)2b24ac4a.{\displaystyle ax^{2}+bx+c=a\left(x+{\frac {b}{2a}}\right)^{2}-{\frac {b^{2}-4ac}{4a}}.}

For numerical computation, Vieta's formulas provide a useful method for finding the roots of a quadratic equation in the case where one root is much smaller than the other. If|x2| << |x1|, thenx1 +x2x1, and we have the estimate:x1ba.{\displaystyle x_{1}\approx -{\frac {b}{a}}.}The second Vieta's formula then provides:x2=cax1cb.{\displaystyle x_{2}={\frac {c}{ax_{1}}}\approx -{\frac {c}{b}}.}These formulas are much easier to evaluate than the quadratic formula under the condition of one large and one small root, because the quadratic formula evaluates the small root as the difference of two very nearly equal numbers (the case of largeb), which causesround-off error in a numerical evaluation. The figure shows the difference between[clarification needed] (i) a direct evaluation using the quadratic formula (accurate when the roots are near each other in value) and (ii) an evaluation based upon the above approximation of Vieta's formulas (accurate when the roots are widely spaced). As the linear coefficientb increases, initially the quadratic formula is accurate, and the approximate formula improves in accuracy, leading to a smaller difference between the methods asb increases. However, at some point the quadratic formula begins to lose accuracy because of round off error, while the approximate method continues to improve. Consequently, the difference between the methods begins to increase as the quadratic formula becomes worse and worse.

This situation arises commonly in amplifier design, where widely separated roots are desired to ensure a stable operation (seeStep response).

Trigonometric solution

[edit]

In the days before calculators, people would usemathematical tables—lists of numbers showing the results of calculation with varying arguments—to simplify and speed up computation. Tables of logarithms and trigonometric functions were common in math and science textbooks. Specialized tables were published for applications such as astronomy, celestial navigation and statistics. Methods of numerical approximation existed, calledprosthaphaeresis, that offered shortcuts around time-consuming operations such as multiplication and taking powers and roots.[35] Astronomers, especially, were concerned with methods that could speed up the long series of computations involved incelestial mechanics calculations.

It is within this context that we may understand the development of means of solving quadratic equations by the aid oftrigonometric substitution. Consider the following alternate form of the quadratic equation,

ax2+bx±c=0,{\displaystyle ax^{2}+bx\pm c=0,}1

where the sign of the ± symbol is chosen so thata andc may both be positive. By substituting

x=c/atanθ{\displaystyle x={\textstyle {\sqrt {c/a}}}\tan \theta }2

and then multiplying through bycos2(θ) /c, we obtain

sin2θ+bacsinθcosθ±cos2θ=0.{\displaystyle \sin ^{2}\theta +{\frac {b}{\sqrt {ac}}}\sin \theta \cos \theta \pm \cos ^{2}\theta =0.}3

Introducing functions of2θ and rearranging, we obtain

tan2θn=+2acb,{\displaystyle \tan 2\theta _{n}=+2{\frac {\sqrt {ac}}{b}},}4
sin2θp=2acb,{\displaystyle \sin 2\theta _{p}=-2{\frac {\sqrt {ac}}{b}},}5

where the subscriptsn andp correspond, respectively, to the use of a negative or positive sign in equation[1]. Substituting the two values ofθn orθp found from equations[4] or[5] into[2] gives the required roots of[1]. Complex roots occur in the solution based on equation[5] if the absolute value ofsin 2θp exceeds unity. The amount of effort involved in solving quadratic equations using this mixed trigonometric and logarithmic table look-up strategy was two-thirds the effort using logarithmic tables alone.[36] Calculating complex roots would require using a different trigonometric form.[37]

To illustrate, let us assume we had available seven-place logarithm and trigonometric tables, and wished to solve the following to six-significant-figure accuracy:4.16130x2+9.15933x11.4207=0{\displaystyle 4.16130x^{2}+9.15933x-11.4207=0}

  1. A seven-place lookup table might have only 100,000 entries, and computing intermediate results to seven places would generally require interpolation between adjacent entries.
  2. loga=0.6192290,logb=0.9618637,logc=1.0576927{\displaystyle \log a=0.6192290,\log b=0.9618637,\log c=1.0576927}
  3. 2ac/b=2×10(0.6192290+1.0576927)/20.9618637=1.505314{\displaystyle 2{\sqrt {ac}}/b=2\times 10^{(0.6192290+1.0576927)/2-0.9618637}=1.505314}
  4. θ=(tan11.505314)/2=28.20169 or 61.79831{\displaystyle \theta =(\tan ^{-1}1.505314)/2=28.20169^{\circ }{\text{ or }}-61.79831^{\circ }}
  5. log|tanθ|=0.2706462 or 0.2706462{\displaystyle \log |\tan \theta |=-0.2706462{\text{ or }}0.2706462}
  6. logc/a=(1.05769270.6192290)/2=0.2192318{\displaystyle \log {\textstyle {\sqrt {c/a}}}=(1.0576927-0.6192290)/2=0.2192318}
  7. x1=100.21923180.2706462=0.888353{\displaystyle x_{1}=10^{0.2192318-0.2706462}=0.888353} (rounded to six significant figures)x2=100.2192318+0.2706462=3.08943{\displaystyle x_{2}=-10^{0.2192318+0.2706462}=-3.08943}

Solution for complex roots in polar coordinates

[edit]

If the quadratic equationax2+bx+c=0{\displaystyle ax^{2}+bx+c=0} with real coefficients has two complex roots—the case whereb24ac<0,{\displaystyle b^{2}-4ac<0,} requiringa andc to have the same sign as each other—then the solutions for the roots can be expressed in polar form as[38]

x1,x2=r(cosθ±isinθ),{\displaystyle x_{1},\,x_{2}=r(\cos \theta \pm i\sin \theta ),}

wherer=ca{\displaystyle r={\sqrt {\tfrac {c}{a}}}} andθ=cos1(b2ac).{\displaystyle \theta =\cos ^{-1}\left({\tfrac {-b}{2{\sqrt {ac}}}}\right).}

Geometric solution

[edit]
Figure 6. Geometric solution of eh x squared plus b x plus c = 0 using Lill's method. The geometric construction is as follows: Draw a trapezoid S Eh B C. Line S Eh of length eh is the vertical left side of the trapezoid. Line Eh B of length b is the horizontal bottom of the trapezoid. Line B C of length c is the vertical right side of the trapezoid. Line C S completes the trapezoid. From the midpoint of line C S, draw a circle passing through points C and S. Depending on the relative lengths of eh, b, and c, the circle may or may not intersect line Eh B. If it does, then the equation has a solution. If we call the intersection points X 1 and X 2, then the two solutions are given by negative Eh X 1 divided by S Eh, and negative Eh X 2 divided by S Eh.
Figure 6. Geometric solution ofax2 +bx +c = 0 using Lill's method. Solutions are −AX1/SA, −AX2/SA

The quadratic equation may be solved geometrically in a number of ways. One way is viaLill's method. The three coefficientsa,b,c are drawn with right angles between them as in SA, AB, and BC in Figure 6. A circle is drawn with the start and end point SC as a diameter. If this cuts the middle line AB of the three then the equation has a solution, and the solutions are given by negative of the distance along this line from A divided by the first coefficienta or SA. Ifa is1 the coefficients may be read off directly. Thus the solutions in the diagram are −AX1/SA and −AX2/SA.[39]

Carlyle circle of the quadratic equationx2 − sx + p = 0.

TheCarlyle circle, named afterThomas Carlyle, has the property that the solutions of the quadratic equation are the horizontal coordinates of the intersections of the circle with thehorizontal axis.[40] Carlyle circles have been used to developruler-and-compass constructions ofregular polygons.

Generalization of quadratic equation

[edit]

The formula and its derivation remain correct if the coefficientsa,b andc arecomplex numbers, or more generally members of anyfield whosecharacteristic is not2. (In a field of characteristic 2, the element2a is zero and it is impossible to divide by it.)

The symbol±b24ac{\displaystyle \pm {\sqrt {b^{2}-4ac}}}in the formula should be understood as "either of the two elements whose square isb2 − 4ac, 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 characteristic2. Even if a field does not contain a square root of some number, there is always a quadraticextension field which does, so the quadratic formula will always make sense as a formula in that extension field.

Characteristic 2

[edit]

In a field of characteristic2, the quadratic formula, which relies on2 being aunit, does not hold. Consider themonic quadratic polynomialx2+bx+c{\displaystyle x^{2}+bx+c}over a field of characteristic2. Ifb = 0, then the solution reduces to extracting a square root, so the solution isx=c{\displaystyle x={\sqrt {c}}}and there is only one root sincec=c+2c=c.{\displaystyle -{\sqrt {c}}=-{\sqrt {c}}+2{\sqrt {c}}={\sqrt {c}}.}In summary,x2+c=(x+c)2.{\displaystyle \displaystyle x^{2}+c=(x+{\sqrt {c}})^{2}.}Seequadratic residue for more information about extracting square roots in finite fields.

In the case thatb ≠ 0, there are two distinct roots, but if the polynomial isirreducible, they cannot be expressed in terms of square roots of numbers in the coefficient field. Instead, define the2-rootR(c) ofc to be a root of the polynomialx2 +x +c, an element of thesplitting field of that polynomial. One verifies thatR(c) + 1 is also a root. In terms of the 2-root operation, the two roots of the (non-monic) quadraticax2 +bx +c arebaR(acb2){\displaystyle {\frac {b}{a}}R\left({\frac {ac}{b^{2}}}\right)}andba(R(acb2)+1).{\displaystyle {\frac {b}{a}}\left(R\left({\frac {ac}{b^{2}}}\right)+1\right).}

For example, leta denote a multiplicative generator of the group of units ofF4, theGalois field of order four (thusa anda + 1 are roots ofx2 +x + 1 overF4. Because(a + 1)2 =a,a + 1 is the unique solution of the quadratic equationx2 +a = 0. On the other hand, the polynomialx2 +ax + 1 is irreducible overF4, but it splits overF16, where it has the two rootsab andab +a, whereb is a root ofx2 +x +a inF16.

This is a special case ofArtin–Schreier theory.

See also

[edit]

References

[edit]
  1. ^Charles P. McKeague (2014).Intermediate Algebra with Trigonometry (reprinted ed.). Academic Press. p. 219.ISBN 978-1-4832-1875-5.Extract of page 219
  2. ^Protters & Morrey: "Calculus and Analytic Geometry. First Course".
  3. ^The Princeton Review (2020).Princeton Review SAT Prep, 2021: 5 Practice Tests + Review & Techniques + Online Tools. Random House Children's Books. p. 360.ISBN 978-0-525-56974-9.Extract of page 360
  4. ^David Mumford; Caroline Series; David Wright (2002).Indra's Pearls: The Vision of Felix Klein (illustrated, reprinted ed.). Cambridge University Press. p. 37.ISBN 978-0-521-35253-6.Extract of page 37
  5. ^Mathematics in Action Teachers' Resource Book 4b (illustrated ed.). Nelson Thornes. 1996. p. 26.ISBN 978-0-17-431439-4.Extract of page 26
  6. ^abcWashington, Allyn J. (2000).Basic Technical Mathematics with Calculus, Seventh Edition. Addison Wesley Longman, Inc.ISBN 978-0-201-35666-3.
  7. ^Ebbinghaus, Heinz-Dieter; Ewing, John H. (1991),Numbers, Graduate Texts in Mathematics, vol. 123, Springer, p. 77,ISBN 9780387974972.
  8. ^Sterling, Mary Jane (2010),Algebra I For Dummies, Wiley Publishing, p. 219,ISBN 978-0-470-55964-2
  9. ^Rich, Barnett; Schmidt, Philip (2004),Schaum's Outline of Theory and Problems of Elementary Algebra, The McGraw-Hill Companies,ISBN 978-0-07-141083-0,Chapter 13 §4.4, p. 291
  10. ^Himonas, Alex.Calculus for Business and Social Sciences, p. 64 (Richard Dennis Publications, 2001).
  11. ^abKahan, Willian (November 20, 2004),On the Cost of Floating-Point Computation Without Extra-Precise Arithmetic(PDF), retrieved2012-12-25
  12. ^Alenit͡syn, Aleksandr and Butikov, Evgeniĭ.Concise Handbook of Mathematics and Physics, p. 38 (CRC Press 1997)
  13. ^Δ is the initial of theGreek wordΔιακρίνουσα,Diakrínousa, discriminant.
  14. ^Achatz, Thomas; Anderson, John G.; McKenzie, Kathleen (2005).Technical Shop Mathematics. Industrial Press. p. 277.ISBN 978-0-8311-3086-2.
  15. ^"Complex Roots Made Visible – Math Fun Facts". Retrieved1 October 2016.
  16. ^Wharton, P. (2006).Essentials of Edexcel Gcse Math/Higher. Lonsdale. p. 63.ISBN 978-1-905-129-78-2.
  17. ^Alec Norton, Benjamin Lotto (June 1984), "Complex Roots Made Visible",The College Mathematics Journal,15 (3):248–249,doi:10.2307/2686333,JSTOR 2686333
  18. ^Higham, Nicholas (2002),Accuracy and Stability of Numerical Algorithms (2nd ed.), SIAM, p. 10,ISBN 978-0-89871-521-7
  19. ^Friberg, Jöran (2009)."A Geometric Algorithm with Solutions to Quadratic Equations in a Sumerian Juridical Document from Ur III Umma".Cuneiform Digital Library Journal.3.
  20. ^Stillwell, John (2004).Mathematics and Its History (2nd ed.). Springer.ISBN 978-0-387-95336-6.
  21. ^The Cambridge Ancient History Part 2 Early History of the Middle East. Cambridge University Press. 1971. p. 530.ISBN 978-0-521-07791-0.
  22. ^Henderson, David W."Geometric Solutions of Quadratic and Cubic Equations". Mathematics Department, Cornell University. Retrieved28 April 2013.
  23. ^abAitken, Wayne."A Chinese Classic: The Nine Chapters"(PDF). Mathematics Department, California State University. Retrieved28 April 2013.
  24. ^Smith, David Eugene (1958).History of Mathematics. Courier Dover Publications. p. 380.ISBN 978-0-486-20430-7.{{cite book}}:ISBN / Date incompatibility (help)
  25. ^Smith, David Eugene (1958).History of Mathematics, Volume 1. Courier Dover Publications. p. 134.ISBN 978-0-486-20429-1.{{cite book}}:ISBN / Date incompatibility (help)Extract of page 134
  26. ^Brāhmasphuṭasiddhānta, Colebrook translation, 1817, page 346; cited byStillwell, John (2010).Mathematics and Its History (3rd ed.). Undergraduate Texts in Mathematics. Springer. p. 93.doi:10.1007/978-1-4419-6053-5.ISBN 978-0-387-95336-6.
  27. ^abcdKatz, V. J.; Barton, B. (2006). "Stages in the History of Algebra with Implications for Teaching".Educational Studies in Mathematics.66 (2):185–201.doi:10.1007/s10649-006-9023-7.S2CID 120363574.
  28. ^abBoyer, Carl B. (1991).Merzbach, Uta C. (ed.).A History of Mathematics. John Wiley & Sons, Inc.ISBN 978-0-471-54397-8.
  29. ^O'Connor, John J.;Robertson, Edmund F. (1999),"Arabic mathematics: forgotten brilliance?",MacTutor History of Mathematics Archive,University of St Andrews "Algebra was a unifying theory which allowed rational numbers, irrational numbers, geometrical magnitudes, etc., to all be treated as "algebraic objects"."
  30. ^Jacques Sesiano, "Islamic mathematics", p. 148, inSelin, Helaine;D'Ambrosio, Ubiratan, eds. (2000),Mathematics Across Cultures: The History of Non-Western Mathematics,Springer,ISBN 978-1-4020-0260-1
  31. ^Smith, David Eugene (1958).History of Mathematics. Courier Dover Publications. p. 280.ISBN 978-0-486-20429-1.{{cite book}}:ISBN / Date incompatibility (help)
  32. ^Livio, Mario (2006).The Equation that Couldn't Be Solved. Simon & Schuster.ISBN 978-0743258210.
  33. ^Ronan, Colin (1985).The Shorter Science and Civilisation in China. Cambridge University Press. p. 15.ISBN 978-0-521-31536-4.
  34. ^Struik, D. J.; Stevin, Simon (1958),The Principal Works of Simon Stevin, Mathematics(PDF), vol. II–B, C. V. Swets & Zeitlinger, p. 470
  35. ^Ballew, Pat."Solving Quadratic Equations — By analytic and graphic methods; Including several methods you may never have seen"(PDF). Archived from the original on 9 April 2011. Retrieved18 April 2013.
  36. ^Seares, F. H. (1945)."Trigonometric Solution of the Quadratic Equation".Publications of the Astronomical Society of the Pacific.57 (339): 307–309.Bibcode:1945PASP...57..307S.doi:10.1086/125759.
  37. ^Aude, H. T. R. (1938). "The Solutions of the Quadratic Equation Obtained by the Aid of the Trigonometry".National Mathematics Magazine.13 (3):118–121.doi:10.2307/3028750.JSTOR 3028750.
  38. ^Simons, Stuart, "Alternative approach to complex roots of real quadratic equations",Mathematical Gazette 93, March 2009, 91–92.
  39. ^Bixby, William Herbert (1879),Graphical Method for finding readily the Real Roots of Numerical Equations of Any Degree, West Point N. Y.
  40. ^Weisstein, Eric W."Carlyle Circle".From MathWorld—A Wolfram Web Resource. Retrieved21 May 2013.

External links

[edit]
Wikimedia Commons has media related toQuadratic equation.
Bydegree
By properties
Tools and algorithms
National
Other
Retrieved from "https://en.wikipedia.org/w/index.php?title=Quadratic_equation&oldid=1321675557"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp