i just began to study special relavity, and i'd like to know if i made some mistake in one of the questions of the book i solved. the question is:
If we have to events A and B with timelike separation, show that the proper time $${\Delta}{\tau}=\int_{A}^{B}d{\tau}$$ is maximum when calculated along a straight line
Here's what i did: first, consider a reference frame where the moving particle is at rest spatially and put the point A at the origin and B at some point B=(t,0,0,0). I know that ${\tau}=t/\gamma$. therefore, by integrating i got that $${\Delta}{\tau}=\frac{{\Delta}t}{\gamma}$$ but $\gamma \geq 1 $ therefore ${\Delta}t \geq {\Delta}{\tau}$. So i concluded that ${\Delta}{\tau}$ is maximum when it's equal to ${\Delta}{t}$ which is, $\gamma=1$. Formally, ${\Delta}t/\gamma$ is a straight line with inclination $1/\gamma$. Is my approach correct? sorry if it's kinda trivial once it's well a known fact in SR. thanks in advance for your help