MyInternships.in

Free online graphing tool

Absolute Value Graph Calculator (y = |x|)

The absolute value (or modulus) of a number is its distance from zero, ignoring sign. Graphing y = |x| therefore folds the negative half of the line upwards, producing the familiar V shape with its point at the origin.

The general form y = a|x − h| + k puts the vertex at (h, k). A negative a turns the V upside down, and a larger |a| makes the arms steeper.

Key points of y = a |x - h| + k inside the visible window (-10 ≤ x ≤ 10). Pan or zoom to search a different range.

Roots (x-intercepts)

  • x = -1
  • x = 5

y-intercept

  • y = -1

Turning points

  • Min (2, -3)

Intersections

No crossing with another curve

Enter a value of x

What is a absolute value graph calculator?

An absolute value graph calculator plots y = a|x − h| + k. The graph is a V whose vertex sits at (h, k). It opens upwards when a > 0 and downwards when a < 0, and the two arms have gradients a and −a. The vertex is the point where the expression inside the bars equals zero.

Key facts at a glance

Definition|x| = x when x ≥ 0, and −x when x < 0
General formy = a|x − h| + k
Vertex(h, k) — where the bracket equals zero
Opens upwards whena > 0
Arm gradients+a to the right of the vertex, −a to the left
Axis of symmetryThe vertical line x = h
Rangey ≥ k when a > 0; y ≤ k when a < 0
How to type itUse vertical bars: |x - 2|, or abs(x - 2)

How to plot absolute value graphs — step by step

  1. 1

    Plot the basic V

    Type y = |x| using the vertical bar key, or y = abs(x) if that is easier to type.

  2. 2

    Move the vertex

    Drag the h and k sliders. h slides the V sideways, k moves it up and down.

  3. 3

    Flip and steepen it

    Make a negative to turn the V upside down; increase |a| to make the arms steeper.

  4. 4

    Solve a modulus equation

    Add a second equation such as y = 4. The x-values where the two graphs meet are the solutions of |x − 2| − 3 = 4.

Absolute value examples you can plot right now

Copy any equation into the calculator above, or open it in the full calculator with one click.

The basic modulus

y = |x|

Vertex at the origin, arms of gradient ±1.

Plot this →

Shifted vertex

y = |x - 2| - 3

Vertex at (2, −3); crosses the x-axis at x = −1 and x = 5.

Plot this →

Upside-down V

y = -2|x| + 4

Opens downwards from a maximum at (0, 4).

Plot this →

Modulus of a quadratic

y = |x^2 - 4|

The part of the parabola below the axis is reflected upwards.

Plot this →

Modulus of a sine wave

y = |sin(x)|

Every trough flips into a crest, halving the period visually.

Plot this →

Understanding the absolute value graph

Why the graph has a corner
At the vertex the function switches from −x to +x, so the gradient jumps from −a to +a. That sudden change is a sharp corner, and it is why |x| has no derivative at x = 0.
Solving |f(x)| = k graphically
Plot y = |f(x)| and the horizontal line y = k. Every intersection is a solution, which makes it obvious when an equation has two solutions, one, or none at all.
Reflecting the negative part
Graphing y = |f(x)| takes any part of f below the x-axis and flips it above. Plot y = x^2 - 4 and y = |x^2 - 4| together to see exactly which section moved.

Absolute value graph — frequently asked questions

How do I graph an absolute value function?

Type y = |x - 2| using the vertical bar character, or y = abs(x - 2) if the bars are awkward on your keyboard. Both give the same V-shaped graph.

How do I find the vertex of an absolute value graph?

Set the expression inside the bars to zero and solve for x — that gives the vertex's x-coordinate. For y = a|x − h| + k the vertex is simply (h, k), and the Key points tab reports it as a turning point.

Why does the absolute value graph make a V?

Because negative inputs are made positive, the left half of the line is reflected upwards. The two straight arms meet at the point where the inside of the modulus is zero.

How do I solve |x − 3| = 5 with a graph?

Plot y = |x - 3| and y = 5, then read the intersections: x = −2 and x = 8. The Key points tab lists both for you.

What does y = |f(x)| do to any graph?

It reflects every part of the curve that lies below the x-axis up above it, leaving the rest unchanged. Try y = |sin(x)| or y = |x^2 - 4| to see it.

Can an absolute value graph open downwards?

Yes, when a is negative. y = -|x| is an upside-down V with its maximum at the origin.

Every graph type

Hiring engineering or analytics talent in India?

MyInternships.in connects 1,20,000+ students and freshers — from IITs, NITs, IIITs and every major engineering and commerce college in India — with 5,000+ companies. Post an internship or fresher role in minutes, screen candidates by skill, campus and graduation year, and hire without any commission.

Free to use, no signup. Part of the MyInternships.in free tools for students.