What is the correct meaning of term "formula"?
My teacher says that a formula is valid for all values of variables we plug in. Is it true that we can say formula is valid for all defined values of variable we plug in? I got this doubt when he told me the "formula"
$$(\tan(x))^2(\sin(x))^2 = (\tan(x))^2 - (\sin(x))^2\,.$$
Is it correct to say it a formula? Or is this just two functions equal to each other for the values of $x$ for which they are defined?