To form a node there should be superposition of this wave with the reflected wave. The reflected wave should travel in opposite direction with a phase change of π. The equation of the reflected wave will be y=a‌sin(ωt+kx+π) ⇒y=−a‌sin(ωt+kx)