Diamond Problem Solver

Two numbers multiply to the top and add to the bottom. Fill in any two cells; we’ll do the rest.

Product
Sum

Two numbers multiply to the top and add to the bottom. Fill in any two cells; we'll do the rest. The diamond on this page is the same diamond that's printed on your worksheet — a square on its point, split into four triangles — so there's nothing to translate into somebody else's form fields. Type into the cells you already know and the other two fill themselves in, along with the steps that got there. Most pages that solve these only go one direction: you give them the product and the sum, they hand back two numbers. That covers maybe half the diamonds a class actually assigns, because a worksheet just as often gives you one number and the sum, or one number and the product. This one takes any two of the four. The arithmetic runs on exact fractions rather than decimals, which matters more than it sounds: a calculator built on ordinary floating-point turns a product of 1/6 and a sum of 5/6 into 0.5000000000000002 and 0.33333333333333315 — two numbers that are almost, but not quite, 1/2 and 1/3. Here you get 1/2 and 1/3.

Built by Bob QA by Ben Shipped

How to use

  1. 1

    Type a number into any cell. The top cell is the product, the bottom cell is the sum, and the left and right cells are the two numbers.

  2. 2

    Type a number into a second cell. The other two fill in straight away, tinted green so you can tell what you typed from what the page worked out.

  3. 3

    Read the working underneath: the multiplication and addition for the forward direction, or the quadratic and its discriminant when you started from the product and the sum.

  4. 4

    Change your mind freely — editing a third cell keeps your two newest numbers and re-solves around them. Clearing a cell blanks the answers rather than leaving a stale one behind.

  5. 5

    Tap Copy for the plain-text line, like `product 24, sum 10 → 6 and 4`.

Frequently asked questions

Ratings & Reviews

Rate this tool

Sign in to leave a written review.
Loading reviews…