For full functionality of this site it is necessary to enable JavaScript. Here are the instructions how to enable JavaScript in your web browser.

Section 1.5: Quadratics

Quadratics are transformations of the function \( f(x)=x^2 \). Quadratics commonly arise from problems involving area and projectile motion, providing some interesting applications.

Example 1

A backyard farmer wants to enclose a rectangular space for a new garden. She has purchased 80 feet of wire fencing to enclose three sides, and will put the fourth side against the backyard fence. Find a formula for the area enclosed by the fence if the sides of fencing perpendicular to the existing fence have length \(L\).

In a scenario like this involving geometry, it is often helpful to draw a picture. It might also be helpful to introduce a temporary variable, \(W\), to represent the side of fencing parallel to the fourth side or backyard fence.

fence

Since we know we only have 80 feet of fence available, we know that \( L+W+L=80 \), or more simply, \( 2L+W=80 \). This allows us to represent the width, \(W\), in terms of \(L\): \( W=80-2L \)

Now we are ready to write an equation for the area the fence encloses. We know the area of a rectangle is length multiplied by width, so \( A=LW=L(80-2l) \), so \[ A(L)=80L-2L^2. \] This formula represents the area of the fence in terms of the variable length \(L\).

Example 2

A local newspaper currently has 84,000 subscribers, at a quarterly charge of $30. Market research has suggested that if they raised the price to $32, they would lose 5,000 subscribers. Assuming that subscriptions are linearly related to the price, create an equation to model their revenue as a function of the quarterly charge.

Revenue is the amount of money a company brings in. In this case, the revenue can be found by multiplying the charge per subscription times the number of subscribers. We can introduce variables, C for charge per subscription and S for the number subscribers, giving us the equation:

Revenue = \(C S\)

Since the number of subscribers changes with the price, we need to find a relationship between the variables.

We know that currently \(S = 84,000\) and \(C = 30\), and that if they raise the price to $32 they would lose 5,000 subscribers, giving a second pair of values, \(S = 79,000\) and \(C = 32\). From this we can find a linear equation relating the two quantities. Treating \(C\) as the input and \(S\) as the output, the equation will have form \(S = mC + b\). The slope will be

\[m = \dfrac{79,000 - 84,000}{32-30} = \dfrac{-5,000}{2} = -2,500\]

This tells us the paper will lose 2,500 subscribers for each dollar they raise the price. We can then solve for the vertical intercept.
\[S = -2500C + b\]

Plug in the point \(S = 84,000\) and \(C = 30\)
\[84000 = -2500(30) + b\]

Solve for \(b\)
\[b = 159,000\]

This gives us the linear equation \(S = -2,500C + 159,000\) relating cost and subscribers. Note this is a demand equation where \(C\) is the price and \(S\) is the quantity demanded. We now return to our revenue equation.

Revenue = \(C S\)

Substituting the equation for S from above:
Revenue = \(C \left(-2,500C + 159,000\right)\)

Expanding
Revenue = \(-2,500C^2 + 159,000C\)

We now have a quadratic equation for revenue as a function of the subscription charge. Later in the course we will use equations like this to determine the price to charge to maximize revenue.

Forms of Quadratic Functions

The standard form of a quadratic function is \( f(x)=ax^2+bx+c \).

The transformation form of a quadratic function is \( f(x)=a(x-h)^2+k \).

The vertex of the quadratic function is located at \((h, k)\), where \(h\) and \(k\) are the numbers in the transformation form of the function. Because the vertex appears in the transformation form, it is often called the vertex form.

Example 3

Write an equation for the quadratic graphed below as a transformation of \( f(x)=x^2 \).

graph

We can see the graph is the basic quadratic shifted to the left 2 and down 3, putting the vertex at \((-2, -3)\), giving a formula in the form \( g(x)=a(x+2)^2-3 \). By plugging in a point that falls on the grid, such as \((0,-1)\), we can solve for the stretch factor: \[\begin{align*} -1 & = a(0+2)^2-3 \\ 2 & = 4a \\ a & = \frac{1}{2} \end{align*}\]

The equation for this formula is \[ g(x)=\frac{1}{2}(x+2)^2-3 \]

Short run Behavior: Intercepts

As with any function, we can find the vertical intercepts of a quadratic by evaluating the function at an input of zero, and we can find the horizontal intercepts by solving for when the output will be zero. Notice that depending upon the location of the graph, we might have zero, one, or two horizontal intercepts.

zero horizontal intercepts
Zero horizontal intercepts
one horizontal intercept
One horizontal intercept
two horizontal intercepts
Two horizontal intercepts

Notice that in the standard form of a quadratic, the constant term c reveals the vertical intercept of the graph, since \( f(0)=a(0)^2+b(0)+c=c \).

Example 4

Find the vertical and horizontal intercepts of the quadratic \( f(x)=3x^2+5x-2 \).

We can find the vertical intercept by evaluating the function at an input of zero: \[f(0)=3(0)^2+5(0)-2=-2\] So the vertical intercept is at (0,-2)

For the horizontal intercepts, we solve for when the output will be zero: \[0=3x^2+5x-2.\] In this case, the quadratic can be factored easily, providing the simplest method for solution.: \[0=(3x-1)(x+2),\] so either \[ \begin{align*} 0 & = 3x-1\\ x & = \frac{1}{3} \end{align*} \] or \[ \begin{align*} 0 & = x+2\\ x & = -2 \end{align*} \] So the Horizontal intercepts are at \( \left(\frac{1}{3},0\right) \) and \((-2,0)\).

When a quadratic is not factorable or is hard to factor, we can turn to the quadratic formula.

Quadratic Formula

For a quadratic function given in standard form \( f(x)=ax^2+bx+c \), the quadratic formula gives the horizontal intercepts of the graph of this function:\[ x=\frac{-b\pm \sqrt{b^2-4ac}}{2a} \]

Example 5

A ball is thrown upwards from the top of a 40 foot high building at a speed of 80 feet per second. The ball’s height above ground can be modeled by the equation \[ H(t)=-16t^2+80t+40 .\] When does the ball hit the ground?

To find when the ball hits the ground, we need to determine when the height is zero, i.e., when \(H(t) = 0\). While we could do this using the transformation form of the quadratic, we can also use the quadratic formula: \[ t=\frac{-80\pm \sqrt{80^2-4(-16)(40)}}{2(-16)}=\frac{-80\pm\sqrt{8960}}{-32} \]

Since the square root does not simplify nicely, we can use a calculator to approximate the values of the solutions:\[ t=\frac{-80-\sqrt{8960}}{-32}\approx 5.458 \quad\text{or}\quad t=\frac{-80+\sqrt{8960}}{-32}\approx -0.458 \]

The second answer is outside the reasonable domain of our model, so we conclude the ball will hit the ground after about 5.458 seconds.