An abbreviation of the Latin phrase "
quod erat demonstrandum". It literally translates as "which was to be demonstrated", and is a formal way of ending a mathematical, logical or physical proof. It's purpose is to alert the reader that the immediately previous statement, which naturally was arrived at by an
unbroken chain of logic, was the original statement that
we were trying to prove.