This document presents the design and optimization of microstrip patch antennas for WLAN applications at 2.4 GHz, emphasizing the slotted-ring and truncated-slotted ring antennas. The truncated-slotted ring antenna demonstrated superior performance and was used to create a 1x4 linear array for beamforming techniques. The study highlights the use of genetic algorithms and active element pattern techniques for optimizing antenna array performance.