Quadratic function: Difference between revisions
No edit summary |
No edit summary |
||
| Line 61: | Line 61: | ||
<math>ax^2 + bx + c = a\left(x - \left(\frac{-b}{2a}\right)\right)^2 + \left(c - \frac{b^2}{4a}\right)</math> | <math>ax^2 + bx + c = a\left(x - \left(\frac{-b}{2a}\right)\right)^2 + \left(c - \frac{b^2}{4a}\right)</math> | ||
In other words, it is a composite of three functions: | |||
* <math>x \mapsto x - \left(-frac{-b}{2a}\right)</math> | |||
* <math>x \mapsto x^2</math> | |||
* <math>x \mapsto ax + \left(c - \frac{b^2}{4a}\right)</math> | |||
==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: | |||
<math>\frac{d}{dx}(ax^2 + bx + c) = a \frac{d}{dx}(x^2) + b \frac{d}{dx} x + c \frac{d}{dx} 1</math> | |||
Now, using the rule for [[differentiation of power functions]], namely <math>d(x^n)/dx = nx^{n-1}</math>, we obtain: | |||
<math>\frac{d}{dx}(ax^2 + bx + c) = a (2x) + b(1) = 2ax + b</math> | |||
====Computation using the transformed expression==== | |||
We rewrote the polynomial as: | |||
<math>ax^2 + bx + c = a\left(x - \left(\frac{-b}{2a}\right)\right)^2 + \left(c - \frac{b^2}{4a}\right)</math> | |||
We differentiate: | |||
<math>\frac{d}{dx}(ax^2 + bx + c) = a \frac{d}{dx}\left(x - \left(\frac{-b}{2a}\right)\right)^2 + \frac{d}{dx}\left(c - \frac{b^2}{4a}\right)</math> | |||
The second expression, being constant, differentiates to zero. The first expression is a composite of <math>x \mapsto x - \frac{-b}{2a}</math> and the [[square function]]. We can use the [[chain rule for differentiation]] to differentiate it. The answer we obtain is: | |||
<math>\frac{d}{dx}(ax^2 + bx + c) = a \left[2\left(x - \frac{-b}{2a}\right)]</math> | |||
Simplifying this, we get: | |||
<math>\frac{d}{dx}(ax^2 + bx + c) = 2ax + b</math> | |||
Revision as of 15:29, 11 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.
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 maximum value is attained at point . Case : no local maximum 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:
Failed to parse (syntax error): {\displaystyle \frac{d}{dx}(ax^2 + bx + c) = a \left[2\left(x - \frac{-b}{2a}\right)]}
Simplifying this, we get: