Quarry School

Writing a formula from a graph

Subject: MathematicsLeans on: Zeros from the factored formLeans on: Multiplicity and the graphLeans on: Powers of a negative numberLeans on: Powers before multiplyingLeans on: Solving for one letterLeans on: End behavior from the leading term
Level 1 · FoundationsAbout 31 min read2 new terms
How this was estimated

Programmatic estimate. Rung levels, worked steps, prerequisites, terms and sentence length contribute to this level. It describes the lesson, not your ability.

Reading counts the whole lesson, including folded explanations, at 180 words a minute. Practice allows two minutes per item. These are planning assumptions; take the time you need.

AI estimate unavailable.

Path to here

Open the unit’s lesson list to follow the lesson order.

    Leans on

    Quick review (2 minutes)

    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.

    1 In plain words

    The big picture. Build a polynomial formula from a graph. Reverse the sketching process: zeros give factors, crossings and touches guide their powers, and another point sets the scale. Choose the lowest degree that fits every given fact. Next, compare the heights a graph reaches.

    Read a graph like a recipe. Its zeros supply factors. Crossings and touches suggest their powers. The number in front scales every height without moving any zero. A point off the x-axis determines that number. For a lowest-degree formula, use the smallest powers that fit all the given facts and check the result against the other points and both ends.

    2 Picture it

    (−1, 0)(3, 0)(0, −6)(0, −3)−224−8−44(−1, 0)(3, 0)(0, −6)(0, −3)−3−2−112345−8−44
    Both curves have zeros at −1 and 3, but the solid one is y = 2(x + 1)(x − 3) and the dashed one is y =…

    Reminder

    Reminder: Zeros from the factored form, Multiplicity and the graph, Powers of a negative number, Powers before multiplying, Solving for one letter, End behavior from the leading term
    • Zeros from the factored form. A factor (x − c) is 0 when x = c, so it gives a zero at c. Going backward, a zero at −2 gives x − (−2) = x + 2.
    • Multiplicity and the graph. An odd multiplicity crosses the x-axis, an even multiplicity touches and turns, and a higher multiplicity flattens the graph near the zero: (x − 1) crosses at 1, (x − 1)2 touches at 1.
    • Powers of a negative number. An even power makes a negative number positive and an odd power keeps it negative: (−2)2 = 4 and (−2)3 = −8.
    • Powers before multiplying. Work out each power first, then multiply: 2 · (−1)2 = 2 · 1 = 2, not (−2)2 = 4.
    • Solving for one letter. To undo a multiplication, divide both sides by the same number: −3a = 6 becomes a = 6 ÷ (−3) = −2.
    • End behavior from the leading term. The degree and the sign of the leading coefficient set the arms: an odd degree with a positive leading coefficient goes down on the left and up on the right.

    3 Why

    A factor x − c is zero at x = c, so a zero at c comes from a factor x − c. Multiplying the product by a nonzero number a keeps every zero but changes every other height. So a point off the x-axis gives one equation for a. A touch tells you the power is even, not which even power. Start with the lowest power that fits; every given point and the stated degree must agree.

    4 The 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.source 1 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.

    Sources (1)
    1. Jay Abramson. Precalculus 2e, 3.4 Graphs of Polynomial Functions. OpenStax, 2021. CC BY-NC-SA 4.0. Read 16 Nov 2026.

    The same idea, five ways

    Say it

    When every zero is real, f of x equals a, times x minus the first zero raised to its multiplicity, times x minus the second zero raised to its multiplicity, and so on.

    Write it

    When all of its zeros are real, so the graph shows each one, the polynomial is one number a multiplied by one factor for each zero, and each factor is raised to the multiplicity of its zero.

    In math
    • f(x) = a(x − c1)m1(x − c2)m2···, with a ≠ 0
    • crosses straight at c: (x − c)
    • touches and turns at c: (x − c)2, the lowest even power
    • flattens while crossing at c: (x − c)3, the lowest odd power above 1
    • a = y0(x0−c1)m1(x0−c2)m2··· for a point (x0, y0) off the x-axis
    Like

    A recipe read back from the dish: the zeros are the ingredients, the multiplicities are the scoops of each, and a is the size of the batch.

    See it

    zero at c: factor (x − c)

    crosses straight: power 1

    touches and turns: power 2 (lowest even)

    flattens while crossing: power 3 (lowest odd above 1)

    one more point, off the x-axis: gives a

    f(x)=a(x−c1)m1(x−c2)m2···

    The same idea, other ways

    As a picture

    Two graphs can meet the x-axis at exactly the same places and still be different graphs. Here both curves have zeros at −1 and 3. The dashed one passes through (0, −3) and has a = 1. The solid one passes through (0, 3) and has a = −1: the negative number in front flipped it upside down. The zeros did not move. Only a point off the axis shows which curve you have.

    (−1, 0)(3, 0)(0, 3)(0, −3)−224−6−4−2246
    Same zeros, opposite signs of a.
    As a story

    Pin a rubber band to the x-axis with one pin at each zero. Now pull the band away from the axis. The pins hold, so the zeros stay where they are, but every other part of the band moves. Pull harder and the band stands taller: that is an a farther from 0. Pull it to the other side of the axis and it flips: that is a negative a. Knowing where the pins are does not tell you how hard the band was pulled. Once you also know that the pins mark every zero, all of them real, and the exact power of each factor, measuring the band's height at one spot away from the pins does.

    With small numbers

    Take zeros at 1 and 3, both straight crossings. The factors are (x − 1)(x − 3). At x = 0 they multiply to (−1)(−3) = 3. If the graph's height at x = 0 is 3, then a · 3 = 3 and a = 1. If the height there is 6, then a · 3 = 6 and a = 2. If the height there is −3, then a · 3 = −3 and a = −1. Same factors every time. The height at one point is what changes a.

    As a rule of thumb

    Three questions, in order: where, how, how tall. Where does the graph meet the x-axis? Those are the zeros, and they give the factors. How does it meet the axis at each one? That gives the lowest power that fits: 1 for a straight crossing, 2 for a touch, 3 for a flattened crossing. How tall is the graph at one more point, off the axis? With the factors and powers chosen, that gives a.

    What the graph does at x = cLowest multiplicity that fitsFactor to write
    Crosses straight through the x-axis1(x−c)
    Touches the x-axis and turns back2(x−c)2
    Crosses the x-axis but flattens as it passes3(x−c)3

    Part 1: Read the zeros and their behavior

    What it asks: Build a lowest-degree formula from a graph.

    The plan

    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.
    −2: crosses1: touches
    (−∞, ∞) on a number line.

    Tips and tricks

    • Trap: A touch proves even multiplicity, not exactly two.
    • Trick: Use the y-intercept to find a when it is nonzero and exact.

    Part 2: A formula from stated facts

    What it asks: Build a formula from a degree, zeros and an extra point.

    A double zero has multiplicity two; a triple zero has multiplicity three. Root means zero. The degree checks the total of the powers when all zeros are supplied.

    • Each zero c with multiplicity m gives the factor (x − c)m.
    • Write f(x) = a · (all the factors). Then check the degree: the multiplicities must add up to the degree the question states.
    • Substitute the extra point: its x goes into every factor and its y goes on the other side. Solve for a.
    • Why the point finds a: multiplying by a changes every height except 0, so only one value of a puts the graph through a point that is off the x-axis.
    • A zero that is a fraction: the zero 32 gives the factor (x − 32), or (2x − 3), which is 0 at the same input. The two choices lead to different numbers a and to the same formula.

    The plan

    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.

    Degree 4

    double zero at 3: (x − 3)2

    zero at −2: (x + 2)

    zero at 1: (x − 1)

    y-intercept (0, −6): gives a

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

    Worked example

    The degree, a double zero and a y-intercept

    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.

    What it asks. Write a degree-four formula from the stated zeros and y-intercept.

    Show the steps and the answer

    The plan. Use the multiplicities as powers, check their sum, then substitute the y-intercept to find a.

    −2: crosses1: crosses3: touches
    The three zeros with what the graph does at each: the double zero touches, and the other two cross.
    1. Plan. Use the multiplicities as powers, check their sum, then substitute the y-intercept to find a.
    2. A double zero is a zero of multiplicity 2, so its factor is squared.
    3. Put x = 0 into every factor and set the result equal to −6 to find the number in front.
    1. Turn each zero into a factor with its power. The double zero at 3 gives (x−3)2. The zero at −2 gives (x+2). The zero at 1 gives (x−1).A zero at c gives the factor (x − c), and the multiplicity becomes the power. For c = −2 the factor is x − (−2) = x + 2.
    2. Check the degree: 2+1+1=4, as stated.The multiplicities add up to the degree, so no factor is missing and none is extra.
    3. Write f(x)=a(x−3)2(x+2)(x−1).The zeros do not show the number in front, so a holds its place.
    4. Substitute the y-intercept (0, −6): −6=a(0−3)2(0+2)(0−1).The point is on the graph, so the input 0 must give the output −6.
    5. Work out the factors: (−3)2=9,0+2=2 and 0−1=−1. Then 9·2·(−1)=−18, so −6=−18a.Do the power first. One negative factor makes the product negative.
    6. Divide both sides by −18: a=−6−18=13.A negative divided by a negative is positive, and 618 reduces to 13.
    7. Write the formula: f(x)=13(x−3)2(x+2)(x−1).The factors come from the zeros, the powers from the multiplicities and the 13 from the y-intercept.
    Answer
    f(x)=13(x−3)2(x+2)(x−1)
    Double-check Plug the y-intercept back in: 13 · (−3)2 · 2 · (−1) = 13 · (−18) = −6, as required. A second point from the finished formula: f(4) = 13 · 12 · 6 · 3 = 6. The degree is 4, which is even, and a is positive, so both arms go up. The graph touches the x-axis at 3 and crosses at −2 and at 1.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: A double zero at x = 3 gives the factor 2(x − 3).
    Double counts how many times the factor appears. It does not multiply the factor by 2. The graph of 2(x − 3) crosses at 3, and a double zero touches.
    ✓ Instead: Write the factor twice: (x − 3)(x − 3) = (x − 3)2.
    ✗ Not this: The y-intercept is (0, −6), so a = −6.
    The y-intercept is the output at x = 0, and the factors do not multiply to 1 there: (−3)2 · 2 · (−1) = −18.
    ✓ Instead: Solve −6 = −18a to get a = 13. The number a equals the y-intercept only when the factors multiply to 1 at x = 0.

    Tips and tricks

    • Trap: A double zero means a squared factor, not twice a factor.
    • Trick: The y-intercept is often the quickest point to substitute.

    Part 3: A fractional zero or a point away from the y-axis

    What it asks: Find the scale when the factors or the supplied point use fractions.

    The table supplies exact off-axis points. A nonzero output can determine the scale.

    The plan

    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.
    input xoutput f(x)−20−1−120−31026↑ solve: output given, read every input above it
    x: −2, −1, 0, 1, 2; f(x): 0, −12, −3, 0, 6, solved for f(x) = 0.

    Tips and tricks

    • Trap: Changing a factor’s scale without changing a changes the polynomial.
    • Trick: A fractional root can use an integer-coefficient factor if you solve for a afterward.

    5 How

    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.

    When a candidate fails

    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.

    6 Worked example

    Worked example

    A crossing, a touch, and one more point

    Reading a graph gives you these facts. It crosses the x-axis straight through at x = −2. It touches the x-axis and turns back at x = 1. It passes through (0, 4) and (2, 8). Its left arm goes down and its right arm goes up. Write a formula of the lowest possible degree.

    What it asks. Write the polynomial formula that fits the given zeros and points.

    −2: crosses1: touches
    The same picture again: (−∞, ∞) on a number line.
    Show the steps and the answer

    The plan. Choose factors and powers, solve for the scale with a nonzero output, then check.

    1. Plan. Choose factors and powers, solve for the scale with a nonzero output, then check.
    1. List the zeros: x=−2 and x=1.A zero is an x-value where the graph meets the x-axis, and the graph meets it only at these two places.
    2. Give each zero a multiplicity: 1 at x=−2 and 2 at x=1.A straight crossing is the lowest odd multiplicity, 1. A touch and turn is the lowest even multiplicity, 2.
    3. Write the factors: (x+2) and (x−1)2.A zero at c gives the factor (x − c). For c = −2 that is x − (−2) = x + 2. The multiplicity becomes the power.
    4. Write f(x)=a(x+2)(x−1)2.This is the lowest-degree shape with these zeros and these behaviors. Only the number a is still unknown.
    5. Substitute the point (0, 4): 4=a(0+2)(0−1)2.The point (0, 4) is on the graph, so an input of 0 must give an output of 4. This turns a height on the picture into an equation whose only unknown is a.
    6. Work out the factors: 0+2=2 and (0−1)2=(−1)2=1. The equation becomes 4=a·2·1, which is 4=2a.Do the powers before multiplying. A negative number squared is positive.
    7. Divide both sides by 2: a=2. Plug it back in: 2·2·1=4, the height at x=0.Dividing by 2 undoes the multiplying by 2. This finds the one stretch that puts the graph through (0, 4).
    8. Write the formula: f(x)=2(x+2)(x−1)2.The factors come from the zeros, the powers from the behaviors, and the 2 from the extra point.
    Answer
    f(x)=2(x+2)(x−1)2
    Double-check Use the point that was saved, (2, 8): f(2) = 2(2 + 2)(2 − 1)2 = 2 · 4 · 1 = 8, which matches. The arms agree too: the degree is 1 + 2 = 3, which is odd, and the leading coefficient 2 is positive, so the left arm goes down and the right arm goes up, as the graph shows.

    Ladder: from easy to exam-hard

    Try each rung before you open its steps.

    Rung 1 of 10

    Two straight crossings, and a turns out to be 1

    The graph crosses the x-axis straight through at x = 1 and at x = 3, and it passes through (0, 3). Write its formula with the lowest possible degree.

    What it asks. Write the polynomial formula that fits the given zeros and points.

    (1, 0)(3, 0)(0, 3)(2, −1)24−2246
    Two straight crossings at 1 and 3 give two factors, and the point (0, 3) fixes the number in front.
    Show the steps and the answer

    The plan. Choose factors and powers, solve for the scale with a nonzero output, then check.

    1. Plan. Choose factors and powers, solve for the scale with a nonzero output, then check.
    1. List the zeros and multiplicities: x=1 and x=3, each with multiplicity 1.The graph meets the x-axis at 1 and 3 and crosses straight through both times.
    2. Write f(x)=a(x−1)(x−3).A zero at c gives the factor (x − c), and a holds the place of the number in front.
    3. Substitute (0, 3): 3=a(0−1)(0−3)=a(−1)(−3)=3a.The point is on the graph, so the input 0 gives the output 3. A negative times a negative is positive.
    4. Divide both sides by 3: a=1. Plug back in: 1·(−1)(−3)=3.This finds the one value of a that puts the graph through (0, 3).
    5. Write f(x)=(x−1)(x−3).A factor of 1 in front does not need to be written.
    Answer
    f(x)=(x−1)(x−3)
    Double-check The lowest point of the curve is (2, −1): f(2) = (2 − 1)(2 − 3) = (1)(−1) = −1, which matches. The right arm goes up and a = 1 is positive.

    Rung 2 of 10

    Two straight crossings with a negative number in front

    The graph crosses the x-axis straight through at x = −3 and at x = 1, and it passes through (0, 6). Both arms point down. Write its formula with the lowest possible degree.

    What it asks. Write the polynomial formula that fits the given zeros and points.

    (−3, 0)(1, 0)(0, 6)(−1, 8)−4−22−448
    The arms point down, so expect a negative number in front before you calculate anything.
    Show the steps and the answer

    The plan. Choose factors and powers, solve for the scale with a nonzero output, then check.

    1. Plan. Choose factors and powers, solve for the scale with a nonzero output, then check.
    1. List the zeros and multiplicities: x=−3 and x=1, each with multiplicity 1.Both are straight crossings.
    2. Write f(x)=a(x+3)(x−1).The zero at −3 gives x − (−3) = x + 3. The zero at 1 gives (x − 1).
    3. Substitute (0, 6): 6=a(0+3)(0−1)=a(3)(−1)=−3a.The input 0 must give the output 6. A positive times a negative is negative.
    4. Divide both sides by −3: a=−2. Plug back in: −2·3·(−1)=6.This finds the one value of a that gives the height 6 at x = 0.
    5. Write f(x)=−2(x+3)(x−1).The negative a is what turns the arms downward.
    Answer
    f(x)=−2(x+3)(x−1)
    Double-check The highest point of the curve is (−1, 8): f(−1) = −2(−1 + 3)(−1 − 1) = −2(2)(−2) = 8, which matches. The right arm goes down and a = −2 is negative.

    Rung 3 of 10

    One touch and turn, and a fraction in front

    The graph touches the x-axis at x = 2 and turns back down. It meets the x-axis nowhere else, and it passes through (0, −2). Write its formula with the lowest possible degree.

    What it asks. Write the polynomial formula that fits the given zeros and points.

    (2, 0)(0, −2)(4, −2)−2246−8−6−4−22
    The curve comes up to the x-axis at 2, touches it and goes back down.
    Show the steps and the answer

    The plan. Choose factors and powers, solve for the scale with a nonzero output, then check.

    1. Plan. Choose factors and powers, solve for the scale with a nonzero output, then check.
    1. List the zero and its multiplicity: x=2 with multiplicity 2.The graph touches and turns there, and the lowest even multiplicity is 2.
    2. Write f(x)=a(x−2)2.The zero at 2 gives (x − 2), and the multiplicity 2 becomes the power.
    3. Substitute (0, −2): −2=a(0−2)2=a(−2)2=4a.The input 0 must give the output −2. Squaring −2 gives positive 4.
    4. Divide both sides by 4: a=−24=−12. Plug back in: −12·4=−2.This finds the one value of a that gives the height −2 at x = 0. The fraction 24 reduces to 12.
    5. Write f(x)=−12(x−2)2.The number in front does not have to be a whole number.
    Answer
    f(x)=−12(x−2)2
    Double-check The graph also passes through (4, −2): f(4) = −12(4 − 2)2 = −12 · 4 = −2, which matches. Both arms go down and a is negative.

    Rung 4 of 10

    One flattened crossing, and a y-intercept you cannot read exactly

    The graph crosses the x-axis at x = −1 and flattens out as it passes through. It meets the x-axis nowhere else. It passes through (1, 4) and (−3, −4). Write its formula with the lowest possible degree.

    What it asks. Write the polynomial formula that fits the given zeros and points.

    (−1, 0)(1, 4)(−3, −4)−4−22−6−4−2246
    The curve lies almost flat along the x-axis as it crosses at −1.
    Show the steps and the answer

    The plan. Choose factors and powers, solve for the scale with a nonzero output, then check.

    1. Plan. Choose factors and powers, solve for the scale with a nonzero output, then check.
    1. List the zero and its multiplicity: x=−1 with multiplicity 3.The graph crosses, so the multiplicity is odd, and it flattens, so it is more than 1. The lowest that fits is 3.
    2. Write f(x)=a(x+1)3.The zero at −1 gives x − (−1) = x + 1, and the multiplicity 3 becomes the power.
    3. Choose the point (1, 4) instead of the y-intercept.The graph crosses the y-axis between grid lines, so its height there cannot be read exactly. The point (1, 4) can.
    4. Substitute (1, 4): 4=a(1+1)3=a·23=8a.The input 1 must give the output 4, and 23 = 2 · 2 · 2 = 8.
    5. Divide both sides by 8: a=48=12. Plug back in: 12·8=4.This finds the one value of a that gives the height 4 at x = 1.
    6. Write f(x)=12(x+1)3.All three pieces are now known.
    Answer
    f(x)=12(x+1)3
    Double-check Use the other point, (−3, −4): f(−3) = 12(−3 + 1)3 = 12(−2)3 = 12 · (−8) = −4, which matches. The right arm goes up and a is positive.

    Rung 5 of 10

    Three zeros, one of them at 0

    Reading a graph gives you these facts. It crosses the x-axis straight through at x = −3. It touches the x-axis and turns back at x = 0. It crosses straight through at x = 2. It passes through (1, 2) and (−1, 3). Both arms point down. Write a formula of the lowest possible degree.

    What it asks. Write the polynomial formula that fits the given zeros and points.

    −3: crosses0: touches2: crosses
    Three zeros with their behaviors.
    Show the steps and the answer

    The plan. Choose factors and powers, solve for the scale with a nonzero output, then check.

    1. Plan. Choose factors and powers, solve for the scale with a nonzero output, then check.
    1. List the zeros and multiplicities: −3 with multiplicity 1, 0 with multiplicity 2, and 2 with multiplicity 1.Straight crossings get 1. The touch and turn gets 2.
    2. Write the factors: (x+3), x2 and (x−2).The zero at 0 gives (x − 0), which is x, and its multiplicity 2 makes it x2.
    3. Write f(x)=a·x2(x+3)(x−2).The number in front is still unknown.
    4. Skip the y-intercept and choose (1, 2).The y-intercept is (0, 0), which is a zero. Substituting it gives 0 = a · 0, which is true for every a and tells you nothing.
    5. Substitute (1, 2): 2=a·12·(1+3)(1−2)=a·1·4·(−1)=−4a.The input 1 must give the output 2.
    6. Divide both sides by −4: a=2−4=−12. Plug back in: −12·1·4·(−1)=2.This finds the one value of a that gives the height 2 at x = 1.
    7. Write f(x)=−12x2(x+3)(x−2).The factors, the powers and the number in front are all known.
    Answer
    f(x)=−12x2(x+3)(x−2)
    Double-check Use the other point, (−1, 3): f(−1) = −12 · (−1)2 · (−1 + 3)(−1 − 2) = −12 · 1 · 2 · (−3) = −12 · (−6) = 3, which matches. The degree is 1 + 2 + 1 = 4, which is even, and a is negative, so both arms go down, as stated.

    Rung 6 of 10

    A flattened crossing, points from a table, and a fraction in front

    A graph crosses the x-axis straight through at one zero and crosses while flattening out at its other zero, which is to the right of the first. Both arms point up. The table shows points read from the graph. Write a formula of the lowest possible degree.

    What it asks. Write the polynomial formula that fits the given zeros and points.

    input xoutput f(x)−20−1−120−31026
    x:−2,−1,0,1,2;f(x):0,−12,−3,0,6.
    Show the steps and the answer

    The plan. Choose factors and powers, solve for the scale with a nonzero output, then check.

    input xoutput f(x)−20−1−120−31026↑ solve: output given, read every input above it
    The same picture again: x: −2, −1, 0, 1, 2; f(x): 0, −12, −3, 0, 6, solved for f(x) = 0.
    1. Plan. Choose factors and powers, solve for the scale with a nonzero output, then check.
    1. Find the zeros in the table: the two 0s in the output row sit under the inputs −2 and 1.A zero is an input whose output is 0.
    2. Give the multiplicities: 1 at x=−2 and 3 at x=1.The straight crossing is the left zero, so it gets 1. The flattened crossing is the right zero, so it gets 3.
    3. Write f(x)=a(x+2)(x−1)3.The zero at −2 gives (x + 2). The zero at 1 gives (x − 1), raised to its multiplicity 3.
    4. Use the column under 0, the point (0, −3): −3=a(0+2)(0−1)3=a·2·(−1)=−2a.The input 0 must give the output −3. An odd power keeps the negative sign: (−1)3 = −1.
    5. Divide both sides by −2: a=−3−2=32. Plug back in: 32·2·(−1)=−3.A negative divided by a negative is positive. This finds the one value of a that gives the height −3 at x = 0.
    6. Write f(x)=32(x+2)(x−1)3.All the pieces are known.
    Answer
    f(x)=32(x+2)(x−1)3
    Double-check Use the column under 2: f(2) = 32(2 + 2)(2 − 1)3 = 32 · 4 · 1 = 6, which matches. Use the column under −1: f(−1) = 32(−1 + 2)(−1 − 1)3 = 32 · 1 · (−8) = −12, which matches. The degree is 1 + 3 = 4, which is even, and a is positive, so both arms go up.

    Rung 7 of 10

    Read only the zeros and their multiplicities

    Two graphs are described. Graph A touches the x-axis and turns back at x = −3 and at x = 1, meets the axis nowhere else, and both of its arms point up. Graph B crosses the x-axis straight through at x = −4, x = −1, x = 2 and x = 5, and both of its arms point down. For each graph, list the zeros with the lowest multiplicity that fits, and give the lowest possible degree.

    What it asks. List each graph’s zeros, their lowest possible multiplicities and its lowest degree.

    −3: touches1: touches
    Graph A: two zeros, and the graph touches at both.
    −4: crosses−1: crosses2: crosses5: crosses
    Graph B: four zeros, and the graph crosses at each.
    Show the steps and the answer

    The plan. Read the zeros, assign the smallest powers that fit each crossing or touch, then add the powers.

    1. Plan. Read the zeros, assign the smallest powers that fit each crossing or touch, then add the powers.
    2. A touch and turn is an even multiplicity, lowest 2. A straight crossing is multiplicity 1.
    3. Add the multiplicities to get the lowest degree, then test it against the arms: an even degree needs both arms to point the same way.
    1. Graph A: the zeros are −3 and 1.A zero is an x-value where the graph meets the x-axis.
    2. Graph A: each zero gets multiplicity 2.The graph touches and turns back at both, and the lowest even multiplicity is 2.
    3. Graph A: the lowest degree is 2+2=4.The multiplicities add up to the degree. An even degree fits two arms that point the same way.
    4. Graph B: the zeros are −4,−1, 2 and 5, each with multiplicity 1.A straight crossing is the lowest odd multiplicity, 1.
    5. Graph B: the lowest degree is 1+1+1+1=4.Four single zeros. An even degree fits two arms that point the same way, and arms that point down mean the number in front is negative.
    Answer
    • Graph A: zeros −3 and 1, each with multiplicity 2. Lowest degree 4.
    • Graph B: zeros −4, −1, 2 and 5, each with multiplicity 1. Lowest degree 4.
    Double-check Build a formula for each and test it against the description. A: f(x) = (x + 3)2(x − 1)2 is a product of squares, so it is never negative. It touches the axis at −3 and 1 and stays above it elsewhere, with both arms up, and f(0) = 9 · 1 = 9 is positive. B: g(x) = −(x + 4)(x + 1)(x − 2)(x − 5) has leading term −x4, so both arms point down, and g(0) = −(4)(1)(−2)(−5) = −40 is negative, which fits a graph below the axis between the crossings at −1 and 2.

    Rung 8 of 10

    The degree, three zeros and a y-intercept

    A polynomial has degree 3. Its zeros are x = −3, x = 1 and x = 5. Its y-intercept is (0, 10). Write its formula.

    What it asks. Write a formula with the stated degree, zeros and extra point.

    Show the steps and the answer

    The plan. Write one factor for each zero, then substitute the point and solve for the scale.

    1. Plan. Write one factor for each zero, then substitute the point and solve for the scale.
    2. Three zeros and degree 3: each zero has multiplicity 1.
    3. Put x = 0 into every factor and set the result equal to 10.
    1. Give each zero its multiplicity: 1 each.The degree is 3 and there are three different zeros, so each factor appears once: 1 + 1 + 1 = 3.
    2. Write f(x)=a(x+3)(x−1)(x−5).A zero at c gives the factor (x − c). The zero at −3 gives x − (−3) = x + 3.
    3. Substitute (0, 10): 10=a(0+3)(0−1)(0−5)=a(3)(−1)(−5)=15a.The input 0 must give the output 10. Two negative factors make a positive product.
    4. Divide both sides by 15: a=1015=23.Both 10 and 15 can be divided by 5. The number in front does not have to be a whole number.
    5. Write f(x)=23(x+3)(x−1)(x−5).All the pieces are known.
    Answer
    f(x)=23(x+3)(x−1)(x−5)
    Double-check Plug the y-intercept back in: 23 · 3 · (−1) · (−5) = 23 · 15 = 10, as required. One more point from the finished formula: f(2) = 23 · 5 · 1 · (−3) = −10, below the x-axis between the zeros 1 and 5, which fits a cubic with a positive number in front.

    Rung 9 of 10

    A double zero, a triple zero and a point that is not on the y-axis

    A polynomial has degree 5. It has a double zero at x = −1 and a triple zero at x = 2, and its graph passes through the point (1, 8). Write its formula.

    What it asks. Write a formula with the stated degree, zeros and extra point.

    Show the steps and the answer

    The plan. Build the factors, check the degree, then substitute the point and solve for the scale.

    1. Plan. Build the factors, check the degree, then substitute the point and solve for the scale.
    2. Double means multiplicity 2 and triple means multiplicity 3.
    3. At x = 1 the factor (x − 2)3 is (−1)3 = −1. An odd power keeps the minus sign.
    1. Turn the words into powers: the double zero at −1 gives (x+1)2, and the triple zero at 2 gives (x−2)3.Double is multiplicity 2 and triple is multiplicity 3. The zero at −1 gives x − (−1) = x + 1.
    2. Check the degree: 2+3=5, as stated. Write f(x)=a(x+1)2(x−2)3.The multiplicities add up to the degree, so no other factor is needed.
    3. Substitute (1, 8): 8=a(1+1)2(1−2)3=a·22·(−1)3=a·4·(−1)=−4a.The input 1 must give the output 8. An even power makes 4, and an odd power keeps the minus sign: (−1)3 = −1.
    4. Divide both sides by −4: a=−2.8 ÷ (−4) = −2. A positive divided by a negative is negative.
    5. Write f(x)=−2(x+1)2(x−2)3.All the pieces are known.
    Answer
    f(x)=−2(x+1)2(x−2)3
    Double-check Plug the point back in: −2 · (1 + 1)2 · (1 − 2)3 = −2 · 4 · (−1) = 8, as required. The y-intercept of the finished formula is f(0) = −2 · 12 · (−2)3 = −2 · (−8) = 16. The degree 5 is odd and a is negative, so the left arm goes up and the right arm goes down: f(3) = −2 · 16 · 1 = −32 is negative, to the right of both zeros.

    Rung 10 of 10

    A zero that is a fraction

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

    What it asks. Write a formula with the stated degree, zeros and extra point.

    Show the steps and the answer

    The plan. Build the factors, check the degree, then substitute the point and solve for the scale.

    1. Plan. Build the factors, check the degree, then substitute the point and solve for the scale.
    2. The zero 32 gives the factor (2x − 3), because 2 · 32 − 3 = 0. It also gives (x − 32). Choose one.
    3. Put x = 0 into every factor and set the result equal to −18.
    1. Turn the fraction zero into a factor. Start from x=32, multiply both sides by 2 to get 2x=3, then subtract 3 to get 2x−3=0. The factor is (2x−3), and its multiplicity 2 makes it (2x−3)2.A factor is any bracket that is 0 at the zero. (2x − 3) is 0 at x = 32 and has no fraction in it.
    2. Write the other factors: (x+1) and (x−4). Check the degree: 2+1+1=4, as stated.The zero at −1 gives x + 1 and the zero at 4 gives x − 4, each once.
    3. Write f(x)=a(2x−3)2(x+1)(x−4).The number in front is unknown, so a holds its place.
    4. Substitute (0, −18): −18=a(0−3)2(0+1)(0−4)=a·9·1·(−4)=−36a.The input 0 must give the output −18. (−3)2 = 9, and one negative factor makes the product negative.
    5. Divide both sides by −36: a=−18−36=12.A negative divided by a negative is positive, and 1836 reduces to 12.
    6. Write f(x)=12(2x−3)2(x+1)(x−4).All the pieces are known.
    Answer
    • f(x)=12(2x−3)2(x+1)(x−4)
    • The same formula with the other factor: f(x) = 2(x − 32)2(x + 1)(x − 4)
    Double-check Second way, with the factor (x − 32). Write f(x) = a(x − 32)2(x + 1)(x − 4). At x = 0: (−32)2 = 94, and 94 · 1 · (−4) = −9, so −18 = −9a and a = 2. The two answers agree, because (2x − 3)2 = 4(x − 32)2 and 12 · 4 = 2. One more point from either form: f(1) = 12 · (−1)2 · 2 · (−3) = −3.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: The zeros are −2 and 1, so the factors are (x − 2) and (x + 1).
    The signs were copied instead of flipped. Test it: at x = −2, (−2 − 2)(−2 + 1) = (−4)(−1) = 4, which is not 0, so −2 is not a zero of that product.
    ✓ Instead: A zero at c gives (x − c). The zero at −2 gives (x + 2) and the zero at 1 gives (x − 1). At x = −2 the first factor is 0, as it should be.
    ✗ Not this: A graph has straight crossings at −1 and 3 and passes through (0, −6), so f(x) = (x + 1)(x − 3).
    That formula gives f(0) = (1)(−3) = −3, but the graph's height at x = 0 is −6. The zeros are right and the heights are wrong, because a was assumed to be 1.
    ✓ Instead: Write f(x) = a(x + 1)(x − 3). Then −6 = a(1)(−3) = −3a, so a = 2 and f(x) = 2(x + 1)(x − 3).
    ✗ Not this: Using a zero as the extra point: substituting (3, 0) into f(x) = a(x + 1)(x − 3) to find a.
    It gives 0 = a · 4 · 0, which is 0 = 0. That is true for every a, so it cannot single one out. Here the rule for finding a does not apply.
    ✓ Instead: Use a point with a height that is not 0, such as (0, −6). Then −6 = −3a and a = 2.
    ✗ Not this: The graph touches the x-axis at x = 1 and turns back, and the factor written is (x − 1).
    A factor with power 1 makes the graph cross at that zero. In the worked example this mistake gives 4 = a(2)(−1), so a = −2 and f(x) = −2(x + 2)(x − 1), a curve that crosses at 1 and has both arms down. That is not the graph described.
    ✓ Instead: A touch and turn is an even multiplicity. Write (x − 1)2, which gives f(x) = 2(x + 2)(x − 1)2.
    ✗ Not this: A touch and turn always means the power is exactly 2.
    A power of 4 also touches and turns, only flatter. The picture alone cannot settle which it is. The power 2 is the lowest that fits, and it is the right answer only when the question asks for the lowest degree and every given point still checks with it.
    ✓ Instead: Use 2 when asked for the lowest possible degree, then check the other given points. If the problem states the degree, obey it: a polynomial of degree 4 whose four zeros, counted with multiplicity, are all real and all at 1 is a(x − 1)4.

    Tips and tricks

    • Memory cue: where, how, how tall. Where the graph meets the x-axis gives the factors. How it meets the axis gives the lowest powers that fit. How tall it is at one more point gives a.
    • Sign check for a: look at the right arm. Far to the right every factor (x − c) is positive, so the sign of the output is the sign of a. Right arm up means a is positive. Right arm down means a is negative.
    • Degree check: when every zero is real, add the multiplicities to get the degree. An even degree needs both arms pointing the same way. An odd degree needs the arms pointing opposite ways. If the arms disagree with your degree, recheck the list of zeros, the crossing and touching readings, and the arms. Raising a power without changing it from even to odd cannot fix that.
    • The y-intercept is usually the best extra point, because substituting x = 0 makes the arithmetic short. Use it when you can read it exactly and its height is not 0. When 0 is itself a zero, or the y-intercept falls between grid lines, pick another point you can read exactly.
    • Always save a second point for the check. One point finds a. A different point is a second check on it.
    • Leave the answer in factored form unless you are asked to multiply it out. The factored form shows the zeros and multiplicities at a glance.

    7 The 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.

    Keep in mind

    • What a test asks from this lesson: the formula of a polynomial, from its graph or from stated facts: the degree, the zeros with their multiplicities, and a y-intercept or another point.
    • The words: a double zero has multiplicity 2, a triple zero has multiplicity 3, and root means zero.
    • Always write the a, substitute the point, and solve. Then check that the multiplicities add up to the stated degree.
    • It also asks for only the zeros and multiplicities read from a graph: a straight crossing is 1, a touch and turn is 2, a flattened crossing is 3.

    Flash cards

    Say the answer out loud, then flip.

    A graph meets the x-axis at −2 and at 0. What factor does each zero give?
    • The zero at −2 gives (x + 2).
    • The zero at 0 gives x.
    • Flip the sign of the zero: x − (−2) = x + 2, and x − 0 = x.
    At a zero, a graph can cross straight, touch and turn, or flatten while crossing. What is the lowest power that fits the factor in each case?
    • Crosses straight: power 1.
    • Touches and turns: power 2, the lowest even power.
    • Flattens while crossing: power 3, the lowest odd power above 1.
    • Think of the fewest scoops of one ingredient: one, two or three.
    You have every zero, all of them real, and every multiplicity. Why is the formula still not finished?
    • The number a in front is still unknown. Multiplying the whole formula by a nonzero number a changes every height, but a
    • 0 is still 0, so no zero moves. The zeros are the ingredients. They do not tell you the size of the batch.
    A graph gives f(x) = a(x + 2)(x − 1)2 and passes through (0, 4). What is a?
    • a = 2.
    • Put in x = 0: (0 + 2)(0 − 1)2 = 2 · 1 = 2.
    • So 4 = a · 2. Divide both sides by 2 to get a = 2.
    • The formula is f(x) = 2(x + 2)(x − 1)2.

    Sources

    1. Jay Abramson. Precalculus 2e, 3.4 Graphs of Polynomial Functions. OpenStax, 2021. CC BY-NC-SA 4.0. Read 16 Nov 2026.

    From earlier

    Zeros from the factored form

    What is a zero of a polynomial, and where does it show up on the graph?
    Show answer
    It is an input that gives the output 0.
    On the graph, a real zero c marks the point (c, 0) where the curve meets the x-axis.

    Zeros from the factored form

    Why does one factor equal to 0 make the whole product 0?
    Show answer
    Zero times any number is 0.
    It works like holiday lights wired in a row: one burned-out bulb makes the whole string go dark.