Algebra · Challenge · 2–3 min

Linear functions

Question HB2-ALG-027

In the xy-plane, line r passes through the points (3,12)(3, 12) and (7,13)(7, 13). Line s passes through the point (1,3)(1, 3) and is perpendicular to line r. An equation of line s is ax+7y=c,ax + 7y = c, where a and c are constants. What is the value of c?

Student-produced response

Solve in the interactive workspace →

Step-by-step explanation

Fit both lines, then fit the standard form through their intercepts.

Step 1: Define line r

r(x)=mx+b

The question calls the first line line r. Type r(x)=mx+b.

r(3) will mean r’s y-value at x = 3. It isn’t r times 3.

Why this helps: A line has a slope m (how much y changes when x goes up 1) and a y-intercept b (its y-value at x = 0). Both are unknown for now.

Step 2: Define the perpendicular line

s(x)=-1mx+d

Line s is perpendicular to line r. Type s(x)=−(1/m)x+d.

d is s’s own y-intercept. Knowing the direction doesn’t tell us where s sits, so d stays unknown until we use the point (1, 3).

Why this helps: Perpendicular slopes are negative reciprocals: flip the fraction and change the sign. −1/m does that for r’s unknown slope m.

Step 3: Match the first r-point

[r(3)]∼[12]

Line r passes through (3, 12), so r(3) = 12. Type [r(3)] ~ [12].

One point can’t fix a line, so any numbers shown now are unfinished. We’ll keep adding pairs to this same row.

Why this helps: The brackets hold matching lists: first item on the left goes with first item on the right. The ~ tells Desmos to find the unknowns that make the matches true.

Step 4: Append the second r-point

[r(3),r(7)]∼[12,13]

The other point on r is (7, 13). Change the row to [r(3), r(7)] ~ [12, 13].

The comma adds another match; it doesn’t add the values. y rises 1 while x rises 4, so the slope is 1/4. d is still free.

Why this helps: Read it by position: r(3) = 12 and r(7) = 13. Two points fix line r: m = 0.25 and b = 11.25.

Step 5: Use the fitted perpendicular slope

s(x)=-4x+d

m = 1/4, so the perpendicular slope is −4. Update s to s(x)=−4x+d.

Only d is left. The next pair uses the point (1, 3) to find it.

Why this helps: Flip 1/4 to 4/1 and change the sign: −4. This keeps s perpendicular to r.

Step 6: Append the supplied s-point

[r(3),r(7),s(1)]∼[12,13,3]

Line s passes through the point (1, 3), so s(1) = 3. Change the row to [r(3), r(7), s(1)] ~ [12, 13, 3].

All the point facts sit in one row, so one fit handles both lines together.

Why this helps: The third slot says s(1) = 3. Desmos fits d = 7, so s(x) = −4x + 7, while r stays 0.25x + 11.25.

Step 7: Read both intercepts of line s

[r(3),r(7),s(1)]∼[12,13,3]

Look at line s on the graph. Read its labeled intercepts: (0, 7) and (1.75, 0).

Use points from line s, not line r, or you’d fit the wrong line.

Why this helps: We need s in the form ax + 7y = c. At (0, 7) the ax part is 0; at (1.75, 0) the 7y part is 0. Each intercept removes one term.

Step 8: Write the y-intercept in a real table

x₂y₂
07

Click + → Table, name the columns x₂ and y₂, and enter the first point: 0 and 7.

This one point fixes c (because y isn’t 0), but not a (because x is 0). We need the other intercept too.

Why this helps: Each row is one point, x first. The 2 just names this new set of points.

Step 9: Append the x-intercept to the table

x₂y₂
07
1.750

Add the second row: x₂ = 1.75, y₂ = 0.

1.75 is exactly 7/4, so nothing was rounded. You can see both points sit on line s.

Why this helps: Now the table holds both intercepts of s, (0, 7) and (1.75, 0).

Step 10: Fit the given standard form

ax2+7y2∼c

Type the given form: ax₂+7y₂ ~ c.

Keep the 7 in front of y exactly. Any multiple of a line equation is the same line; the 7 picks the scale the question wants. The table holds fixed numbers, so this fit can’t change m, b or d.

Why this helps: At (0, 7): 7 × 7 = 49, so c = 49. At (1.75, 0): 1.75a = 49, so a = 28. Desmos finds both.

Step 11: Read the requested constant

c

Type c. Desmos gives 49.

They ask for c, not the y-intercept 7 or the x-intercept 1.75.

Why this helps: The line is 28x + 7y = 49. Check (1, 3): 28 + 21 = 49. Its slope is −28/7 = −4, perpendicular to 1/4.

Alternate table method

Fit the first line, then the perpendicular line.

Step 1: Enter the first supplied point

x₁y₁
312

Line r passes through the points (3, 12) and (7, 13). Click + → Table and enter 3 under x₁ and 12 under y₁.

Plan: find r’s slope, build the perpendicular line through (1, 3), then read c from ax + 7y = c.

Why this helps: Each row is one point on r: x first, y beside it.

Step 2: Append the second point

x₁y₁
312
713

Add the other point on r: the row (7, 13).

Keep both points in the same table.

Why this helps: Two different points fix a line.

Step 3: Fit line r

y1∼mx1+b

Type y₁ ~ mx₁+b. Desmos gives m = 0.25 and b = 11.25.

A perpendicular line needs slope −1/m. With m = 1/4 that’s −4.

Why this helps: The ~ tells Desmos to find the slope and intercept that fit both rows.

Step 4: Define the perpendicular line through its point

g(x)=(-1m)(x-1)+3

Line s goes through (1, 3) and is perpendicular. Type g(x)=(−1/m)(x−1)+3.

It uses the fitted m directly, so no second fit is needed.

Why this helps: −1/m is the flipped, sign-changed slope, −4. At x = 1, x − 1 is 0, so g(1) = 3. This line has the right slope and the right point.

Step 5: Read its requested standard-form constant

7g(0)

At x = 0, ax + 7y = c becomes 7y = c. Type 7g(0). Desmos gives 49.

g(0) is worked out first, then multiplied by 7.

Why this helps: g(0) is s’s y-intercept, 7. c is seven times it: 7 × 7 = 49.

Hand explanation

Step 1: Line r’s slope is (13−12)/(7−3)=1/4

Line r’s slope is (13−12)/(7−3)=1/4. A perpendicular slope is −4.

Step 2: For s through (1,3), write y=−4x+B and substitute

For s through (1,3), write y=−4x+B and substitute: 3=−4+B, so B=7. Thus y=−4x+7.

Step 3: Multiply every term by 7 and rearrange to match the specified coefficient …

Multiply every term by 7 and rearrange to match the specified coefficient of y: 28x+7y=49. Consequently c=49, not the slope or y-intercept.

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

49

Show answer

49

Related practice