For the direction vectors v1=(1,1,0) and v2=(1,0,1) we have
v1⋅v2=1⋅1+1⋅0+0⋅1=1,∣∣v1∣∣=√12+12+02=√2,∣∣v2∣∣=√2
When λ,μ=1
r1⋅r2=2⋅3+3⋅1=9,∣∣r1∣∣=√13,∣∣r2∣∣=√10
cosϕ=√13√109=√1309,ϕ≈38.2∘
When λ,μ=2
r1⋅r2=3⋅4+4⋅1=16,∣∣r1∣∣=5,∣∣r2∣∣=√18
cosψ=5√1816≈0.754,ψ≈41.0∘
The angles ϕ and ψ vary with λ because they measure the angle between the vectors from the origin to chosen points on each line. As you move the points along the lines, those position vectors change direction, so the angle depends on which points you pick. By contrast, direction vectors capture the lines’ fixed inclinations and do not change when you translate along a line. Hence the constant angle 60∘ between v1 and v2 is the true angle between the lines.