To find the value of \( \int_0^3 |2x - 6| \, dx \), we first identify where the function \( f(x) = |2x - 6| \) changes form. The expression \( 2x - 6 = 0 \) when \( x = 3 \). So, we define the absolute value piecewise:
\[ |2x - 6| = \begin{cases} -(2x - 6) = 6 - 2x, & \text{if } x < 3 \\ 2x - 6, & \text{if } x \geq 3 \end{cases} \]
Since the limits of integration are from 0 to 3, we are only concerned with \( x \in [0, 3] \), where \( |2x - 6| = 6 - 2x \).
The integral becomes:
\[ \int_0^3 |2x - 6| \, dx = \int_0^3 (6 - 2x) \, dx = \int_0^3 6 \, dx - \int_0^3 2x \, dx \]
Compute each integral:
Therefore,
\[ \int_0^3 (6 - 2x) \, dx = 18 - 9 = 9 \]
Thus, the value of \( \int_0^3 |2x - 6| \, dx \) is 9.