The graph of is shown, where the function g is defined by and a and b are constants. If the function f is defined by , what is the value of a + b?
Advanced Math · Hard · 2–3 min
Nonlinear functions
Question HB2-ADV-007
Step-by-step explanation
Read the translated cubic’s center.
Step 1: Define the base cubic
They say f(x) = x³. Type f(x)=x³.
We’ll shift f to match that point.
Why this helps: Plain x³ has its flat middle at (0, 0). On the given graph, the flat middle is at (4, −2).
Step 2: Recreate the shifts read from the actual graph
Type g(x)=f(x−4)−2.
The question writes g(x) = f(x + a) + b. So x − 4 means a = −4, not +4, and b = −2. Moving right uses a minus inside.
Why this helps: x−4 is 0 when x = 4, so the middle moves right to 4. The −2 outside moves it down to −2.
Step 3: Read the actual shifted center
Check the middle point: (4, −2). Your curve should sit right on the given graph.
If the curve doesn’t match, check the signs inside and outside.
Why this helps: The middle’s x-value is −a, and its y-value is b. So a = −4 and b = −2.
Step 4: Add the requested constants
The question asks for a + b. Type −4−2. Desmos gives −6. Choose A.
Don’t add the middle point’s coordinates 4 and −2. That gives 2, which is wrong.
Why this helps: a = −4 and b = −2, so a + b = −6.
Hand explanation
Step 1: The unshifted cubic x³ has its flat middle at (0,0)
The unshifted cubic x³ has its flat middle at (0,0). In g(x)=f(x+a)+b, that middle occurs where the inside input x+a equals zero.
Step 2: The graph places it at x=4, so 4+a=0 and a=−4
The graph places it at x=4, so 4+a=0 and a=−4. Its height is then f(0)+b=0+b.
Step 3: The marked height −2 gives b=−2
The marked height −2 gives b=−2. Therefore a+b=−4−2=−6.
Step 4: The horizontal shift has the opposite sign inside the parentheses because …
The horizontal shift has the opposite sign inside the parentheses because that inside expression must become zero at the new center.
Step 5: Your answer
Return to the question and compare the quantity you found with what it asks for. Explain the last calculation in your own words before opening the answer check.
Check your answer
A: −6
Show answer
−6