Quadratic Equation

The quadratic function has maximum power of $$x$$ equal to $$2$$:


 * $$Ax^2 + Bx + C$$.

When equated to zero, the quadratic function becomes the quadratic equation:


 * $$Ax^2 + Bx + C = 0\ \dots\ (1)$$, in which coefficient $$A$$ is non-zero.

The solution of the quadratic equation is:


 * $$x = \frac{-B \pm \sqrt{B^2 - 4AC}}{2A}\ \dots\ (2)$$

The above solution to the quadratic is well known to high-school algebra students. The proof of the solution is usually presented to students as completion of the square, not presented here. To me completion of the square seemed too complicated. To help you acquire a new respect for the quadratic, presented below are more ways to solve it.

The depressed quadratic
The depressed cubic leads to a solution of the cubic and the depressed quartic leads to a solution of the quartic. This paragraph shows that the depressed quadratic leads to a solution of the quadratic.

To produce the depressed function, let


 * $$x=\frac{-B+t}{GA}$$

where G is the degree of the function. For the quadratic G = 2. Let


 * $$x=\frac{-B+t}{2A}\ \dots\ (3)$$

Substitute (3) into (1) and expand:


 * $$A(\frac{-B+t}{2A})(\frac{-B+t}{2A})+B(\frac{-B+t}{2A})+C\ \dots\ (4)$$


 * $$(4)\ *\ 4A,\     4AA(\frac{-B+t}{2A})(\frac{-B+t}{2A})+4AB(\frac{-B+t}{2A})+4AC     $$


 * $$    (-B+t)(-B+t)+2B(-B+t)+4AC     $$


 * $$B^2 -2Bt + t^2 - 2B^2 +2Bt + 4AC$$


 * $$t^2 -B^2+4AC$$

In the depressed quadratic above the coefficient of $$t^2$$ is $$1$$ and that of $$t$$ is $$0$$.


 * $$t^2 = B^2-4AC$$


 * $$t = \pm \sqrt{B^2-4AC}\ \dots\ (5)$$

Substitute (5) into (3) and the result is the solution in (2).

p +- q
Let one value of $$x$$ be $$p+q$$ and another value of $$x$$ be $$p-q$$. Substitute these values into $$(1)$$ above and expand.


 * $$\begin{align}

A(p+q)(p+q) + B(p+q) + C =&\ 0\\ App + A2pq + Aqq + Bp + Bq + C =&\ 0\ \dots\ (6)\\ \\ A(p-q)(p-q) + B(p-q) + C =&\ 0\\ App - A2pq + Aqq + Bp - Bq + C =&\ 0\ \dots\ (7) \end{align}$$


 * $$\begin{align}

(6) - (7),\ 4Apq + 2Bq =&\ 0\\ 2Ap + B =&\ 0\\ 2Ap =&\ - B\\ \\                    p =&\ \frac{-B}{2A}\ \dots\ (8) \end{align}$$


 * $$\begin{align}

(6) + (7),\ 2App + 2Aqq + 2Bp + 2C =&\ 0 \\ App + Aqq + Bp + C =&\ 0 \\ App + Bp + C =&\ -Aqq\ \dots\ (9)\\ \\    (9) * 4A,\ 4AApp + 4ABp + 4AC =&\ -4AAqq\ \dots\ (10) \end{align}$$

Substitute $$(8)$$ into $$(10)$$


 * $$\begin{align}

(-B)(-B) + 2B(-B) + 4AC =&\ -4AAqq \\

BB -2BB + 4AC =&\ -4AAqq \\

4AAqq =&\ BB-4AC\\ \\                    qq =&\ \frac{BB-4AC}{4AA}\\ \\                     q =&\ \frac{\pm\sqrt{B^2-4AC}}{2A}\ \dots\ (11) \end{align}$$


 * $$\begin{align}

x =&\ p + q\\ \\ =&\ (\frac{-B}{2A}) + (\frac{\pm\sqrt{B^2-4AC}}{2A})\\ \\ =&\ \frac{-B\pm\sqrt{B^2-4AC}}{2A}

\end{align}$$

By observation and elementary deduction
You have drawn a few curves by hand and suppose that each curve is symmetrical about the vertical line through a minimum point. Given $$f(x) = Ax^2 + Bx + C$$ you suppose that $$f(p+q) = f(p-q)$$.


 * $$\begin{align}

A(p+q)(p+q) + B(p+q) + C =&\ A(p-q)(p-q) + B(p-q) + C\\ \\ A(pp + 2pq + qq) + Bp + Bq =&\ A(pp - 2pq + qq) + Bp - Bq\\ \\ A2pq + Bq =&\ - A2pq - Bq\\ \\ 2A2pq + 2Bq =&\ 0\\ \\ 2q(2Ap+B)=&\ 0\\ \\ 2Ap + B =&\ 0\\ \\ p =&\ \frac{-B}{2A} \end{align}$$

You have found the stationary point without using calculus. Continue as per calculus below.

By calculus
The derivative of $$(1)$$ is $$2Ax + B$$ which equals $$0$$ at a stationary point.

At the stationary point $$x = \frac{-B}{2A}$$.

Prove that the function is symmetrical about the vertical line through $$x = \frac{-B}{2A}$$.

Let $$x = \frac{-B}{2A} + p\ \dots\ (12)$$

Substitute (12) in (1) and expand:


 * $$\frac{4AApp+4AC-BB}{4A}$$

Let $$x = \frac{-B}{2A} - p\ \dots\ (13)$$

Substitute (13) in (1) and expand


 * $$\frac{4AApp+4AC-BB}{4A}$$

The expansion is the same for both values of x, (12) and (13). The curve is symmetrical.

If the function equals 0, then


 * $$\begin{align}

+ 4AApp + 4AC - BB =&\ 0\\ \\ 4AApp =&\ BB - 4AC\\ \\ pp =&\ \frac{BB-4AC}{4AA}\\ \\ p =&\ \frac{\pm\sqrt{B^2-4AC}}{2A}\\ \end{align}$$

Substitute this value of p in (12) and the result is (2).

By movement of the vertex
Begin with the basic quadratic: $$y = Ax^2$$.

Move vertex from origin $$(0,0)$$ to $$(h,k)$$.

$$y-k = A(x-h)^2$$.

$$y-k = A(x^2 - 2hx + h^2)$$.

$$y-k=Ax^2 - 2Ahx + Ah^2$$.

$$y=Ax^2 - 2Ahx + Ah^2 + k$$.

This equation is in the form of the quadratic $$y = Ax^2 + Bx + C$$ where:

$$B=-2Ah;\ C = Ah^2 + k$$.

Therefore $$h = \frac{-B}{2A}$$ and $$h$$ is the X coordinate of the vertex in the new position.

Continue as per calculus above.

p + qi
Let $$x = p + qi$$ where $$i = \sqrt{-1}$$

Substitute this value of $$x$$ into (1) and expand:


 * $$\begin{align}

A(p+qi)(p+qi) + B(p+qi) + C\\ \\ A(p^2 + 2pqi + (qi)^2) + Bp + Bqi + C\\ \\ Ap^2 + 2Apqi - Aq^2 + Bp + Bqi + C

\end{align}$$

Terms containing $$i = 2Apqi + Bqi\ \dots\ (14)$$

From (14), $$2Ap + B = 0$$ and $$p = \frac{-B}{2A}\ \dots\ (15)$$

Terms without $$i = Ap^2 -Aq^2 + Bp + C\ \dots\ (16)$$

From (15) and (16):
 * $$\begin{align}

Aq^2 =&\ Ap^2 + Bp + C\\ \\ =&\ A(\frac{-B}{2A})(\frac{-B}{2A}) + B(\frac{-B}{2A}) + C\\ \\ q^2 =&\ \frac{B^2}{4AA} - \frac{B^2}{2AA} + \frac{C}{A}\\ \\ =&\ \frac{B^2}{4AA} - \frac{2B^2}{4AA}+\frac{4AC}{4AA}\\ \\ =&\ \frac{-B^2+4AC}{4AA}\\ \\ =&\ \frac{-1(B^2-4AC)}{4AA}\\ \\ q =&\ \frac{\pm\ i\sqrt{B^2-4AC}}{2A}\\ \\ x =&\ (p) + (q)i\\ \\ =&\ (\frac{-B}{2A})\pm(\frac{i\sqrt{B^2-4AC}}{2A})i\\ \\ =&\ \frac{-B\pm\sqrt{B^2-4AC}}{2A} \end{align}$$

This method shows the imaginary value $$i$$ coming into existence to help with intermediate calculations and then going away before the end result appears.

Defining the quadratic
The quadratic function is usually defined as the familiar polynomial (1). However, the quadratic may be defined in other ways. Some are shown below:

By three points
If three points on the curve are known, the familiar polynomial may be deduced. For example, if three points $$(-5,40),\ (4,13),\ (7,76)$$ are given and the three points satisfy $$y = f(x)$$, the values $$A, B, C$$ may be calculated.


 * $$\begin{align}

A(-5)(-5) + B(-5) + C =&\ 40\\ A(4)(4) + B(4) + C =&\ 13\\ A(7)(7) + B(7) + C =&\ 76\\ 25A - 5B + C =&\ 40\ \dots\ (17)\\ 16A + 4B + C =&\ 13\ \dots\ (18)\\ 49A+ 7B + C =&\ 76\ \dots\ (19)\\ \end{align}$$

The solution of the three equations $$(17),\ (18),\ (19)$$ gives the equation $$y = 2x^2 - x -15$$.

If the three points were to satisfy $$x = f(y)$$, the equation would be $$x = \frac{2}{189}y^2 - \frac{169}{189}y + \frac {2615}{189}$$.

By two points and a slope
Given two points $$(-4,1.3)$$ and $$(1,4.8)$$ and the slope at $$(1,4.8) = 3.2$$, calculate $$A, B, C$$.


 * $$\begin{align}

A(-4)(-4) + B(-4) + C =\ 1.3\\

A(1)(1) + B(1) + C =\ 4.8\\

\end{align}$$

Slope = 2Ax + B, therefore


 * $$\begin{align}

2A(1) + B =&\ 3.2\\ \\ 16A - 4B + C =&\ 1.3\ \dots\ (20)\\

A + B + C =&\ 4.8\ \dots\ (21)\\

2A + B =&\ 3.2\ \dots\ (22)\\

\end{align}$$

The solution of the three equations $$(20), (21), (22)$$ gives the polynomial $$0.5x^2 + 2.2x + 2.1\ \dots\ (23)$$.

By movement of the vertex
Begin with the basic quadratic $$y = x^2$$.

If $$x$$ has the value $$p$$, then $$y = p^2$$ and the height of $$y$$ above the vertex = $$p^2$$.

If we move the vertex to $$(h,k)$$, then the equation becomes $$(y-k)=(x-h)^2$$.

If $$x$$ has the value $$h+p$$, then $$y - k = (h+p-h)^2 = p^2;\ y = p^2 + k$$

and the height of $$y$$ above the vertex = $$y-k = p^2+k -k = p^2$$.

The curve $$y = x^2$$ and the curve $$y-k = (x-h)^2$$ have the same shape.

It's just that the vertex of the former $$(0,0)$$ has been moved to the vertex of the latter $$(h,k)$$.

The latter equation expanded becomes $$y = x^2 - 2hx + h^2 + k = x^2 + (-2h)x + (h^2 + k)$$.

Consider function $$y = f(x) = 5x^2 + 22x + 21\ \dots\ (23a)$$.

Therefore


 * $$\begin{align}

y =&\ ax^2\\ \\ y-k =&\ a(x-h)^2\\ \\ y - k =&\ a(x^2 - 2hx + h^2) = ax^2 - 2ahx + ah^2\\ \\ y =&\ ax^2 - 2ahx + ah^2 + k\\ \\ a =&\ 5\\ \\ -2ah =&\ 22;\ h = \frac{22}{-2(5)} = -2.2\\ \\ ah^2 + k =&\ 21\\ \\ k =&\ 21 - 5(-2.2)(-2.2) = -3.2\\ \\ \end{align}$$

The example $$(23a)$$ may be expressed as


 * $$\begin{align}

y - (-3.2) =&\ 5(x-(-2.2))^2\\ \\ y + 3.2 =&\ 5(x+2.2)^2 \end{align}$$

For proof, expand:


 * $$\begin{align}

y + 3.2 =&\ 5(x+2.2)^2\\ =&\ 5(x^2 + 4.4x + 4.84)\\ =&\ 5x^2 + 22x +  24.2 \\ \\ y =&\ 5x^2 + 22x + 24.2 - 3.2 \\ =&\ 5x^2 + 22x + 21 \end{align}$$

By compliance with the standard equation of the conic section
The quadratic function can comply with the format: $$Ax^2 + Bxy + Cy^2 + Dx + Ey + F = 0.$$ (See The General Quadratic below.)

For example, the function $$y = 3x^2 + 5x - 7$$ can be expressed as:

$$(3)x^2 + (0)xy + (0)y^2 + (5)x + (-1)y + (-7) = 0$$ or:

$$3x^2 + 5x - 7 -y = 0.$$

To express a valid quadratic in this way, both $$A,E$$ or both $$C,D$$ must be non-zero.

By a point and a straight line
The point is called the focus and the line is called the directrix. The distance from point to line is non-zero. The quadratic is the locus of a point that is equidistant from both focus and line at all times. When the quadratic is defined in this way, it is usually called a parabola.

Quadratic as Parabola
Let the $$focus$$ have coordinates $$(p,q).$$

Let the $$directrix$$ have equation: $$y =k.$$

Let the point $$(x,y)$$ be equidistant from both focus and directrix.

Distance from $$(x,y)$$ to focus $$= \sqrt{(x-p)^2 + (y-q)^2}$$.

Distance from $$(x,y)$$ to directrix $$= y - k$$.

By definition these two lengths are equal.

$$\sqrt{(x-p)^2 + (y-q)^2} = y - k$$

$$x^2 - 2px + p^2 + y^2 -2qy + q^2 = y^2 - 2ky + k^2$$

$$(2q-2k)y = x^2 - 2px + p^2 + q^2 - k^2$$

$$y = \frac{x^2}{2q-2k} + \frac{-2px}{2q-2k} + \frac{p^2+q^2-k^2}{2q-2k}$$

Let this equation have the form: $$y = Ax^2 + Bx + C$$

Therefore:


 * $$\begin{align}

A& = \frac{1}{2q-2k}\\ B& = \frac{-2p}{2q-2k}\\ C& = \frac{p^2+q^2-k^2}{2q-2k} \end{align}$$

Given $$A,B,C$$ calculate $$p,q,k$$.

$$B = \frac{-2p}{2q-2k} = -2pA;\ p = \frac{-B}{2A}$$

There are two equations with two unknowns $$q,k:$$


 * $$\begin{align}

A&(2q-2k)-1 = 0\\ C&(2q-2k) - p^2-q^2+k^2 = 0 \end{align}$$

The solutions are:


 * $$\begin{align}

p& = \frac{-B}{2A}\\ q& = \frac{1-(B^2-4AC)}{4A}\\ k& = \frac{-1-(B^2-4AC)}{4A} \end{align}$$

[[File:Quadratic function graph key values.svg|thumb|Graph of quadratic function $$y = x^2 - 2x - 3$$ showing :
 * X and Y intercepts in red,
 * vertex and axis of symmetry in blue,
 * focus and directrix in pink.]]

If the quadratic equation is expressed as $$y = Ax^2 + Bx + C$$ then:

The focus is the point $$(\frac{-B}{2A}, \frac{1-(B^2-4AC)}{4A})$$, and

The directrix has equation: $$y = \frac{-1-(B^2-4AC)}{4A}$$.

The $$vertex$$ is exactly half-way between focus and directrix.

Vertex is the point $$(\frac{-B}{2A}, \frac{-(B^2-4AC)}{4A})$$.

$$A = \frac{1}{2q-2k};\ 2q-2k = \frac{1}{A};\ q-k = \frac{1}{2A} =$$ distance from directrix to focus.

Distance from vertex to focus $$= \frac{1}{4A}$$.

If the curve has equation $$y = Ax^2$$, then the vertex is at the origin $$(0,0)$$.

If the focus is the point $$(0,q)$$, then $$q=\frac{1}{4A};\ A = \frac{1}{4q}$$ and the equation $$y=Ax^2$$ becomes $$y=\frac{x^2}{4q}$$.

An example with vertical focus
[[File:Parabola vertical symmetry.png|thumb|Figure 3: Graph of quadratic function with vertical focus $$8(y+1) = (x-4)^2$$ showing :
 * vertex at (4,-1),
 * focus at (4,1),
 * directrix at y = -3.]]

Let $$(p,q) = (4,1),\ k = -3.$$

Directrix has equation: $$y = -3$$. Focus has coordinates $$(4,1)$$.

$$\begin{align} A& = \frac{1}{2q-2k} = \frac{1}{2(1)-2(-3)} = \frac{1}{2+6} = \frac{1}{8}\\ B& = \frac{-2p}{2q-2k} = \frac{-2(4)}{8} = -1\\ C& = \frac{p^2+q^2-k^2}{2q-2k} = \frac{16+1-9}{8} = 1 \end{align}$$

This example has equation: $$y = \frac{1}{8}x^2 - x + 1$$ or $$8y = x^2 - 8x + 8$$ or $$8(y+1) = (x-4)^2$$. See Figure 3.

Distance from vertex to focus = $$\frac{1}{4A} = \frac{1}{4(\frac{1}{8})} = \frac{8}{4} = 2.$$

Or:

Vertex has coordinates $$(4,-1).$$

Distance from vertex to focus $$= 2 = \frac{1}{4A};\ A=\frac{1}{8}$$.

Curve has shape of $$y = \frac{1}{8}x^2$$ with vertex moved to $$(4,-1).\ y-(-1) = \frac{1}{8}(x-4)^2;\ 8(y+1) = (x-4)^2.$$

Quadratic with horizontal focus
Let the $$focus$$ have coordinates $$(p,q).$$

Let the $$directrix$$ have equation: $$x =k.$$

Let the point $$(x,y)$$ be equidistant from both focus and directrix.

Distance from $$(x,y)$$ to focus $$= \sqrt{(x-p)^2 + (y-q)^2}$$.

Distance from $$(x,y)$$ to directrix $$= x - k$$.

By definition these two lengths are equal.

$$\sqrt{(x-p)^2 + (y-q)^2} = x - k$$

$$x^2 - 2px + p^2 + y^2 -2qy + q^2 = x^2 - 2kx + k^2$$

$$(2p-2k)x = y^2 - 2qy + p^2 + q^2 - k^2$$

$$x = \frac{y^2}{2p-2k} + \frac{-2qy}{2p-2k} + \frac{p^2+q^2-k^2}{2p-2k}$$

Let this equation have the form: $$x = Ay^2 + By + C$$

Therefore:


 * $$\begin{align}

A& = \frac{1}{2p-2k}\\ B& = \frac{-2q}{2p-2k}\\ C& = \frac{p^2+q^2-k^2}{2p-2k} \end{align}$$

Given $$A,B,C$$ calculate $$p,q,k.$$

$$B = \frac{-2q}{2p-2k} = -2qA;\ q = \frac{-B}{2A}$$

There are two equations with two unknowns $$p,k:$$


 * $$\begin{align}

A&(2p-2k)-1 = 0\\ C&(2p-2k) - p^2-q^2+k^2 = 0 \end{align}$$

The solutions are:


 * $$\begin{align}

p& = \frac{1-(B^2-4AC)}{4A}\\ q& = \frac{-B}{2A}\\ k& = \frac{-1-(B^2-4AC)}{4A} \end{align}$$

If the quadratic equation is expressed as $$x = Ay^2 + By + C$$ then:

The focus is the point $$(\frac{1-(B^2-4AC)}{4A}, \frac{-B}{2A})$$, and

The directrix has equation: $$x = \frac{-1-(B^2-4AC)}{4A}$$.

The $$vertex$$ is exactly half-way between focus and directrix.

Vertex is the point $$(\frac{-(B^2-4AC)}{4A}, \frac{-B}{2A})$$.

$$A = \frac{1}{2p-2k};\ 2p-2k = \frac{1}{A};\ p-k = \frac{1}{2A} =$$ distance from directrix to focus.

Distance from vertex to focus $$= \frac{1}{4A}$$.

If the curve has equation $$x = Ay^2$$, then the vertex is at the origin $$(0,0)$$.

If the focus is the point $$(p,0)$$, then $$p=\frac{1}{4A};\ A = \frac{1}{4p}$$ and the equation $$x=Ay^2$$ becomes $$x=\frac{y^2}{4p}$$.

An example with horizontal focus
[[File:Parabola horizontal symmetry.png|thumb|Figure 4: Graph of quadratic function with horizontal focus $$8(x+1) = (y-4)^2$$ showing :
 * vertex at (-1,4),
 * focus at (1,4),
 * directrix at x = -3.]]

Let $$(p,q) = (1,4),\ k = -3.$$

Directrix has equation: $$x = -3$$. Focus has coordinates $$(1,4)$$.

$$\begin{align} A& = \frac{1}{2p-2k} = \frac{1}{2(1) - 2(-3)} = \frac{1}{8}\\ B& = \frac{-2q}{2p-2k} = \frac{-2(4)}{8} = -1\\ C& = \frac{p^2+q^2-k^2}{2p-2k} = \frac{1+16-9}{8} = 1 \end{align}$$

This example has equation: $$x = \frac{1}{8}y^2 - y + 1$$ or $$8x = y^2 - 8y + 8$$ or $$8(x+1) = (y-4)^2$$. See Figure 4.

Distance from vertex to focus = $$\frac{1}{4A} = \frac{1}{4(\frac{1}{8})} = \frac{8}{4} = 2.$$

Given equation $$8x = y^2 -8y +8$$ calculate $$p,q,k$$.

Method 1. By algebra -

Put equation in form: $$x = \frac{1}{8}y^2 - y + 1$$ where $$A=\frac{1}{8},\ B = -1,\ C =1.$$


 * $$\begin{align}

p& = \frac{1-(B^2-4AC)}{4A} = \frac{1-(1-\frac{1}{2})}{4(\frac{1}{8})} = \frac{1-\frac{1}{2}}{\frac{1}{2}} = 1\\ q& = \frac{-B}{2A} = \frac{-(-1)}{    2(\frac{1}{8})        } = \frac{8}{2} = 4\\ k& = \frac{-1-(B^2-4AC)}{4A} = \frac{-1-(1-\frac{1}{2})}{\frac{1}{2}} = \frac{-1\frac{1}{2}}{\frac{1}{2}} = -3 \end{align}$$

Method 2. By analytical geometry -

Distance from vertex to focus $$ = \frac{1}{4A} = \frac{1}{4(\frac{1}{8})} = 2.$$

Put equation in $$semi$$-$$reduced$$ form:


 * $$\begin{align}

8x = y^2 - 8y + 8\\ (y-4)^2 = y^2 -8y + 16\\ 8x = (y-4)^2 - 8\\ 8x + 8 = (y-4)^2\\ 8(x+1) = (y-4)^2 \end{align}$$

Vertex is point $$(-1,4).$$

Focus is point $$(-1+2,4) = (1,4) = (p,q).$$

Directrix has equation: $$x = -1-2 = -3 = k.$$

The Parabola


See Figure 1. For simplicity values are defined as shown. Let an arbitrary point on the curve be $$(x,y)$$.

By definition, $$\sqrt{(x-0)^2 + (y-p)^2} = y + p$$. This expression expanded gives:


 * $$x^2 - 4py = 0;\ y = \frac{x^2}{4p}$$ and slope = $$\frac{x}{2p}$$.

If the equation of the curve is expressed as: $$y = Kx^2$$, then $$K=\frac{1}{4p};\ 4Kp=1;\ p = \frac{1}{4K}$$.

Let a straight line through the focus intersect the parabola in two points $$(x_1,y_1)$$ and  $$(x_2, y_2)$$.


 * $$\begin{align}

y=&\ \frac{x^2}{4p} = mx + p\\ \\ x^2 =&\ 4pmx + 4pp\\ \\ x^2 - 4pmx - 4pp =&\ 0\\ \\ x =&\ \frac{4pm \pm \sqrt{16ppmm + 16pp}}{2}\\ \\ =&\ \frac{4pm \pm 4p\sqrt{mm + 1}}{2}\\ \\ =&\ 2pm \pm 2p\sqrt{mm + 1}\\ \\ =&\ 2pm \pm 2pR\\ \end{align}$$

where


 * $$m$$ is the slope of line DB in Figure 1.


 * $$\begin{align}

R =&\ \sqrt{m^2 + 1}\\ \\ x_1 =&\ 2pm + 2pR\\ \\ x_2 =&\ 2pm - 2pR\\ \\ y_1 =&\ \frac{x_1^2}{4p} = 2Rmp + 2mmp + p\\ \\ y_2 =&\ - 2Rmp + 2mmp + p \end{align}$$

Characteristics of the Parabola
The parabola is a grab-bag of many interesting facts.

Two tangents perpendicular


We prove first that the tangents at $$(x_1, y_1)$$ and  $$(x_2, y_2)$$ are perpendicular.


 * $$\begin{align}

s =&\ \frac{x}{2p}\\ \\ s1 =&\ \frac{x_1}{2p} = m + R \\ \\ s2 =&\ m - R \end{align}$$

The product of $$s_1$$ and $$s_2 = (m+R)(m-R) = m^2 - R^2 = m^2 - (m^2+1) = -1$$. Therefore, the tangents (lines AB and AD in Figure 2) are perpendicular.

Two tangents intersect on directrix
Second, we prove that the two tangents intersect on the directrix. See Figure 2 above.

Using $$y = mx + c$$ and $$c = y - mx$$:


 * $$\begin{align}

c_1 =&\ y_1 - (s_1)(x_1)\\ \\ =&\ 2Rmp + 2mmp + p - (m+r)(2pm + 2pR)\\ \\ =&\ - 2Rmp - 2mmp - p\\ \\ c_2 =&\ 2Rmp - 2mmp - p \end{align}$$

The $$y$$ coordinate of the point of intersection satisfies both $$s_1x + c_1$$ and $$s_2x + c_2$$. Therefore,


 * $$\begin{align}

(m+R)x + (- 2Rmp - 2mmp - p) =&\ (m-R)x + ( 2Rmp - 2mmp - p) \\ \\ x =&\ 2mp\\ \end{align}$$

$$2mp$$ is the mid-point between $$x_1$$ and $$x_2$$. Point A in Figure 1 has coordinates $$(2mp, -p)$$

Check our work:


 * $$\begin{align}

y = s_1x+c_1 = (m+R)2mp+(- 2Rmp - 2mmp - p) = -p\\ y = s_2x+c_2 = (m-R)2mp+(+ 2Rmp - 2mmp - p) = -p\\ \end{align}$$

The tangents intersect at $$(2mp, -p)$$. They intersect on the directrix where $$y = -p$$. See Tangents perpendicular and oscillating.

Right angle at focus


Third, we prove that the triangle defined by the three points $$H\ (x1,-p), G\ (x2,-p)$$ and $$F\ (0,p)$$ is a right triangle.

Slope of line $$(0,p) ... (x_1,-p) = s_3 = \frac{p-(-p)}{0-x_1} = \frac{2p}{-(2pm+2pR)} = \frac{-1}{m+R}$$.

Slope of line $$(0,p) ... (x_2,-p) = s_4 = \frac{p-(-p)}{0-x_2} = \frac{2p}{-(2pm-2pR)} = \frac{-1}{m-R}$$.


 * $$(s_3)*(s_4) = \frac{-1}{m+R}\ *\ \frac{-1}{m-R} = \frac{1}{m^2 - R^2}=\frac{1}{-1}=-1$$

The product of $$s_3$$ and $$s_4$$ is $$-1$$. Therefore the two sides $$HF, GF$$ are perpendicular and the triangle $$HFG$$ in Figure 1 is a right triangle with the right angle at $$F$$.

Two lines perpendicular
Fourth, we prove that the two lines $$AF, DFB$$ are perpendicular.

Point $$A:\ (2mp, -p)$$. Point $$F: (0,p)$$.

Using slope $$= \frac{y_1-y_2}{x_1-x_2}$$

Slope of line $$AF = s_5 = \frac{p-(-p)}{0-2mp} = \frac{2p}{-2mp} = \frac{-1}{m}$$.

Slope of line $$DFB = s_6 = m.$$

$$(s_5)(s_6) = -1.$$ Therefore the two lines $$AF, DFB$$ are perpendicular.

Because $$\angle AGD = \angle AFD = 90^\circ,$$ points $$A, G, D, F$$ are on a circle and lengths $$AG = AF = AH$$

More about the Parabola


In the last section we proved several points about the parabola, beginning with line $$DFB$$ and moving towards point $$A$$ on the directrix. In this section, we prove the reverse, beginning with point $$A$$ and moving towards line $$DFB$$.

Let $$(k,-p)$$ be any point on the directrix $$y = -p$$.

Using $$y = mx +c, -p = mk + c,\ c = -p -mk$$ and any line through $$(k,-p)$$ is defined as $$y = sx - p -sk$$ where $$s$$ is the slope of the line.

Let this line intersect the parabola $$y = \frac{x^2}{4p}$$. (In Figure 1, p = 1.)


 * $$\begin{align}

y&\ = \frac{x^2}{4p} = sx - p - sk\\ \\ x^2&\ = 4psx - 4pp - 4psk\\ \\ x^2&\ - 4psx + 4pp + 4psk = 0\ \dots\ (24)\\ \\ x^2&\ + (-4ps)x + (4pp + 4psk) = 0 \end{align}$$

The above defines the $$X$$ coordinate/s of any line through $$(k,-p)$$ that intersect/s the parabola. We are interested in the tangent, a line that intersects in only one place. Therefore, the discriminant is 0.


 * $$\begin{align}

16ppss - 4(4pp+4psk) = 0\\ \\ 16ppss - 16(pp+psk) = 0\\ \\ ppss - pks - pp = 0\\ \\ pss - ks -p = 0\\ \\ s =\ \frac{k \pm \sqrt{kk + 4pp}}{2p} =\ \frac{k \pm R}{2p} \end{align}$$

where $$R = \sqrt{kk + 4pp}$$

Slope of tangent1 = $$s_1 = \frac{k+R}{2p}$$ (In Figure 1, tangent1 is the line $$ABC$$.)

Slope of tangent2 = $$s_2 = \frac{k-R}{2p}$$ (In Figure 1, tangent2 is the line $$ADE$$.)

Prove that tangent1 and tangent2 are perpendicular.


 * $$s_1 * s_2 = \frac{k+R}{2p}*\frac{k-R}{2p}=\frac{kk-RR}{4pp} = \frac{kk-(kk+4pp)}{4pp}=\frac{-4pp}{4pp}=-1$$

The product of the two slopes is -1. Therefore, the two tangents are perpendicular.

From (24), we chose a value of $$s$$ that made the discriminant 0. Therefore


 * $$\begin{align}

x =&\ \frac{-B}{2A} = \frac{4ps}{2} = 2ps\\ \\ x_1 =&\ 2ps_1 = 2p*\frac{k+R}{2p} = k + R\\ \\ x_2 =&\ k - R\\ \\ y =&\ \frac{x^2}{4p}\\ \\ y_1 =&\ \frac{(k+R)^2}{4p} = \frac{kk+2kR+RR}{4p} = \frac{kk+2kR+kk+4pp}{4p} = \frac{2kk+2kR+4pp}{4p}=\frac{kk+kR+2pp}{2p}\\ \\ y_2 =&\ \frac{kk -kR +2pp}{2p}\\ \\ m =&\ \frac{y_1-y_2}{x_1-x_2}=\frac{kR/p}{2R}=\frac{k}{2p} \end{align}$$ (In Figure 1, $$m$$ is the slope of line $$DFB$$. This statement agrees with $$k = 2mp$$ proved in the last section.)

We have a line joining the two points $$(x1,y1), (x_2,y_2)$$. Calculate the intercept on the $$Y$$ axis.

Using $$y = mx + c$$,


 * $$\begin{align}

c =&\ y - mx = y_1 - mx_1\\ \\ =&\ \frac{kk+kR+2pp}{2p} - \frac{k}{2p}*(k+R)\\ \\ =&\ \frac{kk+kR+2pp - (kk+kR)}{2p}\\ \\ =&\ \frac{2pp}{2p} = p \end{align}$$

The line joining the two points $$(x_1,y_1),\ (x_2,y_2)$$ passes through the focus $$(0,p)$$.

Two lines parallel


In Figure 2 tangents $$AB$$ and $$AD$$ intersect at point $$A$$ on the directrix.

Line $$AGH$$ has value $$x = k$$. Line $$JGK$$ is tangent to the curve at $$G$$.

Slope of tangent $$JGK = \frac{x}{2p} = \frac{k}{2p}$$. Slope of line $$DFB$$ also $$= \frac{k}{2p}$$.

Therefore two lines $$JGK, DFB$$ are parallel.

Area under focal chord
Area $$DGBHFD$$

$$x_1 = 2pm + 2pR$$

$$x_2 = 2pm - 2pR$$

where $$R = \sqrt{m^2+1}$$

Line $$DFB = mx + p$$. The integral of this value $$= m\frac{x^2}{2} + px$$.

Area under line $$DFB$$


 * $$\begin{align}

x_1&\\ =\ \ \ \ &[m\frac{x^2}{2} + px] = 8Rmmpp + 4Rpp\\ x_2& \end{align}$$

Area under curve $$DGB$$


 * $$\begin{align}

x_1&\\ =\ \ \ \ &[\frac{x^3}{12p}] = \frac{16Rmmpp+4Rpp}{3}\\ x_2& \end{align}$$

Area $$DGBHFD$$
 * $$\begin{align}              =&\ 8Rmmpp + 4Rpp - \frac{16Rmmpp+4Rpp}{3}\\

\\                                                  =&\ \frac{24Rmmpp+12Rpp-16Rmmpp-4Rpp}{3}\\ \\                                                   =&\ \frac{8Rmmpp+8Rpp}{3}\\ \\                                                    =&\ \frac{8Rp^2(m^2+1)}{3} \end{align}$$

Area $$DGHD$$

Similarly it can be shown that Area $$DGHD = \frac{4Rp^2(m^2+1)}{3}$$

Therefore line $$AGH$$ splits area $$DGBHFD$$ into two halves equal by area.

Reflectivity of the Parabola


See Figure 1. $$\triangle GFH$$ is a right triangle and point $$A$$ is the midpoint of line $$GAH$$.

$$\therefore\ AG = AF = AH,\ \triangle ABF$$ is congruent with $$\triangle ABH$$, and $$\angle ABF = \angle ABH$$.

$$\angle CBJ = \angle ABH,\ \therefore \angle ABF = \angle CBJ$$.

1. Any ray of light emanating from a point source at F touches the parabola at B and is reflected away from B on a line that is always perpendicular to the directrix. $$\angle ABF$$ is the angle of incidence and $$\angle CBJ$$ is the angle of reflection.

2. The path from $$K$$ through focus to vertex and back to focus has length $$JH$$. The path from $$J$$ to $$B$$ to $$F$$ has length $$JH.\ \therefore$$ all paths to and from focus have the same length.

Using the Quadratic
In Theory --

1) The quadratic may be used to examine itself.

Let a quadratic equation be: $$y = x^2$$.

Let the equation of a line be: $$y = mx +c$$.

Let the line intersect the quadratic at $$(x_1, y_1)$$.

Therefore:


 * $$\begin{align}

y_1 = mx_1 + c\\ c = y_1 - mx_1\\ y = x^2 = mx + c = mx + (y_1-mx_1)\\ x^2 - mx - y_1 + mx_1 = 0 \end{align}$$

Let the line intersect the curve in exactly one place. Therefore $$x$$ must have exactly one value and the discriminant is $$0$$.


 * $$\begin{align}

m^2 - 4(mx_1 - y_1) = 0\\ m^2 - 4mx_1 + 4y_1 = 0\\ m^2 - 4mx_1 + 4x_1^2 = 0\\ (m-2x_1)^2 = 0\\ m = 2x_1 \end{align}$$

A line that touches the curve at $$x_1, y_1$$ has slope $$2x_1$$.

Therefore the slope of the curve at $$x_1,y_1$$ is $$2x_1$$. This examination of the curve has produced the slope of the curve without using calculus.

Consider the curve: $$y = Ax^2 + Bx + C$$. The aim is to calculate the slope of the curve at an arbitrary point $$(x_1, y_1)$$.


 * $$\begin{align}

Ax^2 + Bx + C = mx + c\\ Ax^2 + Bx + C = mx + (y_1 - mx_1)\\ Ax^2 + Bx + C - mx - y_1 + mx_1 = 0\\ Ax^2 + Bx - mx + C - y_1 + mx_1 = 0\\ Ax^2 + (B-m)x + (C - y_1 + mx_1) = 0 \end{align}$$

If $$x$$ is to have exactly one value, discriminant $$= (B-m)^2 - 4(A)(C - y_1 + mx_1) = 0$$.

Therefore $$BB-2Bm+mm - 4AC +4Ay_1 -4Amx_1 = 0$$

$$mm - 4Ax_1m -2Bm +BB -4AC +4Ay_1 = 0$$

$$mm - (4Ax_1 + 2B)m + (BB-4AC+4Ay_1) = 0$$

$$m = \frac{(4Ax_1+2B) \pm \sqrt{(4Ax_1+2B)^2 - 4(BB-4AC+4Ay_1)}}{2}$$

$$m = \frac{(4Ax_1+2B) \pm \sqrt{16AAx_1x_1 + 16ABx_1 + 4BB      - 4BB+16AC-16Ay_1}}{2}$$

$$m = \frac{(4Ax_1+2B) \pm 4\sqrt{AAx_1x_1 + ABx_1 +AC-Ay_1}}{2}$$

$$m = \frac{(4Ax_1+2B) \pm 4\sqrt{A(Ax_1^2 + Bx_1 +C-y_1)}}{2}$$

$$m = \frac{(4Ax_1+2B) \pm 4\sqrt{A(0)}}{2}$$

$$m = 2Ax_1+B.$$

The slope of the curve at an arbitrary point $$(x_1,y_1) = 2Ax_1 + B$$.

For more information see earlier version of "Using the Quadratic."

2) The quadratic may be used to examine other curves, for example, the circle.

Define a circle of radius 5 at the origin:

$$\sqrt{x^2 + y^2} = 5$$

$$x^2 + y^2 = 25$$

Move the circle to $$(8,3)$$

$$(x-8)^2 + (y-3)^2 = 25$$

$$x^2 - 16x + 64 + y^2 - 6y + 9 = 25$$

$$x^2 - 16x + y^2 - 6y + 48 = 0$$

We want to know the values of $$x$$ that contain the circle, that is, the values of $$x$$ for each of which there is only one value of $$y$$.

Put the equation of the circle into a quadratic in $$y$$.

$$y^2 - 6y + x^2 - 16x + 48 = 0$$

$$A=1,\ B= -6,\ C=x^2 - 16x + 48$$

There is exactly one value of $$y$$ if the discriminant is $$0$$. Therefore

$$(-6)(-6) - 4(x^2 - 16x + 48) = 0$$

$$36 -4(x^2 - 16x + 48) = 0$$

$$-9 + x^2 - 16x + 48 = 0$$

$$x^2 - 16x + 39 = 0$$

$$(x-3)(x-13) = 0$$

$$x_1 = 3,\ x_2 = 13$$

These values of $$x$$ make sense because we expect the values of $$x$$ to be $$8 \pm 5$$. This process has calculated a minimum point and a maximum point without calculus.

3) The formula remains valid for $$B$$ and/or $$C$$ equal to $$0$$. Under these conditions you probably won't need the formula. For example $$Ax^2 + Bx$$ can be factored by inspection as $$x(Ax+b)$$.

4) The quadratic can be used to solve functions of higher order.

One of the solutions of the cubic depends on the solution of a sextic in the form $$Ax^6 + Bx^3 + C = 0$$. This is the quadratic $$AX^2 + BX + C$$ where $$X = x^3$$.

The cubic function $$x^3 + 6x^2 + 13x + 10$$ produces the depressed function $$t^3 + 9t = t(t^2 + 9)$$.

The quadratic $$t^2+9 = 0$$ is solved as $$t^2 = -9,\ t=\sqrt{-9} = \pm 3i$$. $$$$ The roots of the depressed function are $$t_1 = 0,\ t_2 = 3i,\ t_3 = -3i$$.

Using $$x = \frac{-B+t}{3A}$$

$$x_1 = \frac{-6+0}{3} = -2$$

$$x_2=\frac{-6+3i}{3} = -2+i$$

$$x_3 = -2-i$$

In this example the quadratic, as part of the depressed function, simplified the solution of the cubic.

The quartic function $$x^4 + 4x^3 + 17x^2 + 26x + 11$$ produces the depressed function $$t^4 + 176t^2 - 256$$ which is the quadratic $$T^2 + 176T -256$$ where $$T=t^2$$.

5) The quadratic appears in Newton's Laws of Motion: $$s = ut + \frac{1}{2}at^2$$

The General Quadratic
See Quadratic Equation:"Quadratic as Parabola" above.

See also Parabola:"Reverse-Engineering the Parabola", Method 2.

Reverse-Engineering the Parabola
See Parabola:"Reverse-Engineering the Parabola".

Area enclosed between parabola and chord
See Parabola:"Area enclosed between parabola and chord".