Ways of Representing a Function

A function can be represented in several ways, and each way has its own scenario:

The Analytical (Formula) Method

Represent the functional relationship with a mathematical expression, such as y=x2+1y = x^2 + 1. This is the most commonly used method.

Advantages:

  • Expresses the functional relationship precisely
  • Makes mathematical computation convenient
  • Makes the properties of the function clearly visible

Disadvantages:

  • Some complicated functions are hard to express with a simple formula
  • Not intuitive enough for piecewise functions

The Tabular Method

List the independent variable and the corresponding function values in a table.

The table below corresponds to the function f(x)=(x−1)2f(x)=(x-1)^2:

x-10123
f(x)41014

Through the tabular method we can clearly see the function value corresponding to each independent variable, which makes it easy to analyse the pattern of change.

Advantages:

  • Shows the concrete function values directly
  • Makes it easy to look up the function value at a particular point
  • Suited to handling discrete data

Disadvantages:

  • Can only represent the function values at finitely many points
  • Does not reveal the overall properties of the function
  • Awkward to use when the table is large

The Graphical Method

Represent the functional relationship by a curve in the coordinate plane.

Advantages:

  • Shows the overall shape of the function directly
  • Makes it easy to observe the properties of the function (monotonicity, extrema, and so on)
  • Suited to analysing the geometric features of the function

Disadvantages:

  • Limited precision
  • Makes precise numerical computation difficult
  • The graph of a complicated function may be hard to draw

Exercises

Exercise 1

Given the function f(x)={x+1,x≤0x2,x>0f(x) = \begin{cases} x+1, & x \leq 0 \\ x^2, & x > 0 \end{cases}, find the values of f(−2)f(-2), f(0)f(0) and f(3)f(3).

ways of representing a functiona piecewise function

Approach: This is a piecewise function, so you have to pick the right expression according to where the independent variable xx falls.

Steps:

  1. For f(−2)f(-2): since −2≤0-2 \leq 0, use the first expression f(x)=x+1f(x) = x+1 f(−2)=−2+1=−1f(-2) = -2 + 1 = -1

  2. For f(0)f(0): since 0≤00 \leq 0, use the first expression f(x)=x+1f(x) = x+1 f(0)=0+1=1f(0) = 0 + 1 = 1

  3. For f(3)f(3): since 3>03 > 0, use the second expression f(x)=x2f(x) = x^2 f(3)=32=9f(3) = 3^2 = 9

Answer: f(−2)=−1f(-2) = -1, f(0)=1f(0) = 1, f(3)=9f(3) = 9


Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
y=x2+1y = x^2 + 1Mathematical formulay equals x squared plus oneAn example of the analytical expression of a quadratic function
f(x)f(x)Mathematical symbolf of xThe notation for a function with independent variable xx
±\pmMathematical symbolplus or minusMeaning “plus or minus”

Found an issue with this content?

Tell us what could be improved.