encyclopegia.org

Formal calculation

In mathematical logic, a formal calculation, or formal operation, is a type of mathematical calculation, often involving power series, that is carried out purely algebraically while disregarding questions of convergence.[src] The expressions are manipulated according to algebraic rules, without requiring that the underlying series or operations necessarily converge in the analytical sense.[src] This approach is useful when the structure of the calculation is more important than its analytical properties.[src]

In mathematical logic, a formal calculation, or formal operation, is a type of mathematical calculation, often involving power series, that is carried out purely algebraically while disregarding questions of convergence.[src] The expressions are manipulated according to algebraic rules, without requiring that the underlying series or operations necessarily converge in the analytical sense.[src] This approach is useful when the structure of the calculation is more important than its analytical properties.[src] ==Examples== Formal calculations can lead to results that are wrong in one context, but correct in another context.[src] The equation \sum_{n=0}^{\infty} q^n = \frac{1}{1-q} holds if q has an absolute value less than 1.[src] Ignoring this restriction, and substituting q = 2 to leads to \sum_{n=0}^{\infty} 2^n = -1.[src] Substituting q=2 into the proof of the first equation, yields a formal calculation that produces the last equation.[src] But it is wrong over the real numbers, since the series does not converge.[src] However, in other contexts (e.g.[src] working with 2-adic numbers, or with integers modulo a power of 2), the series does converge.[src] The formal calculation implies that the last equation must be valid in those contexts.[src] Another example is obtained by substituting q=-1.[src] The resulting series 1-1+1-1+...[src] is divergent (over the real and the p-adic numbers) but a value can be assigned to it with an alternative method of summation, such as Cesàro summation.[src] The resulting value, 1/2, is the same as that obtained by the formal computation.[src] ===Formal power series=== Formal power series is a concept that adopts the form of power series from real analysis.[src] The word "formal" indicates that the series need not converge.[src] In mathematics, and especially in algebra, a formal series is an infinite sum that is considered independently from any notion of convergence and can be manipulated with algebraic operations on series (addition, subtraction, multiplication, division, partial sums, etc.).[src] A formal power series is a special kind of formal series, which may be viewed as a generalization of a polynomial, where the number of terms is allowed to be infinite, with no requirements of convergence.[src] Thus, the series may no longer represent a function of its variable, merely a formal sequence of coefficients, in contrast to a power series, which defines a function by taking numerical values for the variable within a radius of convergence.[src] In a formal power series, the powers of the variable are used only as position-holders for the coefficients, so that the coefficient of \displaystyle x^5 is the fifth term in the sequence.[src] In combinatorics, the method of generating functions uses formal power series to represent numerical sequences and multisets, for instance allowing concise expressions for recursively defined sequences regardless of whether the recursion can be explicitly solved.[src] More generally, formal power series can include series with any finite (or countable) number of variables, and with coefficients in an arbitrary ring.[src] Rings of formal power series are complete local rings, which supports calculus-like methods in the purely algebraic framework of algebraic geometry and commutative algebra.[src] They are analogous to p-adic integers, which can be defined as formal series of the powers of p.[src] ===Symbol manipulation=== ====Differential Equations==== To solve the differential equation \frac{dy}{dx} = y^2 these symbols can be treated as ordinary algebraic symbols, and without giving any justification regarding the validity of this step, we take reciprocals of both sides: \frac{dx}{dy} = \frac{1}{y^2} A simple antiderivative: x = \frac{-1}{y} + C y = \frac{1}{C-x} Because this is a formal calculation, it is acceptable to let C = \infty and obtain another solution: y = \frac{1}{\infty - x} = \frac{1}{\infty} = 0 The final solutions can be checked to confirm that they solve the equation.[src] ====Cross Product==== The cross product can be expressed as the following determinant: \mathbf{a\times b} = \begin{vmatrix} \mathbf{i}&\mathbf{j}&\mathbf{k}\\ a_1&a_2&a_3\\ b_1&b_2&b_3\\ \end{vmatrix} where ( \mathbf{i},\mathbf{j},\mathbf{k}) is a positively oriented orthonormal basis of a three-dimensional oriented Euclidean vector space, while a_1,a_2,a_3, b_1, b_2, b_3 are scalars such that \mathbf{a} = a_1 \mathbf{i} + a_2 \mathbf{j} + a_3 \mathbf{k} , and similar for \mathbf{b} .[src] ==See also== Formal power series Mathematical logic[src]

31 sentences · 31 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Formal calculation." encyclopegia.org, 2026, https://encyclopegia.org/wiki/formal-calculation. Accessed 01 December 2026.

Chicago

"Formal calculation." encyclopegia.org. Accessed December 1, 2026. https://encyclopegia.org/wiki/formal-calculation.

APA

encyclopegia.org. (2026). Formal calculation. Retrieved December 1, 2026, from https://encyclopegia.org/wiki/formal-calculation

Accessed December 1, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1348571546 · 0.5 · snapshot enwiki-001348571546

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.