Quarry School

Writing a formula from a graph — quick review

In plain words

The big picture. Build a polynomial formula from a graph.

Rule

If all of a polynomial's zeros are real, at c1, c2, ... with multiplicities m1, m2, ..., so the graph shows every one, then f(x) = a(x − c1)m1(x − c2)m2··· with a ≠ 0. Lowest multiplicity that fits: a straight crossing is 1, a touch and turn is 2, a flattened crossing is 3. To find a, substitute one point (x0, y0) that is not on the x-axis and solve the equation for a.

Step

  1. Read the example’s zeros and behavior: it crosses straight through at −2 and touches and turns at 1. Use the rule’s smallest fitting multiplicities, 1 and 2, because the question asks for the lowest degree.

  2. Use the factor rule: a zero c supplies x − c. Write f(x) = a(x + 2)(x − 1)2. The factors place the zeros, their powers give the required behavior, and a scales the other heights.

  3. Use the point (0, 4) to find a. Substitute both coordinates: 4 = a(0 + 2)(0 − 1)2 = 2a. A point off the x-axis makes the factor product nonzero, so it determines a.

  4. Divide both sides by 2 to keep the equation balanced: a = 2. Write f(x) = 2(x + 2)(x − 1)2. Its degree is 1 + 2 = 3, the lowest allowed by the crossing and touch.

  5. Check the saved point: f(2) = 2 · 4 · 1 = 8, matching (2, 8). The factors give zeros −2 and 1 with the required behavior. The leading term 2x3 gives a left end down and a right end up, so both ends agree too.

Strategy

  1. Read each zero and whether the graph crosses, touches or crosses flat.

  2. For the lowest degree, choose powers one, two or three respectively, unless other facts require more.

  3. Write one factor for each zero, raised to its power, and put a in front.

  4. Substitute an exact point off the x-axis and solve for a.

  5. Check another given point, the degree and both ends.

Question

A polynomial has degree 4. It has a double zero at x = 3 and zeros of multiplicity 1 at x = −2 and x = 1. Its y-intercept is (0, −6). Write its formula.

Answer

f(x)=13(x−3)2(x+2)(x−1)

Strategy

  1. Turn each stated zero into a factor and use its multiplicity as the power.

  2. Add the powers and compare with the stated degree.

  3. Multiply the factors with an unknown a in front.

  4. Substitute the extra point, evaluate the product and divide to find a.

  5. Check the point, zeros and degree in the finished formula.

Strategy

  1. Write a factor that becomes zero at each stated root.

  2. Keep its required power and put a before the product.

  3. Use the exact supplied point, even if its input is not zero.

  4. Evaluate the factors as fractions and divide to find a.

  5. Check the full product; rescaled factors require a different a.

Trap

Wrong: stop at the factors and assume the scale is one. Right: use a point off the x-axis to solve for the scale.

Strategy

  1. Recheck the coordinates and arithmetic. Then adjust only powers the graph leaves open and solve for the scale again. Raising a power by two keeps the degree even or odd, so it cannot fix ends that point the wrong way.

Term

multiplicity

Definition

The number of times the same factor appears in the factored form: the exponent on that factor. It decides whether the graph crosses the x-axis or only touches it.