解釋如何乘除整數。
整數乘法
整數乘法與整數的乘法類似,但乘積的符號取決於所乘整數的符號。
乘積的符號基於以下規則
$正數 \times 正數 = 正數$
$負數 \times 負數 = 正數$
$正數 \times 負數 = 負數 \times 正數 = 負數$
例如:
$2\times3=6$
$-2 \times -3 = 6$
$2 \times -3 = -6$
整數除法
" role="presentation" style="display: inline; line-height: normal; overflow-wrap: normal; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">
" role="presentation" style="display: inline; line-height: normal; overflow-wrap: normal; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">
整數的除法是整數乘法的逆運算。乘法是重複的加法,而除法是重複的減法。
結果的符號取決於除法中存在的負因子的數量。
• 如果負因子是偶數,則積為正數。
• 如果負因子是奇數,則積為負數。
示例: 解 $–360 ÷ (–3) =$ ?
答案
我們可以將 $–360 ÷ (–3)$ 寫成 $\frac{-360}{-3}$
首先忽略所有負因子,並執行除法運算。
$\frac{360}{3}=120$
現在計算所有負號。在給定的運算中,我們有 2 個負號。
2 是偶數,因此結果將為正數。
因此,答案為 $\frac{-360}{-3}= 120$。