No history yet

Functions and Limits

The Idea of a Function

Think of a function as a simple machine. You put something in, it does something specific, and one thing comes out. For example, a coffee machine is a function. You put in coffee grounds and water (the input), and you get brewed coffee (the output). You'll always get coffee, not tea or juice. In math, functions work the same way, but with numbers.

Function

noun

A relation between a set of inputs and a set of permissible outputs with the property that each input is related to exactly one output.

A function, usually denoted as f(x)f(x), takes an input value, xx, and produces a single output value, f(x)f(x) (read as "f of x"). The set of all possible inputs is called the domain, and the set of all possible outputs is called the range.

The most important rule is that for any given input, there can only be one output. If our coffee machine sometimes produced hot chocolate from the same inputs, it wouldn't be a reliable function.

Common Function Types

Functions come in many forms, but a few types show up constantly. Understanding their basic shapes and rules is key.

Linear Functions These are the simplest. They always produce a straight line when graphed. The general form is f(x)=mx+bf(x) = mx + b. The value mm is the slope (how steep the line is), and bb is the y-intercept (where the line crosses the vertical axis).

Quadratic Functions These functions have the form f(x)=ax2+bx+cf(x) = ax^2 + bx + c. Their graphs are parabolas, the U-shape you might see when you toss a ball in the air. The ax2ax^2 term is what makes it a curve instead of a straight line.

Polynomial Functions This is a broader category that includes both linear and quadratic functions. The general form is f(x)=anxn+an1xn1+...+a1x+a0f(x) = a_n x^n + a_{n-1} x^{n-1} + ... + a_1 x + a_0. They are defined by having variables raised to non-negative integer powers. Their graphs can have various curves and turns.

Getting Close with Limits

Now for a core concept in calculus: the limit. A limit describes what a function is doing at a certain point. More specifically, it tells us the value a function approaches as its input gets closer and closer to a particular number.

The key idea is approaching. With limits, we don't care what happens exactly at the point, but what happens infinitesimally close to it.

We write a limit like this:

limxcf(x)=L\lim_{x \to c} f(x) = L

This is read as "the limit of f(x)f(x) as xx approaches cc is LL ". It means that as the input xx gets arbitrarily close to the value cc, the output f(x)f(x) gets arbitrarily close to the value LL.

Finding Limits

So how do we find LL? For many straightforward functions, it's as simple as it looks.

Direct Substitution For most polynomial functions you'll encounter, you can find the limit by simply plugging the value cc into the function. Let's find the limit of f(x)=x2+3f(x) = x^2 + 3 as xx approaches 2.

limx2(x2+3)\lim_{x \to 2} (x^2 + 3)

We just substitute x=2x=2 into the expression:

(2)2+3=4+3=7(2)^2 + 3 = 4 + 3 = 7

So, the limit is 7. As xx gets closer to 2, the function's value gets closer to 7. Easy enough.

When Substitution Fails But what about this function as xx approaches 1?

limx1x21x1\lim_{x \to 1} \frac{x^2 - 1}{x - 1}

If we try to plug in x=1x=1, we get:

12111=00\frac{1^2 - 1}{1 - 1} = \frac{0}{0}

This is an "indeterminate form." The function is undefined right at x=1x=1. But remember, a limit doesn't care about what happens at the point, only what happens as we get close to it.

We can simplify the expression first. The numerator, x21x^2 - 1, can be factored into (x1)(x+1)(x-1)(x+1). This gives us a new way to write the function:

limx1(x1)(x+1)x1\lim_{x \to 1} \frac{(x - 1)(x + 1)}{x - 1}

Now we can cancel the (x1)(x-1) terms. This is allowed because we're only concerned with values of xx near 1, not equal to 1, so x1x-1 is not zero.

limx1(x+1)\lim_{x \to 1} (x + 1)

Now we can use direct substitution:

1+1=21 + 1 = 2

Even though the original function has a hole at x=1x=1, its limit as xx approaches 1 is 2. This algebraic trick of factoring and canceling is a common way to solve limits that result in 0/00/0.

Time to check your understanding.

Quiz Questions 1/6

Which of the following statements best defines a function in mathematics?

Quiz Questions 2/6

A function is described by the equation f(x)=5x3f(x) = 5x - 3. What kind of function is this?