Skip to content
Family Table Math

Comparing Function Types

You’ve now met five big families of functions: polynomial, rational, exponential, logarithmic, and trigonometric (sinusoidal). Each has its own shape, its own equation, and its own “fingerprint” in a table of values. Being able to tell them apart quickly is what lets you pick the right model for real data and the right method for solving an equation. Trig functions here use radians.

Six small graphs: a cubic polynomial with three zeros, a rational function with dashed asymptotes x = 1 and y = 1, an exponential with dashed asymptote y = -1, a logarithmic curve with the y-axis as asymptote, a sinusoidal wave, and a parabola. Polynomial (cubic) Rational Exponential Logarithmic Sinusoidal Quadratic
Typical graphs of each function type. Dashed lines are asymptotes.
TypeTypical equationDomainAsymptotes?Special features
Polynomialanxn+⋯+a1x+a0a_n x^n + \dots + a_1 x + a_0all realsnoneup to nn zeros, up to n−1n - 1 turning points; end behaviour set by degree and leading coefficient
Rationalp(x)q(x)\dfrac{p(x)}{q(x)}all reals except zeros of qqvertical (or holes), often horizontalseparate branches
Exponentiala⋅bk(x−d)+ca \cdot b^{k(x - d)} + call realshorizontal, y=cy = calways increasing or always decreasing; no zeros when c=0c = 0
Logarithmicalog⁡b(k(x−d))+ca \log_b\big(k(x - d)\big) + cone side of x=dx = dvertical, x=dx = dalways increasing or always decreasing; grows very slowly
Sinusoidalasin⁡(k(x−d))+ca\sin\big(k(x - d)\big) + call realsnoneperiodic, range c−∣a∣≤y≤c+∣a∣c - \lvert a \rvert \le y \le c + \lvert a \rvert
  • Polynomials with only even powers (like x4−3x2x^4 - 3x^2) are even; with only odd powers (like x3−xx^3 - x), odd. See even and odd functions.
  • sin⁡x\sin x is odd and cos⁡x\cos x is even.
  • Exponential and logarithmic functions are never even or odd: their graphs are lopsided.

When the xx-values go up in equal steps:

  • Linear: the first differences are constant.
  • Polynomial of degree nn: the nnth differences are constant. For steps of 11, the nnth difference equals a⋅n!a \cdot n!, where aa is the leading coefficient (for a quadratic, the second difference is 2a2a).
  • Exponential: the ratios of consecutive yy-values are constant. (The differences are never constant; they grow or shrink by the same ratio.)
  • Sinusoidal: the yy-values repeat in a regular cycle.

When the xx-values are multiplied by a constant each step (like 1,10,100,10001, 10, 100, 1000):

  • Logarithmic: the yy-values go up by a constant difference.

Rational functions don’t have a neat table fingerprint, but you’ll see values blow up near a vertical asymptote and level off toward a horizontal one.

A linear function changes at a constant rate. A quadratic’s rate of change changes steadily. An exponential function’s rate of change is proportional to its value, so it speeds up (or slows down) faster and faster. A logarithmic function keeps increasing but more and more slowly. A sinusoidal function’s rate of change goes back and forth between positive and negative.

In the long run, any increasing exponential eventually beats any polynomial, and any polynomial eventually beats any logarithm, even if it doesn’t look that way at first (Example 4).

Identify the type of function that fits each table, and find an equation.

xx001122334455
A33661212242448489696
B22551010171726263737
C001100−1-10011
D44771010131316161919

Solution. The xx-values go up in steps of 11, so look at differences and ratios.

A. Differences: 3,6,12,24,483, 6, 12, 24, 48, not constant. Ratios: 63=126=⋯=2\tfrac{6}{3} = \tfrac{12}{6} = \dots = 2, constant. Exponential, starting at 33 and doubling: y=3(2)xy = 3(2)^x.

B. First differences: 3,5,7,9,113, 5, 7, 9, 11. Second differences: 2,2,2,22, 2, 2, 2, constant. Quadratic, with 2a=22a = 2, so a=1a = 1. The yy-intercept is 22, so y=x2+bx+2y = x^2 + bx + 2. Using x=1x = 1: 1+b+2=51 + b + 2 = 5, so b=2b = 2 and y=x2+2x+2y = x^2 + 2x + 2. Check x=3x = 3: 9+6+2=179 + 6 + 2 = 17. ✓

C. The values repeat 0,1,0,−10, 1, 0, -1 every 44 units. Sinusoidal with period 44, amplitude 11, axis y=0y = 0, starting upward from 00 like a sine: k=2π4=π2k = \tfrac{2\pi}{4} = \tfrac{\pi}{2}, so y=sin⁡(π2x)y = \sin\left(\tfrac{\pi}{2}x\right). Check x=3x = 3: sin⁡3π2=−1\sin\tfrac{3\pi}{2} = -1. ✓

D. First differences: 3,3,3,3,33, 3, 3, 3, 3, constant. Linear: y=3x+4y = 3x + 4.

Identify the type of function and find an equation.

xx0.10.111101010010010001000
yy−1-12255881111

Solution. The xx-values are multiplied by 1010 each step, while the yy-values go up by 33 each step. That’s the fingerprint of a logarithm: multiplying the input by 1010 adds 11 to log⁡x\log x, so here it adds 3×13 \times 1.

Try y=alog⁡x+cy = a\log x + c. At x=1x = 1, log⁡1=0\log 1 = 0, so c=2c = 2. At x=10x = 10: a(1)+2=5a(1) + 2 = 5, so a=3a = 3.

y=3log⁡x+2y = 3\log x + 2

Check x=0.1x = 0.1: 3(−1)+2=−13(-1) + 2 = -1. ✓ Check x=1000x = 1000: 3(3)+2=113(3) + 2 = 11. ✓

(If you’d plotted these points with equally spaced xx-values, you’d see the slow, flattening curve of a logarithm.)

Example 3: Identifying types from key features

Section titled “Example 3: Identifying types from key features”

Which type of function (polynomial, rational, exponential, logarithmic, or sinusoidal) could have each set of features?

  • (a) Domain all real numbers, range {y∈R∣y>−2}\{y \in \mathbb{R} \mid y \gt -2\}, and a horizontal asymptote.
  • (b) Domain {x∈R∣x>3}\{x \in \mathbb{R} \mid x \gt 3\}, range all real numbers.
  • (c) Range {y∈R∣−1≤y≤5}\{y \in \mathbb{R} \mid -1 \le y \le 5\}, and the graph repeats every π\pi units.
  • (d) Vertical asymptote x=2x = 2 and horizontal asymptote y=1y = 1.
  • (e) Domain and range all real numbers, three zeros, and no asymptotes.

Solution.

(a) Exponential: a range bounded on one side, with a horizontal asymptote y=−2y = -2 and every real number as input. For example, y=2x−2y = 2^x - 2.

(b) Logarithmic: the domain stops at a vertical asymptote x=3x = 3, but the outputs take every real value. For example, y=log⁡(x−3)y = \log(x - 3).

(c) Sinusoidal: periodic and bounded, with amplitude 5−(−1)2=3\tfrac{5 - (-1)}{2} = 3 and axis y=2y = 2. For example, y=3sin⁡(2x)+2y = 3\sin(2x) + 2, which has period 2π2=π\tfrac{2\pi}{2} = \pi.

(d) Rational: both a vertical and a horizontal asymptote. For example, y=1x−2+1y = \dfrac{1}{x - 2} + 1.

(e) Polynomial, of odd degree (since the range is all real numbers), at least 33. For example, y=x3−xy = x^3 - x, with zeros −1-1, 00 and 11.

Example 4: Exponential versus polynomial growth

Section titled “Example 4: Exponential versus polynomial growth”

Compare f(x)=2xf(x) = 2^x and g(x)=x3g(x) = x^3 for x=2,5,9,10,15x = 2, 5, 9, 10, 15. Which function is larger in the long run?

Solution.

xx22559910101515
2x2^x4432325125121024102432 76832\,768
x3x^3881251257297291000100033753375

For a while, x3x^3 is ahead. But 2x2^x passes it between x=9x = 9 and x=10x = 10, and after that it pulls away fast: at x=15x = 15 it’s almost ten times bigger. The reason is the rate of change. Each step of 11 doubles 2x2^x, while it multiplies x3x^3 by (x+1x)3\left(\tfrac{x + 1}{x}\right)^3, which gets closer and closer to 11. So the exponential wins in the long run, as every increasing exponential does against every polynomial.

The lesson for reading tables: a short table can be misleading. Look at the pattern (ratios versus differences), not just which numbers are bigger right now.

Mixing up differences and ratios. Constant differences mean linear (or, at a deeper level, polynomial). Constant ratios mean exponential. Check both before deciding.

Using finite differences when the x-steps aren’t equal. Differences only work when xx goes up by the same amount each time. Rearrange or re-space the data first, or check for a logarithmic pattern if xx is being multiplied.

Thinking every curve that bends is a parabola. Exponential, logarithmic and higher-degree polynomial graphs bend too. Look for asymptotes, symmetry and table patterns, not just the curve.

Expecting zeros from an exponential. y=a⋅bxy = a \cdot b^x is never 00. Only a shifted exponential like y=2x−2y = 2^x - 2 crosses the xx-axis.

Deciding from a few values. In Example 4, x3x^3 beats 2x2^x for moderate xx (from about 22 to 99), but not for long. Think about the long-run behaviour of each family.

Forgetting the restricted domain of a logarithm. A function with a domain like x>3x \gt 3 is a strong hint that it’s logarithmic. Polynomials, exponentials and sinusoids accept every real number.

1. (Warm-up) Identify the type of each function.

  • (a) y=3(0.5)xy = 3(0.5)^x
  • (b) y=2x3−xy = 2x^3 - x
  • (c) y=x+1x−2y = \dfrac{x + 1}{x - 2}
  • (d) y=log⁡(x−4)y = \log(x - 4)
  • (e) y=4sin⁡(2x)+1y = 4\sin(2x) + 1
Solution

(a) Exponential (decay, since 0<0.5<10 \lt 0.5 \lt 1).

(b) Polynomial (cubic).

(c) Rational.

(d) Logarithmic.

(e) Sinusoidal.

2. (Warm-up) Use finite differences to identify the type of function, then find its equation.

xx0011223344
yy−1-1117717173131
Solution

First differences: 2,6,10,142, 6, 10, 14. Second differences: 4,4,44, 4, 4. Constant second differences mean quadratic, with 2a=42a = 4, so a=2a = 2.

The yy-intercept is −1-1, so y=2x2+bx−1y = 2x^2 + bx - 1. Using x=1x = 1: 2+b−1=12 + b - 1 = 1, so b=0b = 0.

y=2x2−1y = 2x^2 - 1

Check x=4x = 4: 32−1=3132 - 1 = 31. ✓

3. (Warm-up) From the five types (polynomial, rational, exponential, logarithmic, sinusoidal), which can have:

  • (a) a horizontal asymptote?
  • (b) a vertical asymptote?
  • (c) a graph that repeats?
Solution

(a) Rational and exponential.

(b) Rational and logarithmic.

(c) Sinusoidal.

4. (Core) Identify the type of function and find an equation.

xx0011223344
yy80806060454533.7533.7525.312525.3125
Solution

Differences: −20,−15,−11.25,−8.4375-20, -15, -11.25, -8.4375, not constant. Ratios: 6080=4560=33.7545=25.312533.75=0.75\tfrac{60}{80} = \tfrac{45}{60} = \tfrac{33.75}{45} = \tfrac{25.3125}{33.75} = 0.75, constant. Exponential decay:

y=80(0.75)xy = 80(0.75)^x

5. (Core) Find the degree and the leading coefficient of the polynomial function that fits this table.

xx−2-2−1-100112233
yy−6-6000000662424
Solution

First differences: 6,0,0,6,186, 0, 0, 6, 18. Second: −6,0,6,12-6, 0, 6, 12. Third: 6,6,66, 6, 6.

The third differences are constant, so the degree is 33. For steps of 11, the third difference is a⋅3!=6aa \cdot 3! = 6a, so 6a=66a = 6 and a=1a = 1.

(The function is y=x3−xy = x^3 - x: its zeros −1-1, 00, 11 match the table.)

6. (Core) Match each description with a type of function, and give a possible equation.

  • (a) Increasing for all xx, with no zeros, and approaching 00 as xx decreases.
  • (b) Decreasing for all xx in its domain {x∈R∣x>0}\{x \in \mathbb{R} \mid x \gt 0\}.
  • (c) An even function with range {y∈R∣y≥−3}\{y \in \mathbb{R} \mid y \ge -3\} and two zeros.
Solution

(a) Exponential growth, for example y=2xy = 2^x.

(b) Logarithmic with a reflection, for example y=−log⁡xy = -\log x. (A rational function like y=1xy = \tfrac{1}{x} restricted to x>0x \gt 0 also works, but its natural domain includes negative numbers.)

(c) Quadratic, for example y=x2−3y = x^2 - 3, which is even, has minimum −3-3, and has zeros ±3\pm\sqrt{3}.

7. (Core) Compare f(x)=x2f(x) = x^2 and g(x)=2xg(x) = 2^x for x≥0x \ge 0.

  • (a) Make a table for x=0,1,2,3,4,5x = 0, 1, 2, 3, 4, 5.
  • (b) For which values of x≥0x \ge 0 is x2>2xx^2 \gt 2^x?
Solution

(a)

xx001122334455
x2x^20011449916162525
2x2^x1122448816163232

(b) They’re equal at x=2x = 2 and x=4x = 4. Between them, x2x^2 is bigger (for example, 9>89 \gt 8 at x=3x = 3). Before x=2x = 2 and after x=4x = 4, 2x2^x is bigger, and since the exponential doubles with each step, it stays ahead for good after x=4x = 4. So for x≥0x \ge 0, x2>2xx^2 \gt 2^x when 2<x<42 \lt x \lt 4.

(Graphing both confirms this. For negative xx there’s one more crossing near x≈−0.77x \approx -0.77.)

8. (Challenge) Identify the type of function and find an equation.

xx22448816163232
yy1133557799
Solution

xx doubles each step, and yy goes up by 22 each step. That’s a logarithmic pattern, base 22: doubling xx adds 11 to log⁡2x\log_2 x, so here it adds 2×12 \times 1.

Try y=alog⁡2x+cy = a\log_2 x + c. At x=2x = 2: a(1)+c=1a(1) + c = 1. At x=4x = 4: a(2)+c=3a(2) + c = 3. Subtracting gives a=2a = 2, and then c=−1c = -1.

y=2log⁡2x−1y = 2\log_2 x - 1

Check x=32x = 32: 2(5)−1=92(5) - 1 = 9. ✓

9. (Challenge) Identify the type of function and find an equation, with xx in radians.

xx001122334455667788
yy335533113355331133
Solution

The values repeat every 44 units: sinusoidal. Maximum 55 and minimum 11, so the amplitude is 5−12=2\tfrac{5 - 1}{2} = 2 and the axis is y=5+12=3y = \tfrac{5 + 1}{2} = 3. The period is 44, so k=2π4=π2k = \tfrac{2\pi}{4} = \tfrac{\pi}{2}. At x=0x = 0 the graph is on the axis heading up, like a sine:

y=2sin⁡(π2x)+3y = 2\sin\left(\frac{\pi}{2}x\right) + 3

Check x=3x = 3: 2sin⁡3π2+3=−2+3=12\sin\tfrac{3\pi}{2} + 3 = -2 + 3 = 1. ✓