Ctrl+k

Write an equation from a table

A table of corresponding xx- and yy-values represents a linear relation when equal changes in xx produce a constant change in yy; this constant rate of change is the slope. The relation can be expressed as y=mx+by=mx+b, with mm determined from the table and bb representing the value of yy when x=0x=0, whether or not the line passes through the origin. This scope excludes nonlinear, piecewise, and more abstract parameterized relations.

Detailed Explanation: Write an equation from a table

A table represents a linear relation if equal changes in xx produce equal changes in yy. To write its equation, use

y=mx+b,y=mx+b,

where:

  • mm is the slope, or rate of change
  • bb is the value of yy when x=0x=0

Example

Write an equation for the relation in the table.

xxyy
14
310
516

Step 1: Find the changes in xx and yy.

From x=1x=1 to x=3x=3, the change in xx is 22.

From y=4y=4 to y=10y=10, the change in yy is 66.

Check the next pair:

  • xx changes by 22
  • yy changes by 66

The changes are constant, so the relation is linear.

Step 2: Find the slope.

The slope is

m=change in ychange in x=62=3.m=\frac{\text{change in }y}{\text{change in }x} =\frac{6}{2}=3.

So far, the equation is

y=3x+b.y=3x+b.

Step 3: Find bb.

Use any pair from the table, such as (1,4)(1,4). Substitute x=1x=1 and y=4y=4:

4=3(1)+b4=3(1)+b 4=3+b4=3+b b=1.b=1.

Step 4: Write the equation.

Substitute m=3m=3 and b=1b=1 into y=mx+by=mx+b:

y=3x+1\boxed{y=3x+1}

You can check the equation using another table value. When x=5x=5,

y=3(5)+1=16,y=3(5)+1=16,

which matches the table.

Learn by doing: Write an equation from a table

Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill

Practice with unlimited practice problems

Algebra - Find Equivalent - X,Y Chart to Function


    ?