Did you know…
What was the first aircraft to fly with variable-geometry wings?
Short answer
The Bell X-5 was the first aircraft able to change its wing sweep in flight: its two examples first flew on 20 June and 10 December 1951. It was inspired by the German Messerschmitt P.1101, which was never actually tested. The F-111, by contrast, was the first production aircraft with variable-geometry wings.

The first to move its wings in flight
The Bell X-5 was the first aircraft capable of changing its wing sweep in flight. Two examples were built, making their first flights on 20 June and 10 December 1951. The project was inspired by the design of the Messerschmitt P.1101, conceived in Germany during the war and never actually tested.
The P.1101 and the Pterodactyl
Some design features of the Me P.1101 were later used by Bell as the basis for the X-5. On the P.1101 itself, test flights were planned with the wing set at 35, 40, and 45 degrees of sweep. On the Pterodactyl IV, one of the versions of the Westland-Hill Pterodactyl, the wings had variable sweep within a small range of angles, in order to allow longitudinal trimming in flight since the aircraft had no horizontal stabilizer.
The first in production: the F-111
The F-111 was the first production aircraft with variable-geometry wings. The F-111A made its first flight on 21 December 1964 from Carswell Air Force Base in Texas. Its sweep could vary between 16 and 72.5 degrees, from the fully forward position to maximum sweep.
More questions

Aviation history
What was special about the Vertol 76?
Vertol's VZ-2 tested the tiltwing concept for vertical take-off and landing. After ground trials beginning in April 1957, it first took off on 13 August only… more…

Aviation history
Which was the most-produced American fighter of the Second World War?
The Republic P-47 Thunderbolt, of which 15,636 or 15,683 units were built, depending on the source. It was also one of the heaviest fighters of the conflict… more…

Aviation history
Who flew the E-66 at 2,149 km/h?
Konstantin or Vladimir Kokkinaki, depending on the source. Konstantin is credited with the absolute record on a closed 100 km circuit, at 2,148.66 km/h, set… more…

Fly-by-Owen (CC BY SA), vía commons Aviation history
How many I-11Bs were built?
Between 208 and around 450, depending on the source: one of the AISA I-11 reference sheets gives 208 examples built, while All-Aero speaks of around 400 built… more…

Aviation history
How many HH-53s could be converted to Pave Low III?
Eight HH-53C aircraft received an improved systems package and were redesignated HH-53H Pave Low III. The other figure in circulation, nine MH-53H and 32… more…

SCDBob (CC BY SA), vía commons Aviation history
What did the A129 Mangusta's armor protect?
The fuselage: the A129's airframe is armored and, according to All-Aero, designed to protect against 12.7 mm rounds, with partial protection against 23 mm… more…