Quarry School

Build the equation from two points — quick review

In plain words

Suppose someone gives you two spots on a straight ramp but does not tell you its tilt.

Rule

Rule: for distinct inputs, find m = y2−y1x2−x1, then b = y1 − mx1. Write y = mx + b or f(x) = mx + b.

Step

  1. 1. Convert function values into coordinate pairs: f(a) = c becomes (a, c).

  2. 2. Check that the inputs differ, then find slope in matching subtraction order.

  3. 3. Use an input-zero point to read b directly, or use an available point in point-slope form.

  4. 4. Rewrite in the requested form.

  5. 5. Substitute both given inputs into the final rule; each output must match.

Question

Find the line through (0, 1) and (2, 5). This asks for a rule returning both listed outputs at their corresponding inputs.

Answer

y = 2x + 1.

Trap

Trap: taking the first listed output as b. It gives b only when that point's input is zero; otherwise recover b by substitution.

Strategy

  1. 1. Turn the data into input-output pairs.

  2. 2. Compute matching changes and divide to get m.

  3. 3. Read b at input zero or solve for it using one point.

  4. 4. Write the equation and verify both points.

Strategy

  1. 1. Find slope from both points in matching order.

  2. 2. Read b from an input-zero point, or substitute another point to solve for b.

  3. 3. Write the requested equation and check both points.

Strategy

  1. 1. Translate f(a) = c into (a, c).

  2. 2. Find slope and initial value using the two points.

  3. 3. Write the function with its given name and check both values.

Term

Function

Definition

A rule that assigns exactly one output to each allowed input.

Term

Input

Definition

The value you put into a function, often written x.

Term

Output

Definition

The value a function produces for a particular input, often written y or f(x).

Term

Function notation

Definition

Writing such as f(x) that names a function and its input. f(3) means the output of f at input 3.

Term

Slope

Definition

The output change divided by the corresponding nonzero input change. It says how much output changes per input unit.

Term

Rise

Definition

The signed change in output between two points, y2 − y1. It is negative when the output falls.

Term

Run

Definition

The signed change in input between two points, x2 − x1. It is the denominator in the slope ratio.

Term

Initial value

Definition

The output at input zero, often a starting amount in a model. It is b in f(x) = mx + b.

Term

Slope-intercept form

Definition

Writing a line as y = mx + b or f(x) = mx + b, with slope m and input-zero output b.

Term

Point-slope form

Definition

Writing a line as y − y1 = m(x − x1), using slope m and one known point (x1, y1).

Term

Model

Definition

A mathematical description of a situation, used within stated assumptions and allowed inputs.

Term

Horizontal line

Definition

A line whose height stays the same. Its equation is y = b and its slope is zero.

Term

y-axis

Definition

The vertical number line on a coordinate graph. Points on it have x-coordinate zero.

Term

Coordinate

Definition

One number specifying a point's position along an axis.