Precalculus · Functions and domains

How to Evaluate a Quadratic Function

Problem

f(x)=2x2−3x+1,x=2f(x) = 2x^2 - 3x + 1,\quad x = 2

Answer

f(2)=3f(2) = 3

A function is a rule that pairs each input with one output. To evaluate it, substitute the input and simplify using the order of operations.

Step-by-step solution

  1. Substitute 2 for every x.

    f(2)=2(2)2−3(2)+1f(2) = 2(2)^2 - 3(2) + 1

    Why: Evaluating a function means replacing the input everywhere it appears.

  2. Apply the exponent.

    2(4)−3(2)+12(4) - 3(2) + 1

    Why: Exponents come before multiplication in the order of operations.

  3. Multiply.

    8−6+18 - 6 + 1

    Why: Each term is now a single number.

  4. Add and subtract from left to right.

    8−6+1=38 - 6 + 1 = 3

    Why: Left-to-right order gives the same result as combining carefully.

Common mistakes

  • Squaring 2x and getting 4x squared. Only x is squared.
  • Writing -3(2) as +6. The coefficient keeps its negative sign.
  • Doing 8 - (6 + 1) instead of 8 - 6 + 1. Addition and subtraction go left to right.

Practice problems

Use the same method. Work each problem on paper, then open the answer to check.

  1. f(1)f(1)

    Show answer

    00

  2. f(0)f(0)

    Show answer

    11

  3. f(−1)f(-1)

    Show answer

    66

  4. f(3)f(3)

    Show answer

    1010

  5. f(−2)f(-2)

    Show answer

    1515