Quadratic function: Difference between revisions
| Line 53: | Line 53: | ||
| <math>b^2 - 4ac</math> || (unnormalized) [[discriminant]] || The discriminant is positive (i.e., <math>b^2 - 4ac > 0</math>) iff the quadratic has two distinct real roots<br>The discriminant is zero (i.e., <math>b^2 - 4ac = 0</math>) iff the quadratic has a real root of multiplicity two<br>The discriminant is negative (i.e., <math>b^2 - 4ac < 0</math>) iff the quadratic has no real roots | | <math>b^2 - 4ac</math> || (unnormalized) [[discriminant]] || The discriminant is positive (i.e., <math>b^2 - 4ac > 0</math>) iff the quadratic has two distinct real roots<br>The discriminant is zero (i.e., <math>b^2 - 4ac = 0</math>) iff the quadratic has a real root of multiplicity two<br>The discriminant is negative (i.e., <math>b^2 - 4ac < 0</math>) iff the quadratic has no real roots | ||
|- | |- | ||
| <math>a</math> || leading coefficient || Leading coefficient is positive (i.e., <math>a > 0</math>) iff that the function approaches infinity as <math>x \to \infty</math> and as <math>x \to -infty</math><br>Leading coefficient is negative (i.e., <math>a < 0</math>) iff that the function approaches infinity as <math>x \to \infty</math> and as <math>x \to -infty</math> | | <math>a</math> || leading coefficient || Leading coefficient is positive (i.e., <math>a > 0</math>) iff that the function approaches infinity as <math>x \to \infty</math> and as <math>x \to -\infty</math><br>Leading coefficient is negative (i.e., <math>a < 0</math>) iff that the function approaches infinity as <math>x \to \infty</math> and as <math>x \to -\infty</math> | ||
|- | |- | ||
| <math>-b/a</math> || sum of roots || If the roots are <math>\alpha,\beta</math> (counted with multiplicity, and they need not be real roots), then the polynomial is <math>a(x - \alpha)(x - \beta)</math> and the sum of roots <math>\alpha + \beta</math> is <math>-b/a</math>. | | <math>-b/a</math> || sum of roots || If the roots are <math>\alpha,\beta</math> (counted with multiplicity, and they need not be real roots), then the polynomial is <math>a(x - \alpha)(x - \beta)</math> and the sum of roots <math>\alpha + \beta</math> is <math>-b/a</math>. | ||
Revision as of 02:39, 26 May 2014
Definition
A quadratic function is a function of the form:
where are real numbers and . In other words, a quadratic function is a polynomial function of degree two.
Unless otherwise specified, we consider quadratic functions where the inputs, outputs, and coefficients are all real numbers.
Related notions
- Quadratic function of multiple variables
- L1-regularized quadratic function
- L1-regularized quadratic function of multiple variables
Key data
| Item | Value |
|---|---|
| Default domain | all real numbers, i.e., all of |
| range | Case : Case : |
| period | not a periodic function |
| local maximum value and points of attainment | Case : No local maximum value Case : local maximum value is attained at point . |
| local minimum value and points of attainment | Case : local minimum value is attained at point . Case : no local minimum value |
| points of inflection | None |
| derivative | The linear function |
| second derivative | The constant function with constant value |
| derivative | The first and second derivative are as described above. All higher derivatives are zero. |
| antiderivative | with . |
| important symmetry | The graph of the function has mirror symmetry about the line (the vertical line through the unique critical point) |
| interval description based on increase/decrease and concave up/down | Case : increasing and concave down on decreasing and concave down on Case : decreasing and concave up on increasing and concave up on |
| power series and Taylor series | The power series is the same as the polynomial, i.e., the power series about any point simplifies to the polynomial (written in increasing order of powers of as ) |
Key invariants
| Expression | Name | Significance in the case |
|---|---|---|
| (unnormalized) discriminant | The discriminant is positive (i.e., ) iff the quadratic has two distinct real roots The discriminant is zero (i.e., ) iff the quadratic has a real root of multiplicity two The discriminant is negative (i.e., ) iff the quadratic has no real roots | |
| leading coefficient | Leading coefficient is positive (i.e., ) iff that the function approaches infinity as and as Leading coefficient is negative (i.e., ) iff that the function approaches infinity as and as | |
| sum of roots | If the roots are (counted with multiplicity, and they need not be real roots), then the polynomial is and the sum of roots is . | |
| product of rots | If the roots are (counted with multiplicity, and they need not be real roots), then the polynomial is and the product of roots is . | |
| normalized discriminant | Similar observations as for the discriminant. |
Transformation
Any quadratic function can be expressed as a composite of a linear function, the square function, and another linear function. Explicitly, we can write:
In other words, it is a composite of three functions:
Differentiation
First derivative
Computation as a linear combination of monomials
We can differentiate the polynomial termwise, using the fact that it is a linear combination of monomials:
Now, using the rule for differentiation of power functions, namely , we obtain:
Computation using the transformed expression
We rewrote the polynomial as:
We differentiate:
The second expression, being constant, differentiates to zero. The first expression is a composite of and the square function. We can use the chain rule for differentiation to differentiate it. The answer we obtain is:
Simplifying this, we get:
Second derivative
Computation as a linear combination of monomials
We can differentiate the polynomial termwise, using the fact that it is a linear combination of monomials:
Now, using the rule for differentiation of power functions, namely , we obtain:
Computation using the transformed expression
We rewrote the polynomial as:
We differentiate:
We get the answer: