Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Functions Families


Linearf(x) = 1x + 0
×
900 × 620







Browsing the Family Picker

The picker lists every family with a small glyph showing the characteristic shape of that family and the family's name. Twelve families are included, covering most of pre-calculus and the standard families seen through introductory calculus:

Linear — straight lines
Quadratic — parabolas
Cubic — odd-degree polynomials with an inflection point
Poweraxnax^n for adjustable exponent nn
Rational — reciprocal curves with vertical asymptotes
Exponential — multiplicative growth or decay
Logarithmic — the inverse of exponential
Trigonometricsine, cosine, and tangent (grouped together)
Absolute value — sharp V shape
Square root — half-sideways parabola

The currently selected family is highlighted in light blue with a darker glyph color, so the picker doubles as a status indicator.

The Trigonometric Group

Three of the families — sine, cosine, and tangent — share a tinted, bordered box labeled "Trigonometric" inside the picker. The grouping reflects how they are usually taught and used together: same four-parameter form f(x)=Atrig(Bx+C)+Df(x) = A \cdot \text{trig}(Bx + C) + D, related by phase shifts, and bundled in every standard textbook chapter.

Sine and cosine differ only by a phase shift of π2\frac{\pi}{2} — they have identical periodicity, amplitude, and offset behavior. Tangent is the odd one out: same parameter scheme but a different period (π\pi rather than 2π2\pi), unbounded values, and vertical asymptotes where the cosine in its denominator vanishes.

Switching between the three families is the fastest way to see the structural family resemblances and the points where they diverge.

Adjusting Parameters with the Sliders

Below the family list sit the parameter sliders for the currently active family. Each family has its own set:

Linear: slope aa, intercept bb
Quadratic: coefficients aa, bb, cc
Cubic: leading coefficient aa, middle coefficient bb
Power: coefficient aa, exponent nn (including non-integer values)
Rational: numerator aa, shift hh
Exponential: coefficient aa, base
Logarithmic: scale aa, vertical shift dd
Sine / Cosine / Tangent: amplitude AA, frequency BB, phase CC, offset DD
Absolute / Square root: coefficient aa, shift hh

Each slider shows the parameter name on the left and its current numeric value on the right in blue monospace. Dragging the slider updates the plot, the equation badge, and the explanation in real time — there is no apply step.

Reading the Plot and Equation Badge

The plot panel header has two elements. On the left, the family name identifies what is being graphed. On the right, the equation badge — in monospaced blue type — shows the current symbolic form with parameter values substituted. As you drag a slider, the equation rewrites character by character to match.

The plot itself is a coordinate system with axis labels, gridlines, and the curve y=f(x)y = f(x) drawn in accent blue. A crosshair follows the mouse, and a small tooltip near the curve shows the value f(x)f(x) at the cursor's xx-coordinate. Functions with restricted domains — square root undefined for negative inputs, logarithm undefined at and below zero, tangent and rational families undefined at asymptotes — are simply not drawn outside their domains, leaving gaps in the curve that make the domain visible.

The plot starts zoomed to roughly [10,10][-10, 10] on both axes. You can pan and zoom for closer inspection.

Exploring the Info Panel

The right-side info panel updates whenever you select a family. Two tabs are available:

Explanation — a short prose summary of the family. Covers the canonical equation, what each parameter does, the shape and behavior of the curve, and any defining features (asymptotes, periodicity, vertex, inflection point, domain restrictions). Mathematical notation renders inline.
Resources — external links to relevant Wikipedia articles for further reading. Each family includes at least one curated link.

The explanation is intentionally brief — it complements the visual rather than replacing dedicated theory pages. Once you have the shape in your head from the gallery, the linked resources can fill in any formal definitions or proofs.

What is a Function Family?

A function family is a parametrized class of functions sharing the same algebraic structure. The linear family f(x)=ax+bf(x) = ax + b contains every straight line; the quadratic family f(x)=ax2+bx+cf(x) = ax^2 + bx + c contains every parabola; the sine family f(x)=Asin(Bx+C)+Df(x) = A \sin(Bx + C) + D contains every shifted, scaled sinusoid.

Each member of a family is determined by a small set of numerical parameters, and members of the same family share qualitative features — number of roots, end behavior, symmetry, domain — regardless of specific parameter values. Two parabolas can look very different numerically, but both have a single vertex, both open in one direction, and both come from a degree-two polynomial.

Recognizing a function family at sight is one of the foundational skills of algebra and pre-calculus. The gallery is built to support that pattern recognition: see the same family across many parameter choices, and the invariant shape settles into memory.

For deeper theory on function classification, see functions theory.

Defining Features Across Families

Different families are distinguished by which qualitative features they support. The gallery's families illustrate most of the patterns you encounter in elementary mathematics:

End behaviorlinear and odd-degree polynomials like the cubic go to ±\pm\infty in opposite directions; even-degree polynomials head the same way at both ends; exponentials hit a horizontal asymptote on one side; trig functions oscillate forever.
Roots — linear has exactly one (when nonzero); the quadratic has zero, one, or two; exponential and pure sine/cosine families have none in some configurations.
Asymptotesrational, tangent, and logarithmic families have vertical asymptotes; exponential, rational, and logarithmic have horizontal ones in the appropriate limit.
Periodicity — only the trigonometric families repeat exactly.
Domain restrictionssquare root requires xhx \geq h; logarithm requires x>0x > 0 after shifting; rational excludes x=hx = h.
Smoothnessabsolute value has a corner where it is not differentiable; every other family in the gallery is smooth wherever defined.

How to Compare Families

The gallery is designed to support side-by-side comparison even though only one family is plotted at a time. A few suggested workflows:

Match the parameters when possible. Setting amplitude A=1A = 1, frequency B=1B = 1, phase C=0C = 0, offset D=0D = 0 on sine, cosine, and tangent shows the canonical curves directly comparable to each other.
Sweep a single parameter. Hold all but one slider fixed and drag the remaining one across its range — the family's response to that single parameter becomes obvious without competing changes confusing the picture.
Compare growth rates. Switch between power (n=2n = 2, then n=3n = 3), exponential (base 22), and logarithmic to see how quickly each family blows up or flattens for large xx.
Find an inverse pair. Exponential and logarithmic are inverses of each other; setting matching parameters and mentally reflecting one across y=xy = x should yield the other.

The plot's fixed default zoom makes these comparisons consistent — you are always looking at the same window, which makes shape comparison meaningful.

The Linear Family

The linear family is f(x)=ax+bf(x) = ax + b — every straight line that is a function. Two parameters fix a member completely: the slope aa and the intercept bb.
-10-5510-55f(x) = x
f(x) = x, frozen

The identity line at default parameters: slope 1, intercept 0 — through the origin, climbing one unit up for every unit right.

The gallery's default member is f(x)=xf(x) = x: slope 11, intercept 00, the identity line through the origin. Drag the slope slider and the line tilts; drag bb and it slides vertically without changing direction.

The defining property is a constant rate of change: every unit step in xx changes f(x)f(x) by exactly aa, everywhere. That is why the graph can never bend. A nonzero slope guarantees exactly one root at x=bax = -\frac{b}{a}; slope zero degenerates the family into horizontal constant lines.

Linear functions are the local model for everything smooth: zoom far enough into any differentiable curve — the cubic near its inflection point, the sine wave near a zero crossing — and what you see approaches a straight line.

The Quadratic Family

The quadratic family is f(x)=ax2+bx+cf(x) = ax^2 + bx + c — the parabolas. The gallery's default member is f(x)=0.3x23f(x) = 0.3x^2 - 3, an upward-opening parabola with vertex at (0,3)(0, -3).
-10-5510-55f(x) = 0.3x² − 3
f(x) = 0.3x² − 3, frozen

A wide upward bowl with its vertex at (0, −3); the two axis crossings near ±3.16 are the roots the discriminant promises.

The sign of aa decides the opening direction — up for positive, down for negative — and a|a| controls the width: the smaller it is, the flatter the bowl. The vertex sits at x=b2ax = -\frac{b}{2a}, the single turning point of the curve, and the vertical line through it is the parabola's axis of symmetry.

Root count is governed by the discriminant b24acb^2 - 4ac: two real roots when positive, one repeated root when zero, none when negative. On the default member the discriminant is 3.6>03.6 > 0, and the two roots are visible where the curve crosses the axis near x=±3.16x = \pm 3.16.

The quadratic is the even-degree prototype: both ends head the same way, unlike the linear and cubic families whose ends diverge. It reappears inside the power family as the special case n=2n = 2.

The Cubic Family

The gallery's cubic family is f(x)=ax3+bxf(x) = ax^3 + bx, an odd-degree polynomial with the default member f(x)=0.2x32xf(x) = 0.2x^3 - 2x.
-10-5510-55f(x) = 0.2x³ − 2x
f(x) = 0.2x³ − 2x, frozen

Ends running opposite ways, two turning points, and an inflection at the origin — the full odd-degree signature in one window.

The two ends run in opposite directions — down on the left, up on the right when a>0a > 0 — the signature of odd degree. The default member has three roots (x=0x = 0 and x=±10x = \pm\sqrt{10}), two turning points, and an inflection point at the origin where concavity flips.

Because this form omits the x2x^2 and constant terms, every member is symmetric about the origin: f(x)=f(x)f(-x) = -f(x), an odd function in the exact sense. Dragging bb negative deepens the middle wiggle; b0b \geq 0 flattens it away, leaving a monotone S-curve.

Compare it with the quadratic to see the even/odd contrast, and with the power family at n=3n = 3 for the pure cubic without the linear correction term.

The Power Family

The power family is f(x)=axnf(x) = ax^n with an adjustable exponent — one family that impersonates several others. The default member is f(x)=x2f(x) = x^2.
-10-5510-55f(x) = x²
f(x) = x², frozen

At n = 2 the family wears its parabola disguise; dragging the exponent replays polynomials, reciprocals, and roots in this same window.

The exponent decides the character. Positive integers give polynomials: n=1n = 1 recovers the linear identity, n=2n = 2 the parabola, n=3n = 3 the pure cubic. Negative exponents produce reciprocal curves with asymptotes, overlapping the rational family: n=1n = -1 is exactly ax\frac{a}{x}. Fractional exponents give roots — n=0.5n = 0.5 is the square root shape, defined only for x0x \geq 0.

The tell-tale is the behavior near x=0x = 0: polynomials pass through the origin, negative powers blow up beside it, fractional powers stop dead at it. Sweeping the nn slider across its range replays this whole taxonomy in a few seconds — the single most instructive drag in the gallery.

The Rational Family

The rational family here is the shifted reciprocal f(x)=axhf(x) = \frac{a}{x - h}, with the default member f(x)=1xf(x) = \frac{1}{x}.
-10-5510-55f(x) = 1 / x
f(x) = 1/x, frozen

Two branches split by the vertical asymptote at x = 0, each flattening toward y = 0 as it runs away from the pole.

The denominator vanishes at x=hx = h, and the plot shows the consequence: a vertical asymptote (dashed red) with the curve exploding to ++\infty on one side and -\infty on the other. Far from the pole the values shrink toward zero, giving a horizontal asymptote at y=0y = 0. The graph is two disconnected branches.

The default member is odd, symmetric about the origin, with branches in the first and third quadrants; negative aa flips them into the second and fourth. Dragging hh slides the whole picture — pole, branches and all — horizontally.

The same hyperbola shape appears in the power family at n=1n = -1, and the tangent family repeats the asymptote behavior periodically.

The Exponential Family

The exponential family is f(x)=abxf(x) = a \cdot b^x — constant multiplicative growth. The default member is f(x)=2xf(x) = 2^x.
-10-5510-55f(x) = 2ˣ
f(x) = 2ˣ, frozen

Doubling with every step right, hugging the axis to the left — runaway growth on one side, an asymptote on the other.

Each unit step right multiplies the value by the base: 1,2,4,8,1, 2, 4, 8, \ldots Rightward the curve outruns every polynomial; leftward it hugs the xx-axis without ever touching it — a horizontal asymptote at y=0y = 0 and therefore no root. Bases between 00 and 11 mirror the picture into decay.

The value at x=0x = 0 is always aa, whatever the base — every member pierces the yy-axis at its coefficient.

Exponentials are the inverse partners of the logarithmic family: reflect y=2xy = 2^x across the line y=xy = x and you get y=log2xy = \log_2 x. Racing this family against the power family at large xx is one of the comparisons suggested in How to Compare Families.

The Logarithmic Family

The logarithmic family is f(x)=aln(x)+df(x) = a\ln(x) + d, defaulting to the natural logarithm f(x)=ln(x)f(x) = \ln(x).
-10-5510-55f(x) = ln(x)
f(x) = ln(x), frozen

Nothing exists left of the asymptote at x = 0; the curve crosses at x = 1, then climbs forever at an ever-slowing pace.

The domain is x>0x > 0 only — the curve simply does not exist left of the vertical asymptote at x=0x = 0 (dashed red), where it plunges toward -\infty. It crosses the axis at x=1x = 1 (since ln1=0\ln 1 = 0), reaches 11 at x=e2.718x = e \approx 2.718, and keeps climbing forever — but ever more slowly, with no horizontal asymptote despite appearances.

That deceleration is the mirror image of exponential acceleration: the logarithm is the exponential family reflected across the line y=xy = x. Where the exponential turns addition into multiplication, the logarithm turns multiplication back into addition.

Its vertical-asymptote behavior groups it with the rational and tangent families in Defining Features Across Families.

The Sine Family

The sine family is the general sinusoid f(x)=Asin(Bx+C)+Df(x) = A\sin(Bx + C) + D; the default member is the pure f(x)=sin(x)f(x) = \sin(x).
-10-5510-55f(x) = sin(x)
f(x) = sin(x), frozen

Three full cycles of the pure wave: period 2π, bounded between −1 and 1, zeros at every multiple of π.

Four parameters, four independent motions: amplitude AA sets the wave height, frequency BB compresses the period to 2πB\frac{2\pi}{B}, phase CC slides the wave horizontally, offset DD lifts its midline. The default wave oscillates between 1-1 and 11 with period 2π6.282\pi \approx 6.28 — about three full cycles fit in the plot window.

Sine is odd and bounded, its zeros evenly spaced at multiples of π\pi, and — together with its trigonometric siblings — it is the only kind of family in the gallery that repeats exactly forever.

The cosine family is this same wave advanced by a quarter period; the group view in The Trigonometric Group treats the three siblings side by side.

The Cosine Family

The cosine family is f(x)=Acos(Bx+C)+Df(x) = A\cos(Bx + C) + D, defaulting to f(x)=cos(x)f(x) = \cos(x).
-10-5510-55f(x) = cos(x)
f(x) = cos(x), frozen

The same wave as sine arriving a quarter period early: maximum at x = 0 and mirror symmetry across the y-axis.

Cosine is the sine wave shifted by a quarter period: cos(x)=sin(x+π2)\cos(x) = \sin(x + \frac{\pi}{2}). The practical difference is the starting value — at x=0x = 0 cosine sits at its maximum A+DA + D, not at the midline. That makes it an even function, symmetric across the yy-axis, where sine is odd.

Everything else transfers unchanged: period 2πB\frac{2\pi}{B}, bounds D±AD \pm A, zeros now at odd multiples of π2\frac{\pi}{2}.

Flipping between the sine and cosine picker entries with identical parameters is the cleanest way to see a pure phase shift with no other change — one of the workflows recommended in How to Compare Families.

The Tangent Family

The tangent family is f(x)=Atan(Bx+C)+Df(x) = A\tan(Bx + C) + D, defaulting to f(x)=tan(x)f(x) = \tan(x) — the unruly member of the trigonometric trio.
-10-5510-55f(x) = tan(x)
f(x) = tan(x), frozen

Strictly increasing branches sweeping from −∞ to +∞ between red asymptotes spaced π apart.

Since tan(x)=sin(x)cos(x)\tan(x) = \frac{\sin(x)}{\cos(x)}, the function blows up wherever cosine vanishes: vertical asymptotes (dashed red) at x=π2+kπx = \frac{\pi}{2} + k\pi, visible four times across the window. Between consecutive asymptotes the curve sweeps from -\infty to ++\infty in one strictly increasing branch.

Two departures from its siblings: tangent is unbounded — no amplitude ceiling, so AA acts as a vertical scale rather than a wave height — and its period is π\pi, half that of sine and cosine.

Its asymptote pattern makes it the periodic cousin of the rational family; the family resemblances and differences are laid out in The Trigonometric Group.

The Absolute Value Family

The absolute value family is f(x)=axhf(x) = a\,|x - h|, defaulting to f(x)=xf(x) = |x|.
-10-5510-55f(x) = |x|
f(x) = |x|, frozen

Two straight arms meeting in a sharp corner at the origin — continuous everywhere, differentiable everywhere but there.

The graph is a sharp V with its corner at x=hx = h: the left arm has slope a-a, the right arm +a+a, and the switch happens instantly. At the corner the function is continuous but not differentiable — the only non-smooth point offered by any family in the gallery.

Algebraically the V is two linear pieces glued together, which is why absolute value is often the first genuinely piecewise example students meet. Negative aa flips the V upside down into a peak.

The corner's abruptness stands out most next to the quadratic: both are symmetric about a vertical line through their extreme point, but the parabola turns smoothly where the V snaps.

The Square Root Family

The square root family is f(x)=axhf(x) = a\sqrt{x - h}, defaulting to f(x)=xf(x) = \sqrt{x}.
-10-5510-55f(x) = √x
f(x) = √x, frozen

A curve that starts vertically at the origin and flattens forever — with nothing at all to its left.

The curve exists only for xhx \geq h — left of the starting point there is simply nothing to draw, the domain restriction visible as blank plot. At the start the tangent is vertical: the function rises steeply from (h,0)(h, 0), then flattens without bound, growing forever but slower than any linear function.

It is half of a sideways parabola: the inverse of the quadratic x2x^2 restricted to non-negative inputs, just as the logarithmic family inverts the exponential. Inside the power family it is the fractional case n=12n = \frac{1}{2}.

Its combination of a hard domain edge and gentle growth makes it the standard first example of a function whose domain is not all of R\mathbb{R}.