Algebra · Hard · 2–3 min

Linear functions

Question HB2-ALG-022

xg(x)
−28−2833
−10−1000
202055
The table shows three values of x and their corresponding values of g(x), where g(x)=f(x)x+4g(x) = (f (x))/(x+4) and f is a linear function. What is the y-intercept of the graph of y=f(x)y = f (x) in the xy-plane?
  1. (0,40)(0,40)
  2. (0,12)(0,12)
  3. (0,4)(0,4)
  4. (0,−10)(0,−10)
Solve in the interactive workspace →

Step-by-step explanation

Fit the given g-values, then evaluate f(0).

Step 1: Define the unknown linear function

f(x)=mx+b

They say f is a linear function. Type f(x)=mx+b.

The table gives g-values, not f-values. We connect them next.

Why this helps: m is the slope, and b is f’s y-value at x = 0. Both are unknown.

Step 2: Define g using the given relationship

g(x)=f(x)x+4

They say g(x) is f(x) divided by x+4. Type g(x)=f(x)/(x+4) with a stacked fraction.

g is undefined at x = −4, but none of the table x-values is −4.

Why this helps: g takes f’s output and divides it by x+4. Now the table can talk to f through g.

Step 3: Match the first supplied pair

[g(-28)]∼[3]

First table row: x = −28, g(x) = 3. Type [g(−28)] ~ [3].

One row isn’t enough, so the numbers shown now are unfinished.

Why this helps: The ~ asks Desmos to find m and b that make g(−28) equal 3.

Step 4: Append the second supplied pair

[g(-28),g(-10)]∼[3,0]

Second row: x = −10, g(x) = 0. Change to [g(−28), g(−10)] ~ [3, 0].

g(−10) = 0 means f(−10) = 0, since −10 + 4 isn’t zero.

Why this helps: Positions pair up: g(−28) with 3, g(−10) with 0. Desmos now finds m = 4 and b = 40.

Step 5: Append the third supplied pair

[g(-28),g(-10),g(20)]∼[3,0,5]

Third row: x = 20, g(x) = 5. Change to [g(−28), g(−10), g(20)] ~ [3, 0, 5].

The graph shows f as a line and g as a curve. The question is about f.

Why this helps: The same line has to fit all three rows, and it does: f(x) = 4x + 40. At x = 20, f is 120, and 120 ÷ 24 = 5.

Step 6: Read the original function’s y-intercept

f(0)

The y-intercept is where x = 0. Type f(0). Desmos gives 40, so the y-intercept is (0, 40). Choose A.

Check every row: f(−28) = −72 and −72 ÷ −24 = 3; f(−10) = 0; f(20) = 120 and 120 ÷ 24 = 5.

Why this helps: Use f, not g. g(0) would be 40 ÷ 4 = 10, which is the wrong graph.

Alternate table method

Fit the supplied g-table while keeping f linear.

Step 1: Enter the given g-values

x₁y₁
-283
-100
205

The table gives x and g(x). Click + → Table and type x₁: −28, −10, 20 and y₁: 3, 0, 5.

Each row is one input with its output. Type x_1 and y_1 for the column names; the small 1 just names the column.

Why this helps: These outputs belong to g, not f. We type them exactly as given and connect g to f in the next rows.

Step 2: Define the linear function

f(x)=mx+b

They say f is a linear function. Type f(x)=mx+b.

Don’t add sliders for m and b. The regression finds them.

Why this helps: m is the slope, and b is f’s y-value at x = 0. Both are unknown, so the table will find them.

Step 3: Define the quotient

g(x)=f(x)(x+4)

g(x) is f(x) divided by x+4. Type g(x)=f(x)/(x+4) with a stacked fraction.

g is undefined at x = −4, but none of the table x-values is −4.

Why this helps: This keeps the question’s link between g and f. When Desmos changes m and b, g changes too.

Step 4: Fit g to its table

y1∼g(x1)

Type y₁ ~ g(x₁). For each row, g of the x₁ value should give the y₁ value beside it.

RMSE 0 means every row matches exactly.

Why this helps: The ~ tells Desmos to find the m and b that make all three rows work at once. It gives m = 4 and b = 40, with RMSE 0.

Step 5: Read the original y-intercept

f(0)

The y-intercept is where x = 0. Type f(0). Desmos gives 40, so the y-intercept is (0, 40). Choose A.

Check one row: f(20) = 4(20) + 40 = 120, and 120 ÷ 24 = 5.

Why this helps: Use f, not g. g(0) would be 40 ÷ 4 = 10, which belongs to a different graph.

Hand explanation

Step 1: The table gives g, while the question asks about f

The table gives g, while the question asks about f. From g(x)=f(x)/(x+4), recover f(x)=(x+4)g(x) at each table input.

Step 2: This produces (−28,−72),(−10,0),(20,120)

This produces (−28,−72),(−10,0),(20,120). The slope is [120−0]/[20−(−10)]=4.

Step 3: Use the zero point

Use the zero point: 0=4(−10)+B, so B=40. The y-intercept of f is (0,40).

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

A: (0,40)

Show answer

(0,40)

Brief video explanation

A 47-second walkthrough of matching the g table and evaluating f at zero.

Related practice