I've found Lagrange's Sur la résolution des équations algébriques to be a very confusing and difficult read, and I think I'm starting to see why: it seems that Lagrange thinks of algebra in a much more formal/symbolic way than I'm used to. Whereas I think of a symbol $x$ as referring to a specific number (which may be unknown), and I think of $2x + 3x = 5x$ as being justified because it would be true no matter which number $x$ is, Lagrange seems to just view $x$ as a sort of symbol on which certain rules of operation are defined, and $2x + 3x = 5x$ as being justified because it's one of those rules.
Here are some examples:
When explaining Cardan's method for solving the cubic, Lagrange blithely divides by a variable $y$ with no consideration for whether it is or isn't zero. At first I thought this was sloppy reasoning but now I wonder if he basically thinks of this as a calculation in the field of rational functions $\mathbb C(y)$.
Where $a, b, c$ are the roots of a particular cubic, Lagrange states in passing that $\frac {a+\alpha b + \beta c} 3$ will have $3!$ different values when we permute $a, b, c$ in every possible way. This is correct if we think of "different values" as meaning different forms, but possibly incorrect if $a, b, c$ are standing in for specific numbers (if they're all zero, for instance).
With $\alpha$ a primitive cube root of unity, Lagrange concludes from $\alpha Aa+\alpha Bb + \alpha Cc=Aa+Bc+Cb$ that $\alpha A=A$. This may be incorrect if $A, B, C$ and $a, b, c$ are specific numbers, but correct if we think of them as symbols and just want the expression on the left to be the same as the expression on the right.
Am I correct that 18th century algebra, or at least Lagrange, was done in this more "symbolic" way? If so, how can this be made rigorous in modern terminology? Where can I learn more about the way Lagrange and his contemporaries thought about their subject?