Facebook Pixel
Mathos AI logo

Recognizing and Classifying Functions

Recognizing and Classifying Functions

What is a Function?

In mathematics, a function is a specific type of relationship between inputs and outputs. The golden rule of a function is that each input (usually xx) must have exactly one output (usually yy).

Let's look at a set of coordinate pairs: {(1,2),(2,3),(1,4)}\{(1,2), (2,3), (1,4)\}. Is this a function?

  • Look at the inputs (the first number in each pair): 1,2,11, 2, 1.
  • The input 11 is paired with the output 22, but it is also paired with the output 44.
  • Because the input 11 gives two different outputs, this is not a function.

The Vertical Line Test

When you are looking at a graph, you can easily tell if it represents a function by using the vertical line test.

Imagine drawing straight, vertical lines down through the graph.

  • If every vertical line touches the graph at exactly one point, the graph represents a function.
  • If any vertical line touches the graph at more than one point, it is not a function. This happens because a single xx-value (the vertical line) is giving multiple yy-values (the intersection points).

Linear vs. Nonlinear Functions

Once you know a relationship is a function, you can classify it based on its rate of change.

Linear Functions

  • Definition: A function with a constant rate of change.
  • Graph: A straight line.
  • Equation: Can be written in the form y=mx+by = mx + b. (e.g., y=3x+2y = 3x + 2)

Nonlinear Functions

  • Definition: A function where the rate of change is not constant.
  • Graph: A curve or a line with bends.
  • Equation: Contains exponents other than 11, variables in the denominator, or other non-standard features.

Example: Is y=x2y = x^2 linear or nonlinear? Because the xx is squared, the rate of change will change as xx gets larger. The graph of y=x2y = x^2 is a curve (a parabola). Therefore, y=x2y = x^2 is a nonlinear function.