Find all the functions in $\mathbb{R}$, satisfying the given equation $(x+y)(f(x)-f(y)) = (x-y)f(x+y)$ for all $x,y$ in $\mathbb{R}$. Find all the functions in $\mathbb{R}$, satisfying the given equation 
$(x+y)(f(x)-f(y)) = (x-y)f(x+y)$ for all $x,y$ in  $\mathbb{R}$.
I tried to find something like a pattern that would become a constant. If I simplify, I get 
    $xf(x)-xf(x+y)-xf(y)=yf(y)-yf(x+y)-yf(x)$
What should I do now? Is this going to help? Thank you.  
 A: For $x,y\in\mathbb{R}$, let $P(x,y)$ denote the condition 
$$(x+y)\,\big(f(x)-f(y)\big)=(x-y)\,f(x+y)\,.$$
From $P(1,0)$, we get
$$f(1)-f(0)=f(1)\text{ so that }f(0)=0\,.$$
With $P\left(\dfrac{x+y}{2},\dfrac{x-y}{2}\right)$, we obtain
$$x\,\Biggl(f\left(\frac{x+y}{2}\right)-f\left(\frac{x-y}{2}\right)\Biggr)=y\,f(x)\,.\tag{*}$$
This shows that
$$f\left(\frac{1+y}{2}\right)-f\left(\frac{1-y}{2}\right)=ay\,,$$
where $a:=f(1)$.  Plugging in $2$ for $x$ and $y+1$ for $y$ in (*) yields
$$f\left(\frac{3+y}{2}\right)-f\left(\frac{1-y}{2}\right)=b\left(\frac{1+y}{2}\right)\,,$$
where $b:=f(2)$.  Thus, subtracting the two equations above gives us
$$f\left(\frac{3+y}{2}\right)-f\left(\frac{1+y}{2}\right)=b\left(\frac{1+y}{2}\right)-ay$$
for all $y\in\mathbb{R}$.  In other words,
$$f(t)-f(t-1)=b(t-1)-a(2t-3)=(b-2a)t+(3a-b)\,.\tag{#}$$
Now, we look at $P(x,x-1)$.  This gives
$$(2x-1)\,\big(f(x)-f(x-1)\big)=f(2x-1)\,.$$
Thus, from (#), we obtain
$$f(2x-1)=(2x-1)\,\big((b-2a)x+(3a-b)\big)\,.$$
That is,
$$f(t)=t\,\Biggl((b-2a)\left(\frac{t+1}{2}\right)+(3a-b)\Biggr)=\frac{b-2a}{2}t^2+\frac{4a-b}{2}t$$
for every $t\in\mathbb{R}$.  It is easy to verify that every quadratic function in the form above satisfies the functional equation.
A: The equation from Cesaro requires "differentiable".
A class of solutions is f(x) = ax
