4.1 Linear and Quadratic Functions

Key Takeaways

  • Linear functions f(x)=mx+bf(x) = mx + b have a constant rate of change mm, where parallel lines share equal slopes (m1=m2m_1 = m_2) and perpendicular lines have negative reciprocal slopes (m1m2=−1m_1 m_2 = -1).

  • Every quadratic function f(x)=ax2+bx+cf(x) = ax^2 + bx + c can be rewritten in vertex form f(x)=a(x−h)2+kf(x) = a(x - h)^2 + k via completing the square, with vertex at (h,k)=(−b2a,f(−b2a))(h, k) = \left(-\frac{b}{2a}, f\left(-\frac{b}{2a}\right)\right).

  • The discriminant Δ=b2−4ac\Delta = b^2 - 4ac determines the nature of quadratic roots: two distinct real roots if Δ>0\Delta > 0, one repeated real root if Δ=0\Delta = 0, and two complex conjugate roots if Δ<0\Delta < 0.

  • The absolute maximum or minimum of a quadratic function occurs at the vertex x=−b/(2a)x = -b/(2a), serving as the primary analytical tool for real-world optimization problems.

  • The axis of symmetry x=hx = h bisects the parabola vertically, ensuring xx-intercepts (if real) are located symmetrically at h±Δ2ah \pm \frac{\sqrt{\Delta}}{2a}.

Last updated: August 2026

4.1 Linear and Quadratic Functions

Polynomial functions form the foundation of algebraic analysis in Precalculus. The simplest non-trivial polynomials are linear functions (degree 1) and quadratic functions (degree 2). Mastering their structural forms, graphical behaviors, and analytical properties is essential for CLEP Precalculus success.


1. Linear Functions: Rates of Change and Structural Forms

A linear function is any function that can be expressed in the form:

f(x)=mx+bf(x) = mx + b

where mm and bb are real constants. The parameter mm represents the slope (average rate of change), while bb represents the yy-intercept (0,b)(0, b).

Slope Definition and Properties

Given any two distinct points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) on a non-vertical line, the slope mm is defined as:

m=ΔyΔx=y2−y1x2−x1,where x1≠x2m = \frac{\Delta y}{\Delta x} = \frac{y_2 - y_1}{x_2 - x_1}, \quad \text{where } x_1 \neq x_2
  • Positive Slope (m>0m > 0): The line rises from left to right; the function is strictly increasing.
  • Negative Slope (m<0m < 0): The line falls from left to right; the function is strictly decreasing.
  • Zero Slope (m=0m = 0): The line is horizontal (y=by = b); the function is constant.
  • Undefined Slope: A vertical line (x=cx = c) has no defined slope and is not a function of xx.

Common Forms of Linear Equations

Depending on the given information, linear equations can be written in three primary algebraic forms:

FormAlgebraic EquationBest Used For
Slope-Intercept Formy=mx+by = mx + bDirect graphing, identifying slope mm and yy-intercept (0,b)(0,b)
Point-Slope Formy−y1=m(x−x1)y - y_1 = m(x - x_1)Constructing equations given slope mm and a point (x1,y1)(x_1, y_1)
Standard FormAx+By=CAx + By = CCalculating xx- and yy-intercepts quickly (A,B,C∈Z,A≥0A, B, C \in \mathbb{Z}, A \ge 0)

Parallel and Perpendicular Lines

Let Line 1 have slope m1m_1 and Line 2 have slope m2m_2:

  • Parallel Lines (∥\parallel): Two non-vertical lines are parallel if and only if their slopes are equal: m1=m2m_1 = m_2
  • Perpendicular Lines (⊥\perp): Two non-vertical lines are perpendicular if and only if their slopes are negative reciprocals: m1⋅m2=−1  ⟹  m2=−1m1m_1 \cdot m_2 = -1 \implies m_2 = -\frac{1}{m_1}

Key Concept: Horizontal lines (m=0m = 0) are perpendicular to vertical lines (undefined slope).


Step-by-Step Worked Example: Constructing Perpendicular Linear Equations

Problem: Find the equation of the line passing through the point P(−4,3)P(-4, 3) that is perpendicular to the line 3x−2y=83x - 2y = 8. Express your answer in slope-intercept form.

Solution:

  1. Find the slope of the given line: Convert 3x−2y=83x - 2y = 8 to slope-intercept form:

    −2y=−3x+8  ⟹  y=32x−4-2y = -3x + 8 \implies y = \frac{3}{2}x - 4

    The slope of the given line is m1=32m_1 = \frac{3}{2}.

  2. Determine the perpendicular slope: Taking the negative reciprocal:

    m⊥=−1m1=−23m_\perp = -\frac{1}{m_1} = -\frac{2}{3}
  3. Apply point-slope form with P(−4,3)P(-4, 3):

    y−3=−23(x−(−4))y - 3 = -\frac{2}{3}(x - (-4)) y−3=−23(x+4)y - 3 = -\frac{2}{3}(x + 4) y−3=−23x−83y - 3 = -\frac{2}{3}x - \frac{8}{3}
  4. Convert to slope-intercept form:

    y=−23x−83+93  ⟹  y=−23x+13y = -\frac{2}{3}x - \frac{8}{3} + \frac{9}{3} \implies y = -\frac{2}{3}x + \frac{1}{3}

2. Quadratic Functions: Forms, Graphs, and Characteristics

A quadratic function is a polynomial function of degree 2:

f(x)=ax2+bx+c(a≠0)f(x) = ax^2 + bx + c \quad (a \neq 0)

The graph of a quadratic function is a U-shaped curve called a parabola.

Standard Form vs. Vertex Form

While standard form f(x)=ax2+bx+cf(x) = ax^2 + bx + c explicitly exposes the yy-intercept (0,c)(0, c), vertex form exposes key graphical features:

f(x)=a(x−h)2+kf(x) = a(x - h)^2 + k

where (h,k)(h, k) is the vertex of the parabola.

  • Axis of Symmetry: The vertical line x=hx = h.
  • Direction of Opening:
    • If a>0a > 0, the parabola opens upward (∪\cup), and the vertex (h,k)(h, k) is the absolute minimum.
    • If a<0a < 0, the parabola opens downward (∩\cap), and the vertex (h,k)(h, k) is the absolute maximum.

Converting Standard Form to Vertex Form (Completing the Square)

From standard form f(x)=ax2+bx+cf(x) = ax^2 + bx + c, the vertex coordinates (h,k)(h, k) can be calculated directly:

h=−b2a,k=f(h)=c−b24ah = -\frac{b}{2a}, \quad k = f(h) = c - \frac{b^2}{4a}

Alternatively, complete the square algebraically:

  1. Factor aa out of the first two terms: f(x)=a(x2+bax)+cf(x) = a\left(x^2 + \frac{b}{a}x\right) + c.
  2. Add and subtract (b2a)2\left(\frac{b}{2a}\right)^2 inside the parentheses.
  3. Factor the perfect square trinomial to obtain f(x)=a(x−h)2+kf(x) = a(x - h)^2 + k.

Zeros and the Discriminant

The xx-intercepts (zeros) of f(x)=ax2+bx+cf(x) = ax^2 + bx + c are found by solving ax2+bx+c=0ax^2 + bx + c = 0 using the Quadratic Formula:

x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

The expression under the radical is the discriminant, denoted Δ=b2−4ac\Delta = b^2 - 4ac:

Discriminant ValueNature of ZerosNumber of xx-intercepts
Δ>0\Delta > 02 distinct real roots2 distinct xx-intercepts
Δ=0\Delta = 01 repeated real root (multiplicity 2)1 xx-intercept (vertex touches xx-axis)
Δ<0\Delta < 02 complex conjugate roots (a±bia \pm bi)0 xx-intercepts

Step-by-Step Worked Example: Vertex Form and Intercept Analysis

Problem: Given f(x)=−2x2+12x−10f(x) = -2x^2 + 12x - 10, (a) rewrite f(x)f(x) in vertex form, (b) identify the vertex, axis of symmetry, domain, and range, and (c) find all xx- and yy-intercepts.

Solution:

  1. Rewrite in vertex form via completing the square:

    f(x)=−2(x2−6x)−10f(x) = -2(x^2 - 6x) - 10

    Half of −6-6 is −3-3, and (−3)2=9(-3)^2 = 9. Add and subtract 99 inside:

    f(x)=−2(x2−6x+9−9)−10f(x) = -2(x^2 - 6x + 9 - 9) - 10 f(x)=−2(x2−6x+9)+18−10f(x) = -2(x^2 - 6x + 9) + 18 - 10 f(x)=−2(x−3)2+8f(x) = -2(x - 3)^2 + 8
  2. Identify key properties:

    • Vertex: (h,k)=(3,8)(h, k) = (3, 8).
    • Axis of Symmetry: x=3x = 3.
    • Opening: Since a=−2<0a = -2 < 0, the parabola opens downward.
    • Extremum: Absolute maximum of y=8y = 8 at x=3x = 3.
    • Domain: (−∞,∞)(-\infty, \infty).
    • Range: (−∞,8](-\infty, 8].
  3. Find Intercepts:

    • yy-intercept: Evaluate f(0)=−2(0)2+12(0)−10=−10  ⟹  (0,−10)f(0) = -2(0)^2 + 12(0) - 10 = -10 \implies (0, -10).
    • xx-intercepts: Set f(x)=0f(x) = 0: −2(x−3)2+8=0  ⟹  −2(x−3)2=−8  ⟹  (x−3)2=4-2(x - 3)^2 + 8 = 0 \implies -2(x - 3)^2 = -8 \implies (x - 3)^2 = 4 x−3=±2  ⟹  x=3±2x - 3 = \pm 2 \implies x = 3 \pm 2 The xx-intercepts are (1,0)(1, 0) and (5,0)(5, 0).

3. Real-World Optimization with Quadratic Functions

Quadratic optimization models real-world problems where a quantity reaches a maximum or minimum value. Because the absolute extremum of a parabola occurs strictly at its vertex (h,k)(h, k), optimization problems reduce to evaluating h=−b2ah = -\frac{b}{2a} and computing k=f(h)k = f(h).

Optimization Steps:

  1. Identify the quantity to be optimized and set up an equation in terms of one variable.
  2. Ensure the resulting function is quadratic: f(x)=ax2+bx+cf(x) = ax^2 + bx + c.
  3. Check the leading coefficient aa:
    • If a<0a < 0, the vertex yields the maximum value kk at x=hx = h.
    • If a>0a > 0, the vertex yields the minimum value kk at x=hx = h.
  4. Interpret the solution within the physical domain constraints.

Step-by-Step Worked Example: Revenue Optimization

Problem: A theater company determines that at a ticket price of $20\text{\textdollar}20, they sell 400400 tickets per performance. For each $1\text{\textdollar}1 increase in ticket price, they lose 1010 attendees. What ticket price maximizes total revenue, and what is the maximum revenue?

Solution:

  1. Define the variable: Let xx be the number of $1\text{\textdollar}1 price increases.

    • New price per ticket: P(x)=20+xP(x) = 20 + x
    • Number of tickets sold: N(x)=400−10xN(x) = 400 - 10x
  2. Formulate Revenue function R(x)=P(x)⋅N(x)R(x) = P(x) \cdot N(x):

    R(x)=(20+x)(400−10x)R(x) = (20 + x)(400 - 10x) R(x)=8000−200x+400x−10x2R(x) = 8000 - 200x + 400x - 10x^2 R(x)=−10x2+200x+8000R(x) = -10x^2 + 200x + 8000
  3. Find the vertex of R(x)R(x): Here a=−10a = -10, b=200b = 200, c=8000c = 8000.

    h=−b2a=−2002(−10)=10h = -\frac{b}{2a} = -\frac{200}{2(-10)} = 10
  4. Calculate optimal price and maximum revenue:

    • Optimal number of price increases: x=10x = 10.
    • Optimal ticket price: P(10)=20+10=$30P(10) = 20 + 10 = \text{\textdollar}30.
    • Maximum revenue: R(10)=−10(10)2+200(10)+8000=−1000+2000+8000=$9,000R(10) = -10(10)^2 + 200(10) + 8000 = -1000 + 2000 + 8000 = \text{\textdollar}9,000.

4. Common CLEP Pitfalls & Exam Traps

Trap 1: Confusing "Where the extremum occurs" with "What the extremum is". If a question asks for the maximum value of f(x)=−3(x−4)2+15f(x) = -3(x - 4)^2 + 15, the answer is y=15y = 15 (kk), NOT x=4x = 4 (hh). x=4x = 4 is where it occurs.

Trap 2: Sign Errors in Completing the Square. When factoring out a negative leading coefficient, ensure you flip the sign of the linear coefficient. For f(x)=−2x2+12xf(x) = -2x^2 + 12x, factor out −2-2 to get −2(x2−6x)-2(x^2 - 6x), NOT −2(x2+6x)-2(x^2 + 6x).

Trap 3: Misinterpreting Perpendicular Slopes. The perpendicular slope of m=−14m = -\frac{1}{4} is +4+4, not +14+\frac{1}{4} (must negate AND invert).

Test Your Knowledge

What is the maximum value of the quadratic function f(x)=−3x2+12x−5f(x) = -3x^2 + 12x - 5?

A

7

B

2

C

-5

D

12

Test Your Knowledge

Which equation represents the line passing through (6,−1)(6, -1) that is perpendicular to 2x+3y=92x + 3y = 9?

A

y=−23x+3y = -\frac{2}{3}x + 3

B

y=32x−10y = \frac{3}{2}x - 10

C

y=32x+8y = \frac{3}{2}x + 8

D

y=−32x+8y = -\frac{3}{2}x + 8

Test Your Knowledge

Which of the following describes the roots of the quadratic equation 4x2−12x+9=04x^2 - 12x + 9 = 0?

A

Two distinct real irrational roots

B

Two complex conjugate roots

C

One repeated real rational root

D

Two distinct real rational roots

Test Your Knowledge

A company models its daily profit P(x)P(x) in dollars from selling xx units as P(x)=−0.5x2+40x−300P(x) = -0.5x^2 + 40x - 300. How many units must be sold to maximize daily profit?

A

20 units

B

80 units

C

500 units

D

40 units

Sections you finish are checked off in the contents.