Can't delete my "applications"
The 40gb of space being used isn't actually applications there just files on your mac not applications. This has happened to me before, apparently its an indexing problem.
You Can reindex spotlight by going into terminal and typing : sudo mdutil -E /

I also would recommend downloading OmniDiskSweeper like mcmahoniel said.
Hope this helps good luck!