Difference between formula and algorithm What is the difference between the terms formula and algorithm in mathematics? I haven't seen the definition of formula anywhere. I know that algorithm means that Turing machine halts for every input. Is for example
$$x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}$$ formula or algorithm as $\pm$ means you can choose which sign you use? Are there any formulas that are not algorithms or algorithms that are not formulas?
 A: An algorithm is a method for solving a problem, but a formula is a sequence of numbers and symbols corresponding to a word in a language. The quadratic formula is an algorithm, because it is a method for solving quadratic equations. Algorithms may not even involve math, but formulas almost exclusively use numbers.
A: An algorithm is in its most general definition: a way of achieving a desired goal. Formula are merely recipes or components. 
Example: The actual method of baking bread with steps is an algorithm:


*

*get ingredients

*mix ingredients

*put in oven

*cook until certain time at certain temperature

*take out and wait till cools


in here would be formula such as the formula for the bread, what ingredients etc...
The quadratic formula is just that: a formula for solving quadratic equations
An example of an algorithm for solving quadratics would be:


*

*get quadratic: call a the coefficient in front of x^2, b the coefficient in front of x and c the constant coefficient.

*evaluate quadratic formula (both + and - versions) on given a, b and c

*simplify
This algorithm solves the actual problem... whereas the formula is a tool used in the process.
A: An algorithm is a formula as well as a procedure. Therefore conceptually a formula is a subset of an algorithm. Algorithms can be defined either in a procedure or a formula. As someone mentioned above baking a bread is a procedure and its definitely an algorithm. Moreover the quadratic equation mentioned above is a formula as well as an algorithm. Therefore we can not separate as two distinct concepts rather they are related. At the end of the day the main purpose of an algorithm is to solve a problem. Two different algorithms can solve the same problem. 
A: An algorithm is a systematic method to achieve a variable Goal with different Quantitative or Qualitative Components;
A Formula is a systematic method to achieve a constant or Fixed Goal
With Similar Arithmetical or Algebraic components
Example: try above same examples
A: I believe one of the best answers is given by MIT textbook for the introductory course to CS, the author argued that all knowledge can be thought as Imperative or Declarative, with the latter being a way of declaring some sort of information like "the square of four is two" and the former being the "how to" type of knowledge like a recipe describing how cook a lasagna, regarding your question, i believe that most mathematics is declarative knowledge, statements that's strictly represent some computational nature or behavior in mathematical notations. while algorithms is obviously the imperative type, adding to that just taking a look at the formal definition of an algorithm, that is "a finite list of instructions which describes a set of computations that have a well-defined stats" , formulas is definitely not a list of instructions in my opinion.
