Titanium was written by Sia , David Guetta , Giorgio Tuinfort and Afrojack .
Taken from Guetta 's fifth studio album , Nothing but the Beat , the song was written by Sia , David Guetta , Giorgio Tuinfort and Afrojack .
Titanium -LRB-song-RRB-