The main types of functions
Functions fall into two big groups. Algebraic functions are built from the input using addition, subtraction, multiplication, division, powers and roots. Transcendental functions go beyond that, because the input sits in an exponent, inside a logarithm or inside a trigonometric function. Within each group a few families do most of the work in a high school or first-year college course.
For students and parents planning test prep or coursework: one hour with George Li, one to one by video, is $180, $200 or $160, by subject. You leave with a written plan within one working day.
Book your first session| Family | Example | Graph | Domain of the example |
|---|---|---|---|
| Constant | f(x) = 4 | horizontal line | all real numbers |
| Linear | f(x) = 3x - 2 | straight line with slope 3 | all real numbers |
| Identity | f(x) = x | line through the origin with slope 1 | all real numbers |
| Quadratic | f(x) = x squared - 4x + 3 | parabola | all real numbers |
| Polynomial of higher degree | f(x) = x cubed - 3x | smooth curve with turns | all real numbers |
| Rational | f(x) = 1 / (x - 2) | two branches around a vertical asymptote | all reals except 2 |
| Radical | f(x) = square root of (x - 1) | half a sideways parabola | [1, infinity) |
| Piecewise | f(x) = absolute value of x | a V made of two lines | all real numbers |
| Exponential | f(x) = 2 to the power x | curve that rises from close to the x-axis on the left | all real numbers |
| Logarithmic | f(x) = ln x | curve rising slowly from a vertical asymptote | (0, infinity) |
| Trigonometric | f(x) = sin x | repeating wave | all real numbers |
A family is recognized by the form of its formula, not by how complicated one example looks.
Standard classifications of algebra and precalculus, restated by us; domains are as defined in the open textbook cited above
What does explicit versus implicit mean?
A function is explicit when the output is written alone on one side, as in y = 3x - 2, so you get y by substituting. It is implicit when x and y are mixed together, as in x squared + y squared = 25 or xy + y = 3, and you must do algebra to isolate y. A relation like the circle x squared + y squared = 25 is not a function of x at all, because one input gives two outputs.
How do you tell the algebraic families apart?
Look at where x appears and what is done to it.
- A polynomial has whole-number powers of x only, such as 5x cubed - x + 7. A constant function and a linear function are the lowest-degree polynomials. In an "affine" form like mx + b the graph is a slanted line, and if b is 0 the function is called linear in the narrow sense. The identity function f(x) = x is the case m = 1 and b = 0.
- A quadratic is a polynomial of degree 2. Its graph is a parabola, opening up if the leading coefficient is positive.
- A rational function is one polynomial divided by another. Its domain leaves out the zeros of the denominator.
- A radical function has x under a root. With an even index the radicand must be at least 0, and with an odd index there is no restriction.
- A piecewise function uses different formulas on different intervals. The absolute value, the sign function, the greatest-integer (floor) function and the fractional-part function are all piecewise.
How do you tell the transcendental families apart?
In an exponential function the variable is in the exponent, as in 2 to the power x. In a logarithmic function it is inside a log, as in ln x, and a logarithm undoes an exponential with the same base. Trigonometric functions take an angle: sine, cosine and tangent, and their reciprocals cosecant, secant and cotangent. The first two repeat every 2 pi, and tangent repeats every pi.
Worked example: Classifying five formulas
Name the family of each: (a) 7 - 2x, (b) (x squared + 1) / (x - 3), (c) 5 to the power x, (d) square root of (2x + 6), (e) the floor of x.
- (a) x appears to the first power only, so it is linear.
- (b) One polynomial is divided by another, so it is rational. Its domain excludes x = 3.
- (c) The variable is the exponent, so it is exponential.
- (d) The variable sits under a square root, so it is radical. Its domain is x at least -3.
- (e) The floor of x gives the greatest integer at most x. It uses a different constant value on each interval, so it is piecewise. For example, the floor of -2.3 is -3.
Answer: linear, rational, exponential, radical, piecewise.
Source: Original example by George Li Tutoring; the classification follows the definitions above.
For the rules that give the domain of each family, read the domain of each kind of function. For help placing a new function in a family before you graph it, see high school course tutoring or book a first session.
Common questions
What are the main types of functions?
Constant, linear, quadratic, polynomial, rational, radical, piecewise, exponential, logarithmic and trigonometric functions.
What is the difference between algebraic and transcendental functions?
Algebraic functions use only addition, subtraction, multiplication, division, powers and roots of the variable. Transcendental functions place the variable in an exponent, a logarithm or a trigonometric function.
What is a piecewise function?
A function defined by different formulas on different parts of its domain, such as absolute value.
Is a circle a function?
Not as a graph of y in terms of x, because most x values give two y values.