The Absolute Value Function Calculator evaluates f(x) = a|x − h| + k for any input, finding the vertex, axis of symmetry, domain, range, x-intercepts, and y-intercept. Enter the parameters a, h, and k to get a complete analysis of the V-shaped graph and its key features.
5
0
0
5
1
0
0
5
0
0
5
1
0
0
The calculator for the absolute value function analyzes f(x) = a|x − h| + k — the standard form of the absolute value function — computing the vertex, axis of symmetry, intercepts, domain, and range from the three parameters a, h, and k. This V-shaped function is one of the foundational function types in algebra and precalculus, and understanding its transformations is essential for function analysis.
Each parameter in f(x) = a|x − h| + k controls a specific geometric transformation of the basic absolute value function f(x) = |x|:
The vertex of the absolute value function is always at the point (h, k) — the sharp corner of the V. The absolute value equation calculator solves the horizontal cross-sections of this graph where f(x) = constant.
The vertex (h, k) is the minimum point when a > 0 (opening upward) and the maximum point when a < 0 (opening downward). The axis of symmetry is the vertical line x = h, which divides the V-shape into two mirror-image halves. The domain is always all real numbers. The range depends on the sign of a:
Use this online calculator to instantly determine these features without manually working through transformation rules. The quadratic function calculator covers the parabola, which shares many structural similarities with the absolute value function.
The y-intercept is found by setting x = 0: f(0) = a|−h| + k = a|h| + k. The x-intercepts are found by solving a|x − h| + k = 0, which gives |x − h| = −k/a. This equation has:
The linear function calculator and function calculators category cover the full range of function types from linear through exponential.
The absolute value function in vertex form is:
$$f(x) = a|x - h| + k$$
Step 1: Compute |x - h|. This is the horizontal distance from $$x$$ to the vertex x-coordinate $$h$$.
Step 2: Evaluate the function.
$$f(x) = a \cdot |x - h| + k$$
The absolute value ensures the distance is non-negative, then $$a$$ scales it and $$k$$ shifts the result vertically.
Step 3: Identify the vertex. The vertex is at $$(h, k)$$. This is the point where the absolute value expression equals zero, giving the minimum (or maximum) of the function.
Step 4: Find x-intercepts. Set $$f(x) = 0$$:
$$a|x - h| + k = 0 \implies |x - h| = -\frac{k}{a}$$
This has solutions only when $$-k/a \geq 0$$:
$$x = h \pm \left|\frac{k}{a}\right|$$
Step 5: Determine direction. If $$a > 0$$, the function opens upward (V-shape) with vertex as minimum. If $$a < 0$$, it opens downward (inverted V) with vertex as maximum.
The Y Value is the function output at the specified x-coordinate. It represents the point $$(x, f(x))$$ on the V-shaped graph.
The Vertex at $$(h, k)$$ is the corner point of the V-shape. It is the minimum value when the function opens upward or the maximum value when it opens downward.
The |x - h| value shows the absolute distance between your input x and the vertex x-coordinate. This intermediate value helps understand how far you are from the vertex.
The X-Intercepts are the points where the function crosses the x-axis. They are symmetric about the vertex. If both intercepts show 0, it may indicate that no x-intercepts exist for the given parameters.
Inputs
Results
f(x) = 2|x-3| - 4. At x=7: |7-3| = 4, so f(7) = 2(4) - 4 = 4. Vertex at (3, -4). X-intercepts: solve 2|x-3| = 4 → |x-3| = 2 → x = 5 or x = 1.
Inputs
Results
f(x) = -|x| + 5. At x=3: f(3) = -3 + 5 = 2. Vertex at (0, 5) is the maximum. X-intercepts at x = ±5 where -|x| + 5 = 0.
The absolute value function $$f(x) = |x|$$ returns the non-negative magnitude of its input. It equals $$x$$ when $$x \geq 0$$ and $$-x$$ when $$x < 0$$. Geometrically, it represents the distance from zero on the number line. The general form $$f(x) = a|x - h| + k$$ allows for stretching, reflecting, and shifting the basic V-shape.
The sharp corner (called a cusp or vertex) occurs because the function switches between two linear pieces at the point where the expression inside the absolute value equals zero. The left branch has slope $$-a$$ and the right branch has slope $$+a$$. Since these slopes are different (unless $$a = 0$$), the function is not differentiable at the vertex, creating the characteristic V-shape.
For $$f(x) = a|x - h| + k$$, the vertex is at the point $$(h, k)$$. The vertex occurs where the expression inside the absolute value equals zero, i.e., $$x = h$$. At this point, $$f(h) = a \cdot 0 + k = k$$. The vertex is the minimum point when $$a > 0$$ and the maximum point when $$a < 0$$.
The function $$f(x) = a|x-h| + k$$ has no x-intercepts when the vertex is above the x-axis and the function opens upward ($$a > 0$$ and $$k > 0$$), or when the vertex is below the x-axis and the function opens downward ($$a < 0$$ and $$k < 0$$). In these cases, the V-shape never reaches or crosses the x-axis.
The absolute value $$|a - b|$$ gives the distance between points $$a$$ and $$b$$ on the number line. This is why $$|x - h|$$ represents the distance from $$x$$ to $$h$$. In higher dimensions, distance formulas like $$\sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}$$ use squares to achieve non-negativity, but the Manhattan distance metric uses absolute values: $$|x_2-x_1| + |y_2-y_1|$$.
Absolute value functions model error measurement (absolute deviation from target), distance calculations, tolerance ranges in manufacturing (acceptable deviation from specification), piecewise pricing structures, signal rectification in electronics (converting AC to DC), robust statistical estimation (L1 regression minimizes sum of absolute residuals), and optimization problems where penalties are proportional to deviation magnitude.
The sharp corner (called a cusp or corner point) at the vertex occurs because the absolute value function is not differentiable at x = h. The left-hand derivative approaching from the left equals −a, while the right-hand derivative approaching from the right equals +a. Since these one-sided derivatives are different (for a ≠ 0), no single tangent line exists at the vertex — producing the sharp V-shape rather than the smooth curve seen in differentiable functions like parabolas.
How helpful was this calculator?
Be the first to rate!