$f(x+1)-f(x)=2x+3$ How do I solve $f(x)$?

94 Views Asked by At

Can you please help? Thank you very much.

$f(x+1) - f(x) = 2x + 3$

I tried differentiating two sides, but I didn't achieve anything.

4

There are 4 best solutions below

2
On

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

Equate coefficients to obtain $a$ and $b$ ($c$ can be anything).

1
On

Let $g\colon \Bbb R\to\Bbb R$ be any differntiable function with period $1$. Then $$f(x)=x^2+2x+g(x) $$ is a solution.

On the other hand, for any solution $f$, $g(x):=f(x)-x^2-2x$ turns out to obey the equation $g(x+1)-g(x)=0$, hence those are all solutions of the given equation.

2
On

Hint:
If we assume that $k,x\in\mathbb{N}\setminus\{0\}$, then we can write it using the equivalent form, $$f(k)=f(k-1)+2k+3.$$ Now, by applying it multiple times by summing for $k$ from $1$ to $x$, we get $$\sum_{k=1}^ x f(k)=\sum_{k=1}^ x f(k-1)+\sum_{k=1}^ x (2k+3).$$ $f(1),f(2),\ldots,f(n-1)$ appear on both sides of the equation, so by cancelling things: $$f(x)=f(0)+\sum_{k=1}^x(2k+3).$$ To complete things, try to find $f(0)$, and see whether this extends nicely to $\mathbb{R}$.

0
On

You can rewrite the original equation as the recurrence

$$f(x+1)=f(x)+2x+3.$$

Then knowing $f$ for some $x$ allows you to compute it for the next values,

$$f(x+2)=f(x+1)+2(x+1)+3=f(x)+2x+3+2(x+1)+3,$$ $$f(x+3)=f(x+2)+2(x+2)+3=f(x)+2x+3+2(x+1)+3+2(x+2)+3,$$ $$\cdots$$

You should see the pattern emerge, $f(x+k)$ is related to $f(x)$ by adding $k$ terms $2(x+i)$ with increasing $i$, and $k$ terms $3$. So, using the formula for the triangular numbers,

$$f(x+k)=f(x)+2kx+(k-1)k+3k=f(x)+2kx+k^2+2k.$$

At this stage, there's nothing more that you can do. $f$ is free to vary arbitrarily in an interval of lenght one, say $[0,1)$, and the other values are constrained by the above formula.