Advanced Math · Hard · 2–3 min

Nonlinear functions

Question HB2-ADV-106

012345678918273645xy(4, 9)(5, 36)The function f is defined by f(x)=x3f (x) = x^(3). The function g is defined by g(x)=a·f(x+b)+cg(x) = a · f (x + b) + c, where a, b, and c are constants. The graph of y=g(x)y = g(x) is shown in the xy-plane. Find the value of ab?

Student-produced response

Solve in the interactive workspace →

Step-by-step explanation

Fit the cubic’s two outputs and its horizontal middle tangent.

Step 1: Define the original cubic

f(x)=x3

They say f(x) = x³. Type f(x)=x³.

Nothing is solved on this row. It just stores the rule.

Why this helps: g is built from f, so we name f first. The next row can then use it inside g.

Step 2: Define the related function without choosing shifts

g(x)=af(x+b)+c

They define g(x) = a · f(x + b) + c. Type g(x)=af(x+b)+c and leave a, b and c as letters.

Don’t add sliders for a, b or c. The graph’s clues will decide them, not our guesses.

Why this helps: Think of a, b and c as three knobs on one curve. +b inside shifts it sideways (a positive b moves it left). a stretches it, or flips it if negative. +c moves it up or down.

Step 3: Match the first labeled output

[g(4)]∼[9]

The graph marks (4, 9), so g(4) must be 9. Type [g(4)]~[9].

One point can’t fix three unknowns, so any numbers Desmos shows now are unfinished.

Why this helps: The brackets are matching lists: the first item on the left goes with the first on the right. The ~ tells Desmos to find a, b and c so the matches hold.

Step 4: Append the second labeled output

[g(4),g(5)]∼[9,36]

The graph also marks (5, 36). In the same row, add g(5) on the left and 36 on the right: [g(4),g(5)]~[9,36].

Two points still aren’t enough. Different stretches and sideways shifts can pass through both. We need one more clue from the picture.

Why this helps: Both points sit on the same curve, so both matches use the same a, b and c.

Step 5: Append the horizontal inflection condition

[g(4),g(5),g'(4)]∼[9,36,0]

The cubic is level at its marked middle point (4, 9). Add g′(4) on the left and 0 in the third spot on the right. Type an apostrophe after g to get g′.

We matched two y-values; now we also match a direction. Desmos gives a = 27, b = −4, c = 9.

An inflection point is where the bend changes. It is not always flat. This one is flat because g is a shifted, stretched x³ curve, and x³ is level at its middle.

Why this helps: Imagine a tiny straight ruler resting against the curve at that point. Its tilt is the slope right there (the instantaneous slope). A level ruler has slope 0, and g′(4) asks Desmos for that slope at input 4.

Step 6: Evaluate the requested product

ab

The question asks for ab. Type ab. Desmos gives −108.

Check: g(x) = 27(x−4)³ + 9. At x = 4 the cubed part is 0, so g = 9 and the curve is level. At x = 5 it’s 1, so g = 27 + 9 = 36.

Why this helps: a = 27 and b = −4, so 27 × (−4) = −108. c isn’t part of this product.

Alternate table method

Use the cubic’s center, then fit its scale.

Step 1: Enter the cubic center

x₁y₁
49

The graph’s middle point is (4, 9). Click + → Table and put 4 under x₁ and 9 under y₁.

Type x_1 and y_1 for the column names. The small 1 just names the column. Only a is still unknown.

Why this helps: Plain x³ has its level middle at (0, 0). Here it moved right 4 and up 9. In a(x+b)³+c, the cubed part is 0 at x = −b, so b = −4, and the y-value there is c = 9.

Step 2: Append the labeled point

x₁y₁
49
536

The other marked point is (5, 36). Add the row (5, 36) to the same table.

Both rows belong to the same curve, so they go in the same table.

Why this helps: How far the curve climbs from the middle tells us the stretch a.

Step 3: Fit the given shifted-cubic form

y1∼a(x1-4)3+9

Type y₁ ~ a(x₁−4)³+9. The −4 and +9 come from the middle point.

The row (4, 9) fits for any a, since the cubed part is 0 there. The point (5, 36) is what pins a down.

Why this helps: The ~ tells Desmos to find the a that fits every row. At x = 5 the bracket is (5−4)³ = 1, so the curve must rise from 9 to 36. That makes a = 27.

Step 4: Calculate the requested product

a(-4)

The question asks for ab, and b = −4. Type a(−4). Desmos gives −108.

This a(−4) means a times −4. a is a number here, not a function.

Why this helps: a = 27 from the fit, and b = −4 from the middle point. 27 × (−4) = −108.

Hand explanation

Step 1: Since f(x)=x³, the transformed cubic is g(x)=a(x+b)³+c

Since f(x)=x³, the transformed cubic is g(x)=a(x+b)³+c. Its flat center occurs when x+b=0, at point (−b,c).

Step 2: The plotted center (4,9) therefore gives b=−4 and c=9

The plotted center (4,9) therefore gives b=−4 and c=9. Use the other point (5,36): 36=a(5−4)³+9=a+9, so a=27.

Step 3: Multiply the requested constants

Multiply the requested constants: ab=27(−4)=−108. The flat center is not a maximum or minimum; the cubic continues through it.

Step 4: 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

-108

Show answer

-108

Brief video explanation

Fit two graph points and the flat tangent with a three-pair Desmos regression.

Detailed video explanation

See why two points leave the cubic’s shape open, then add the flat tangent as a third Desmos regression condition.

Related practice