Algebraic Functions Explained: Notation, Graphs, Examples
Algebraic functions are a formal way to describe a rule: put a number in, get exactly one number out, every time. This post covers what the notation actually means, how to evaluate a function at a given input, how to find its domain, how a linear function's graph differs from a quadratic one, and a quick test for whether something is a function at all. Two worked examples show the ideas in practice.

Key takeaways
- names a rule, not a multiplication; it means "the output of function when the input is ."
- Evaluating a function means substituting a specific number everywhere the input variable appears, then simplifying.
- A function's domain is every input value it is allowed to accept; some expressions, like a square root or a fraction, restrict that domain.
- A linear function graphs as a straight line; a quadratic function graphs as a curve called a parabola.
- The vertical line test tells you whether a graph is a function at all: one input can only ever produce one output.
Function notation: what f(x) means
A function is a rule that takes an input and produces exactly one output. The notation names that rule and shows which input it is being applied to: describes a rule where you double the input and add 1. Writing means apply that rule to the input 3, not multiply by 3.
This is the same underlying idea as an equation, just used differently. An equation like asks you to find the input that produces a specific output. A function describes the rule itself, for any input at all, which is why function notation is so useful once you start comparing different rules or graphing them. The building blocks behind this notation, variables, equations, and expressions, are covered from the start in Basics of Algebra: Variables, Equations and Functions.
Evaluating a function step by step
Evaluating a function means substituting a specific value for the input variable everywhere it appears in the rule, then simplifying using the normal order of operations. If , finding means replacing every with : .
The most common slip here is applying the exponent to the wrong part of the expression, especially when the input itself is negative. for the same function means , and the exponent applies to as a whole, giving , the same result as in this case since squaring removes the negative sign.
Domain: what x is allowed to be
The domain of a function is the complete set of input values it can accept without breaking any math rule. A function like has no restrictions at all; any real number can go in. Restrictions show up with certain kinds of expressions: a fraction cannot have a denominator of zero, and a square root cannot contain a negative number.
For , the input would make the denominator zero, so 3 is excluded from the domain, and every other real number is allowed. For a function involving a square root, like the one in the worked examples below, the expression under the root has to stay zero or positive, which restricts the domain to a range of values rather than excluding a single point. Solving for the number of inputs that satisfy a given equation, rather than the allowed range for a function, is covered separately in How Many Solutions Does an Equation Have? One, None, Many.
Linear vs quadratic functions: how the graphs differ
A linear function has the form , where is the slope and is the value where the graph crosses the vertical axis. Its graph is a straight line, and its rate of change is constant: every time increases by 1, the output changes by exactly , no matter where you are on the line.
A quadratic function has the form , and its graph is a curve called a parabola, opening upward when is positive and downward when is negative. Unlike a linear function, the rate of change is not constant: the output changes more quickly as moves further from the parabola's turning point. This is the visible reason a quadratic graph curves while a linear one stays straight. For more practice telling different function types apart, see Algebra Examples With Answers: 12 Problems Worked Out.
The vertical line test
Not every graph represents a function. A function requires that each input produce exactly one output, so on a graph, that means no vertical line should ever cross the curve more than once. If a vertical line crosses the graph twice, that x-value would correspond to two different y-values, which breaks the definition of a function.
A circle is the classic example of a graph that fails this test: a vertical line through the middle of a circle crosses it twice, once above the center and once below, so a circle is not the graph of a function. A parabola that opens upward or downward, by contrast, passes the test, since any vertical line touches it at most once.
Worked examples
Example 1: evaluate for
- Substitute everywhere appears in the function.
- Apply the exponent before multiplying, following the order of operations.
- Multiply each term, then add and subtract from left to right.
So . Check it by substituting again in a slightly different order: , , and , which matches.
Example 2: find the domain of
- Recall that a square root cannot contain a negative number, so the expression inside the root has to be zero or positive.
- Add 4 to both sides to solve for .
So the domain is every real number . Check the boundary: at , the expression under the root is , and is a valid output. At , just below the boundary, the expression is , and a square root of a negative number is not a real number, confirming the domain starts exactly at 4.
Common mistakes
- Reading as multiplied by , instead of as a single name for a function's output at input .
- Squaring only part of a negative input, instead of squaring the entire substituted value.
- Assuming every function has an unrestricted domain, without checking for a denominator that could equal zero or a square root that could go negative.
- Confusing the domain, the allowed inputs, with the range, the resulting outputs, which describe two different things about the same function.
- Assuming any curve on a graph is automatically a function, without applying the vertical line test first.
Functions built from a single input variable are the foundation for working with two variables at once, covered in Algebra With x and y: Two Variables Without the Panic. Scan a function problem you are stuck on and read every step in AI Math Tutor.
AI Math Tutor is a study aid, not a substitute for a teacher, and it can make mistakes: check every step, not just the answer.
Questions
What does f(x) actually mean?
f(x) is a name for a rule that turns an input, x, into exactly one output. It is read as 'f of x,' and it does not mean f multiplied by x. If , then means substitute 3 everywhere x appears, which gives .
What is the domain of a function?
The domain is the full set of input values a function is allowed to accept. Most algebraic functions accept every real number, but some are restricted, such as a function with a square root, which cannot accept an input that makes the expression under the root negative.
How can you tell if a graph represents a function at all?
Use the vertical line test: if any vertical line drawn through the graph touches the curve more than once, the graph is not a function, because that would mean one input produces more than one output. If every vertical line touches the curve at most once, it is a function.
What is the difference between a linear and a quadratic function?
A linear function has the form and graphs as a straight line, with a constant rate of change. A quadratic function has the form and graphs as a curved parabola, where the rate of change itself keeps changing as x changes.