So In a practice problem, I've found some complicated lim to compute and at the end I got this : $$\lim_{x\to \infty} x - x$$
My answer was that it was equal to $0$ , because in my reasoning $x-x = 0$ , But when I asked a math teacher I knew he told me that it was an indeterminated form because as we knows the limits of $\infty - \infty$ is undefined . While my class teacher told me that it was correct, Both teacher are old and very good and I don't know which one is right, because for me bot explanations seems logical, so please let me know what's the right answer and why ?
Also does this fact apply on those limits :
$$\lim_{x \to \infty} \frac{x}{x} $$ $\frac{\infty}{\infty}$ is an undefined limits
$$ \lim_{x \to \infty} ax - x $$
Where $a$ is a known real number
First I thought that I was good at computing limits but this case really confuse me now !
You are entirely correct that $$\lim_{x\to\infty}(x-x)=0.$$ Since $x-x=0$ for all $x$, as $x$ approaches $\infty$ the values of $x-x$ approach $0$ (they are in fact always exactly $0$).
An "indeterminate form" is just a general form of a limit such that you can't say what the limit is automatically based on its form. So for instance, a limit of the form $$\lim_{x\to a}(f(x)-g(x))$$ where $f(x)$ and $g(x)$ are both going to $\infty$ is "indeterminate", because this alone is not enough information to determine the limit. In your example, the limit was $0$. But in the example $$\lim_{x\to\infty}((x+1)-x),$$ the limit would be $1$ instead, since $(x+1)-x=1$ for all $x$. Or if you had $$\lim_{x\to\infty} (2x-x),$$ the limit would not exist (it diverges to $\infty$), since $2x-x=x$ and $x$ is going to $\infty$.
So in any particular example, a limit of "indeterminate form" does have a definite value (or the limit may not exist). It's just that you can't tell in advance what the limit will be merely from the fact that it looks like "$\infty-\infty$".