ArticleslgStudy

mathematics

Dual number

Dual number is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Dual number rather than just read about it. In short: In algebra, the dual numbers are a quadratic algebra first introduced in the 19th century. They are expressions of the form a + bε, where a and b are real numbers, and ε is a symbol taken to satisfy ε2=0 with ε≠0.

Key takeaways

  • Dual number belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Dual number to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Dual number from memory before moving on to harder problems.

Reference excerpt

In algebra, the dual numbers are a quadratic algebra first introduced in the 19th century. They are expressions of the form a + bε, where a and b are real numbers, and ε is a symbol taken to satisfy ε2=0 with ε≠0. Dual numbers can be added component-wise, and multiplied by the formula

(a+bε)(c+dε)=ac+(ad+bc)ε, which follows from the property ε2 = 0 and the fact that multiplication is a bilinear operation. The dual numbers form a commutative algebra of dimension two over the reals, and also an Artinian local ring. They are one of the simplest examples of a ring that has nonzero nilpotent elements.

History Dual numbers were introduced in 1873 by William Clifford, and were used at the beginning of the twentieth century by the German mathematician Eduard Study, who used them to represent the dual angle which measures the relative position of two skew lines in space. Study defined a dual angle as θ + dε, where θ is the angle between the directions of two lines in three-dimensional space and d is a distance between them. The n-dimensional generalization, the Grassmann number, was introduced by Hermann Grassmann in the late 19th century.

Modern definition In modern algebra, the algebra of dual numbers is often defined as the quotient of a polynomial ring over the real numbers (ℝ) by the principal ideal generated by the square of the indeterminate, that is

ℝ[X]/⟨X2⟩. It may also be defined as the exterior algebra of a one-dimensional vector space with ε as its basis element.

Division Division of dual numbers is defined when the real part of the denominator (c in the equations below) is non-zero. The division process is analogous to complex division in that the denominator is multiplied by its conjugate in order to cancel the non-real parts. Therefore, to evaluate an expression of the form

a+bεc+dε we multiply the numerator and denominator by the conjugate of the denominator:

a+bεc+dε=(a+bε)(c−dε)(c+dε)(c−dε)=ac−adε+bcε−bdε2c2+cdε−cdε−d2ε2=ac−adε+bcε−0c2−0=ac+ε(bc−ad)c2=ac+bc−adc2ε If, on the other hand, c is zero while d is not, then the equation

a+bε=(x+yε)dε=xdε+0 has no solution if a is nonzero is otherwise solved by any dual number of the form ⁠b/d⁠ + yε. This means that the non-real part of the "quotient" is arbitrary and division is therefore not defined for purely nonreal dual numbers. Indeed, they are (trivially) zero divisors and clearly form an ideal of the associative algebra (and thus ring) of the dual numbers.

Matrix representation The dual number a+bε can be represented by the square matrix (ab0a). In this representation the matrix (0100) squares to the zero matrix, corresponding to the dual number ε. Generally, if ε is a nilpotent matrix, then B = {x I + y ε: x, y real} is a subalgebra isomorphic to the algebra of dual numbers. In the case of 2x2 real matrices M(2,R), ε can be taken as any matrix of the form (abc−a) with p = a2 + bc = 0. The dual numbers are one of three isomorphism classes of real 2-algebras in M(2,R). When p > 0 the subalgebra B is isomorphic to split-complex numbers, and when p < 0, B is isomorphic to the complex plane.

Automatic differentiation

One application of dual numbers is automatic differentiation. Any polynomial

P(x)=p0+p1x+p2x2+⋯+pnxn with real coefficients can be extended to a function of a dual-number-valued argument,

P(a+bε)=p0+p1(a+bε)+⋯+pn(a+bε)n=p0+p1a+p2a2+⋯+pnan+p1bε+2p2abε+⋯+npnan−1bε=p0+p1a+p2a2+⋯+pnan+b(p1+2p2a+⋯+npnan−1)ε=P(a)+bP′(a)ε, where P′ is the derivative of P. More generally, any (analytic) real function can be extended to the dual numbers via its Taylor series:

f(a+bε)=∑n=0∞f(n)(a)bnεnn!=f(a)+bf′(a)ε, since all terms involving ε2 or greater powers are trivially 0 by the definition of ε. By computing compositions of these functions over the dual numbers and examining the coefficient of ε in the result we find we have automatically computed the derivative of the composition. A similar method works for polynomials of n variables, using the exterior algebra of an n-dimensional vector space.

Geometry The "unit circle" of dual numbers consists of those with a = ±1 since these satisfy zz* = 1 where z* = a − bε. However, note that

ebε=∑n=0∞(bε)nn!=1+bε, so the exponential map applied to the ε-axis covers only half the "circle". Let z = a + bε. If a ≠ 0 and m = ⁠b/a⁠, then z = a(1 + mε) is the polar decomposition of the dual number z, and the slope m is its angular part. The concept of a rotation in the dual number plane is equivalent to a vertical shear mapping since (1 + pε)(1 + qε) = 1 + (p + q)ε. In absolute space and time the Galilean transformation

(t′,x′)=(t,x)(1v01), that is

t′=t,x′=vt+x, relates the resting coordinates system to a moving frame of reference of velocity v. With dual numbers t + xε representing events along one space dimension and time, the same transformation is effected with multiplication by 1 + vε.

Cycles Given two dual numbers p and q, they determine the set of z such that the difference in slopes ("Galilean angle") between the lines from z to p and q is constant. This set is a cycle in the dual number plane; since the equation setting the difference in slopes of the lines to a constant is a quadratic equation in the real part of z, a cycle is a parabola. The "cyclic rotation" of the dual number plane occurs as a motion of its projective line. According to Isaak Yaglom, the cycle Z = {z : y = αx2} is invariant under the composition of the shear

x1=x,y1=vx+y with the translation

x′=x1=v2a,y′=y1+v24a.

Applications in mechanics Dual numbers find applications in mechanics, notably for kinematic synthesis. For example, the dual numbers make it possible to transform the input/output equations of a four-bar spherical linkage, which includes only rotoid joints, into a four-bar spatial mechanism (rotoid, rotoid, rotoid, cylindrical). The dualized angles are made of a primitive part, the angles, and a dual part, which has units of length. See screw theory for more.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Dual number

Start with the simplest possible case. Write down what Dual number claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Dual number before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Dual number ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Dual number

In research
Dual number appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Dual number in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Dual number is common in secondary-school and first-year university syllabi. It links to neighbouring topics Commutative algebra, Differential algebra, Hypercomplex numbers, so understanding it makes those chapters shorter.
In everyday life
Look for Dual number outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Dual number” →

How to study Dual number in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Dual number means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Dual number out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Dual number in simple terms?

In algebra, the dual numbers are a quadratic algebra first introduced in the 19th century. They are expressions of the form a + bε, where a and b are real numbers, and ε is a symbol taken to satisfy ε2=0 with ε≠0.

Why does Dual number matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Dual number?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Dual number.

Tags

  • Commutative algebra
  • Differential algebra
  • Hypercomplex numbers
  • Linear algebra
  • Nonstandard analysis

Keep exploring