## Solving a quadratic by completing the square

Learn how to solve quadratic equations by completing the square. When solving a quadratic equation by completing the square, we first take the constant term to the other side of the equation and create a perfect square trinomial with the quadratic term and the linear term. If the coefficient of the quadratic term is not 1, we factor out the coefficient before creating the perfect square trinomial.

The perfect square trinomial is created by adding to both side of the equation, the square of half the coefficient of the linear term (the term whose variable is not squared). Note that you must account for the factored out value when adding the square of half the linear term to the other side of the equation. Then the perfect square trinomial is evaluated and then we solve for the variable to get the solution(s) to the quadratic equation.

This site provides links to random videos hosted at YouTube, with the emphasis on random.

The original idea for this site actually stemmed from another idea to provide a way of benchmarking the popularity of a video against the general population of YouTube videos. There are probably sites that do this by now, but there wasn’t when we started out. Anyway, in order to figure out how popular any one video is, you need a pretty large sample of videos to rank it against. The challenge is that the sample needs to be very random in order to properly rank a video and YouTube doesn’t appear to provide a way to obtain large numbers of random video IDs.

Even if you search on YouTube for a random string, the set of results that will be returned will still be based on popularity, so if you’re using this approach to build up your sample, you’re already in trouble. It turns out there is a multitude of ways in which the YouTube search function makes it very difficult to retrieve truly random results.

So how can we provide truly random links to YouTube videos? It turns out that the YouTube programming interface (API) provides additional functions that allow the discovery of videos which, with the right approach, are much more random. Using a number of tricks, combined some subtle manipulation of the space-time fabric, we have managed to create a process that yields something very close to 100% random links to YouTube videos.