That depends on what kind of restrictions you put on the expressions defining $f$ and $g$, and what your exact definition of algebraic transformations is.
For example, $$
\lim_{n\to\infty} \left(1 + \frac{x}{n}\right)^n = e^x = \lim_{n\to\infty}\sum_{i=0}^n \frac{x^i}{i!}
$$
yet simply applications of algbraic identities won't prove the equivalence, since $$
\left(1 + \frac{x}{n}\right)^n \neq \sum_{i=0}^n\frac{x^i}{i!} \text{.}
$$
On the other hand, for polynomials algebraic identifies are sufficient to prove or disprove $p(x) = q(x)$ - it's sufficient to fully expand both sides, and compare the coefficients.
If you restrict yourself to functions definable in the first-order language of real closed fields, and $\forall x\, f(x) = g(x)$ is true over $\mathbb{R}$, then you can prove that by using just the axioms for RCF (real close fields) and the rules of deduction of first-order logic. In other words, if $$
\mathbb{R} \models \forall x\, f(x) = g(x)
$$
then $$
\textrm{RCF} \vdash \forall x\, f(x) = g(x) \text{.}
$$
This works because RCF is complete, i.e. for every possible logical statement $\varphi$, RCF either proves $\varphi$ or its negation $\lnot \varphi$.