A child builds two wooden train sets. The path of one of the trains can be represented by the function y = 2cos2x, where y represents the distance of the train from the child as a function of x minutes. The distance from the child to the second train can be represented by the function y = 3 + cos x. What is the number of minutes it will take until the two trains are first equidistant from the child?

Respuesta :

Using a trigonometric equation, it is found that it will take 2.28 minutes until the two trains are first equidistant from the child.

What is the distance of each train to the child?

The distance of the first train is:

[tex]y_1 = 2\cos^{2}x[/tex]

The distance of the second train is:

[tex]y_2 = 3 + \cos{x}[/tex]

When are the trains equidistant to the child?

When [tex]y_1 = y_2[/tex], hence:

[tex]2\cos^{2}x = 3 + \cos{x}[/tex]

The following substitution is made:

[tex]z = \cos{x}[/tex]

Hence:

[tex]2z^2 = 3 + z[/tex]

[tex]2z^2 - z - 3 = 0[/tex]

Which is a quadratic equation with coefficients [tex]a = 2, b = -1, c = -3[/tex], hence:

[tex]\Delta = b^2 - 4ac = (-1)^2 - 4(1)(-3) = 13[/tex]

[tex]z_1 = \frac{-b + \sqrt{\Delta}}{2a} = \frac{1 + \sqrt{13}}{4} = 1.5[/tex]

[tex]z_2 = \frac{-b - \sqrt{\Delta}}{2a} = \frac{1 - \sqrt{13}}{4} = -0.65[/tex]

Then, applying the trigonometric equation, considering that [tex]-1 \leq z \leq 1[/tex] due to the range of the cosine function:

[tex]z_2 = \cos{x_2}[/tex]

[tex]x_2 = \arccos{z_2} = \arccos{-0.65} = 2.28[/tex]

It will take 2.28 minutes until the two trains are first equidistant from the child.

You can learn more about trigonometric equations at https://brainly.com/question/2088730