向量2a+kb与向量a+b垂直则有(2a+kb)(a+b)=0即2a²+kab+2ab+kb²=2|a|²+k|b|²+(k+2)|a||b|cos60°=8+k+(k+2)*2*1*(1/2)=0解得k=-5
(2a+kb)(a+b)=2a^2+kb^2+2ab+kab=8+k+2+k=0 所以k=-5