Section 2.2 Quadratic Functions and Conics
Problem: A hockey team plays in an arena that has a seating capacity of 15,000 spectators. With the ticket price set at $50, average attendance at recent games has been 10,500. A market survey indicates that for each dollar the ticket price is lowered, the average attendance increases by 100. Find a function that models the revenue in terms of ticket price.Art is not a mirror to reflect the world, but a hammer with which to shape it. β Vladimir Vladimirovich Mayakovsky, Russian poet, playwright, artist, and stage and film actor, 1893 β1930
SolutionImportant observation: It is natural to ask the following question: Which value of x will give the maximum value of R(x)? Calculus will give you a simple tool to answer this type of questions. Quadratic Function: A quadratic function is a function f of the formLet \(x\) represent the ticket price in dollars and let \(a(x)\) represent the average attendance at the price \(x\text{.}\)
Observe that, since for each dollar the ticket price is lowered, the average attendance increases (or decreases, if the price goes over \(\$ 50\)) by \(100\text{,}\) the attendance with the ticket price of \(x\) dollars is given by
\begin{equation*} a(x)=10500+100(50-x)=100(155-x). \end{equation*}Note that the domain of the function \(a(x)\) is the price range that makes sense in this particular situation. In other words, the price \(x\) should satisfy these two conditions:
The price should not be lower than the price, call it \(p\text{,}\) that guarantees the full arena, i.e. \(15,000\) spectators in the audience.
To find the value of \(p\) we solve the equation \(a(p)=100(155-p)=15000\text{.}\) It follows that \(p=5\text{.}\)
The price should be lower than the price, call it \(P\text{,}\) that would make the arena empty.
To find the value of \(P\) we solve the equation \(a(P)=100(155-P)=0\text{.}\) It follows that \(P=155\text{.}\)
This means that \(x\in [5,155)\text{.}\)
The revenue is given as the product of the ticket price and the number of the people in the attendance.
Hence the function
\begin{equation*} R(x)=x\cdot a(x)=x\cdot100(155-x)=100(155x-x^2) \end{equation*}models the revenue \(R(x)\) in terms of the ticket price \(x\text{.}\)
Example 2.2.1. Quadratic or not.
Which of the following functions is NOT a quadratic function:
f(x)=x2+2x+1
f(x)=(x+1)2
f(x)=1x2+2x+1
f(x)=2x+x2+1
The function \(\displaystyle f(x)= \frac{1}{x^2+2x+1}\) is not quadratic because it is not in the form \(y=ax^2+bx+c\text{.}\)
Later in the course we will learn that \(f\) is a soβcalled rational function.
-
Check that for any a,b,c,xβR, aβ 0,
ax2+bx+c=a(x+b2a)2βb2β4ac4a.SolutionNote that
\begin{equation*} a\left( x+\frac{b}{2a}\right)^2-\frac{b^2-4ac}{4a}=a\left( x^2+2\cdot x\cdot \frac{b}{2a}+\left( \frac{b}{2a}\right)^2\right)-\frac{b^2-4ac}{4a} \end{equation*}\begin{equation*} =ax^2+bx+a\cdot \frac{b^2}{4a^2}-\frac{b^2-4ac}{4a}=ax^2+bx+\frac{b^2}{4a}-\frac{b^2-4ac}{4a} \end{equation*}\begin{equation*} =ax^2+bx+\frac{b^2-(b^2-4ac)}{4a}=ax^2+bx+\frac{b^2-b^2+4ac}{4a} \end{equation*}\begin{equation*} =ax^2+bx+\frac{4ac}{4a}=ax^2+bx+c. \end{equation*}Important: You are expected to know the following identities
\((x+y)^2=x^2+2xy+y^2\) β the square of a sum
\((x-y)^2=x^2-2xy+y^2\) β the square of a difference
-
Complete the square, i.e. reβwrite the function f(x)=2x2β5x+2 in the form
f(x)=A(x+B)2+C.SolutionWe use the previous example.
Note that if \(f(x)=2x^2-5x+2\) then \(a=2\text{,}\) \(b=-5\text{,}\) and \(c=2\text{.}\)
This implies that
\(A=a\text{,}\) \(B=\frac{b}{2a}=\frac{-5}{4}=-\frac{5}{4}\text{,}\) and \(C=-\frac{b^2-4ac}{4a}=-\frac{25-4\cdot 2\cdot 2}{4\cdot 2}=-\frac{9}{8}\text{.}\)
Hence
\begin{equation*} f(x)=2x^2-5x+2=2\left( x-\frac{5}{4}\right)^2 -\frac{9}{8}. \end{equation*} -
Draw a graph of the function f(x)=2x2β5x+2.
SolutionFrom
\begin{equation*} f(x)=2x^2-5x+2=2\left( x-\frac{5}{4}\right)^2 -\frac{9}{8} \end{equation*}we observe that we can obtained the graph of \(f\) by using transformations of functions:
Step 1. Start with the function \(g(x)=x^2\text{.}\)
Step 2. Obtain the graph of \(\displaystyle h(x)=g\left( x-\frac{5}{4}\right)=\left( x-\frac{5}{4}\right)^2\) by horizontally shifting the graph of \(g\) by \(\displaystyle \frac{5}{4}\) to the right.
Step 3. Obtain the graph of \(\displaystyle i(x)=2\cdot h(x)= 2\cdot \left( x-\frac{5}{4}\right)^2\) by vertically stretching the graph of \(h\) by factor 2.
Step 4. Obtain the graph of \(\displaystyle f(x)=i(x) -\frac{9}{8}= 2\cdot \left( x-\frac{5}{4}\right)^2 -\frac{9}{8}\) by vertically shifting the graph of \(i\) downwards by \(\displaystyle \frac{9}{8}\text{.}\)
See Figure 2.14.
Figure 2.14. The graph of \(\displaystyle f(x)=2x^2-5x+2=2\left(x-\frac{5}{4}\right)^2-\frac{9}{8}\text{.}\)
-
What is the domain of the function f?
SolutionThe domain of the function \(f\) is the set \(\mathbb{R}\text{,}\) the set of all real numbers.
-
Find the zeros of the function f, i.e., solve the equation f(x)=0.
Solution
From
\begin{equation*} f(x)=0\Leftrightarrow a\left( x+\frac{b}{2a}\right)^2-\frac{b^2-4ac}{4a}=0\Leftrightarrow a\left( x+\frac{b}{2a}\right)^2=\frac{b^2-4ac}{4a} \end{equation*}we conclude that
\begin{equation*} f(x)=0\Leftrightarrow \left( x+\frac{b}{2a}\right)^2=\frac{b^2-4ac}{4a^2}. \end{equation*}Note that \(\displaystyle \left( x+\frac{b}{2a}\right)^2\geq 0\) for all \(x\in \mathbb{R}\text{.}\) Also since \(4a^2\gt 0\) we have that
\begin{equation*} \frac{b^2-4ac}{4a^2}\geq 0 \Leftrightarrow b^2-4ac\geq 0. \end{equation*}Summary:
b2β4ac>0Two solutions: x=βb+βb2β4ac2a and x=βbββb2β4ac2ab2β4ac=0One solution: x=βb2ab2β4ac<0No solution -
Evaluate f(βb2a).
SolutionFrom
\begin{equation*} f(x)=a\left( x+\frac{b}{2a}\right)^2-\frac{b^2-4ac}{4a} \end{equation*}it follows that
\begin{equation*} f\left(-\frac{b}{2a}\right)=a\left( -\frac{b}{2a}+\frac{b}{2a}\right)^2-\frac{b^2-4ac}{4a} =-\frac{b^2-4ac}{4a}. \end{equation*} -
Check the following two facts and discuss the intervals of increase and decrease in each case:
-
If aβ₯0 then, for all xβ βb2a, f(x)>βb2β4ac4a.
SolutionWe observe that if \(\displaystyle x\not=-\frac{b}{2a}\) then \(\displaystyle x+\frac{b}{2a}\not=0\) and
\begin{equation*} \left( x+\frac{b}{2a}\right)^2>0. \end{equation*}This together with \(a\gt 0\) implies that
\begin{equation*} a\cdot \left( x+\frac{b}{2a}\right)^2>0. \end{equation*}Consequently
\begin{equation*} f(x)=a\left( x+\frac{b}{2a}\right)^2-\frac{b^2-4ac}{4a}>-\frac{b^2-4ac}{4a}. \end{equation*}In other words, if \(\displaystyle x\not=-\frac{b}{2a}\) then
\begin{equation*} f(x)>f\left(-\frac{b}{2a}\right) \end{equation*}or, for all \(x\in \mathbb{R}\text{,}\)
\begin{equation*} f(x)\geq f\left(-\frac{b}{2a}\right). \end{equation*} -
If a<0 then, for all xβ βb2a, f(x)<βb2β4ac4a.
SolutionUse the same reasoning as the above to prove the required inequality.
-
-
Let a>0. Then
Figure 2.15. If a>0 then the graph of f is a βsmiley parabolaβ. -
Let a<0. Then
Figure 2.16. If a<0 then the graph of f is a βsad parabolaβ.
-
A circle is the set of all points in a plane that are at a given distance from a given point, the centre.The distance between any of the points and the centre is called the radius of the circle.
See Figure 2.18.
Figure 2.18. A circle. -
Evaluate the distance between the two points, A=(x1,y1) and B=(x2,y2), i.e., find the length of the line segment Β―AB.
See Figure 2.19.
Figure 2.19. We use the Pythagorean theorem β the most famous theorem of all time. By the Pythagorean Theorem the distance between A=(x1,y1) and B=(x2,y2) is given by:
d=β(x2βx1)2+(y2βy1)2.YOU MUST KNOW THE DISTANCE FORMULA!
-
The equation of the circle with the centre at the point (a,b) and the radius r is given by
(xβa)2+(yβb)2=r2.
Example 2.2.2. Circles.
-
Draw the following circles:
The unit circle: x2+y2=1,
(xβ2)2+y2=2,
(xβ1)2+(yβ1)2=2.
Write the equation of the circle with the centre at the point (β1,1) and radius r=Ο.
Find the centre and the radius of the circle x2+2x+y2β6y=0.
-
The unit circle is a circle centred at the origin and a radius equal to 1.
The circle given by \((x-2)^2+y^2=2\) is centred at \((2,0)\) with the radius \(r=\sqrt{2}\text{.}\)
The circle given by \((x-1)^2+(y-1)^2=2\) is centred at \((1,1)\) with the radius \(r=\sqrt{2}\text{.}\)
See Figure 2.20.
Figure 2.20. Three circles. An equation of the circle with the centre at the point \((-1,1)\) and radius \(r=\pi\) is given by \((x+1)^2+(x-1)^2=\pi^2\text{.}\)
-
Observe that
\begin{equation*} x^2+2x+y^2-6y=0\Leftrightarrow (x^2+2x+1)-1+(y^2-6y+9)-9=0\Leftrightarrow (x+1)^2+(y^2-3)^2=10. \end{equation*}Hence the centre of the circle is at the point \((-1,3)\) and the radius is \(r=\sqrt{10}\text{.}\)
-
An ellipse is the set of all points in a plane with the property that the sum of the distances to two given points equals to the given number.
See Figure 2.21.
Figure 2.21. An ellipse -
Many ways to draw an ellipse:
-
The standard form of the equation of an ellipse centred at the origin is
x2a2+y2b2=1See Figure 2.22.
Figure 2.22. The ellipse x2a2+y2b2=1
-
A hyperbola is the set of all points in a plane with the property that the absolute value of the difference of the distances to two given points equals to the given number.
See Figure 2.23.
Figure 2.23. A hyperbola -
Many ways to draw an hyperbola:
-
The standard form of the equation of an ellipse centred at the origin is
x2a2+y2b2=1See Figure 2.24.
Figure 2.24. The ellipse x2a2+y2b2=1 -
The standard form of the equation of a hyperbola centred at the origin is
x2a2βy2b2=1See Figure 2.24.
Figure 2.25. The hyperbola x2a2βy2b2=1