expand (x+3)^3
Let's write in expanded form: (x + 3)3
Using the Newton formula: (a+b)n=∑k=0n(n!k!(n−k)!)an−kbk, you can expand the math expression:
ⅰ (x + 3)3 = 3!3!·0!·x3·30 + 3!2!·1!·x2·31 + 3!1!·2!·x1·32 + 3!0!·3!·x0·33
3!3!·0!·x3·30 + 3!2!·1!·x2·31 + 3!1!·2!·x1·32 + 3!0!·3!·x0·33
ⓘ Any nonzero number raised to the power 0 is 1: 30 = 1■The factorial of a number is the product of all the integers from 1 to that number: 3! = 6, 2! = 2, 1! = 1■Multiplying by 1 changes nothing: 2·1 = 2, 1·2 = 2■Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: 32 = 3·3 = 9■Any nonzero number raised to the power 0 is 1. In this calculation, we use the convention 0^0 = 1: x0 = 1
3!3!·0!·x3 + 62·x2·3 + 62·x·9 + 3!0!·3!·33
ⓘ The factorial of a number is the product of all the integers from 1 to that number: 3! = 6■By convention, the factorial of 0 is 1: 0! = 1■Multiplying by 1 changes nothing: 6·1 = 6, 1·6 = 6■Multiplications are done before additions and subtractions: 62·3 = 182, 62·9 = 542■Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: 33 = 3·3·3 = 27
66·x3 + 182·x2 + 542·x + 66·27
ⓘ We simplify the fraction by dividing the numerator and the denominator by 6, their greatest common divisor: 66 = 1■Multiplying by 1 changes nothing: 1·x3 = x3, 1·27 = 27■We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 182 = 9, 542 = 27
▶Expanded form:   x3 + 9x2 + 27x + 27