Retired Navy Rear Adm. Robert Brodie Jr., 72, a destroyer commander in both the Atlantic and Pacific in World War II, died Monday at the Collingswood Nursing Center in Rockville after a long illness.

His last assignment before his retirement in 1957 was with the Bureau of Personnel here.

Adm. Brodie then served for 14 years as a mathematics teacher at Bethesda-Chevy Chase High School.

Born in Owensboro, Ky., he graduated from the Naval Academy at Annapolis in 1927. He saw duty on cruisers and destroyers.

During 1934-36, Adm. Brodie attended the post graduate school at Annapolis. He served aboard the carrier U.S.S. Saratoga, the destroyer U.S.S. Cushing and at the Bureau of Ships here before World War II.

During the war, as commanding officer of the destroyer U.S.S. Dallas, he took part in the North African campaign and took his ship behind the French defenses to help capture the air base at Port Lyautey, French Morocco.

Adm. Brodie then commanded the destroyer U.S.S. Ordronaux, which participated in North Atlantic troop convoy duty and the landing in Sicily.

He was transferred to command of the destroyer U.S.S. Haynesworth and Destroyer Division 23, which provided support operations for the capture of Okinawa, followed by other operations off the main Japanese islands and in the Yellow Sea.

After the war, Adm. Brodie served as chief of staff for personnel on the staff of Commander Joint Task Force One (Cross Roads Atom Bomb Tests). During 1949-50, he commanded Destroyer Squadron 11 in the Pacific.

After duty at the Pentagon, he commanded the battleship U.S.S. Missouri in Far East operations in 1953 and 1954. He then commanded for two years the naval section, Military Assistance Advisory Group in Taiwan, before returning here for his final assisgnment.

Adm. Brodie's many decorations included the Navy Cross and the Bronze Star.

He is survived by his wife, Dixie Plummer Hill Brodie, of the home in Potomae; two sons, retired Navy Lt. Cdr. Robert Brodie III, of Rockville, and David R., of Freeport, Ill; a brother, David C., of Owensboro, and two grandchildren.