Artificial intelligent assistant

Is there a shorthand for signifying that the numerator/denominator hasn't changed? Sometimes, when I'm solving problems in school, the numerator or the denominator will stay the same throughout multiple steps as I solve the other. This gets very tedious, and I was wondering if there was a shorthand or symbol I can use to show that it stays the same. What I'm looking for: $$\frac{(x+3)(x+5)}{x+2}$$ Instead of: $$\frac{x^2+8x+15}{x+2}$$ I can use: $$\frac{x^2+8x+15}{\beta}$$ or some other symbol.

Sure, you can let $\beta = x+2$.

There is nothing mathematically incorrect about letting another variable be equal to another variable/expression or substituted for it (though it can result in some nuances to be aware of, for example in integration/calculus). Sometimes it can even be more convenient - not so much in this case, but if you're dealing with larger, more complicated expressions, it can certainly make the work easier.

The key point would be to make sure it's clearly declared that $\beta = x+2$, though, or whatever you're substituting it for, so that there's no ambiguity with the reader.

EDIT: As noted in the comments, however, for this context specifically as $x$ is a variable, it is more appropriate to let $\beta$ be $\beta(x)$ in the above discussion. If there was no variable - for example, it was $\pi + 3$ where $\pi$ denotes the usual constant, you could just have $\beta$. Though in practice it's highly unlikely anyone will be confused either way.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy a5b1b7ab55867daca54032be3c9d2b8b