Peptide bond is formed between carboxyl group of one amino acid and the amino group of the next one with the loss of one water molecule.It's the dehydration process we know.The number of amino acids in proteins are indicated by Dipeptide,Tripeptide and Polypeptide.
Dipeptide: is when 2 amino acids connect to each other
For example
Amino acid(1)+Amino acid(2)=Dipeptide+ water
Tripeptide:is when 3 amino acids connect to each other
For example
Amino acid(1)+Amino acid(2)+Amino acid(3)=Tripeptide+ 2 water
Polypeptide:is when more then 3 amino acids connect to each other
For example
A.a+A.a+A.a+A.a=Polypeptide+3 water