Angle of intersection

Recall

Recall that the graph of a linear function f(x)=ax+bf(x)=ax+b is a straight line with slope aa. The (smaller) angle α\alpha between this straight line and the xx-axis is the arc tangent of the slope: α=arctan(a)\alpha = \arctan(a). This is a direct consequence of the trigonometric relations (SOHCAHTOA) for the slope triangle, as is shown in the figure below.

Indeed, we have seen

Equation 1
tan(α)=OA=ΔyΔx=a    α=arctan(a)\tan(\alpha)=\frac{O}{A}=\frac{\Delta y}{\Delta x} = a \implies \alpha=\arctan(a)

Convert slope to angles.

Also remember, that:

  • The arc tangent is also called inverse tangent, written tan1\tan^{-1}.
  • If the calculator is in degree mode, the angle α=arctan(a)\alpha=\arctan(a) is in degrees; if the calculator is in radian mode, the angle α=arctan(a)\alpha=\arctan(a) is in radians.
  • For a positive slope aa, α=arctan(a)\alpha=\arctan(a) is positive (below, left); for a negative slope aa, α=arctan(a)\alpha=\arctan(a) is negative (below, right). A negative angle means you measure downwards or clockwise.
Exercise 1
  1. In the left figure above, assume that Δx=2\Delta x=2 and Δy=2.8\Delta y=2.8. In the right figure above, assume that Δx=2\Delta x=2 and Δy=3.2\Delta y=-3.2. Calculate the angle α\alpha for both cases.

  2. Consider the two linear functions f(x)=0.5x+1f(x)=0.5x+1 and g(x)=1.5x+3g(x)=-1.5x+3. Draw the two graphs, and calculate their smallest angle of intersection with the xx-axis. Also, indicate these angles on the picture.

Solution
  1. Left: a=ΔyΔx=2.82=1.4    α=arctan(1.4)=54.46a=\frac{\Delta y}{\Delta x}=\frac{2.8}{2}=1.4 \implies \alpha=\arctan(1.4)=54.46^\circ. Right: Note that Δy<0\Delta y<0 because we go down on the slope triangle. a=ΔyΔx=3.22=1.6    α=arctan(1.6)=58a=\frac{\Delta y}{\Delta x}=\frac{-3.2}{2}=-1.6 \implies \alpha=\arctan(-1.6)=-58^\circ. Thus the angle is 5858^\circ, measured downwards or clockwise.
  2. Figures are not shown. αf=arctan(0.5)=26.57\alpha_f=\arctan(0.5)=26.57^\circ and αg=arctan(1.5)=56.31\alpha_g=\arctan(-1.5)=-56.31^\circ (thus the angle is 56.3156.31^\circ, measured downwards or clockwise).
Motivation

Consider a function ff, and assume that the graph (generally a curved line) intersects the xx-axis at some point. We want to know the angle between the xx-axis and the curve at this point. With the help of the tangent, we can define what we mean by this.

Definition 1

Consider a function ff that intersects the xx-axis at some point xx. The angle between the graph of ff and the xx-axis at this point is defined as the angle between the tangent to the graph of ff at this point and the xx-axis. We call this angle the angle between the graph and the x-axis.

Theorem 1

Consider a function ff and the tangent to the graph of ff at x=ux=u. The angle α\alpha between the tangent and the xx-axis is

Equation 2
α=arctan(f(u))\alpha = \arctan(f^\prime(u))

Angle between the graph and the x-axis

Proof

The proof should be clear. The tangent has the slope a=f(u)a=f^\prime(u).

Exercise 2

The graph above is given by the function f(x)=x21f(x)=x^2-1. Find both angles of intersection of the graph with the xx-axis.

Solution
  • Find the xx-intercepts: f(x)=0x21=0x1=1f(x)=0 \rightarrow x^2-1=0 \rightarrow x_1=-1 and x2=1x_2=1.
  • The derivative for calculating the slope of the tangent at xx is f(x)=2xf'(x)=2x. Thus the slope of the tangent at x1=1x_1=-1 is a1=f(1)=2a_1=f'(-1)=-2, and the slope of the tangent at x2=1x_2=1 is a2=f(1)=2a_2=f'(1)=2.
  • The angle at x1x_1 is α1=arctan(2)=63.44\alpha_1 =\arctan(-2)=\underline{-63.44^\circ}. Thus the angle is 63.4463.44^\circ if measured clockwise.
  • The angle at x2x_2 is α2=arctan(2)=63.44\alpha_2 =\arctan(2)=\underline{63.44^\circ}.
Definition 2

Consider two functions ff and gg whose graphs intersect at x=ux=u (see figure below). The angle between graphs is defined as the (smaller) angle between the tangents to the graphs of ff and gg at x=ux=u.

Recipe 1: Finding the angle of intersection

To determine α\alpha, it is helpful to first find the angles αf\alpha_f and αg\alpha_g between the xx-axis and the tangents (see figure below).

Exercise 3

Assume that in the figure above, the slopes of the tangents tft_f and tgt_g are given by af=2.5a_f=2.5 and ag=1a_g=-1. Determine the angle of intersection α\alpha.

Solution

We have αf=arctan(af)=arctan(2.5)=68.19\alpha_f = \arctan(a_f)=\arctan(2.5) = 68.19^\circ and αg=arctan(ag)=arctan(1)=45\alpha_g = \arctan(a_g)=\arctan(-1) = -45^\circ. Thus, α=18068.1945=66.8\alpha=180^\circ - 68.19^\circ - 45^\circ=66.8^\circ.

Exercise 4
  1. Determine the angles of intersection between the xx-axis and the graph of ff:
    1. f(x)=53x2f(x)=5-3x^2
    2. f(x)=2(x+1)(x2)(x3)f(x)=2(x+1)(x-2)(x-3)
  2. Determine all the angles of intersection between the two graphs ff and gg:
    1. f(x)=x2f(x)=x^2 and g(x)=32x2g(x)=3-2x^2
    2. f(x)=x2f(x)=x^2 and g(x)=2x+3g(x)=2x+3
  3. Consider the function f(x)=3x36f(x)=3\sqrt[3]{x}-6.
    1. Find the angle of intersection with the xx-axis.

    2. Find all points on the graph where the tangent intersects the xx-axis at an angle of 3030^\circ.

Solution
    1. At x1=53x_1=-\sqrt{\frac{5}{3}}, the angle is α1=82.64\alpha_1=82.64^\circ, and at x2=53x_2=\sqrt{\frac{5}{3}}, the angle is α2=82.64\alpha_2=-82.64^\circ.
    2. The derivative is f(x)=6x216x+2f'(x)=6x^2-16x+2. At x1=1x_1=-1, the slope is a1=24a_1=24 and α1=87.61\alpha_1=87.61^\circ; at x2=2x_2=2, the slope is a2=6a_2=-6 and α2=80.54\alpha_2=-80.54^\circ; and at x3=3x_3=3, the slope is a3=8a_3=8 and α3=82.87\alpha_3=82.87^\circ.
    1. At P1=(11)P_1=(1\vert 1), it is αf=63.43,αg=75.95,α=40.91\alpha_f=63.43^\circ, \alpha_g=-75.95^\circ, \alpha=40.91^\circ. At P2=(11)P_2=(-1\vert 1), it is α=40.91\alpha=40.91^\circ.
    2. At P1(39)P_1(3\vert 9), it is α=17.1\alpha = 17.1^\circ, and at P2(11)P_2(-1\vert 1), it is α=53.13\alpha = 53.13^\circ.
    1. At x=8x=8, the angle is α=14.04\alpha=14.04^\circ.
    2. Find xx such that f(x)=x2/3=tan(30)    x2.2795    P(2.27952.051)f'(x)=x^{-2/3}=\tan(30^\circ) \implies x \approx 2.2795 \implies P(2.2795\vert -2.051).