"When We Were Young (The Logical Song)" is a song by French DJ and producer David Guetta and German singer and songwriter Kim Petras, released as a single on 10 November 2023 through What a DJ and Warner Music UK. It was written by Guetta, Jakke Erixson, Madison Love, Nick Long and Roger Davies, and produced by Guetta and Erixson. The song interpolates the 1979 song "The Logical Song" by British rock band Supertramp, written by Roger Hodgson.[1] It charted in the UK and across Europe.