Absolute Value Grapher
Plot y = |f(x)| and see the characteristic V-shape and reflections.
About the Absolute Value Grapher
Plot y = |f(x)| and see the characteristic V-shape and reflections.
How to use this calculator
- Enter a function \(f(x)\) such as \(x^2-4x-5\).
- Choose the graphing range if your tool lets you adjust it.
- Plot \(y=|f(x)|\) to see the reflected graph.
- Compare the original function and the absolute value graph to identify which sections were moved above the x-axis.
The formula explained
The graph of \(y=|f(x)|\) shows the absolute value of each output of \(f(x)\). This means negative values become positive, so the graph reflects any below-axis parts upward.
- x = the input value on the horizontal axis
- f(x) = the original function value before absolute value is applied
- |f(x)| = the absolute value of the output, always zero or positive
Step by step method
- Graph the original function \(f(x)\) or identify a few points from it.
- For each point with a negative \(y\)-value, change it to its positive opposite, because absolute value makes outputs nonnegative.
- Keep every point with a nonnegative \(y\)-value unchanged.
- Plot the new points and connect them, noting that any reflected part may meet the x-axis in a sharp corner.
Worked example
Problem. Graph \(y=|x^2-4x-5|\) and describe what happens to the part of the graph below the x-axis.
- First find where \(x^2-4x-5=0\). Factoring gives \((x-5)(x+1)=0\), so the x-intercepts are \(x=-1\) and \(x=5\).
- Check a point between them, such as \(x=0\): \(0^2-4(0)-5=-5\), so that part of the graph is below the x-axis and will be reflected upward.
- After applying absolute value, the point \((0,-5)\) becomes \((0,5)\), while points like \((6,7)\) stay the same. The graph of \(y=|x^2-4x-5|\) is the original parabola with its negative part flipped above the x-axis.
Answer. The graph crosses the x-axis at \(x=-1\) and \(x=5\), and the section between them is reflected upward.
Tips and common mistakes
- Only the output values get an absolute value, not the input \(x\). So \(|f(x)|\) is different from \(f(|x|)\).
- If the original graph touches or crosses the x-axis, those points stay on the x-axis after the reflection, so they often mark the sharp corners of the new graph.
Frequently asked questions
What does absolute value do graphically?+
It reflects any negative part of the function above the x-axis.
Where is the vertex of |x − h|?+
At x = h.
More Mathematics Tools
Explore related calculators in this category
Absolute Value Calculator
Calculate the absolute value of any number. Use this free calculator for fast, accurate answers, complete with the formula and a worked example.
Absolute Value Equation Solver
Solve equations of the form |ax + b| = c.
Cosine Function Grapher
Plot y = A·cos(Bx + C) + D and compare it with the sine wave.
Sine Function Grapher
Plot y = A·sin(Bx + C) + D and explore amplitude, period and phase shift.
You Might Also Like
Popular tools from other categories
Time Value of Money Calculator
Calculate present and future values of money.
.htaccess Generator
Generate common .htaccess rules, force HTTPS, www redirect, and caching, with checkboxes.
1031 Exchange Calculator - Free Online
Free Calculate tax deferral in a 1031 exchange. Step-by-step solutions and formulas included. Fast, accurate, and free, with formula and example.
4% Rule Calculator
Find the retirement nest egg you need using the 4% safe-withdrawal rule.
Can't Find the Right Calculator?
Try our AI Math Solver, type any problem in plain English and get instant step-by-step solutions.