# System of Equations Mechanics problem

Punchlinegirl
The x-coordinates of two objects moving along the x-axis are given below as a function of time t. $$x_1$$ and $$x_2$$ never have the same value. Calculate the value of $$x_2$$ when the objects are nearest to each other.
$$x_1$$= 23.0t
$$x_2= -28.0 +43.0t-8.0t^2$$

I solved the first equation for t, and then plugged it into the second one to get $$x_2= -28.0 + 43.0( \frac {x_1}{23}) -8.0(\frac {x_1}{23})^2$$

I tried to use the quadratic formula but got a negative number... can someone tell me what I'm doing wrong? Thanks in advance.

Homework Helper
it's easier algebra to replace those "x1/23" terms with "t".

This is a relative location question ... what is x2 rel. to x1?
now there's only one equation, one unknown (t).
minimize x2-x1 , by setting t-derivitive =0.