A91 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A9 · Lesson 1 · Vectors in 3D

The cross product, and the force on a wire

Run a current along a wire through a magnetic field and the wire is pushed sideways: not along the current, not along the field, but perpendicular to both. That's how every electric motor turns. The direction and size of that push come from the cross product, the one operation on vectors that only makes sense in three dimensions. With the dot product from A7 and a few facts about lines and planes, it's the toolkit for everything in this course.

  • Two vectors 𝐚 and 𝐛 lie flat in the xy-plane. Their cross product points straight out of the screen (along z), with length equal to the area of the parallelogram they span.
  • Turn 𝐛 past 𝐚. What happens to the sign of the cross product?
  • When is the area largest? When is it zero?

Predict

A wire carries current along +x through a magnetic field along +y. Which way is the force on it?

Name it

Vectors in 3D

𝐚=(a1,a2,a3) has length |𝐚|=a12+a22+a32. The dot product works as in A7: 𝐚⋅𝐛=a1b1+a2b2+a3b3=|𝐚||𝐛|cos⁡θ.

The cross product

𝐚×𝐛 is a vector:

  • perpendicular to both 𝐚 and 𝐛, in the direction given by the right-hand rule;
  • of length |𝐚||𝐛|sin⁡θ, the area of the parallelogram they span.

In components,

𝐚×𝐛=|𝐱^𝐲^𝐳^a1a2a3b1b2b3|=(a2b3−a3b2,a3b1−a1b3,a1b2−a2b1)

It's anticommutative, 𝐛×𝐚=−𝐚×𝐛, and parallel vectors give zero.

Where it appears

  • Magnetic force on a charge: 𝐅=q𝐯×𝐁; on a wire, 𝐅=I𝐋×𝐁.
  • Torque: 𝝉=𝐫×𝐅, the twist that turns a motor's rotor.
  • Area and orientation: the normal to a surface patch, which flux (lesson 31) needs.

Lines and planes

A line through 𝐫0 along 𝐯: 𝐫(t)=𝐫0+t𝐯.

A plane through 𝐫0 with normal 𝐧=(a,b,c): 𝐧⋅(𝐫−𝐫0)=0, or ax+by+cz=d with d=𝐧⋅𝐫0. The distance from a point 𝐫1 to it is |𝐧⋅𝐫1−d||𝐧|.

Worked example

Find (1,2,3)×(4,5,6) and check it.

Show the solution
  1. Cross the components. x:2⋅6−3⋅5=−3y:3⋅4−1⋅6=6z:1⋅5−2⋅4=−3 so the product is (−3,6,−3).
  2. Check perpendicularity. (1,2,3)⋅(−3,6,−3)=−3+12−9=0
  3. Find its length. The length is the area of the parallelogram the two vectors span: |(−3,6,−3)|=54=7.35

Answer (1,2,3)×(4,5,6)=(−3,6,−3), perpendicular to (1,2,3), with length 7.35.

Worked example

A 0.5 m wire along +x carries 2 A in a 0.1 T field along +y. What force does it feel?

Show the solution
  1. Write the force on the wire. 𝐅=I𝐋×𝐁
  2. Put in the vectors. 𝐅=2(0.5𝐱^)×(0.1𝐲^)=0.1𝐳^N
  3. Read the direction. 𝐳^ points straight up, out of the plane of current and field.

Answer the wire feels 0.1 N straight up, out of the plane of current and field.

Worked example

Find the volume of the box (parallelepiped) with edges (1,0,0), (1,2,0) and (0,1,3).

Show the solution
  1. Set up the triple product. The volume is the absolute value of the triple product 𝐚⋅(𝐛×𝐜), which equals the determinant with the three vectors as rows: det⁡[100120013]
  2. Expand along the first row. det⁡=1⋅(2⋅3−0⋅1)=6
  3. See what each part does. The cross product 𝐛×𝐜 gives the area of the base with its direction; dotting with 𝐚 picks out the height. A zero result would mean the three edges lie in one plane.

Answer the box has a volume of 6.

Check

What is the z-component of (2,1,0)×(4,−3,0)?

Check

What is the x-component of (1,2,3)×(4,−3,−2)?

Check

A charge of 1.6 × 10⁻¹⁹ C moves at 100000 m/s at 60° to a 0.5 T field. How large is the magnetic force?

Write units the way you normally would: 1.5 N, 1500 mN and 0.0015 kN are the same answer.

Check

A 0.2 m wire carries 2 A at right angles to a 0.3 T field. What force does it feel?

Write units the way you normally would: 1.5 N, 1500 mN and 0.0015 kN are the same answer.

Check

The plane through (2,0,−1) with normal (1,3,4) is 1x+3y+4z=d. What is d?

Check

How far is the point (3,2,0) from the plane 2x+y+2z=6?

Check

Take 𝐮=(2,1,0) and 𝐯=(0,1,1).

(a)

What is the z component of 𝐮×𝐯?

(b)

What is |𝐮×𝐯|, the area of the parallelogram they span?

Check

A wire of length L carries current I at angle t (radians) to a field B.

Step 1

What is the size of the force on it?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why is 𝐚×𝐛 zero when 𝐚 and 𝐛 are parallel, and largest when they're perpendicular?

Practice

Keep practicing

10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.