Questions tagged [dual-numbers]

For questions involving dual numbers. Dual numbers are numbers of the form $a + b \cdot \varepsilon \wedge \left{ a,, b \right} \in \mathbb{R} \wedge \varepsilon \ne 0 = \varepsilon^{2}$.

Dual numbers of the form $z = x + y \cdot \varepsilon \wedge \left\{ x,\, y \right\} \in \mathbb{R} \wedge \varepsilon \ne 0 = \varepsilon^{2}$. $\Re\left( z \right) = x$ is called the "real part", $\Im\left( z \right) = y$ is called the "imaginary part" and $\varepsilon$ is called "imaginary unit" of the dual numbers. $\overline{z} = z^{\ast} = x - y \cdot \varepsilon$ is called the conjugate of $z$ and its absolute value $\left|z\right|=\sqrt{x^2+y^2}$ is called magnitude.

Dual numbers are commutative, associative, alternative and power-associative $2$-dimensional hypercomplex numbers with zero divisors. They have the square matrix representation $x + y \cdot \varepsilon \mapsto \begin{pmatrix} x & y\\ 0 & x\\ \end{pmatrix}$.

Dual numbers find applications in Algebraic geometry, automatic differentiation, mechanics (e.g. screw theory) and many more more fields. Generalizations such as bicomplex numbers and dual quaternions also have useful applications, e.g. in fluid mechanics.

Important basic relations are: \begin{align*} \left( a + b \cdot \varepsilon \right) \pm \left( c + d \cdot \varepsilon \right) &= a \pm c + \left( b \pm c \right) \cdot \varepsilon\\ \left( a + b \cdot \varepsilon \right) \cdot \left( c + d \cdot \varepsilon \right) &= a \cdot c + \left( a \cdot d + b \cdot c \right) \cdot \varepsilon\\ \frac{a + b \cdot \varepsilon}{c + d \cdot \varepsilon} &= \frac{a}{c} + \frac{b \cdot c - a \cdot d}{c^{2}} \cdot \varepsilon \tag{if $c \ne 0$}\\ f\left( a + b \cdot \varepsilon \right) &= f\left( a \right) + b \cdot f'\left( a \right) \cdot \varepsilon \tag{if $f$ is analytic}\\ \end{align*}

Read more about dual numbers and their properties here.

36 questions
17
votes
3 answers

Geometry of the dual numbers

A dual number is a number of the form $a+b\varepsilon$, where $a,b \in \mathbb{R}$ and $\varepsilon$ is a nonreal number with the property $\varepsilon^2=0$. Dual numbers are in some ways similar to the complex numbers $a+bi$, where…
7
votes
2 answers

Differential form vs Hyperreal vs Dual number

Differential forms, hyperreals, and dual numbers all seem to sort of do something similar: formalize the notion of the infinitesimal. How are they related to each other, and in what ways are they different? I know that the hyperreals sort of…
6
votes
1 answer

Is the derivative of $f$ at $x$ always given by the dual part of $f(x+\epsilon)$?

I recently learnt about dual numbers, of the form $u + v\varepsilon$ where $u, v \in \mathbb R$ and $\varepsilon \notin \mathbb R$ is such that $\epsilon^2 = 0$. These numbers are used for automatic differentiation as they allegedly satisfy $f'(x) =…
5
votes
1 answer

What is the magnitude of a dual number? I'm not finding information on this.

I'm investigating dual quaternions and am having to learn a lot of stuff myself because I'm finding very few resources on the mathematical background. I know that the magnitude of a dual quaternion is a dual number. This makes sense because it is a…
John Cox
  • 171
  • 3
4
votes
0 answers

Infinite differentiability for complex, split and dual functions

This is the sequel to my previous question, inspired by Anixx's comment: Holomorphicity for complex, split and dual functions In it, Qiaochu Yuan helped establish what it means for these functions to be holomorphic. After some messing around, I've…
4
votes
1 answer

Holomorphicity for complex, split and dual functions

The set of complex numbers is: $$\mathbb{C}=\left\{a+bi:a,b\in\mathbb{R},i\notin\mathbb{R},i^{2}=-1\right\}$$ The set of split numbers is: $$\mathbb{D}=\left\{a+bj:a,b\in\mathbb{R},j\notin\mathbb{R},j^{2}=1\right\}$$ The set of dual numbers…
4
votes
1 answer

Have generalisations of dual numbers/complex numbers/quaternions/octonions... been studied?

Can anyone point me to any generalisations of the notions in the title? For example say you have: $$ (a_1, a_2, a_3, ...,a_n) \in \mathbb{R}^n $$ and $$ \gamma_1, \gamma_2, \gamma_3, ..., \gamma_n $$ such that $$ \gamma_{1}^k= \gamma_{2}^k=…
3
votes
3 answers

Matrix function derivative. Introduction

The author of this question was close to determining the derivative of the function of dual variable, when we consider matrices isomorphic (algebraically and topologically) to dual numbers: $$(a+\epsilon b) \sim \begin{bmatrix} a & 0 \\ …
3
votes
1 answer

L'Hopital's rule with dual numbers

Background: For the dual numbers, we extend the reals with an additional unit vector $\epsilon$ subject to the constraint that $\epsilon^2 = 0$. We can write dual numbers as $x_0 + x_1 \epsilon$ for $x_0,x_1 \in \mathbb{R}$. We have a rule for…
3
votes
0 answers

Possibility of computing antiderivative using dual numbers

It is known that, given a function $f(x)$, plugging in the dual number $x+\varepsilon$, where $\varepsilon^2=0$, yields $f(x) + f'(x)\varepsilon$. For example: $$f(x) =…
klkj
  • 105
3
votes
1 answer

Function to approximate infinite series $\sum_{n=0}^\infty (-1)^n \frac{x^{2n}}{(2n+1)!}$

I'll provide background information at the bottom of the post for those who are curious, but the problem at hand is finding a function to approximate the value of $$\sum_{n=0}^\infty (-1)^n \frac{x^{2n}}{(2n+1)!}$$ It looks similar to the…
3
votes
4 answers

Dual number $(a+b\varepsilon)$ raised to a dual power, e.g. $(a+b\varepsilon)^{(c+d\varepsilon)}$

I'm working on some code which utilizes Newton's method, and I would like to take advantage of dual numbers to simplify taking the derivative. I've worked out a class definition Dual which works great for polynomials, pow (where either base or…
3
votes
1 answer

Is $f(a+b\epsilon)=f(a)+b\epsilon f'(a)$ true for non-analytic smooth functions of dual argument

Does $f(a+b\epsilon)=f(a)+b\epsilon f'(a)$ remain true for non-analytic smooth functions of dual number argument? Where $ \epsilon^2=0$, $\epsilon \neq 0$ and $a,b \in \mathbb R$. I found proofs based only on Taylor series. That means it is okay…
2
votes
0 answers

Does wheel theory help give meaning to some division of polynomials?

I apologise if this question is a little too vague (e.g., "meaningful"). I have included the soft-question tag for good measure. Motivation: This is motivated by one of those annoying memes on social media; effectively, it was Solve…
2
votes
1 answer

What's the definition of dual number at perspect of exterior algebra?

In Dual Number it said that "It may also be defined as the exterior algebra of a one-dimensional vector space with $\varepsilon$ as its basis element." But I can't find the detailed rigorous expresion anywhere. I learned in Grassmann Number that…
1
2 3