Functions Example

A function assigns exactly one output to each allowed input. Function notation such as f(−2) means evaluate the rule f at x = −2; it does not mean multiply f by −2. This example substitutes a negative input into a quadratic, uses parentheses to preserve the sign, and checks the result term by term.

If f(x) = 2x² − 3x + 1, find f(−2)

Replace every x in the function rule with −2. Keep the negative input in parentheses, then follow exponents before multiplication and addition.

f(x)=2x2−3x+1,f(−2)=?f(x)=2x^2-3x+1,\qquad f(-2)=?
Key facts used in this example
Function rulef(x) = 2x² − 3x + 1
Inputx = −2
Substitutionf(−2) = 2(−2)² − 3(−2) + 1
Order of operationsPowers, multiplication, then addition

Step-by-step solution

  1. 1

    Substitute the input

    Replace x with −2 everywhere it appears. Parentheses make clear that the entire negative number is being squared.

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

    Evaluate the exponent

    The square of a negative number in parentheses is positive: (−2)² = 4.

    f(−2)=2(4)−3(−2)+1f(-2)=2(4)-3(-2)+1
  3. 3

    Multiply

    Calculate each product: 2 × 4 = 8 and (−3) × (−2) = 6.

    f(−2)=8+6+1f(-2)=8+6+1
  4. 4

    Add the terms

    Combine the three values to get the function output.

    f(−2)=8+6+1=15f(-2)=8+6+1=15

ANSWER

f(−2) = 15

The function maps the input −2 to the output 15. In coordinate form, the graph contains the point (−2, 15).

f(−2)=15\boxed{f(-2)=15}

Check the signs

The squared term is positive, and the product of two negative factors in −3(−2) is also positive. Adding 8, 6, and 1 confirms the output.

2(−2)2=8,−3(−2)=6,8+6+1=152(-2)^2=8,\qquad -3(-2)=6,\qquad 8+6+1=15