01 Functions and Their Graphs

A progressive guide to representing, analyzing, transforming, composing, and inverting functions using formulas, graphs, domains, and ranges.

Understanding Functions and Notation

A connects each allowed input to exactly one output. The input set is the , and the resulting output set is the . Functions can be represented in several equivalent ways:

  • Verbally: a description such as “the cost depends on the number of items.”

  • Numerically: a table of input-output pairs.

  • Algebraically: a rule such as f(x)=2x+3f(x)=2x+3.

  • Graphically: points or a curve in the coordinate plane.

In , f(x)f(x) means the output produced by the input xx. For example, if f(x)=2x+3f(x)=2x+3, then

f(4)=2(4)+3=11.f(4)=2(4)+3=11.

To evaluate a formula, substitute the input everywhere the variable occurs. If f(x)=x2−4x+1f(x)=x^2-4x+1, then

f(3)=32−4(3)+1=−2.f(3)=3^2-4(3)+1=-2.

A can also be used in reverse to find inputs that produce a specified output. For f(x)=x2−4f(x)=x^2-4, solving f(x)=12f(x)=12 gives

x2−4=12,x2=16,x=4 or x=−4.x^2-4=12,\qquad x^2=16,\qquad x=4\text{ or }x=-4.

Thus, two different inputs can produce the same output without violating the definition of a .

Takeaway: Read f(x)f(x) as an output rule, evaluate by substitution, and remember that uniqueness applies from input to output.

Domains, Ranges, and Graphs

The is the set of permitted inputs, while the is the set of outputs generated by those inputs. When a is given by a formula, start with all real numbers and remove inputs that make the formula undefined.

Important restrictions include:

  • A denominator cannot equal zero. For f(x)=1x−5f(x)=\frac{1}{x-5}, require x−5≠0x-5\ne0, so the is (−∞,5)∪(5,∞)(- \infty,5)\cup(5,\infty).

  • An even root requires a nonnegative radicand. For g(x)=x+2g(x)=\sqrt{x+2}, require x+2≥0x+2\ge0, so the is [−2,∞)[-2,\infty).

  • A logarithm requires a positive input. For h(x)=log⁡(x−1)h(x)=\log(x-1), require x−1>0x-1>0, so the is (1,∞)(1,\infty).

In interval notation, parentheses exclude endpoints and brackets include them. Infinity is never included, so it always appears with a parenthesis. From a graph, the describes the horizontal extent and the describes the vertical extent.

The graph of a consists of all points (x,f(x))(x,f(x)) for inputs in the . This viewpoint connects formulas and graphs: the horizontal coordinate is the input, and the vertical coordinate is the corresponding output.

Takeaway: Check algebraic restrictions before evaluating or graphing, and use the graph's horizontal and vertical extents to identify and .

Reading and Interpreting Graphs

A graph represents a when each input has no more than one output. The provides a quick graphical check: if any vertical line crosses the graph more than once, the graph is not a of xx. A parabola such as y=x2y=x^2 passes this test, while a circle does not.

To graph a formula, identify its , choose useful inputs, calculate outputs, plot the ordered pairs, and connect them according to the 's behavior. For f(x)=x2f(x)=x^2, representative points include (−2,4)(-2,4), (−1,1)(-1,1), (0,0)(0,0), (1,1)(1,1), and (2,4)(2,4). The graph is a parabola with vertex (0,0)(0,0) and symmetry about the yy-axis because f(−x)=f(x)f(-x)=f(x).

Intercepts give important reference points:

  • The yy-intercept occurs when x=0x=0, provided zero is in the .

  • An xx-intercept occurs when the output is zero, so solve f(x)=0f(x)=0.

For f(x)=x2−4f(x)=x^2-4, the yy-intercept is (0,−4)(0,-4). Solving

x2−4=0x^2-4=0

gives x=2x=2 or x=−2x=-2, so the xx-intercepts are (2,0)(2,0) and (−2,0)(-2,0).

A has a further property: different inputs always produce different outputs. Its graph passes the . For example, f(x)=x3f(x)=x^3 is one-to-one on the real numbers, but f(x)=x2f(x)=x^2 is not because f(−2)=f(2)=4f(-2)=f(2)=4.

Takeaway: Use the to identify functions, the to identify one-to-one functions, and intercepts and symmetry to interpret graphs efficiently.

Transforming Parent Functions

Many graphs are built from a by shifting, reflecting, stretching, or compressing it. A useful general form is

g(x)=af(b(x−h))+k.g(x)=a f\bigl(b(x-h)\bigr)+k.

The parameters control different changes:

  • hh controls the horizontal shift.

  • kk controls the vertical shift.

  • aa controls vertical stretch or compression and may reflect the graph across the xx-axis.

  • bb controls horizontal compression or stretch and may reflect the graph across the yy-axis.

For vertical changes, g(x)=f(x)+kg(x)=f(x)+k shifts the graph up when k>0k>0 and down when k<0k<0. Multiplying by aa stretches vertically when ∣a∣>1|a|>1, compresses vertically when 0<∣a∣<10<|a|<1, and reflects across the xx-axis when a<0a<0.

For horizontal changes, g(x)=f(x−h)g(x)=f(x-h) shifts the graph right by hh when h>0h>0. The sign can seem reversed because the change occurs inside the . Thus, g(x)=(x−3)2g(x)=(x-3)^2 is y=x2y=x^2 shifted right by 33 units. Also, f(−x)f(-x) reflects across the yy-axis.

Consider

g(x)=−2(x−1)2+4.g(x)=-2(x-1)^2+4.

Starting with f(x)=x2f(x)=x^2, shift right by 11, stretch vertically by a factor of 22, reflect across the xx-axis, and shift up by 44. The vertex is (1,4)(1,4), and the parabola opens downward.

Takeaway: Read transformations from the outside and inside of the formula, paying special attention to the sign of horizontal changes.

Compositions and Inverse Functions

The of functions uses the output of one as the input of another. It is written

(f∘g)(x)=f(g(x)).(f\circ g)(x)=f(g(x)).

The on the inside, gg, is applied first. For f(x)=2x+1f(x)=2x+1 and g(x)=x2g(x)=x^2,

(f∘g)(x)=f(x2)=2x2+1.(f\circ g)(x)=f(x^2)=2x^2+1.

Reversing the order gives

(g∘f)(x)=g(2x+1)=(2x+1)2,(g\circ f)(x)=g(2x+1)=(2x+1)^2,

which is generally different. To evaluate (f∘g)(3)(f\circ g)(3), first find g(3)=9g(3)=9, then find f(9)=19f(9)=19. Therefore, (f∘g)(3)=19(f\circ g)(3)=19.

The of a must satisfy both stages: the input must belong to the of gg, and the output g(x)g(x) must belong to the of ff. If f(x)=xf(x)=\sqrt{x} and g(x)=x−3g(x)=x-3, then

(f∘g)(x)=x−3.(f\circ g)(x)=\sqrt{x-3}.

The requirement x−3≥0x-3\ge0 gives the [3,∞)[3,\infty).

An reverses the input-output process. It exists as a only when the original is one-to-one on its . To find the inverse of f(x)=3x−5f(x)=3x-5, write y=3x−5y=3x-5, solve for xx, and interchange the variables:

y=3x−5,x=y+53,f−1(x)=x+53.y=3x-5, \qquad x=\frac{y+5}{3}, \qquad f^{-1}(x)=\frac{x+5}{3}.

The result can be checked through

f−1(f(x))=x.f^{-1}(f(x))=x.

The of an inverse is the of the original , and the of the inverse is the original . Their graphs reflect across y=xy=x. If f(x)=x2f(x)=x^2, an requires a restricted such as [0,∞)[0,\infty); on that , the inverse is f−1(x)=xf^{-1}(x)=\sqrt{x}.

Takeaway: In compositions, work from the inside out; for inverses, verify one-to-one behavior and exchange the original and .