プリンキピア

第3章実数の体系と数論

3.3 Order of Operations3.3 演算の順序

A close-up view of a notebook show a mathematical calculation. A calculator and a pen are placed by the notebook.
Figure 3.19図3.19
Calculators may automatically apply order of operations to calculations. (credit: “Precision” by Leonid Mamchenkov/Flickr, CC BY 2.0)
英語のヒント
電卓は、計算に演算の順序を自動で当てはめることがある。(出典:Leonid Mamchenkov/Flickr の “Precision”、CC BY 2.0)
After completing this module, you should be able to:
英語のヒント
この単元を学び終えたら、次のことができるようになっているはずである:
  1. Simplify expressions using order of operations.
    英語のヒント
    演算の順序を使って式を簡単にする。
  2. Simplify expressions using order of operations involving grouping symbols.
    英語のヒント
    くくる記号を含む演算の順序を使って式を簡単にする。
Calculates else sure someone be rules expect explicit we what that needs to need make, we to that them what be calculate to calculated first.
英語のヒント
計算することを規則がほかの人が最初に必要である、何をはっきりさせる思うときにこちらが確かにするには計算する必要があるかを計算してほしいと。
You probably read that sentence and couldn't make heads or tails of it. Seems like it might concern calculations, but maybe it concerns needs? You may even be attempting to unscramble the sentence as you read it, placing words in the order you might expect them to appear in. The reason that the sentence makes no sense is that the words don't follow the order you expect them to follow. Unscrambled, the sentence was intended to be “To be sure that someone else calculates when we expect them to calculate, we need rules that make explicit what needs to be calculated first.”
英語のヒント
たぶんあの文を読んで、さっぱりわけがわからなかっただろう。計算にかかわることのようだが、もしかすると「必要」にかかわることなのだろうか。読みながら、語を現れると思う順に並べて、文を元に戻そうとさえしているかもしれない。あの文が意味をなさない理由は、語が予想どおりの順に並んでいないことである。元に戻すと、あの文は「ほかの人が、こちらが計算してほしいと思うときに計算することを確かにするには、何を最初に計算する必要があるかをはっきりさせる規則が必要である。」となるはずだった。
Similarly, when working with math expressions and equations, if we don't follow the rules for order of operations, arithmetic expressions make no sense. Just a simple expression would be problematic if we didn't have some rules to tell us what to calculate first. For instance, 4×22+3+52 can be calculated in many ways. You could get 5,184. Or, you could get 80. Or, 96. The issue is that without following a set of rules for calculation, the same expression will give various results. In case you are curious, using the appropriate order of operations, we find 4×22+3+52=44.
英語のヒント
同じように、数学の式や方程式を扱うとき、演算の順序の規則に従わなければ、算術の式は意味をなさない。何を最初に計算するかを教えてくれる規則がなければ、ただの簡単な式でも困ったことになる。たとえば、4×22+3+52はいろいろなやり方で計算できてしまう。5,184になるかもしれない。あるいは80になるかもしれない。あるいは96になるかもしれない。問題は、計算の規則に従わなければ、同じ式がさまざまな結果を出すことである。気になるなら言っておくと、適切な演算の順序を使えば、4×22+3+52=44となる。

Simplify Expressions Using Order of Operations演算の順序を使って式を簡単にする

The order in which mathematical operations is performed is a convention that makes it easier for anyone to correctly calculate. They follow the acronym EMDAS:
英語のヒント
数学の演算を行う順序は、だれでも正しく計算しやすくするための取り決めである。その順序は、頭字語EMDASに従う:
EExponents累乗
M/DMultiplication and divisionかけ算と割り算
A/SAddition and Subtraction足し算と引き算
So, what does EMDAS tell us to do? In an equation, moving left to right, we begin by calculating all the exponents first. Once the exponents have been calculated, we again move left to right, calculating the multiplications and divisions, one at a time. Multiplication and division hold the same position in the ordering, so when you encounter one or the other at this step, do it. Once the multiplications and divisions have been calculated, we again move left to right, calculating the additions and subtractions, one at a time. Additions and subtractions hold the same position in the ordering, so when you encounter one or the other at this step, do it. (You may have previously learned the order of operations as PEMDAS, with parentheses first; we will add that aspect later on.) We’ll explore this as we work an example.
英語のヒント
では、EMDASは何をせよと言っているのか。式の中で、左から右へ進みながら、まずすべての累乗を計算することから始める。累乗を計算し終えたら、もう一度左から右へ進みながら、かけ算と割り算を一つずつ計算する。かけ算と割り算は順序の中で同じ位置にあるので、この段階でどちらかに出会ったら、それを行う。かけ算と割り算を計算し終えたら、もう一度左から右へ進みながら、足し算と引き算を一つずつ計算する。足し算と引き算は順序の中で同じ位置にあるので、この段階でどちらかに出会ったら、それを行う。(演算の順序を、かっこを最初にしたPEMDASとして以前に学んだかもしれない。その点はあとで加える。)例題を解きながら、これを確かめていく。
Example 3.43例題 3.43

Using Two Order of Operations演算の順序を2つ使う

Calculate 21−4×13.
英語のヒント
21−4×13を計算せよ。
Solution解答
There are no exponents in this expression, so the next operations to check are multiplication and division.
英語のヒント
この式には累乗がないので、次に調べる演算はかけ算と割り算である。
Step 1: Moving left to right, the first multiplication encountered is 4 multiplied by 13. We perform that operation first.
英語のヒント
手順1:左から右へ進むと、最初に出会うかけ算は4に13をかけることである。その演算を最初に行う。
21−4×13=21−52
Step 2: The only operation remaining is the subtraction.
英語のヒント
手順2:残っている演算は引き算だけである。
21−52=−31.
So, 21−4×13=−31.
英語のヒント
よって、21−4×13=−31。
Example 3.44例題 3.44

Using Two Order of Operations演算の順序を2つ使う

Calculate 4×83.
英語のヒント
4×83を計算せよ。
Solution解答
Step 1: Moving left to right, we see there is an exponent. We calculate the exponent first.
英語のヒント
手順1:左から右へ進むと、累乗があることがわかる。累乗を最初に計算する。
4×83=4×(8×8×8)=4×512
Step 2: The only operation remaining is the multiplication.
英語のヒント
手順2:残っている演算はかけ算だけである。
4×512=2,048
So, 4×83=2,048.
英語のヒント
よって、4×83=2,048。
Example 3.45例題 3.45

Using Three Order of Operations演算の順序を3つ使う

Calculate 2+32×4.
英語のヒント
2+32×4を計算せよ。
Solution解答
Step 1: To calculate this, move left to right, and compute all the exponents first. The only exponent we see is the squaring of the 3, so that is calculated first.
英語のヒント
手順1:これを計算するには、左から右へ進み、まずすべての累乗を求める。見えている累乗は3の2乗だけなので、それを最初に計算する。
2+32×4=2+(3×3)×4=2+9×4
Step 2: Since the exponents are all calculated, now calculate all the multiplications and divisions moving left to right. The only multiplication or division present is 9 times 4.
英語のヒント
手順2:累乗はすべて計算したので、次に左から右へ進みながら、すべてのかけ算と割り算を計算する。あるかけ算か割り算は、9かける4だけである。
2+9×4=2+36
Step 3: Moving left to right, perform the additions and subtractions. There is only one such operation, 2 plus 36.
英語のヒント
手順3:左から右へ進みながら、足し算と引き算を行う。そのような演算は2たす36の一つだけである。
2+36=38
So, 2+32×4=38.
英語のヒント
よって、2+32×4=38。
Even if the expression being calculated gets more complicated, we perform the operations in the order: EMDAS.
英語のヒント
計算する式がもっと複雑になっても、EMDASという順序で演算を行う。
Example 3.46例題 3.46

Using Eight Order of Operations演算の順序を8つ使う

Correctly apply the order of operations to compute the following:
英語のヒント
演算の順序を正しく当てはめて、次を計算せよ:
4−25×6/10×32+7×23.
Solution解答
Step 1: To do so, calculate the exponents first, moving left to right. There are two occurrences of exponents in the expression, 3 squared and 2 cubed.
英語のヒント
手順1:そのためには、左から右へ進みながら、まず累乗を計算する。この式には累乗が2か所あり、3の2乗と2の3乗である。
4−25×6/10×32+7×23=4−25×6/10×9+7×8
Step 2: Now that the exponents are calculated, perform the multiplication and division, moving left to right. The first is the product of 25 and 6.
英語のヒント
手順2:累乗を計算したので、左から右へ進みながら、かけ算と割り算を行う。最初は25と6の積である。
4−25×6/10×9+7×8=4−150/10×9+7×8
Step 3: Next is the 150 divided by 10.
英語のヒント
手順3:次は150を10で割ることである。
4−150/10×9+7×8=4−15×9+7×8
Step 4: Next is 15 multiplied by 9.
英語のヒント
手順4:次は15に9をかけることである。
4−15×9+7×8=4−135+7×8
Step 5: Finally, multiply the 7 and 8.
英語のヒント
手順5:最後に、7と8をかける。
4−135+7×8=4−135+56
As all the multiplications and divisions have been calculated, the additions and subtractions are performed, moving left to right.
英語のヒント
かけ算と割り算をすべて計算したので、左から右へ進みながら、足し算と引き算を行う。
4−135+56=−131+56=−131+56=−75
The computed value is −75.
英語のヒント
計算した値は−75である。
Example 3.47例題 3.47

Using Six Order of Operations演算の順序を6つ使う

Correctly apply the rules for the order of operations to accurately compute the following:
英語のヒント
演算の順序の規則を正しく当てはめて、次を正確に計算せよ:
10−3×53/15+56/4.
Solution解答
Step 1: Calculate exponents first, moving left to right:
英語のヒント
手順1:左から右へ進みながら、まず累乗を計算する:
10−3×53/15+56/4=10−3×125/15+56/4
Step 2: Multiply and divide, moving left to right:
英語のヒント
手順2:左から右へ進みながら、かけ算と割り算をする:
10−3×125/15+56/4=10−375/15+56/4=10−25+56/4=10−25+14
Step 3: Add and subtract, moving left to right:
英語のヒント
手順3:左から右へ進みながら、足し算と引き算をする:
10−25+14=−15+14=−1
Example 3.48例題 3.48

Using Order of Operations演算の順序を使う

Correctly apply the rules for the order of operations to accurately compute the following: (−8)/2×3−9×24/12+9×(−4)2/23.
英語のヒント
演算の順序の規則を正しく当てはめて、次を正確に計算せよ:(−8)/2×3−9×24/12+9×(−4)2/23。
Solution解答
Step 1: Calculate the exponents first, moving left to right:
英語のヒント
手順1:左から右へ進みながら、まず累乗を計算する:
(−8)/2×3−9×24/12+9×(−4)2/23=(−8)/2×3−9×16/12+9×122/23=(−8)/2×3−9×16/12+9×144/23=(−8)/2×3−9×16/12+9×144/8
Step 2: Multiply and divide, moving left to right:
英語のヒント
手順2:左から右へ進みながら、かけ算と割り算をする:
=(−8)/2×3−9×16/12+9×144/8=(−4)×3−9×16/12+9×144/8=(−12)−9×16/12+9×144/8=(−12)−144/12+9×144/8=(−12)−12+9×144/8=(−12)−12+1,296/8=(−12)−12+162
Step 3: Add and subtract, moving left to right:
英語のヒント
手順3:左から右へ進みながら、足し算と引き算をする:
=(−12)−12+162=(−24)+162=138