4

Is it possible to solve the functional equation $f(x) - f(x - 1) = x$ by algebraic means?

Joao
  • 1,390

6 Answers6

6

First note that we can add a constant to $f$ and it will still be a solution, so we might as well define $f(0)=0$ Then we can find $f(1)=1, f(2)=3, f(3)=6$ and so on. We can take finite differences and find that a quadratic polynomial fits all of these, then find that $\frac 12x(x+1)$ satisfies our equation. The full solution is then $f(x)=\frac 12x(x+1)+f(0)$

Ross Millikan
  • 374,822
  • This does not provide all the solutions, which the question seems to be asking for. – Did Nov 15 '14 at 17:59
3

$\require{cancel}$

A logical guess is a quadratic because we know that taking differences of polynomials of the same degree and leading term will eliminate the top level term, so we try

$$f(x)=ax^2+bx+c$$

then

$$f(x)-f(x-1) = \cancel{ax^2}+\cancel{bx}+\cancel{c}-(\cancel{ax^2}-2ax+a+\cancel{bx}-b+\cancel{c})$$

leaving us with

$$\color{blue}{2a}\cdot x + \color{red}{(b-a)}\cdot 1 = \color{blue}1 \cdot x + \color{red}0 \cdot 1$$

i.e.

$$\begin{cases} 2a = 1 \\ a-b=0\end{cases}$$

i.e. $a=b={1\over 2}$ and yielding $f(x)={x(x+1)\over 2}+c$ since there are no restrictions on $c$ whatsoever.

Adam Hughes
  • 36,777
  • It's a formal equivalence of polynomials, so that's not necessary to mention. It's the same with partial fractions, when you clear denominators you cannot technically substitute the values in which make some terms $0$ because it doesn't converge in the original sense, but the formal identity needs to hold. – Adam Hughes Nov 12 '14 at 22:15
  • @AlexR yeah, sorry about that, but they help to show what we're going for by matching coefficients on both sides. – Adam Hughes Nov 12 '14 at 22:17
  • I suggest \color{blue} for that? $$\color{blue}{2a}\cdot x + \color{blue}{(b-a)}\cdot 1 = \color{blue}1 \cdot x + \color{blue}0 \cdot 1$$Copyable: \color{blue}{2a}\cdot x + \color{blue}{(b-a)}\cdot 1 = \color{blue}1 \cdot x + \color{blue}0 \cdot 1 – AlexR Nov 12 '14 at 22:21
  • @AlexR nice. With some adjustment, that is certainly workable. – Adam Hughes Nov 12 '14 at 22:47
  • Many thanks to you from my eyes :) – AlexR Nov 12 '14 at 22:48
  • This does not provide all the solutions, which the question seems to be asking for. – Did Nov 15 '14 at 17:58
3

Note that a particular solution is $\frac12(x^2+x)$. Let $g(x) = f(x)-\frac12(x^2+x)$, the given equation becomes $$g(x)=g(x-1)$$ which means $g(x)$ is periodic with period $1$.

So $$f(x) = \frac{x^2+x}{2}+g(x)$$ where $g(x)$ is periodic with period $1$.

I think that is the best one can get out of the given equation without any other assumptions.

Quang Hoang
  • 15,854
2

I don't quite get your question, but a possible solution can be obtained by $$f(x) = \frac{x(x+1)}{2} + C$$ Then $$f(x)-f(x-1) = \frac{x(x+1) - (x-1)x}2 + C - C = \frac12 x(x-x+2) = x$$ To find it, set $f(0) = C$ and see $$f(n) = C + \sum_{i=1}^n i = \frac{n(n+1)}2$$ for $n\in\mathbb N$. Finally extend canonically to $x\in\mathbb R$


A more general solution if $f$ is allowed to have discontinuities is given $C : [0,1) \to\mathbb R$ let $$f(x) = C(\{x\}) + \frac{x(x+1)}2$$ Where $\{x\} = x - \lfloor x \rfloor$ denotes the fractional part. $f$ should be continuous as long as $C(0) = \lim_{t\to1} C(1)$ and $C$ is continuous.

AlexR
  • 24,905
0

$$f(x)=\frac{x(x+1)}{2}$$

is a solution, but I have not yet found a way to get it.

Peter
  • 84,454
-1

Yes, just take any $f(0)$, and $f(n) = f(0)$ plus some summation.

Pieter21
  • 3,475