\begin{array}{rrcl} \text{Identity I:} & (a+b)^2 & = & a^2+b^2+2ab \\ \text{Identity II:} & (a – b)^2 & = & a^2 – 2ab + b^2 \\ \text{Identity III:} & a^2 – b^2 & = & (a + b)(a – b) \\ \text{Identity IV:} & (x + a)(x + b) & = & x^2 + (a + b) x + ab \\ \text{Identity V:} & (a + b + c)^2 & = & a^2 + b^2 + c^2 + 2ab + 2bc + 2ca \\ \text{Identity VI:} & (a + b)^3 & = & a^3 + b^3 + 3ab (a + b) \\ \text{Identity VII:} & (a – b)^3 & = & a^3 – b^3 – 3ab (a – b) \\ \text{Identity VIII:} & a^3+b^3+c^3–3abc & = & (a+b+c)(a^2+b^2+c^2–ab–bc–c) \\ \end{array}
I have been studying this since my fifth grade ,I have also used this equations for many times in my problem . My question is on what basis this equation was derived?not only this equation there 8 equations for solving complicated problems. How were these 8 equations was this derived and is there any method for deriving it?I want to know it because I am curious and I want to make mathematics more easier for me to study .I am tried of studying it by these formula.
This is just multiplying out the $(a+b)^{2}$. Observe that $$ (a+b)^{2} = (a+b)(a+b) = a(a+b) + b(a+b) = a^{2} + ab + ab + b^{2} = a^{2}+2ab+b^{2}. $$
For more general powers, you might know the binomial formula, which is $$ (a + b)^{n} = \sum_{i=0}^{n}\binom{n}{i}a^{n-i}b^{i} = a^{n} + na^{n-1}b + \cdots + nab^{n-1} + b^{n}. $$ If this looks scary at the moment, don't worry about it for now. To expand on Djhoe's comment about Pascal's triangle, the binomial coefficients (the numbers in front of the powers of $a$ and $b$) can be found in the following triangle: $$ \begin{array}{c} 1 \\ 1 \quad 1 \\ 1 \quad 2 \quad 1 \\ 1 \quad 3 \quad 3 \quad 1 \\ 1 \quad 4 \quad 6 \quad 4 \quad 1 \ \end{array} $$ Each number is the sum of the two above it. For example, the $6$ is the sum of the two $3$'s above it. These give you the coefficients of the powers of $(a + b)^{n}$: $$ \begin{array}{rc} (a + b)^{0} = & 1 \\ (a + b)^{1} = & a + b \\ (a + b)^{2} = & a^{2} + \color{red}{2}ab + b^{2} \\ (a + b)^{3} = & a^{3} + \color{red}{3}a^{2}b + \color{red}{3}ab^{2} + b^{3} \\ (a + b)^{4} = & a^{4} + \color{red}{4}a^{3}b + \color{red}{6}a^{2}b^{2} + \color{red}{4}ab^{3} + b^{4} \\ \end{array} $$ For the $0$ power, remember that anything to the power of $0$ is $1$.
All of the identities can be proved by following a similar method to the above. These are actually great exercises for you, so I recommend doing them yourself by expanding the brackets and simplifying. Here are a couple more examples for you to see the method and apply yourself:
Identity II is $$ (a - b)^{2} = (a - b)(a - b) = a(a - b) - b(a - b) = a^{2} - ab - ab + b^{2} = a^{2} - 2ab + b^{2}. $$ Identity V is $$ (a + b + c)^{2} = (a + b + c)(a + b + c) = a(a + b + c) + b(a + b + c) + c(a + b + c) $$ where we distribute the left bracket, and then this equals $$ (a^{2} + ab + ac) + (ab + b^{2} + bc) + (ac + bc + c^{2}) = a^{2} + b^{2} + c^{2} + 2ab + 2bc + 2ac $$ by collecting like terms.