Vectors and max distance

If I have a vector A and then I do the dot product on itself so A°A. Then can I use that to find the maximum distance from the origin? If I take the derivative of the dot product then can I know at what time the maximum distance was travelled?

I have done this but it is wrong based on the graph I made using Wolfram Alpha, I just need some reassurance that I'm on the right track.