Why, what are you trying to achieve?
Full and differential backup does not truncate transaction log, it is (almost) independent. Transaction log backup command can truncate transaction log, and usually is desired behavior in full recovery model.
Documentation might help: http://msdn.microsoft.com/en-us/library/ms186865.aspx
Or a good tutorial about sql server backup.