I have prepared a organic compound in which these (2-HydroxyAnthacence-CH=N- and -NH-Ph) are present.. If this is so then which nitrogen atom is more reactive and why ?
Nitrogen bonded to a phenyl has a resonance structure -HN(+)=ph(-) , whereas CH=N- has a resonance structure (+)CH-N(-)- with an extra lone pair of electrons on the nitrogen, so the nitrogen in -CH=N has greater electron density on the nitrogen, making that particular nitrogen more nucleophilic.
The double bonded nitrogen has more electron density and should be more reactive. The partially positive N-ph is not a good electrophile it will not accept another electron pair. The CH=N- is more reactive