So, I've been looking at different ARIMA models, mainly ones with d=1, and I came across the ARI(1,1) model, which is an AR(1) model that has been differenced once.
I know that the AR(1) model is $Y_t = \phi_1 Y_{t-1} +e_t$ and so $Y_{t-1} = \phi_2 Y_{t-2} + e_{t-1}$. But when I do the first difference, I get:
$Y_t - Y_{t-1} = \phi_1 Y_{t-1} +e_t - (\phi_2 Y_{t-2} + e_{t-1}) \\ Y_t = \phi_1 Y_{t-1} - \phi_2 Y_{t-2} + Y_{t-1} + e_t - e_{t-1} $
however, the book I'm reading doesn't have that last $e_{t-1}$ term and they don't show all their steps, so I'm not sure where I went wrong, or if there's another way I should be thinking about this.