6.3
Smart speakers analyze voice commands by treating input audio signals as piecewise functions and integrating the signal’s product with cosine functions.
For example, consider the definite integral of a piecewise function of x multiplied by a cosine. This allows the integral to be split into two parts.
The first integral involves a constant and a cosine, and it is evaluated directly. The second combines a cubic and a cosine term, making it suitable for integration by parts using the tabular method.
The steps are arranged in a table, starting with the function selections.
The algebraic function is selected for differentiation as this lowers the degree, while the trigonometric function is chosen for integration as its complexity remains unchanged.
The table includes columns for derivatives, alternating signs, and integrals.
The antiderivative is constructed by summing the diagonal products, each multiplied by its assigned alternating sign. When the limits are substituted, the sine terms become zero, resulting in the final definite integral. This process is fundamental in signal processing, allowing devices like smart speakers to break complex sounds into simpler frequency components.
Smart speakers process voice commands by modeling audio inputs as piecewise functions and analyzing them through integration against trigonometric fun…
Copyright © 2026 MyJoVE Corporation. All rights reserved.