Tag: transcendental equations

  • When Does x cos(x) Take the Same Value Twice?

    Consider the function

    f(x) = xcos(x)

    on the interval

    0≤x≤ π2.

    At both ends of the interval the function is zero:

    f(0) = f ( π2 ) =0.

    Between these endpoints, the function rises to a single maximum and then falls back to zero. This means that every value strictly between zero and the maximum is attained at exactly two points.

    Why is there only one maximum?

    Differentiate:

    f′ (x) = cos(x) − xsin(x).

    At an interior critical point,

    cos(x) = xsin(x),

    or equivalently,

    xtan(x) =1.

    The function x tan(x) is strictly increasing on ( 0, π2 ) because

    ddx [ xtan(x) ] = tan(x) + x sec2 (x) >0.

    Therefore the equation xtan(x) =1 has exactly one solution. Numerically,

    x≈0.8603335890,

    and the maximum value is approximately

    fmax ≈0.5610963382.

    The main idea

    Usually, finding the two points at which xcos(x) has the same value leads to a transcendental equation. But something interesting happens if the second point is an integer multiple of the first.

    Suppose the two points are x and nx, where n>1 is an integer. To keep both points inside the interval, we require

    0<x< π2n.

    We want

    f(x) = f(nx).

    Thus

    xcos(x) = nx cos(nx).

    Since x>0, we can divide by x:

    cos(x) = ncos(nx).

    This is where Chebyshev polynomials enter the problem.

    What is a Chebyshev polynomial?

    The Chebyshev polynomial of the first kind, denoted by Tn, is defined by the identity

    Tn ( cosθ ) = cos(nθ).

    For example,

    T2 (c) = 2c2 −1, T3 (c) = 4c3 −3c,

    and

    T5 (c) = 16c5 − 20c3 + 5c.

    Now set

    c= cos(x).

    Then

    cos(nx) = Tn (c),

    so our transcendental equation becomes the algebraic equation

    c= n Tn (c).

    This is the key observation: a question about two equal values of a transcendental function has turned into a polynomial equation.

    Case 1: n = 2

    We have

    c= 2 ( 2c2 −1 ).

    Therefore

    4c2 −c−2 =0.

    The root satisfying the required interval condition is

    c= 1+33 8 .

    Hence

    x= arccos ( 1+33 8 ).

    The two different inputs x and 2x therefore give exactly the same value of xcos(x) .

    Case 2: n = 3

    Now

    c= 3 ( 4c3 −3c ).

    Since c is positive, division by c gives

    1= 12c2 −9.

    Thus

    c2 = 56,

    and therefore

    x= arccos ( 56 ).

    So x and 3x give another exact pair with the same value of the function.

    Case 3: n = 5

    Using

    T5 (c) = 16c5 − 20c3 + 5c,

    the equation c= 5 T5 (c) becomes, after dividing by c,

    20c4 − 25c2 +6 =0.

    Setting u=c2 gives

    20u2 − 25u +6 =0.

    Therefore

    u = 25±145 40 .

    However, not both algebraic roots correspond to our original problem. We need

    0<x< π10,

    so c= cos(x) > cos ( π10 ). Only the larger root satisfies this condition. Hence

    c = 25+145 40 ,

    and

    x= arccos ( 25+145 40 ).

    Thus x and 5x form a third exact pair.

    What makes this interesting?

    The graph tells us immediately that xcos(x) takes most of its values twice. But the locations of those two points are usually not available in closed form.

    Requiring the two inputs to have the special form x and nx changes the problem completely. The multiple-angle identity

    cos(nx) = Tn ( cos(x) )

    turns the transcendental equation into a polynomial equation. For n=2,3,5 , that polynomial equation gives particularly clean exact answers.


    A Related Same-Value Problem

    The function x ⁢ cos ⁡ ( x ) leads to one kind of same-value problem. A surprisingly different example appears when we ask the same question about x 1 / x .

    Continue exploring: When Does x^(1/x) Take the Same Value Twice?