I found an interesting problem on the blog Reasonable Deviations.
Question:
Given a plane
, a point
in the plane and a point
not in the plane, find all points
in
such that the ratio
is a maximum.
Solution:
First, create a plane that intersects the points Q, P, and R. In addition to these 3-points, I’m going to create a 4th point point called R’ which is perpendicular to the plane.

Using Pythagoras Theorem, we can do the following:

We can simplify the formula by using the following relations:
. The important thing to note is that x is the only variable. The other variables are constant.
The formula can be reduced to:

The maximum of f(x) will occur when its derivative is 0. Therefore,






Therefore, the point R will a distance x away from R’ defined by the following equation:







. A screen is placed at x=a where
. Show that the locus of points of arrival of particles with given m and q, but different speeds
, is approximately a parabola.
, which is subjected to constraints
, will satisfy the following conditions:

, we can represent this constraints with the following formula:
. Therefore 
to simply the equations. The equations will be reduced to:








.
![z = \frac{3}{2} \sqrt[3]{2} z = \frac{3}{2} \sqrt[3]{2}](http://www.jkwiens.com/plugins/latexrender/pictures/6ebbd91bddd67ded64117d53c6f4e1b7_4.44841pt.gif)
![\begin{pmatrix} x \\ y \\ z \end{pmatrix} = \begin{pmatrix} 12 \\ 4 \\ \frac{3}{2} \end{pmatrix}\sqrt[3]{2} \begin{pmatrix} x \\ y \\ z \end{pmatrix} = \begin{pmatrix} 12 \\ 4 \\ \frac{3}{2} \end{pmatrix}\sqrt[3]{2}](http://www.jkwiens.com/plugins/latexrender/pictures/383afd498c2dc9932a9ebf3a1b6ca10f_16.52423pt.gif)
. Minimize the cost function 



