Standard economic theory says that firms maximise profits, or revenue minus costs. I had always taken this to be a self-evident truth given how entrenched in economic thought it is.