Function Graphs and Families

Read graphs as input–output sets, identify domains, ranges, intercepts, and regional behavior, and recognize common function families. Predict how transformations shift, scale, and reflect a known graph.

A function graph places inputs on the horizontal axis and outputs on the vertical axis. Its shape can reveal where a function is positive or negative, increasing or decreasing, curved or flat, bounded or unbounded. These visual patterns complement the formula; they do not replace it.

A Graph Is a Set of Input–Output Points

For the function

f(x)=2x+1,f(x)=2x+1,

each allowed input xx produces one output f(x)f(x). The graph contains every point (x,f(x))(x,f(x)) in the chosen domain. A few of those points are:

xxf(x)f(x)Point on the graph
1-11-1(1,1)(-1,-1)
0011(0,1)(0,1)
1133(1,3)(1,3)
2255(2,5)(2,5)

The domain is the set of allowed inputs, and the range is the set of outputs the function actually produces. A drawn graph shows only a viewing window, so the visible part may not show the function's complete domain or range.

The graph of f(x)=2x+1f(x)=2x+1 crosses the vertical axis at (0,1)(0,1). This is its vertical intercept, or yy-intercept. Its zero, also called an xx-intercept or root, is the input for which f(x)=0f(x)=0:

2x+1=0x=12.2x+1=0 \quad\Longrightarrow\quad x=-\frac{1}{2}.

Thus the graph crosses the horizontal axis at (12,0)\left(-\frac{1}{2},0\right). Each increase of 11 in xx increases the output by 22, so the line has slope 22.

Exercise: Find a zero from a formula

At which input does f(x)=3x6f(x)=3x-6 cross the horizontal axis?

Compute it first, then check your number.

Review

Not marked done.

Your checked work will be saved automatically.

Correct records the checked result. Done is your learning status, and you can undo it.

Clearing an answer or resetting code starts the response again. It does not remove Done or Review.

Your checked work will be saved automatically.

HintSet the output to zero

Solve 3x6=03x-6=0.

SolutionSolve for the horizontal intercept

A zero is an input whose output is 00:

3x6=03x=6x=2.3x-6=0 \quad\Longrightarrow\quad 3x=6 \quad\Longrightarrow\quad x=2.

The corresponding point on the graph is (2,0)(2,0).

Common Families Have Recognizable Structure

A function family is a collection of functions with a shared algebraic form. Parameters select one member of the family. Recognizing a family gives useful expectations, but its parameter values and domain still determine the particular graph.

FamilyTypical formUseful first observations
constantf(x)=cf(x)=chorizontal line; range contains one value
linearf(x)=mxf(x)=mxpasses through the origin; slope is mm
affinef(x)=mx+bf(x)=mx+bstraight line; vertical intercept is bb
quadraticf(x)=ax2+bx+cf(x)=ax^2+bx+cparabola; opens upward or downward according to the sign of aa
powerf(x)=xpf(x)=x^psymmetry and end behavior depend on the exponent pp
exponentialf(x)=bxf(x)=b^xpositive output; growth for b>1b>1 and decay for 0<b<10<b<1
logarithmicf(x)=logbxf(x)=\log_b xpositive-input domain; inverse shape of bxb^x
piecewisedifferent rules on different regionscorners, jumps, or changes of behavior may occur at boundaries

The distinction between linear and affine is worth preserving. In formal linear algebra, f(x)=mxf(x)=mx is linear because it maps 00 to 00. If b0b\ne0, the rule f(x)=mx+bf(x)=mx+b is affine. Terms such as “linear regression” and “linear layer” often include an intercept or bias, so context matters.

A piecewise function states both its formulas and the regions where they apply. For example:

ReLU(x)={0,x<0,x,x0.\operatorname{ReLU}(x)= \begin{cases} 0, & x<0,\\ x, & x\ge0. \end{cases}

Its graph is horizontal for negative inputs and follows the line y=xy=x for nonnegative inputs. The two pieces meet at the boundary x=0x=0.

Exercise: Recognize a quadratic rule

Which function is quadratic?

Choose one function

Select one choice, then check.

Review

Not marked done.

Your checked work will be saved automatically.

Correct records the checked result. Done is your learning status, and you can undo it.

Clearing an answer or resetting code starts the response again. It does not remove Done or Review.

Your checked work will be saved automatically.

HintInspect the powers of the input

In a quadratic polynomial, the largest exponent of xx is 22.

SolutionIdentify the squared term

The rule f(x)=x2+2xf(x)=x^2+2x is quadratic because its highest power of xx is 22. The rule 3x13x-1 is affine, while 2x2^x is exponential because the variable appears in the exponent.

Read Behavior over Regions

A function is increasing on a region if larger inputs there produce larger outputs. It is decreasing if larger inputs produce smaller outputs. A function may do both on different regions. For example, f(x)=x2f(x)=x^2 decreases as xx moves from negative values toward 00 and increases for positive xx.

A graph can also show symmetry. The graph of x2x^2 is symmetric across the vertical axis because (x)2=x2(-x)^2=x^2. The graph of x3x^3 has rotational symmetry about the origin because (x)3=x3(-x)^3=-x^3.

Some functions are bounded above or below; their outputs cannot pass a fixed boundary. Others approach a line without reaching it. Such a line is an asymptote. For instance, exe^x approaches the horizontal axis as xx\to-\infty but remains positive, while lnx\ln x decreases without bound as xx approaches 00 from the right.

Words such as curvature, saturation, maximum, and minimum describe more specific behavior. Later chapters will define these ideas more precisely. At this stage, the important habit is to name the region and the visible evidence rather than describing an entire function from one small part of its graph.

Transformations Move and Scale a Known Graph

Starting from y=f(x)y=f(x), changes outside the function alter outputs, while changes inside the function alter inputs:

New functionEffect on the graph of ff
f(x)+cf(x)+cshift vertically by cc; upward when c>0c>0
f(xc)f(x-c)shift horizontally to the right by cc when c>0c>0
af(x)a f(x)scale vertically by a\lvert a\rvert and reflect across the horizontal axis when a<0a<0
f(ax)f(ax)compress horizontally when a>1\lvert a\rvert>1, stretch when 0<a<10<\lvert a\rvert<1, and reflect across the vertical axis when a<0a<0
f(x)-f(x)reflect across the horizontal axis
f(x)f(-x)reflect across the vertical axis

For the horizontal scaling rule f(ax)f(ax), assume a0a\ne0. If a=0a=0, every input is sent to f(0)f(0), so the result is a constant function rather than a horizontally scaled copy of the original graph.

The horizontal shift can feel reversed. To find where f(xc)f(x-c) reproduces the old output f(0)f(0), solve xc=0x-c=0, which gives x=cx=c. The feature formerly at x=0x=0 therefore appears at x=cx=c, to the right when c>0c>0.

Exercise: Read a vertical shift

If g(x)=f(x)+3g(x)=f(x)+3, how does the graph of gg compare with the graph of ff?

Choose the transformation

Select one choice, then check.

Review

Not marked done.

Your checked work will be saved automatically.

Correct records the checked result. Done is your learning status, and you can undo it.

Clearing an answer or resetting code starts the response again. It does not remove Done or Review.

Your checked work will be saved automatically.

HintHold the input fixed

At any chosen xx, compare g(x)g(x) directly with f(x)f(x).

SolutionCompare outputs at the same input

Since

g(x)=f(x)+3,g(x)=f(x)+3,

every output is exactly 33 larger. Each point therefore moves upward by three units without changing its horizontal coordinate.

Exercise: Read a horizontal shift

If h(x)=f(x4)h(x)=f(x-4), where does a feature originally at input x=0x=0 appear on the graph of hh?

Compute it first, then check your number.

Review

Not marked done.

Your checked work will be saved automatically.

Correct records the checked result. Done is your learning status, and you can undo it.

Clearing an answer or resetting code starts the response again. It does not remove Done or Review.

Your checked work will be saved automatically.

HintMatch the old input

Solve x4=0x-4=0 to find where hh uses the old input 00.

SolutionSolve for the shifted input

The old feature occurred when the input to ff was 00. For hh that happens when:

x4=0,x-4=0,

so x=4x=4. The graph shifts four units to the right.

Read the Axes before Reading the Shape

A graph can suggest zeros, boundaries, extrema, or long-term behavior, but its window and scale may hide important information. A reliable reading begins by naming the input and output, checking their units and displayed ranges, and identifying the function's domain. Then locate intercepts and boundaries, describe increasing or decreasing behavior on named regions, and verify important claims with the formula or numerical values.

This method applies to ordinary curves as well as later loss graphs, activation functions, probability densities, and optimization surfaces.

Review

Not marked done.