
Functions, Equations, and Their Shapes#
A graph shows a relationship between numbers. This article maps the main families in two dimensions. Before the families, two words need to stay distinct.
A function and an equation#
A function assigns one output to each allowed input. We write that as y = f(x). For each allowed x there is one y. The line y = mx + c, the parabola y = x², and the wave y = sin(x) are functions.
An equation says two expressions are equal. A function y = f(x) is an equation with one y for each allowed x. The circle x² + y² = r² is an equation with two y values for many x values. A vertical line can meet that circle at two points.
The sketches in §1 are functions. The closed curves in §2 are equations that tie x and y together. A shift, a stretch, or a flip, as in §3, keeps a function a function. A turn, as in §6, mixes x and y. After that turn, the graph may have two heights at one horizontal position.
A straight line has a constant rate of change. A parabola has a rate that changes steadily. A wave repeats.
Two questions sort most graphs. Which family does the relationship belong to? What has been done to its basic shape: a shift, a stretch, a flip, or a turn?
1. The basic families#
Each sketch shows one example. The windows differ where needed, so compare how the curves behave, not how large they look. “Symmetry” describes a graph. “Quadratic” and “cubic” describe polynomial degree.
Constant
y = c
A horizontal line. The output stays the same as x changes. Changing c moves the line up or down.
Linear
y = mx + c
A straight line. The slope m controls steepness and direction; c gives the height where the line crosses the y-axis. Positive slope rises, negative slope falls, and zero slope gives a constant.
Quadratic
y = x²
A U-shaped parabola. Every quadratic y = ax² + bx + c, with a nonzero, has a vertical line of mirror symmetry. Its vertex form, y = a(x − h)² + k, exposes the vertex (h, k). A negative a turns the opening downward.
Cubic
y = x³
The basic cubic rises through the origin and has point symmetry: a half-turn about the origin leaves it unchanged. A general cubic is y = ax³ + bx² + cx + d, with a nonzero. Every cubic has point symmetry about its inflection point, but some have a peak and a valley while others increase or decrease throughout.
Higher powers
y = xⁿ
For positive integer n, even powers such as x⁴ have mirror symmetry about the y-axis. Odd powers such as x⁵ have point symmetry about the origin. Compared with x² or x³, higher powers are flatter near zero and grow faster once the magnitude of x exceeds 1. General higher-degree polynomials can have several bends and turning points; they need not retain these symmetries.
Absolute value
y = abs(x)
A V shape, made of two straight pieces meeting at a corner. Here abs(x) means the magnitude of x: abs(−3) = 3 and abs(3) = 3. Its transformed form y = a × abs(x − h) + k moves the corner to (h, k).
Roots
y = √x
The square-root graph starts at the origin, extends rightward and gradually becomes less steep. Real square roots require a nonnegative input. The cube-root graph y = ∛x also accepts negative inputs, has point symmetry, and is steep near the origin. Root functions reverse the corresponding power functions on suitable domains.
Reciprocal and rational
y = 1/x
Two separate branches. The graph approaches the x-axis and the y-axis, and it never meets either line. Those lines are asymptotes. It is undefined at x = 0. A useful variation is y = a/(x − h) + k, whose asymptotes are x = h and y = k. More general rational functions are ratios of polynomials; they may have extra branches, holes or different asymptotes.
Exponential
y = 2ˣ
Growth starts gently and becomes increasingly steep. In the general form y = bˣ, the base b is positive and is not 1. Bases above 1 give growth; bases between 0 and 1 give decay. The unshifted graph passes through (0, 1) and approaches y = 0.
Logarithmic
y = ln(x)
The natural logarithm increases quickly near zero and more slowly later. It accepts only positive inputs, passes through (1, 0), and has the vertical asymptote x = 0. It is the inverse of y = eˣ. Other logarithm bases change the vertical scale, and bases between 0 and 1 reverse the direction.
Sine and cosine
y = sin(x)
Smooth repeating waves. Sine starts at zero; cosine starts at its maximum. Both have amplitude 1 and period 2π when the angle is measured in radians. Sine has point symmetry about the origin; cosine has mirror symmetry about the y-axis.
Tangent
y = tan(x)
Repeating rising branches separated by vertical asymptotes. Its period is π radians. Unlike sine and cosine, tangent is unbounded: it has no finite amplitude.
2. Closed curves: circles, ellipses, and hyperbolas#
So far, most equations have the form y = f(x): one output y for each allowed input x. Some familiar curves need an equation that ties x and y together.
| Curve | Standard equation | Shape |
|---|---|---|
| Circle | x² + y² = r² | A closed round curve, radius r > 0 |
| Ellipse | x²/a² + y²/b² = 1 | A closed oval; a and b are positive semiaxis lengths |
| Hyperbola | x²/a² − y²/b² = 1 | Two open branches facing left and right; a, b > 0 |
A vertical line can cross a circle at two points, so a complete circle cannot be one function y = f(x). Parabolas, ellipses, and hyperbolas are conic sections. A circle is a special ellipse. The reciprocal graph y = 1/x is also a hyperbola, turned compared with the standard example above.
3. One formula for many transformations#
Start with a familiar graph y = f(x). Many variations fit one formula:
y = a × f(b × (x − h)) + k
Here a and b are nonzero. That formula gives a new height y at a chosen x. To find where an old point moves, undo the formula one step at a time.
Let (u, v) lie on the original graph, so v = f(u). Inside the new formula, f receives b × (x − h). That quantity is the old input. Set it equal to u:
b × (x − h) = u
x = h + u/b
y = a × f(b × (x − h)) + k
y = a × f(b × (h + u/b − h)) + k
y = a × v + k
This point view names each change, and it names the order of the changes.
| Parameter | Effect | Example |
|---|---|---|
| h | Horizontal shift | h = 3 moves right by 3 |
| k | Vertical shift | k = −2 moves down by 2 |
| Magnitude of a | Vertical scale factor | a = 2 doubles vertical distances before shifting |
| Magnitude of b | Horizontal scale factor is its reciprocal | b = 2 halves horizontal distances before shifting |
| Negative a | Vertical reflection before shifting | a = −1 flips the original graph across the x-axis |
| Negative b | Horizontal reflection before shifting | b = −1 flips the original graph across the y-axis |
Why does x − 3 move a graph right? The original input zero now occurs at x = 3. Likewise, replacing x with 2x makes every original input arrive at half its previous horizontal position.
4. A parabola transformed, step by step#
Begin with the basic parabola y = x².
- Shift right: y = (x − 3)². The vertex moves to (3, 0).
- Stretch vertically: y = 2(x − 3)². Heights relative to the vertex double, so the parabola looks narrower.
- Reflect vertically: y = −2(x − 3)². It now opens downward.
- Shift up: y = −2(x − 3)² + 4. The vertex is now (3, 4).
Its mirror symmetry survives, but the symmetry line has moved from x = 0 to x = 3. “Narrower” is a visual result. It can come from a vertical stretch or a horizontal compression. For some families, different parameter choices produce the same graph.
5. Waves: amplitude, period, and phase#
A transformed sine wave is commonly written as:
y = A × sin(ω × (x − h)) + k
- Amplitude: the magnitude of A, measured from the middle line to a peak.
- Period: 2π divided by the magnitude of ω, assuming radians and nonzero ω.
- Horizontal shift: h, also called a phase shift in this form.
- Middle line: y = k.
For example, y = 2 × sin(3 × (x − π/6)) + 1 has amplitude 2, period 2π/3, a rightward shift of π/6, and middle line y = 1.
6. Rotation mixes the coordinates#
A shift changes position. A scale changes size along chosen directions. A rotation turns the whole curve. To rotate a point counterclockwise by an angle θ about the origin, use:
X = x cos(θ) − y sin(θ)
Y = x sin(θ) + y cos(θ)
Those two lines are one multiplication. The square array is the rotation matrix. The column on the right is the old point. The column on the left is the same point after the turn.
\[\begin{bmatrix} X \\ Y \end{bmatrix} = \begin{bmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix}\]Read the matrix by columns. The first column is where \((1, 0)\) lands. The second column is where \((0, 1)\) lands. Any other point is \(x\) copies of the first column, plus \(y\) copies of the second. That sum is why \(x\) and \(y\) mix.
A quarter turn has \(\cos 90^\circ = 0\) and \(\sin 90^\circ = 1\), so the matrix is
\[\begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix}\]The point \((x, y)\) becomes \((-y, x)\).
Turn by an angle \(\alpha\), then by an angle \(\beta\). The combined turn is one turn by \(\alpha+\beta\). Write \(R(\theta)\) for the rotation matrix of that angle.
\[R(\alpha+\beta)=R(\beta)\,R(\alpha)\]The right-hand matrix acts first. The turn by \(-\theta\) uses the same matrix with the two sine entries swapped in sign. That turn undoes the first one. The steps for multiplying any two matrices are in Matrices: A Complete Revision Guide.
Unlike the earlier changes, rotation generally mixes x and y. A rotated graph may no longer be a function of the horizontal coordinate. For example, rotating y = x² counterclockwise by 90° gives X = −Y², a sideways parabola opening left.
A centered circle looks unchanged under rotation. An ellipse generally changes orientation. Rotated conic equations can contain an xy term:
Ax² + Bxy + Cy² + Dx + Ey + F = 0
The coefficients determine the conic, including possible degenerate cases. For a nondegenerate conic, the discriminant B² − 4AC separates ellipse-type, parabola-type, and hyperbola-type curves: negative, zero, or positive.
7. Not every change is a transformation of one parent curve#
This is the limit of the parent-shape idea in §3. Every nondegenerate vertical quadratic can be obtained from y = x² by shifts, scaling, and reflection. Cubics need more care.
y = x³
y = x³ − 3x
The graph of y = x³ keeps rising: the slope is zero at the origin and positive at every other x. The graph of y = x³ − 3x rises, then falls, then rises, so it has one local peak and one local valley. Shifting and nonzero scaling along the coordinate axes leave y = x³ with that single rise. Those moves do not build the peak and the valley of y = x³ − 3x.
After moving a cubic’s inflection point to the origin, its equation takes the form y = au³ + pu, with a nonzero. The remaining linear term matters. Depending on its relation to a, the cubic can have two turning points, a stationary inflection, or no stationary point. “Cubic” names a family with internal variations, not one rigid outline.
A general quartic may have one valley or a W-like form. Adding terms, changing powers, or combining functions can change the structure of a graph beyond moving and stretching it.
8. A practical way to read an unfamiliar equation#
- Recognize the ingredients: powers, roots, ratios, exponentials, logarithms, or trigonometric functions.
- Check the domain: which inputs are allowed? Denominators cannot be zero. Real square roots need nonnegative inputs. Logarithms need positive inputs.
- Look for landmarks: intercepts, corners, vertices, turning points, asymptotes, and repeating intervals.
- Identify transformations: what has shifted, stretched, reflected, or rotated?
- Check internal changes: have extra terms added new bends, branches, or turning points?
The equation states the relationship. The graph shows that relationship as a shape. Name the family. Then name the shift, the stretch, the flip, or the turn.
For a map of equation families by the kind of unknown they use, see Types of Equations. For the numbers in front of the terms of a power such as $(x+y)^n$, see Opening a Power. For the same axes drawn in three dimensions, see Colors, Planes, a Sphere and the Meaning of Rotation.
Hashtags#
#Equations #Graphs #CoordinateGeometry #ConicSections #Functions #Transformations #Parabolas #Trigonometry #Algebra #LinearAlgebra #Mathematics

Comments: