Method 1 : Observation from ground frame. Let ar be the acceleration of the bead relative to the rod. Then arcosα is the leftward acceleration of the bead relative to the rod and arsinα is downward relative acceleration of the rod. If ay and ax be the absolute leftward horizontal and downward vertical acceleration of the bead, then
(→abead)x=(→abead,rod)x=(→arod)x
or ax=arcosα+a........(i)
and arsinα=ay−0
or ay=arsinα.........(ii)
From FBD of the bead(projecting forces vertically and horizontally)
mg−Ncos=marsinα.......(i)
and Nsinα=m(arcosα+a........(ii)
Eliminating N between (i) and (ii)
mgsinα=mar+macosα
or ar=gsinα−acosα
Method 2 : Observation from an observer moving with rod. Considering bead w.r.t. rod, i.e., from non-inertial. A pseudo force of magnitude ma will act on the bead in the magnitude ma will act on the bead in the direction opposite to acceleator of rod, i.e., in right direction.
The bead is not moving perpendicular to rod. Hence,
N=mgcosα+masinα
Also in the direction along the rod, let acceleration of the bead w.r.t. rod is ar.
Equation of motion of bead with rod,
mgsinα−macosα=mar
⇒ ar=gsinα−acosα