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