Finding the Salami Curve
Home Up Links

Home
Up
Links

Email Me!

Calculus 136.169 - Project Two

Submission Date: November 26th, 1999    

Submitted To: Professor Woods    

Submitted By: Robert Young, Joemar Johnson, Kyle Davis

Objective: To find the curve that can be placed on a playing surface in which any point on the curve subtends the largest angle to the goal mouth, with respect to any other point on a line perpendicular to the goal mouth.

Solution:

First, we want to find an equation for q, in terms of x. We will declare the unknown constants, and variables:

    Let w be the width of the playing surface

    Let l be the perpendicular distance between the goals

    Let g be the width of the goal-mouth

w, and g are all positive real numbers, because of physical restraints.

    Let n be the perpendicular distance from the line down the field we are concerned with, to the closest lengthwise border

 

We make an imaginary line at a perpendicular distance, n, from the boards, we will refer to it as the "skating line". We can then imagine any point on that line would have to variables associated with it:

    Let x be the distance on the "skating line" from the point to the line extending widthwise from the goal-mouth.

    Let q be the angle subtended by x, with legs extending to the corners of the goal-mouth.

 

We can now make an equation relating and x, in terms of our constants: w, l, n, and g.


Below is a blown up version of the above diagram, with a little added detail:

If you look at this graph, and using the trigonometry, we can make an equation involving the difference of two inverse tangent functions.

You will notice that using the two legs formed by the angle q, you can make two right angle triangles. Using basic trigonometry, we know that is equal to the larger triangle on the diagram, minus the smaller triangle, i.e.:

    q = tan-1([(w/2) + (g/2) - n]/x) - tan-1([(w/2) - (g/2) - n]/x).


You will notice that if x is equal to zero that the function would be undefined. That relate physically to the problem, since the angle in which you would subtend while standing left or right of the goal would be zero.

If we multiply the numerators and denominators of the fractions in the brackets by 2, we can simplify our equation:

    q = tan-1[(w + g - 2n)/2x] - tan-1[(w - g - 2n)/2x].

    D(q) = (0, ].

This is q in terms of x. For the next couple of steps, it would be easier if we simplified the above equation.

    Let a = (w + g - 2n)/2x.

    Let b = (w - g - 2n)/2x.

We now have:

    q = tan-1(a) - tan-1(b).


We want to find the value of x in which q is at its maximum. There are three points in which maximums can be found:

1. Endpoints

2. Singular Points (when q is defined, but q is not)

3. Critical Points (when q' =0)

 

There are no points in our function where q is defined, and is q' not, so we do not have to worry about singular points.

There is only one endpoint on our function and that is l. Intuitively, we know this is not a maximum because it is very far away from the goal-mouth and thus will subtend a small angle. However, just to be sure, we will consider this point, later in the paper.

That leaves critical points. To find critical points, we must first find q'. Using the differentiating rule for inverse tangent functions, the rule for differences of derivatives, and the chain rule, we have:

    q' = 1/(1 + a2) * a - 1/(1 + b2) * b.

We want to find points where q' =0, i.e.:

      1/(1 + a2) * a - 1/(1 + b2) * b = 0.

i.e. 1/(1 + a2) * a = 1/(1 + b2) * b.


NB : To improve readability, all intensive calculations will not be shown on this paper. At the end of a line that utilizes an intense calculation, you will see a reference number. This will refer you to a page at the end of the document which will contain these calculations.

If we substitute [(w + g - 2n)/2x] for a and [(w - g - 2n)/2x] for b in the above equation, we have:

      1/(1 + a2) * [(-2w-2g+4n)/4x2] = 1/(1 + b2) * [(-2w+2g+4n)/4x2]. {see Calculations, 1}

i.e.: [(-2w-2g+4n) / 4x2(1 + a2)] = [(-2w+2g+4n) / 4x2(1 + b2)].

 

Cross-multiplying, we have:

    (-2w+2g+4n)(4x2)(1+a2) = (-2w-2g+4n)(4x2)(1+b2).

 

Canceling 4x2 from both sides, we have:

    (-2w+2g+4n)(1+a2) = (-2w-2g+4n)(1+b2).

 

If we substitute [(w + g - 2n)/2x] for a and [(w - g - 2n)/2x] for b, and simplify, we have:

      4x2g + g3 - 4n2g - w2g + 4gnw = 0. {see Calculations, 2}

i.e.: 4x2g = -(g3 - 4n2g - w2g + 4gnw).

i.e.: 4x2 = -(g2 - 4n2 - w2 + 4nw).

i.e.: x2 = -(g2 - 4n2 - w2 + 4nw)/4.

i.e.: x = ±[-(g2 - 4n2 - w2 + 4nw)/4], but since x is in the domain (0, l), thus cannot be negative, we discard the negative quantity. Thus:

      x = ½ * Ö[-(g2 - 4n2 - w2 + 4nw)].

 

This is the critical point of q. That is, a point in which q could be at a local maximum or minimum.

To find out if it is a local max or min or neither, and also to compare it with the endpoint, we must give our unknown constants known quantities so that we can calculate values for at and near these points.

Example: l = 26, g = 3, w = 15, n = 3 (refer to first page to see what constants are graphically)

    x = ½ * Ö[-(32 - 4(3)2 - 152 + 4(3)(15))].

    x = ½ * Ö[72]

    x @ 4.24264

For the following explanation we will let M = ½ * Ö[-(g2 - 4n2 - w2 + 4nw)], to improve readability.

The first-derivative test says that if is positive at M-d (increasing), and negative at M+ d (decreasing), then M is a local maximum.


We must take a point before M on the number line, calculate , and do the same after M on the number line. However, is a tedious calculation. We know that if q(M-d) < q (M), that the function is increasing on the interval (0 , M) and if q(M+d) < q (M), that the function is decreasing on the interval (M, l].

If we get is increasing before M, and decreasing after M, we know M is a local maximum.

    q = tan-1[(w + g - 2n)/2x] - tan-1[(w - g - 2n)/2x].

Therefore, in this particular example,

      q = tan-1[(15 + 3 - 6)/2x] - tan-1[(15 - 3 - 6)/2x].

i.e.: q = tan-1[6/x] - tan-1[3/x].


Let's calculate q(4.24), q(3) and q(5):

    q(4.24) = tan-1[6/4.24] - tan-1[3/4.24].

                  @ 19.471

 

    q(3)= tan-1[6/3] - tan-1[3/3].

          = tan-1[2] - tan-1[1].

          @ 18.435

    q(5) = tan-1[6/5] - tan-1[3/5].

           @ 19.231


Since the value of q at 3 is less than at M, the function is increasing on the interval (0 , M).

Since the value of q at 5 is less than at M, the function is decreasing on the interval (M ,l].

Therefore, M is a local maximum.

Since the function is decreasing on the entire interval (M, l], we know that there is no way q(l) could be greater than q (M), unless l < M. This is possible because doesn't change the function, it just is an upper limit of x. Generally, you will never find a playing surface where l is less than ½ * Ö[-(g2 - 4n2 - w2 + 4nw)] but it could happen. Therefore, M the absolute maximum of q, as long as M < l. If l > M, then l is the maximum for that example.

x = ½ * Ö[-(g2 - 4n2 - w2 + 4nw)] is actually a function itself. Since n is only constant when you consider each "skating line" separately, if you consider the playing surface as a whole you will find that n is the independent variable and x the dependant variable. This function forms the "curve that can be placed on a playing surface in which any point on the curve subtends the largest angle to the goal mouth, with respect to any other point on a line perpendicular to the goal mouth" that we have been looking for. However, when the n value resides in the area encompassed by the goal-mouth, this function is undefined. But, we all know that the largest angle subtended when you are in a strait line perpendicular to the goal mouth is when you are directly in front of it, i.e. when x = 0. So, this is actually a piecewise function:

The n values in which the "skating line" is within the goal posts is (w+g)/2 and (w-g)/2, using the first diagram as a guide. Therefore, we get the following function:

 

 x = ½ * Ö[-(g2 - 4n2 - w2 + 4nw)], when n [0, (w-g)/2) È ((w+g)/2, w], and

 x = 0,                                              when n [(w-g)/2, (w+g)/2]

                                           
Result: The equation of the curve that can be placed on a playing surface in which any point on the curve subtends the largest angle to the goal mouth, with respect to any other point on a line perpendicular to the goal mouth, is the equation x = ½ * [-(g2 - 4n2 - w2 + 4nw)], where g is the width of the goal-mouth, n the parallel distance from either of the length-wise borders of the playing surface, w is the width of the playing surface and x is the perpendicular distance from a line extending left-right from the goal posts. However if n is within the points (w-g)/2 and (w+g)/2, x = 0.

Attached: Graph of the above function, suitable for transposing onto a real playing surface 

                    Two Calculation sheets corresponding to certain parts of the solution

Copyright 1999: Robert Young, Joemar Johnston, Kyle Davis

BACK