1.B【解折a=15)日=21w5)-(3,)与a共线的单位向量是士.故选B.2.B【解析】由余弦定理得BC2=AB2十AC2一2AB·AC·cosA,即AB2一4AB一5=0,解得AB=5(负值舍去).故选B.