Chalk−1

Math · College algebra · Worked example

Factor out a horizontal scale before shifting

Describe the graph of g⁡(x)=2⁢x−6 compared with f⁡(x)=x.

g⁡(x)=2⁢x−6

Try one — Chalk checks each line

Factor the input

Pull the 2 out of the whole input so that the shift appears on its own. Factoring changes how the formula looks, not its values.

2⁢x−6=2⁢(x−3)

Read b and h

Compare with f⁡(b⁢(x−h)). b=2 halves every horizontal distance, and h=3 shifts right 3. Nothing multiplies or is added outside the root, so there is no vertical change.

Move the starting point

Each point (x,y) on x moves to (x⁢/2+3,y). The starting point (0,0) moves to (0⁢/2+3,0)=(3,0). The root needs 2⁢x−6≥0, so the domain becomes x≥3, and the graph starts there.

(0,0)→(3,0)

Move (1,1)

(1,1) moves to (1⁢/2+3,1)=(3.5,1). Halving 1 and adding 3 gives 3.5.

(1,1)→(3.5,1)

Move (4,2)

(4,2) moves to (4⁢/2+3,2)=(5,2). On x it took 4 units to climb to height 2. On g it takes only 2 units from the start, half as far.

(4,2)→(42+3,2)=(5,2)

Check with the formula

The moved points satisfy the formula for g. At x=5, 2⋅5−6=4 and 4=2.

g⁡(x)=2⁢x−6g⁡(3)=0g⁡(3.5)=1g⁡(5)=2

Result

Squeeze horizontally by a factor of 2, then shift right 3. The graph starts at (3,0) and passes through (5,2).

Your turn

1. One like the example

Where is the vertex of f⁡(x)=(3⁢x+6)2?

Show the answer and explanation

(−2,0).

Factor the input. 3⁢x+6=3⁢(x+2), so the graph of x2 is squeezed horizontally by 3 and shifted left 2. The vertex moves from (0,0) to (−2,0). Squaring the 3 gives the same function as 9⁢(x+2)2, and f⁡(−1)=9 checks a second point.

f⁡(x)=(3⁢x+6)2f⁡(x)=9⁢(x+2)2f⁡(−2)=0f⁡(−1)=9

2. A variation

Describe g⁡(x)=2−x compared with f⁡(x)=x. Where does it start, and which way does it go?

Show the answer and explanation

Reflect across the y-axis, then shift right 2. It starts at (2,0) and runs to the left, with domain x≤2.

2−x=−(x−2), so b=−1 and h=2. The point rule sends (0,0) to (2,0), (1,1) to (1,1) and (4,2) to (−4+2,2)=(−2,2). The root needs 2−x≥0, which is x≤2.

g⁡(x)=2−xg⁡(2)=0g⁡(1)=1g⁡(−2)=2

3. Somewhere new

A sound’s loudness over time is f⁡(t)=10−(t−6)2, loudest at t=6 seconds. Played at double speed it becomes g⁡(t)=f⁡(2⁢t). When is the double-speed version loudest, and where does the moment (5,9) of the original land?

Show the answer and explanation

At t=3 seconds, and (5,9) lands at (2.5,9).

g⁡(t)=f⁡(2⁢t) divides every time by 2 and leaves the loudness alone. The peak at t=6 moves to t=3, and (5,9) moves to (2.5,9). Written out, g⁡(t)=10−(2⁢t−6)2, and g⁡(3)=10.

g⁡(t)=10−(2⁢t−6)2g⁡(3)=10g⁡(2.5)=9

Keep exploring

In Graph, compare 2⁢x−6 with 2⁢x−6. The second is squeezed but shifted down 6, not right, because where the constant sits decides the direction.

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.