I want full explanation​

Answer:
See below
Step-by-step explanation:
we would like to prove the following question:
[tex] \displaystyle \sum _{r = 0} ^{n} {3}^{r} \ \binom{n}{r} = {4}^{n} [/tex]
In order to do so, recall binomial theorem:
[tex] \displaystyle \sum _{r= 0} ^{n} {a}^{n - r} {b}^{r} \ \binom{n}{r} = (a + b {)}^{n} [/tex]
where:
Considering the given problem,if we assume a and b are 1 and 3 respectively then it can be proved easily so let's try it!
[tex] \displaystyle \sum _{r= 0} ^{n} {1}^{n - r} {3}^{r} \ \binom{n}{r} \stackrel {?}{ = } (1 + 3 {)}^{n} [/tex]
remember that,any power to 1 always yields 1 therefore we can drop [tex]1^{n-r}[/tex] so, we acquire:
[tex] \displaystyle \sum _{r= 0} ^{n} {3}^{r} \ \binom{n}{r} \stackrel {?}{ = } (1 + 3 {)}^{n} [/tex]
simplify right hand side:
[tex] \displaystyle \sum _{r= 0} ^{n} {3}^{r} \ \binom{n}{r} \stackrel { \checkmark}{ = } (4{)}^{n} [/tex]
hence we are done!
note:[tex]{}^n C_r[/tex] is also written as [tex]\binom{n}{r}[/tex]