Carry out the complete study of the function
f(x)=sinx⋅e−cosx.
Solution
Step 1 — Domain.f is defined for every x∈R (a product of functions defined everywhere). f is periodic with period 2π.
Step 2 — Symmetries.f(−x)=sin(−x)⋅e−cos(−x)=−sinx⋅e−cosx=−f(x).
Hence f is odd (graph symmetric with respect to the origin). It is enough to study f on [0,2π] (or on [0,π] and reconstruct by symmetry).
Step 3 — Sign.e−cosx>0 always (it is an exponential). So
f(x)>0⟺sinx>0⟺x∈(0,π)
(in the first period). f(x)<0 for x∈(π,2π), while f(x)=0 for x=0,π,2π.
Sign of f in the first period: positive on (0,π), negative on (π,2π).
Step 4 — First derivative. With the product rule and the derivative of the composite:
f′(x)=cosx⋅e−cosx+sinx⋅e−cosx⋅sinx=e−cosx(cosx+sin2x).
Since e−cosx>0, the sign of f′ is that of cosx+sin2x=cosx+1−cos2x. Setting u=cosx we must study
−u2+u+1>0⟺u2−u−1<0,u∈[−1,1].
With Δ=1+4=5 we obtain u=21±5. The only root in [−1,1] is
u0=21−5≈−0,618.
Hence f′(x)>0 when cosx>u0, that is when x is “close enough” to 0 or to 2π; f′(x)<0 otherwise. In (0,2π) we have cosx=u0 for x≈2,24 and x≈4,04. The stationary points are therefore
x≈2,24(relative maximum),x≈4,04(relative minimum).
Step 5 — Second derivative. Left as an exercise; the sign of f′′ determines the inflection points.
Step 6 — Graph.
Graph of f(x)=sinx⋅e−cosx on [0,2π]: relative maximum ≈1,46 near x≈2,24, relative minimum ≈−1,46 near x≈4,04. The odd function extends by symmetry with respect to the origin.