y=∣sinx∣ Graph of the Function y=∣sinx∣
y=∣sinx∣ is the absolute value of the sine sinx. The negative half-waves are folded up onto the positive side, giving a graph of arches in a row.
Definition
∣sinx∣={sinx−sinx(sinx≥0)(sinx<0) Domain and range
- The domain is all real numbers
- The range is 0≤y≤1
- The period is π
- It is an even function
Periodicity
The sine has period 2π, but the absolute value folds the negative half-wave onto the positive side, halving the period to π. Indeed ∣sin(x+π)∣=∣−sinx∣=∣sinx∣.
Symmetry
Since ∣sin(−x)∣=∣−sinx∣=∣sinx∣, the function is even and symmetric about the y-axis. It is symmetric about each line x=2π+nπ through the top of an arch as well.
The corners
On each interval the curve rises from 0 to a maximum of 1 and falls back to 0, repeating the same arch. The maximum 1 is attained at x=2π+nπ.
At x=nπ the value is 0, but the slope reverses sign there, producing a sharp corner where the function is not differentiable. Unlike the smooth sine wave, the points touching the x-axis are corners.
| Approach to x=0 | Slope |
|---|
| from the right, x→0+ | 1 |
| from the left, x→0− | −1 |
The function is continuous everywhere but fails to be differentiable at the corners x=nπ. It is a familiar example of a function that is continuous without being differentiable.
Notable values
| x | ∣sinx∣ |
|---|
| 0 | 0 |
| 6π | 21 |
| 2π | 1 |
| 65π | 21 |
| π | 0 |
Average value and Fourier series
The average height over one period is as follows.
π1∫0πsinxdx=π2≈0.6366 Expanding in a Fourier series makes that average appear as the constant term.
∣sinx∣=π2−π4k=1∑∞4k2−1cos2kx Being even, the function has no sine terms, and since the period is π, only the even multiples of the frequency appear.
Applications
The waveform of full-wave rectification, which converts alternating current toward direct current, is exactly the shape of ∣sinx∣1. The average value π2 gives the rough output voltage after rectification.
- The output waveform of a rectifier circuit
- A model for a periodic signal with kinks
- An exercise in differentiating and integrating absolute values combined with trigonometric functions
- Rectifier, Wikipedia