1.2 - Modulus graphs and inequalities

1.2 - Modulus graphs and inequalities

Moving the modulus signs changes the transformation: ∣f(x)∣|f(x)| changes outputs, while f(∣x∣)f(|x|) changes inputs. You will sketch both, preserve the correct domains, and read equations and inequalities from the resulting curves.

Reflecting negative outputs

Do ∣f(x)∣|f(x)| and f(∣x∣)f(|x|) mean the same thing? Take f(x)=(x−2)/(x+1)f(x)=(x-2)/(x+1). At x=0x=0, the first gives 22, while the second gives −2-2. The position of the modulus signs matters.

An output modulus replaces a negative height by its positive opposite without moving its input. For example, (0,−2)(0,-2) becomes (0,2)(0,2).

Output modulus

The graph y=∣f(x)∣y=|f(x)| keeps the parts of y=f(x)y=f(x) on or above the xx-axis and reflects the parts below it in that axis. The domain is unchanged.

∣f(x)∣={f(x),f(x)≥0,−f(x),f(x)<0.|f(x)|=\begin{cases}f(x),&f(x)\ge0,\\-f(x),&f(x)<0.\end{cases}

Find the sign intervals before reflecting. A zero where the original curve crosses with nonzero gradient becomes a corner. A zero where a smooth curve merely touches the axis need not become a corner.

Worked example 1: reflecting one negative interval

Question. Describe the graph of y=∣(x−2)/(x+1)∣y=|(x-2)/(x+1)|.

Plan. Use the zero and pole to identify the negative interval, then reflect it.

The original function is positive for x<−1x<-1, negative for −1<x<2-1<x<2, and positive for x>2x>2. Therefore

y={x−2x+1,x<−1 or x≥2,−x−2x+1,−1<x<2.y=\begin{cases} \dfrac{x-2}{x+1},&x<-1\text{ or }x\ge2,\\[4pt] -\dfrac{x-2}{x+1},&-1<x<2. \end{cases}

The zero remains (2,0)(2,0), and (0,−2)(0,-2) becomes (0,2)(0,2). At −1-1, both branches now tend to +∞+\infty. The horizontal asymptote remains y=1y=1. Since the original derivative at 22 is 3/(2+1)2=1/33/(2+1)^2=1/3, reflection reverses the left gradient, creating a corner.

Answer. Reflect only the interval −1<x<2-1<x<2. The resulting graph is nonnegative, has a corner at (2,0)(2,0), asymptotes x=−1x=-1, y=1y=1, and intercept (0,2)(0,2).

Check. At x=1x=1, the original height is −1/2-1/2, so the new one is 1/21/2. At x=−2x=-2, the original height is 44, so it stays 44.

Square only the numerator factor. This changes the zero from a crossing to a touch, so modulus no longer creates a corner there.

Worked example 2: a repeated zero stays smooth

Question. Which part of g(x)=(x−2)2/(x+1)g(x)=(x-2)^2/(x+1) is reflected in y=∣g(x)∣y=|g(x)|? Does a corner appear at x=2x=2?

Plan. Use the nonnegative squared numerator to find signs, then inspect the curve near its zero.

For x<−1x<-1, the denominator is negative and the numerator is positive, so g<0g<0. For x>−1x>-1, g≥0g\ge0. Thus reflect the left branch x<−1x<-1 only. Near 22, the denominator is positive on both sides, so the graph is unchanged there.

More explicitly,

g′(x)=(x−2)(x+4)(x+1)2,g′(2)=0.g'(x)=\frac{(x-2)(x+4)}{(x+1)^2},\qquad g'(2)=0.

Answer. Reflect x<−1x<-1; retain x>−1x>-1. The point (2,0)(2,0) is a smooth minimum, with no corner.

Check. At x=2+hx=2+h, g=h2/(3+h)g=h^2/(3+h), which is nonnegative for sufficiently small positive or negative hh. Taking its modulus makes no local change.

Reflection preserves holes as well as ordinary domain restrictions: a missing original input is still missing.

Watch out

Modulus does not automatically create a corner at every zero. Check whether the original graph crosses or merely touches, and whether its gradient is nonzero there.

Find the negative interval rather than reflecting an entire side of the yy-axis.

Reflecting the right-hand graph

An input modulus uses the original function at a nonnegative input, so only the right-hand half of its graph supplies the new values.

For x=−3x=-3, f(∣x∣)=f(3)f(|x|)=f(3). The point at input 33 is therefore copied to input −3-3. The old left-hand graph is discarded.

Input modulus

To sketch y=f(∣x∣)y=f(|x|), keep the original graph for x≥0x\ge0, then reflect that retained graph in the yy-axis. The result is even: f(∣−x∣)=f(∣x∣)f(|-x|)=f(|x|).

Its domain consists of inputs for which ∣x∣|x| belongs to the original domain.

A positive excluded input aa gives exclusions x=±ax=\pm a. A negative excluded input is never fed into ff, so it need not exclude any new input. If 00 was excluded, it stays excluded. These are consequences of the domain rule, not extra exceptions.

Worked example 3: a negative pole disappears

Question. Describe y=f(∣x∣)y=f(|x|), where f(x)=(x−2)/(x+1)f(x)=(x-2)/(x+1).

Plan. Keep the original graph for nonnegative inputs and reflect it in the yy-axis.

y=∣x∣−2∣x∣+1.y=\frac{|x|-2}{|x|+1}.

The denominator is at least 11, so the domain is all real inputs and there are no vertical asymptotes. The zeros satisfy ∣x∣=2|x|=2, giving x=±2x=\pm2. At 00, the output is −2-2. As x→±∞x\to\pm\infty, ∣x∣→∞|x|\to\infty and the output tends to 11 from below.

Answer. An even graph with zeros (±2,0)(\pm2,0), minimum (0,−2)(0,-2), horizontal asymptote y=1y=1, and no vertical asymptote. There is a corner at (0,−2)(0,-2), since the reflected one-sided gradients are −3-3 and 33.

Check. Both x=3x=3 and x=−3x=-3 give 1/41/4. The original exclusion −1-1 does not survive: at new input −1-1, the function uses original input 11, giving −1/2-1/2.

Change only the denominator from x+1x+1 to x−1x-1. The original pole is now on the retained side, so reflection produces two poles.

Worked example 4: a positive pole is copied

Question. Describe y=g(∣x∣)y=g(|x|), where g(x)=(x−2)/(x−1)g(x)=(x-2)/(x-1).

Plan. Apply the original restriction to ∣x∣|x|, then copy the right-hand features.

y=∣x∣−2∣x∣−1,∣x∣≠1.y=\frac{|x|-2}{|x|-1},\qquad |x|\ne1.

Thus x≠±1x\ne\pm1. The original positive zero 22 gives zeros ±2\pm2, and the original yy-intercept is (0,2)(0,2). The horizontal asymptote is y=1y=1 at both ends. At x=1x=1, the limits are +∞+\infty from the left and −∞-\infty from the right; symmetry determines those at −1-1.

Answer. An even graph with vertical asymptotes x=±1x=\pm1, horizontal asymptote y=1y=1, zeros (±2,0)(\pm2,0), and intercept (0,2)(0,2).

Check. At x=±1/2x=\pm1/2, the output is 33; at x=±3/2x=\pm3/2, it is −1-1. These agree with a positive central region and reflected negative regions just outside the poles.

The two modulus operations applied to the opening function now look very different. The output modulus has only nonnegative heights; the input modulus is symmetric about the yy-axis and still has negative heights.

[DIAGRAM: asset_name: Where the modulus signs act; asset_slug: cam9231-modulus-comparison; caption: Output reflection and input reflection produce different graphs; description: Three coordinate panels show f(x) equals (x minus 2)/(x plus 1), absolute f(x), and f(absolute x). The original negative section is distinguished from its reflected positive section in the second panel. The third retains and mirrors the right half, showing zeros at plus and minus 2, minimum (0,-2), and no vertical asymptote. Dashed asymptotes and changed intercepts are labelled.]
Output reflection and input reflection produce different graphs

Apply the original restriction to the new input explicitly in this check.

Reading solutions

A modulus inequality asks where the transformed curve lies above or below a line; find the crossing inputs exactly, then read the intervals from the sketch.

For c>0c>0, ∣f(x)∣≤c|f(x)|\le c is equivalent to −c≤f(x)≤c-c\le f(x)\le c. It can also be written f(x)2≤c2f(x)^2\le c^2. Squaring is safe here because both sides of the modulus inequality are nonnegative. For a rational function, multiplying by the square of its nonzero denominator is safe, but the original denominator zeros remain excluded.

Worked example 5: one finite crossing

Question. Solve ∣(x−2)/(x+1)∣≤1|(x-2)/(x+1)|\le1.

Plan. Find where the modulus curve meets y=1y=1, then use an equivalent squared inequality to confirm the interval.

For x≠−1x\ne-1,

∣x−2x+1∣≤1⟺(x−2)2≤(x+1)2⟺−6x≤−3⟺x≥12.\begin{aligned} \left|\frac{x-2}{x+1}\right|\le1 &\Longleftrightarrow (x-2)^2\le(x+1)^2 \\ &\Longleftrightarrow -6x\le-3 \\ &\Longleftrightarrow x\ge\frac12. \end{aligned}

The boundary has original height −1-1. The original height +1+1 is never attained, so there is only one finite crossing. The excluded input −1-1 is outside the proposed interval.

Answer. x≥1/2x\ge1/2.

Check. At x=1/2x=1/2, the modulus is 11; at x=1x=1, it is 1/21/2; at x=0x=0, it is 22. At large positive inputs the curve stays below 11, consistently approaching its asymptote.

Raise only the comparison line from height 11 to height 22. It now cuts both outer parts of the modulus graph, producing two solution intervals.

Worked example 6: two crossings and a pole between them

Question. Solve ∣(x−2)/(x+1)∣≤2|(x-2)/(x+1)|\le2.

Plan. Find the two crossing inputs and use the sign of the squared comparison.

For x≠−1x\ne-1,

(x−2)2≤4(x+1)20≤3x2+12x=3x(x+4).\begin{aligned} (x-2)^2&\le4(x+1)^2 \\ 0&\le3x^2+12x=3x(x+4). \end{aligned}

The product is nonnegative for x≤−4x\le-4 or x≥0x\ge0. At −4-4, the original height is 22; at 00, it is −2-2. The modulus graph lies above height 22 between those crossings, with its pole inside that gap.

Answer. x≤−4x\le-4 or x≥0x\ge0.

Check. At x=−5x=-5, the modulus is 7/4<27/4<2; at x=−2x=-2, it is 4>24>2; at x=1x=1, it is 1/2<21/2<2. Equality holds at both stated boundaries.

For an input-modulus sketch, read solutions from its mirrored right-hand curve. For example, f(∣x∣)≤0f(|x|)\le0 with f(x)=(x−2)/(x+1)f(x)=(x-2)/(x+1) means (∣x∣−2)/(∣x∣+1)≤0(|x|-2)/(|x|+1)\le0. Its denominator is positive, so ∣x∣≤2|x|\le2, giving [−2,2][-2,2]. This differs from the output-modulus condition because negative heights are retained.

The opening values ∣f(0)∣=2|f(0)|=2 and f(∣0∣)=−2f(|0|)=-2 now have a visual explanation: one operation reflects a height, while the other selects an input.

Watch out

Strict inequalities exclude crossing points; poles are excluded in both strict and non-strict inequalities. A hole inside a selected interval must also be removed.

Use a strict inequality and new boundary inputs here.

Quick Recap

  • For ∣f(x)∣|f(x)|, reflect negative heights in the xx-axis and keep the domain.
  • For f(∣x∣)f(|x|), retain the right-hand graph and reflect it in the yy-axis; recompute the domain using ∣x∣|x|.
  • Find comparison-line crossings exactly, then select intervals from signs or the sketch.
  • Keep domain exclusions and distinguish strict from non-strict boundaries.