Split the absolute value at its critical point, solve a quadratic on each side, and keep only the roots that land on their own side. For y = |x| and y = x² − 2 the critical point is x = 0, the two cases give x = −2 and x = 2 (the roots x = 1 and x = −1 are rejected), so the system has 2 solutions: (−2, 2) and (2, 2).
Solve y = |ax + b| together with y = px² + qx + r. Enter whole numbers, decimals, or fractions like 1/2.
Solution count
2
y = |x| and y = x² − 2
Critical point
x = 0
x = 0 when x = 0. That is where |x| switches pieces.
Case 1
When x ≤ 0, that is x ≤ 0:
−(x) = x² − 2
x² + x − 2 = 0 (discriminant 9)
Case 2
When x ≥ 0, that is x ≥ 0:
x = x² − 2
x² − x − 2 = 0 (discriminant 9)
The absolute value |ax + b| behaves like two different lines, joined at the critical point x = −b/a. So the system y = |ax + b|, y = px² + qx + r turns into two ordinary quadratic equations, each valid on only one side.
Set the expression inside the bars to zero. For |ax + b| the critical point is x = −b/a.
On the side where ax + b ≥ 0 replace |ax + b| with ax + b. On the other side replace it with −(ax + b).
Set each piece equal to px² + qx + r, move everything to one side, and solve with factoring or the quadratic formula.
Keep a root only if it lies in the interval where its case applies. A root exactly at the critical point is kept once.
Add up the distinct valid roots from both sides. The total is the number of intersection points, from 0 to 4.
The two quadratics, in general (a > 0):
If a is negative the two sides swap. If a = 0, solve px² + qx + r = |b| directly. Each quadratic has at most 2 roots, so the system never has more than 4 solutions. If a discriminant is not a perfect square, keep the answer as an exact radical, such as (−1 − √17)/2.
2 solutions: (−2, 2) and (2, 2)
3 solutions: (−1, 1), (0, 0), and (1, 1)
0 solutions: the graphs never meet
2 solutions: x = (−1 − √17)/2 ≈ −2.56 and x = 2
4 solutions: (−2, 6), (−1, 3), (1, 3), (2, 6)
The same idea works for any equation with absolute values. Find every critical point, sort them, and treat each interval on its own. Inside one interval every expression between bars has a fixed sign, so the bars can be removed without guessing.
For simple forms like |x| = a and |ax + b| = c, start with how to solve absolute value equations. Use this page when a quadratic, a second absolute value, or a solution count is involved.
Example: |x + 1| + |x − 3| = 6
For the quadratic itself, see the quadratic formula and quadratic equations step by step. For two curves that meet, the systems of equations guide covers the substitution idea.
For y = |ax + b| with a ≠ 0, you solve one quadratic on each side of the critical point, and each quadratic has at most 2 roots, so the system has at most 4 solutions. You can get 0, 2, 3, or 4 (for example |x| = x² + 1 has 0, |x| = x² − 2 has 2, |x| = x² has 3, and |3x| = x² + 2 has 4). One solution shows up, for instance, when a = 0 and the parabola only touches the horizontal line y = |b|.
Set the expression inside the bars equal to zero and solve. For |ax + b| the critical point is x = −b/a. It splits the number line into two intervals: on one side ax + b ≥ 0, so |ax + b| = ax + b, and on the other ax + b ≤ 0, so |ax + b| = −(ax + b).
Each interval case is only valid on its own side of the critical point. A root that lands on the other side came from the wrong version of the absolute value, so it does not satisfy the original equation. For |x − 1| = x² − 3, the left case gives (−1 ± √17)/2, but only (−1 − √17)/2 ≈ −2.56 is ≤ 1, so the other root (≈ 1.56) is extraneous.
No. A root at the critical point satisfies both interval cases, but it is one point on the graph, so it counts once. That is why |x| = x² has 3 solutions, (−1, 1), (0, 0), and (1, 1), even though each case produces 2 roots.
If a is negative, the sides swap: ax + b ≥ 0 now means x ≤ −b/a, so check each root against the flipped interval. If a = 0, the absolute value is just the constant |b|, there is no critical point, and you solve px² + qx + r = |b| and count its real roots.
Find every critical point (where an expression inside bars equals zero), sort them, and split the number line into intervals. On each interval decide the sign of every expression inside bars, remove the bars with the matching signs, solve, and keep only roots that lie in that interval. For |x + 1| + |x − 3| = 6 the critical points are −1 and 3, and the solutions are x = −2 and x = 4.