Chalk−1

Math · College algebra · Worked example

Reflect and shift an absolute value graph

Describe the graph of g⁡(x)=−∣⁢x+1⁢∣+3 and find its vertex and x-intercepts.

g⁡(x)=−∣⁢x+1⁢∣+3

Try one — Chalk checks each line

Read a, h and k

With f⁡(x)=∣⁢x⁢∣, g⁡(x)=−f⁡(x−(−1))+3, so a=−1, h=−1 and k=3.

g⁡(x)=−f⁡(x−(−1))+3

Move the vertex

The V of y=∣⁢x⁢∣ flips to open downward, shifts left 1 and rises 3, so its vertex moves from (0,0) to (−1,3).

Find the x-intercepts

Setting g⁡(x)=0 gives ∣⁢x+1⁢∣=3, so x+1=3 or x+1=−3. The intercepts are x=2 and x=−4, three units either side of the vertex.

∣⁢x+1⁢∣=3⟹x=2 or ⁢x=−4
∣⁢x+1⁢∣=3x=2 or ⁢x=−4

Check with the formula

The vertex and both intercepts satisfy the formula.

g⁡(x)=−∣⁢x+1⁢∣+3g⁡(−1)=3g⁡(2)=0g⁡(−4)=0

Result

The vertex is (−1,3) and the V opens downward. It crosses the x-axis at x=−4 and x=2.

Your turn

1. One like the example

Give the vertex and the y-intercept of k⁢(x)=2⁢∣⁢x−1⁢∣−4.

Show the answer and explanation

Vertex (1,−4), and y-intercept −2.

k is ∣⁢x⁢∣ stretched by 2, shifted right 1 and down 4, so the vertex is (1,−4). At x=0, k⁢(0)=2⁢∣−1⁢∣−4=−2.

k⁢(x)=2⁢∣⁢x−1⁢∣−4k⁢(1)=−4k⁢(0)=−2

2. A variation

Describe m⁢(x)=∣2⁢x−6⁢∣ compared with y=∣⁢x⁢∣, and give its vertex. Factor the inside first.

Show the answer and explanation

Squeeze horizontally by 2 and shift right 3, which for a V is the same as stretching it vertically by 2. The vertex is (3,0).

2⁢x−6=2⁢(x−3), so b=2 and h=3. For the V, ∣2⁢(x−3)⁢∣=2⁢∣⁢x−3⁢∣, so squeezing sideways by 2 and stretching upward by 2 give the same graph. The vertex is where 2⁢x−6=0, at (3,0), and m⁢(0)=6. In a Math box the rewrite row reads ✓ “Equivalent.”, and so do the two values after it.

m⁢(x)=∣2⁢x−6⁢∣m⁢(x)=2⁢∣⁢x−3⁢∣m⁢(3)=0m⁢(0)=6

3. Somewhere new

Find a, h and k so that y=a⁢∣⁢x−h⁢∣+k has its corner at (2,5) and passes through (4,1).

Show the answer and explanation

a=−2, h=2 and k=5, so g⁡(x)=−2⁢∣⁢x−2⁢∣+5.

The corner of a⁢∣⁢x−h⁢∣+k is (h,k), so h=2 and k=5. At x=4 the graph must give 1, so a⁢∣4−2⁢∣+5=1, which is 2⁢a=−4 and a=−2. The V opens downward with slopes ±2, and by symmetry it also passes through (0,1).

g⁡(x)=−2⁢∣⁢x−2⁢∣+5g⁡(2)=5g⁡(4)=1g⁡(0)=1

Keep exploring

In Graph, the V has slopes 1 and −1 on either side of its vertex. Change the leading −1 to −2 and the intercepts move in to x=0.5 and x=−2.5.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

See both graphs in Graph Check the points in Math Study the 5 key terms Open worked example on a board Transformations in Math Reference

Your existing work stays on this device. Examples open as editable copies.