Wolfram|Alpha Pro Teaches Step-by-Step Arithmetic for All Grade Levels

Step-by-step diagram showing long division of polynomials

The following was written by AnneMarie Torresen and was originally published on the Wolfram Blog. The original post can be viewed here.

In grade school, long arithmetic is considered a foundational math skill. In the past several decades in the United States, long arithmetic has traditionally been introduced between first and fifth grade, and remains crucial for students of all ages.

The Common Core State Standards for mathematics indicate that first-grade students should learn how to add “a two-digit number and a one-digit number.” By second grade, students “add and subtract within 1000” and, in particular, “relate the strategy to a written method.” In third grade, multiplication by powers of 10 is introduced, and by fourth grade students are tasked to “use place value understanding and properties of operations to perform multi-digit arithmetic,” including multiplication and division. A fifth grader will not only be expected to “fluently multiply multi-digit whole numbers using the standard algorithm,” but also “add, subtract, multiply, and divide decimals.”

Now, Wolfram|Alpha Pro returns step-by-step solutions for long addition, subtraction, multiplication and division problems, including ones involving decimals or negative numbers. We have also developed detailed step-by-step solutions for long division of whole numbers and negative numbers as well as — for the high-school level — multiplication and division of polynomials.

Long Arithmetic in Wolfram|Alpha

Long arithmetic is used to solve addition, subtraction, multiplication and division problems in writing, often by organizing numbers one on top of the other, with digits aligned in columns.

The long arithmetic algorithms are rooted in the concept of place value. In our base-10 number system, each digit represents a count of a certain value associated with its place in the number. For example, a three-digit number with no decimal uses three place values: the hundreds, tens and ones. Aligning numbers based on their digits amounts to lining up the digits with the same place values. While the long arithmetic algorithms can be carried out without fully thinking through the place value reasoning each time, it can be conceptually useful for students to understand the process of, for example, multiplying the ones, multiplying the tens and multiplying the hundreds, then combining those results to get the final result.

Long arithmetic can be challenging for students seeing it for the first time. Moreover, since there is a variety of long arithmetic methods, it can be challenging for parents to help their students. If it seems to you like every generation learns a new long arithmetic method, that may not be your faulty memory! In fact, there are many variations of the long arithmetic algorithm, and which one you learn in school can depend on a variety of factors, from geographical region to teacher preference to curriculum updates.

Step-by-Step Problem Solving

Long Addition

Search field with several long numbers with decimal points being added

If you ask Wolfram|Alpha to add several numbers, you can view a step-by-step solution that performs the computation using long addition. First, we arrange the numbers into columns based on place value, using the decimal point as a guide:

Results of the long addition, with steps indicating how numbers should be added together in steps

Wolfram|Alpha then walks you through each step of the long addition algorithm. In general, this involves adding the digits in each column from right to left. If the digits in a column sum to 10 or more, we carry the first digit to the column to the left.

More conceptually, adding the digits in a column means counting the number of units in a particular place value. In the following step, for example, summing the 6 + 9 + 4 in the hundredths column adds up to 19 units in the hundredths column. Nineteen hundredths is equivalent to 1 tenth and 9 hundredths, and so we record the 9 hundredths in the hundredths column and move the 1 tenth to its fellow tenth units in the tenths column:

Step 3, with a hint to add numbers in the hundredths column and an example of those numbers being added

The step-by-step solution guides you through the addition of digits in each column, at which point you can read the final answer from the bottom of the grid:

Step 8, which shows the final steps with the added numbers being highlighted by an orange box. There are various hints scattered on the page, as well as the final answer set apart in a blue box.

Long Subtraction

12345–1992 in the search field, showing long subtraction

Wolfram|Alpha also returns step-by-step solutions for long subtraction of a smaller number from a larger one. We begin setting up the problem by arranging the numbers on the page:

Results of the long subtraction search, with the numbers being laid out in a grid and various hints giving next steps

The long subtraction algorithm proceeds by subtracting the bottom digit from the upper digit in each column. In the case that the bottom digit is a higher number than the upper digit, we must borrow from the columns to the left. We indicate this on the long subtraction grid by replacing the 3 in the hundreds column with a 2 and moving the borrowed 1 into the tens column to create 14 tens:

Step 4, explaining how borrowing works and how numbers can be subtracted in the higher values

The long subtraction–borrowing procedure can be explained in terms of place values. In the previous step, the need to borrow arises in the tens column because 4 tens is fewer than 9 tens. We therefore look beyond the tens column to the hundreds column, which allows us to instead consider subtracting 9 tens from 1 hundred and 4 tens. Conceptually, this changes the relevant subtraction problem for this step from 40–90 to 140–90. In the long subtraction grid, this only appears as 14–9 = 5; the place values of the digits are encoded in their positions in the numbers in the long subtraction grid:

Step 5, showing numbers highlighted as important to the later steps of subtraction and indicating the step of subtracting 14 minus 9 equal 5

Each borrowing and subtracting step is enumerated in the step-by-step solution. When there are no longer any digits in the bottom number, we can bring down any remaining digits from the upper number and read off the final answer from the bottom of the long arithmetic grid:

Step 9, the final step of long subtraction, with the final answer indicated beneath the last instructions

Long Multiplication

For step-by-step long multiplication, we recently added the capability to multiply decimals and negative numbers. Performing the long multiplication algorithm with decimals or negative numbers simply involves replicating the algorithm as if for integers and then placing the decimal or negative in an additional step before reporting the final answer.

In the words of the great Jaime Escalante in the 1988 film Stand and Deliver, “A negative times a negative is a positive!” The step-by-step solution for multiplying two negative numbers explains that you can effectively ignore the negative signs before continuing with the long multiplication algorithm:

A long multiplication query with decimal places, with the search bar and the resulting response showing in the screenshot

One step of the long multiplication algorithm involves multiplying a digit of the second number by each digit of the first, carrying the tens digit of each product as necessary. Each step is summarized in the step-by-step solution:

Step 3 and Step 4, each showing a large grid of numbers to be multiplied, as well as the results of each multiplication as the result of that step

Finally, if we are multiplying decimal numbers, we write the decimal in the final answer by taking place value into account, which amounts to counting up the number of digits after the decimals in the original numbers:

Step 7, showing the final step of long multiplication as well as highlighting the answer in a blue box

Long Division

The final result of long division is not always given as a single number. When a number does not evenly divide into another, long division reveals both the quotient and remainder:

Search bar with the following query: 8,209 divided by 51
Step 1, with the search query visible and the first step for laying out the problem indicated

Another way to report the result of a long division problem is with a mixed number, sometimes referred to as a mixed fraction:

Another version of the step, with a mixed fraction step up as an alternative way to solve the long division problem

Regardless of how you are presenting the final answer, the steps for performing the long arithmetic algorithm are the same. We begin by arranging the numbers in a slightly different layout, using a division bracket instead of stacking the numbers vertically, as we did for the previous algorithms. The number to the left of the bracket is the divisor and the number inside the bracket is the dividend:

Step 2, with the larger number set up under the division bracket

Each step of the long division algorithm requires multiple substeps. First, if the divisor has two digits, as in our example, you need to determine how many times the divisor goes into the first two digits of the dividend. Write that number on the top of the division bracket, multiply the divisor by that number, subtract that product from the divisor and bring down the next digit:

Step 3 and Step 4, both showing hints for each step as well as orange highlights indicating the division being done beneath the division bracket

Phew! Need some extra clarification on that? If so, you’re not alone. Long division is a notoriously challenging long arithmetic method to learn or teach. Behind the Multiple intermediate steps button, therefore, you can see the multiplication and subtraction worked out separately, with each addition to the bracket explained one at a time:

Step 3, with additional “intermediate steps” being displayed and explained in an orange box, giving more clarity as to what needs to be done

After performing the steps for the long division algorithm outlined until no more digits of the dividend remain, a final step guides you through the process for finding the quotient and remainder and, if desired, expressing the result as a mixed number:

Step 6 and Step 7, explaining the final steps of long division. The final answer is in a blue box beneath these steps.

Presently, Wolfram|Alpha only returns step-by-step long division solutions for integers, not for decimal numbers. We look forward to expanding our step-by-step support for long division to include decimals in the near future.

Want to see how to do polynomial arithmetic step by step? Curious about future developments on the project? Check out the blog for the full post!

--

--

Tech-Based Teaching Editor
Tech-Based Teaching: Computational Thinking in the Classroom

Tech-Based Teaching is all about computational thinking, edtech, and the ways that tech enriches learning. Want to contribute? Reach out to edutech@wolfram.com.