Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

As a cartesian graph, the shape of \(ax^2 + bx + c\)is that of a parabola and, in this respect, the quadratic function resembles the square-root function of Chapter 11. The root-quadratic function, addressed in Section 15:13 and 15:14, may also adopt the shape of a parabola.

15.1 Notation

The constants a, b, and c, that, together with the argument x, compose the quadratic function, are called coefficients. In the graphs of this chapter, a is taken to be positive, though the formulas are valid for either sign. The sign of the quantity

$$\Delta = b^2 - 4ac$$
(15:1:1)

known as the discriminant of the quadratic function, influences several of the function’s properties. Some authors define the discriminant as the negative of the quantity specified in 15:1:1, as it was in the first edition of this Atlas.

15.2 Behavior

Irrespective of the values of its coefficients, the quadratic function adopts real values for any real argument; however, it has a limited range, extending (for positive a) only over −Δ/4aax 2 + bx + c ≤ ∞. At x = −b/2a, the function experiences an extremum: a minimum or a maximum according as a is positive or negative. It is the sign of the discriminant that determines whether the quadratic function adopts the value zero. In drawing Figure 15-1, both a and Δ are treated as positive, so that the quadratic function crosses the x-axis twice.

Figure 15-1
figure 16_1_139007_2_Enfigure 16_1_139007_2_En

Figure 15-1

The behavior of the reciprocal quadratic function is even more affected by the sign of the discriminant. If Δ is negative, the 1/(ax 2+bx+c) function is a contiguous function, adopting values between zero and −4a/Δ, as illustrated in blue in Figure 15-2. However, when the discriminant is positive, the reciprocal quadratic function has the three branches, shown in red in the figure, with discontinuities at \(x = (\sqrt \Delta - b)/2a\) and \(x = - (\sqrt \Delta + b)/2a\).

Figure 15-2
figure 16_2_139007_2_Enfigure 16_2_139007_2_En

Figure 15-2

Both the quadratic function and its reciprocal have mirror symmetry about the line x = −b/2a, irrespective of the value of the discriminant.

15.3 Definitions

Writing the quadratic functions as c+x(b+ax) shows that the operations of multiplication and addition suffice to provide a definition. It may also be defined as the product of two linear functions:

$$ax^2 + bx + c = \left( {ax + \frac{{b - \sqrt \Delta }}{2}} \right)\left( {\;x + \frac{{b + \sqrt \Delta }}{{2a}}} \right)$$
(15:3:1)

The cartesian graph of the \(f = ax^2 + bx + c\) function is a parabola with its focus at the point (x , f ) = (−b/2a , c+(b 2−1)/4a) and its directrix as the horizontal line f = c−(b 2−1)/4a. Thus the function may be defined by recourse to the definition of a parabola given in Section 11:3. Yet another definition is as the inverse function of a translated [Section 14:15] square-root function [Chapter 11]

$${\mathop{\rm F}\nolimits} (x) = ax^2 + bx + c\quad \quad \quad {\rm{f}}(x) = \sqrt {\frac{x}{a} + \frac{\Delta }{{4a^2 }}} - \frac{b}{{2a}}\quad \quad \quad {\rm{F}}\left( {{\rm{f}}(x)} \right) = {\rm{f}}\left( {{\rm{F}}(x)} \right) = x$$
(15:3:2)

If the discriminant is positive, the reciprocal quadratic function can be defined as the difference between two reciprocal linear functions [Chapter 7]:

$$\frac{1}{{ax^2 + bx + c}} = \frac{1}{{\sqrt \Delta \;x + \frac{{b\sqrt \Delta - \Delta }}{{2a}}}} - \frac{1}{{\sqrt \Delta \;x + \frac{{b\sqrt \Delta + \Delta }}{{2a}}}}\quad \quad \quad \Delta > 0$$
(15:3:3)

15.4 Special Cases

A linear function [Chapter 7] is the special a = 0 case of the quadratic function. When b = \(2\sqrt {ac}\), so that the discriminant is zero, the quadratic function reduces to \([\sqrt a \;x + \sqrt c \;]^2 \), a square function [Chapter 10].

When the discriminant is zero, the reciprocal quadratic function has the unusual property of encountering a infinite discontinuity of the +∞|+∞ type at x = \(- \sqrt {c/a}\).

In the special case when b 2 = 4(ac − π2), equation 15:10:4 shows the total area under the 1/(ax 2 + bx + c) curve to be unity. In this circumstance, one can rewrite the normalized formula as

$$\frac{1}{{ax^2 + bx + c}} = \frac{{\pi /a}}{{\pi \left[ {\{ \pi /a\} ^2 + \{ x + (b/2a)\} ^2 } \right]}}$$
(15:4:1)

This is the equation that describes a Lorenz distribution [see the table in Section 27:14], which is therefore a special case of the reciprocal quadratic function.

15.5 Intrarelationships

Both the quadratic function and its reciprocal obey the reflection formula

$${\rm{f}}\left( {x + \frac{b}{{2a}}} \right) = {\rm{f}}\left( { - x - \frac{b}{{2a}}} \right)\quad \quad \quad {\rm{f}} = ax^2 + bx + c\quad {\rm{or}}\quad \;\frac{1}{{ax^2 + bx + c}}$$
(15:5:1)

The sum or difference of two quadratic functions is generally another quadratic function, while their product is invariably a quartic function [Section 16:13]. Provided that the discriminant, Δ, of the denominatorial function is positive, the quotient of two quadratic functions can be expressed in terms of a constant and two reciprocal linear functions, as follows:

$$\frac{{a^{\prime}x^2 + b^{\prime}x + c^{\prime}}}{{ax^2 + bx + c}} = \frac{{a^{\prime}}}{a} - \frac{{a^{\prime}r_ + ^2 + b^{\prime}r_ + + c^{\prime}}}{{\sqrt \Delta (x - r_ + )}} + \frac{{a^{\prime}r_ - ^2 + b^{\prime}r_ - + c^{\prime}}}{{\sqrt \Delta (x - r_ - )}}\quad \quad \quad r_ \pm = \left( { - b \pm \sqrt \Delta \;} \right)/2a$$
(15:5:2)

where r + and r are the zeros [Section 15:7] of the denominatorial quadratic function.

15.6 Expansions

Trinomial expansions [Section 6:12] for the reciprocal quadratic function exist, though they are of limited utility:

$$\frac{1}{{ax^2 + bx + c}} = \left\{ {\begin{array}{l} {\frac{1}{c} - \frac{b}{{c^2 }}x + \frac{{b^2 - ac}}{{c^3 }}x^2 - \frac{{b^3 - 2abc}}{{c^4 }}x^3 + \frac{{b^4 - 3ab^2 c + a^2 c^2 }}{{c^5 }}x^4 - \cdots = \frac{1}{c}\sum\limits_{j = 0}^\infty {\left( {\frac{{ax^2 + bx}}{{ - c}}} \right)^j } } \\ {\frac{1}{{ax^2 }} - \frac{b}{{a^2 x^3 }} + \frac{{b^2 - ac}}{{a^3 x^4 }} - \frac{{b^3 - 2abc}}{{a^4 x^5 }} + \frac{{b^4 - 3ab^2 c + a^2 c^2 }}{{a^5 x^6 }} - \cdots = \frac{1}{{ax^2 }}\sum\limits_{j = 0}^\infty {\left( {\frac{{bx + c}}{{ - ax^2 }}} \right)^j \;} } \\ \end{array}} \right.$$
(15:6:1)

The first expansion is valid for small argument (that is, when |ax 2+bx| < |c|), the second for large argument (when |ax 2| > |bx+c|).

15.7 Particular Values

The zeros of the ax 2+bx+c function, and the discontinuities of its reciprocal, are given by the well-known formula

$$r_ \pm = \frac{{ - b \pm \sqrt {b^2 - 4ac} }}{{2a}}$$
(15:7:1)

To preserve significance it is better (if b is positive), to calculate r first and then r + as c/ar . There is a double zero at −b/2a if the discriminant vanishes, and the zeros are complex if the discriminant is negative. Equator treats the zeros as the quadrivariate function

$${\rm{r}}_{\rm{2}} (a,b,c,n) = \frac{{ - b + n\sqrt {b^2 - 4ac} }}{{2a}} = {\mathop{\rm Re}\nolimits} [{\rm{r}}_{\rm{2}} (a,b,c,n)] + i\;{\mathop{\rm Im}\nolimits} [{\rm{r}}_{\rm{2}} (a,b,c,n)]\quad \quad \quad n = - 1, + 1$$
(15:7:2)

and its quadratic zeros routine (keyword r2) outputs both the real and imaginary parts, the latter being 0 unless the discriminant is negative. By default, Equator generates a short table giving both zeros.

The following table is applicable whether the discriminant is positive or negative, but the a coefficient is assumed positive.

 

x = −∞

x =

\(\frac{{ - b - \sqrt {\left| \Delta \right|} }}{{2a}}\)

x =

\(\frac{{ - b}}{{2a}}\)

x = 0

x =

\(\frac{{ - b + \sqrt {\left| \Delta \right|} }}{{2a}}\)

x = ∞

\(ax^2 + bx + c\left\{ {\begin{array}{*{20}c} {\Delta > 0} \\ {\Delta < 0} \\ \end{array}} \right.\)

+∞

0

\(\frac{{ - \Delta }}{{4a}}{\rm{ (minimum)}}\)

c

0

+∞

+∞

−Δ/2a

c

−Δ/2a

+∞

\(\frac{1}{{ax^2 + bx + c}}\left\{ {\begin{array}{*{20}c} {\Delta > 0} \\ {\Delta < 0} \\ \end{array}} \right.\)

0

+∞|−∞

\(\frac{{ - 4a}}{\Delta }{\rm{ (maximum)}}\)

1/c

−∞|+∞

0

0

−2a

1/c

−2a

0

15.8 Numerical Values

These are easily calculated, for example with Equator’s quadratic function routine (keyword quadratic).

15.9 Limits And Approximations

Limiting expressions for the reciprocal quadratic function could be derived from 15:6:1, but they are seldom used.

15.10 Operations Of The Calculus

The following formulas address the differentiation and integration of the quadratic function and its reciprocal

$$\frac{{\mathop{\rm d}\nolimits} }{{{\rm{d}}x}}(ax^2 + bx + c) = 2ax + b$$
(15:10:1)
$$\frac{{\mathop{\rm d}\nolimits} }{{{\rm{d}}x}}\left( {\frac{1}{{ax^2 + bx + c}}} \right) = \frac{{ - 2ax - b}}{{(ax^2 + bx + c)^2 }}$$
(15:10:2)
$$\int\limits_0^x {(at^2 + bt + c){\rm{d}}t} = \frac{{2ax^3 + 3bx^2 + 6cx}}{6}$$
(15:10:3)
$$\int\limits_{ - b/2a}^x {\frac{1}{{at^2 + bt + c}}{\rm{d}}t} = \left\{ {\begin{array}{lll} \frac{{ - 2}}{{\sqrt \Delta }}{\mathop{\rm ar}\nolimits} \tanh \left( {\frac{{2ax + b}}{{\sqrt \Delta }}} \right) & \Delta > 0 & x < \frac{{\sqrt \Delta - b}}{{2a}} \\ \frac{2}{{\sqrt { - \Delta } }}\arctan \left( {\frac{{2ax + b}}{{\sqrt { - \Delta } }}} \right) & \Delta < 0 & \\ \end{array}} \right.$$
(15:10:4)

The 15:10:4 integral is infinite if Δ = 0, but if the lower limit is changed to zero, it equals 2/(2ax+b). Another important integral is

$$\int\limits_0^x {\frac{t}{{at^2 + bt + c}}{\rm{d}}t = \frac{1}{{2a}}\ln \left( {\frac{{ax^2 + bx + c}}{c}} \right)} - \left\{ {\begin{array}{ll} \frac{b}{{a\sqrt \Delta }}{\rm{artanh}}\left( {\frac{{x\sqrt \Delta }}{{bx + 2c}}} \right) & \Delta > 0 \\ \frac{b}{{a\sqrt { - \Delta } }}{\rm{arctan}}\left( {\frac{{x\sqrt { - \Delta } }}{{bx + 2c}}} \right) & \Delta < 0 \\ \end{array}} \right.$$
(15:10:5)

and many related integrals of the general form \(\int {\;t^n (at^2 + bt + c)^m {\rm{d}}t} \), where n and m are integers, will be found listed by Gradshteyn and Ryzhik [Section 2.17].

The Laplace transform of the quadratic function is straightforward

$$\int\limits_0^\infty {(at^2 + bt + c)\exp ( - st)\;{\rm{d}}t = {\sc l} \left\{ {at^2 + bt + c} \right\} = \frac{{2a + bs + cs^2 }}{{s^3 }}} $$
(15:10:6)

but that of its reciprocal is elaborate

$${\sc l} \left\{ {\frac{1}{{at^2 + bt + c}}} \right\} = \left\{ {\begin{array}{ll} \frac{{\exp (b/2a)}}{{\sqrt \Delta }}\left[ {\exp \left( {\frac{{\sqrt \Delta }}{{2a}}} \right){\rm{Ei}}\left( {\frac{{\sqrt \Delta + b}}{{2a}}} \right) - \exp \left( {\frac{{ - \sqrt \Delta }}{{2a}}} \right){\rm{Ei}}\left( {\frac{{\sqrt \Delta - b}}{{2a}}} \right)} \right] & \Delta > 0 \\ \frac{2}{b} + \frac{s}{a}\exp \left( {\frac{{bs}}{{2a}}} \right){\rm{Ei}}\left( {\frac{{ - bs}}{{2a}}} \right) & \Delta = 0 \\ \frac{2}{{\sqrt { - \Delta } }}\left[ {\left\{ {\frac{\pi }{2} - {\rm{Si}}\left( {\frac{{\sqrt { - \Delta } }}{{{\rm{2}}a}}s} \right)} \right\}\cos \left( {\frac{{\sqrt { - \Delta } }}{{{\rm{2}}a}}s} \right) + {\rm{Ci}}\left( {\frac{{\sqrt { - \Delta } }}{{{\rm{2}}a}}s} \right)\sin \left( {\frac{{\sqrt { - \Delta } }}{{{\rm{2}}a}}s} \right)} \right] & \Delta < 0 \\ \end{array}} \right.$$
(15:10:7)

and involves functions from Chapters 26, 32, 36, and 37.

15.11 Complex Argument

The real and imaginary parts of the quadratic function and its reciprocal when the argument is z = x+iy are

$$az^2 + bz + c = \left[ {a(x^2 - y^2 ) + bx + c} \right] + i\left[ {2axy + by} \right]$$
(15:11:1)

and

$$\frac{1}{{az^2 + bz + c}} = \frac{{a(x^2 - y^2 ) + bx + c}}{{\left[ {a(x^2 + y^2 ) + bx + c} \right]^2 + y^2 \Delta }} - i\frac{{2axy + by}}{{\left[ {a(x^2 + y^2 ) + bx + c} \right]^2 + y^2 \Delta }}$$
(15:11:2)

Important inverse Laplace transforms include

$${\sc I} \left\{ {\frac{1}{{as^2 + bs + c}}} \right\} = \frac{{\exp (r_ + t) - \exp (r_ - t)}}{{a(r_ + - r_ - )}} = \left\{ {\begin{array}{ll} (2/\sqrt \Delta )\exp ( - bt/2a)\sinh (\sqrt \Delta t/2a) & \Delta > 0 \\ (t/a)\exp ( - bt/2a) & \Delta = 0 \\ (2/\sqrt { - \Delta } )\exp ( - bt/2a)\sin (\sqrt { - \Delta } t/2a) & \Delta < 0 \\ \end{array}} \right.$$
(15:11:3)

where, r ± are given in 15:7:1 and, as before, Δ = b 2−4ac.

15.12 Generalizations

A quadratic function is a member of all the polynomial families [Chapters 17–24].

15.13 Cognate Function: the root-quadratic function

The root-quadratic function \(\sqrt {ax^2 + bx + c}\) and its reciprocal are functions of some importance; they are clearly generalizations of the functions addressed in Chapters 11, 13, and 14. Some unifying properties of the root-quadratic function are presented in Section 15:15.

Several valuable integrals involving the reciprocal root-quadratic function are

$$\int\limits_{ - b/2a}^x {\frac{1}{{\sqrt {at^2 + bt + c} }}{\rm{d}}t = \left\{ {\begin{array}{llll} \frac{{ - 1}}{{\sqrt { - a} }}\arcsin \left( {\frac{{b + 2ax}}{{\sqrt \Delta }}} \right) & \Delta > 0 & a < 0 & \frac{{b - \sqrt \Delta }}{{ - 2a}} \le x \le \frac{{b + \sqrt \Delta }}{{ - 2a}} \\ \frac{1}{{\sqrt a }}{\rm{arsinh}}\left( {\frac{{2ax + b}}{{\sqrt { - \Delta } }}} \right) & \Delta < 0 & a > 0 & \\ \end{array}} \right.} $$
(15:13:1)
$$\int\limits_{x_0 }^x {\frac{1}{{\sqrt {at^2 + bt + c} }}{\rm{d}}t = \frac{1}{{\sqrt a }}{\rm{arcosh}}\left( {\frac{{2ax + b}}{{\sqrt \Delta }}} \right)} \quad \quad \quad \Delta > 0\quad \quad a > 0\quad \quad x_0 = \frac{{\sqrt \Delta - b}}{{2a}}$$
(15:13:2)
$$\int\limits_{ - 2c/b}^x {\frac{1}{{t\sqrt {at^2 + bt + c} }}{\rm{d}}t = \left\{ {\begin{array}{llll} \frac{1}{{\sqrt { - c} }}\arcsin \left( {\frac{{bx + 2c}}{{x\sqrt \Delta }}} \right) & \Delta > 0 & c < 0 & \frac{{ - 2c}}{{b + \sqrt \Delta }} \le x \le \frac{{ - 2c}}{{b - \sqrt \Delta }} \\ \frac{{ - 1}}{{\sqrt c }}{\mathop{\rm arsinh}\nolimits} \left( {\frac{{bx + 2c}}{{x\sqrt { - \Delta } }}} \right) & \Delta < 0 & c > 0 & \\ \end{array}} \right.} $$
(15:13:3)

and

$$\int\limits_{x_0 }^x {\frac{1}{{t\sqrt {at^2 + bt + c} }}{\rm{d}}t = \frac{{ - 1}}{{\sqrt c }}{\rm{arcosh}}\left( {\frac{{bx + 2c}}{{x\sqrt \Delta }}} \right)\quad \quad \quad \Delta > 0\quad \quad c > 0\quad \quad x_0 = \frac{{2c}}{{\sqrt \Delta - b}}} $$
(15:13:4)

Others are given by Gradshteyn and Ryzhik [Section 2.26] and by Jeffrey [Section 4.3.4].

15.14 Related Topic: the trajectory of a projectile

Heavy projectiles journey through the air following a parabolic course that is best described by a quadratic function. Neglecting the effect of air resistance, the object travels with a constant speed in the horizontal direction, while experiencing a constant acceleration (or force) vertically downwards. If the projectile is launched from a height h 0 with an initial velocity v at an angle θ to the horizontal, the equation describing its trajectory gives its height h, at a distance x downrange, as

$$h = \frac{{ - g\sec ^2 (\uptheta )}}{{2v^2 }}x^2 + x\tan (\uptheta ) + h_0 $$
(15:14:1)

where g is the gravitational acceleration [see Appendix, Section A:6]. As Figure 15-3 will confirm, the greatest height is attained by launching at θ = π/2, but the greatest range requires that θ = π/4. The projectile remains airborne for the time interval

$$\frac{v}{g}\left[ {\sin (\uptheta ) + \sqrt {\frac{{2gh_0 }}{{v^2 }} + \sin ^2 (\uptheta )} } \right]$$
(15:14:2)
Figure 15-3
figure 16_3_139007_2_Enfigure 16_3_139007_2_En

Figure 15-3

Multiply this expression by v cos(θ) to find the total range.

15.15 Related Topic: conic sections

Figure 15-4 shows that there is a unity between the geometries of the functions discussed in Chapters 11, 13, and 14 that is not apparent when these geometries – those of the horizontal parabola, ellipse, and hyperbola – are described by the canonical formulations used in their respective chapters. However, if the curves are moved along the x-axis, so that one of the foci falls at x = 0, the three horizontal geometries come to be described by the single root-quadratic equation

$${\rm{f}}(x) = \left[ {f_0 ^2 + 2kf_0 x + (k^2 - 1)x^2 } \right]^{1/2} $$
(15:15:1)
Figure 15-4
figure 16_4_139007_2_Enfigure 16_4_139007_2_En

Figure 15-4

Whereas three different equations are normally used to describe the ellipse, the parabola and the hyperbola, this equation accommodates all three! If the eccentricity k lies between 0 and 1, equation 15:15:1 describes an ellipse; if k = 1, the equation is that of a parabola; and if k exceeds 1, a hyperbola is represented. The quantity f 0 is the value of the function at x = 0, that is, at the focus. Figure 15-4 was drawn using a range of k values, but a single f 0. The circle is the k = 0 case and k = \(\sqrt 2\) corresponds to a rectangular hyperbola [Section 14:4]. The k = 1 parabola separates the elliptical curves from those corresponding to hyperbolas (for clarity only one branch of each hyperbola is shown, though the equation describes both). For large k, the hyperbola is virtually a pair of straight lines, which is evident from equation 15:15:1 because, when k is so large that k 2 −1≈k 2, the equation becomes f(x) ≈ ±(kx + f 0).

Collectively, all these curves are called conic sections, or simply conics, because each can be generated by intersecting a cone with an appropriately oriented plane. More formally, they are known as curves of the second degree. Equation 15:15:1 can be considered the defining equation of any horizontal conic. Conics possess certain features in common. With the exception of the parabola, they each have two axes of mirror symmetry: one is the x-axis, the other being the line x = kf 0/(1−k 2). In general they have two foci, with an interfocal separation of 2kf 0/(1−k 2), but this is zero for the circle and infinite for the parabola. Both foci lie on the x-axis with one at x = 0. In the context of Figure 15-4, the second focus of the ellipses lies to the right of the origin whereas it lies to the left for the hyperbolas.

By rewriting equation 15:15:1 as the square root of the product of two linear functions

$${\rm{f}}(x) = \left[ {\left\{ {f_0 + (k - 1)x} \right\}\left\{ {f_0 + (k + 1)x} \right\}} \right]^{{\raise0.5ex\hbox{$\scriptstyle 1$} \kern-0.1em/\kern-0.15em \lower0.25ex\hbox{$\scriptstyle 2$}}} $$
(15:15:2)

one may identify the domain of the real function as

$$\frac{{ - f_0 }}{{1 + k}} \le x \le \frac{{f_0 }}{{1 - k}}\quad \quad \quad {\rm{when}}\quad \quad 0 \le k \le 1$$
(15:15:3)
$$- \infty \le x \le \frac{{ - f_0 }}{{k - 1}}\quad {\mathop{\rm and}\nolimits} \quad \frac{{ - f_0 }}{{k + 1}} \le x \le + \infty \quad \quad \quad {\rm{when}}\quad \quad k \ge 1$$
(15:15:4)

This conforms with the property that the ellipse is a contiguous curve, whereas each hyperbola has two branches (the left-hand branches are not shown in Figure 15-4).

Whereas equation 15:15:1 serves as a definition only of horizontal conics, there is a geometric definition that applies to a conic anywhere in the cartesian plane. Let F be a point in Figure 15-5 that will serve as a focus of the conic, and DD″ be a straight line, called the directrix, positioned anywhere in the plane and with any orientation. The conic is uniquely defined once the locations of the point and the line are selected, and a nonnegative constant k is chosen. Then the conic is defined as the locus of all points P such that

$$\frac{{{\rm{PF}}}}{{{\rm{PD^{\prime}}}}}{\rm{ = }}k$$
(15:15:5)

where D′ is the nearest point on the directrix to P. The constant k is, of course, the eccentricity, so that

$${\rm{If}}\;\frac{{{\rm{PF}}}}{{{\rm{PD^{\prime}}}}}\left\{ {\begin{array}{l} < {{\text{1, the conic is an ellipse}}} \hfill \\ = {{\text{1, the conic is a parabola}}} \hfill \\ > {{\text{1, the conic is a hyperbola}}} \hfill \\ \end{array}} \right.$$
(15:15:6)

So this simple property serves as a definition of all three types of curve. If the conic obeys equation 15:15:1, and the focus in question is that positioned at the origin, then the equation of the directrix is x = −f 0/k. Since, apart from the special cases of the circle and the parabola, each conic has two foci, so it has two directrices.

Figure 15-5
figure 16_5_139007_2_Enfigure 16_5_139007_2_En

Figure 15-5