Resources
A long, straight horizontal wire runs along the -axis and carries a steady direct current of in the -direction. Consider a point located at coordinates in Cartesian space. (a) Calculate the perpendicular distance from the wire to point . (b) Determine the magnitude of the magnetic field at point produced by the wire. (c) Express the magnetic field vector at point in standard unit-vector notation () and verify that the field line at point is circular and tangent to the local cylindrical coordinate direction .
Answer and steps
Final answer
(a) ; (b) ; (c) , which is purely perpendicular to the radial vector such that , confirming the field line forms a closed circle tangent to .
Steps
Part (a): Perpendicular Distance from the Wire to Point
The wire lies entirely along the -axis, where and . The coordinates of point are:
The perpendicular distance from any point to the -axis depends only on its - and -coordinates:
Substitute the values:
Part (b): Magnitude of the Magnetic Field
According to Ampère's Law (or the Biot–Savart Law), the magnitude of the magnetic field at a perpendicular distance from an infinitely long, straight current-carrying wire is given by:
where:
- is the permeability of free space
Substitute these values:
Part (c): Vector Representation and Field Line Tangency
-
Unit Vector in the Radial Direction (): The displacement vector from the wire to point in the cross-sectional -plane is:
The unit vector pointing radially outward from the -axis is:
-
Direction of the Magnetic Field (): By the right-hand rule, with current flowing along , the field circulates around the wire in the direction of:
Compute the cross product:
Using the standard Cartesian cross products and :
- Cartesian Vector Form: Multiply the unit vector by the scalar magnitude :
-
Verification of Tangency and Circular Field Line:
- To confirm that is strictly tangent to the circle of radius centered on the wire, check its dot product with the position vector :
- Furthermore, , meaning the field has no component parallel to the wire.
Because lies in the -plane and satisfies , it is purely perpendicular to the radial direction and perfectly tangent to the concentric circular field line at point .
Typical errors
01 The student forgets that the wire lies along the x-axis and calculates distance using the coordinates as (x, y) in the xy-plane, using y = 4.00 cm instead of √(y² + z²).
Sample Student Work
Reviewed by ACEpath TeacherStep-by-Step Review
Walk Through It with Your Teacher- Step 1Correct
You set the perpendicular distance equal to the -coordinate alone, overlooking the coordinate . Because the wire lies along the -axis, the perpendicular distance in 3D space is .
- Step 2Correct
You correctly applied Ampère's formula for a straight wire, but substituting the incorrect distance carried the error into your final numerical magnitude.
- Step 3Correct
You assumed the unit radial vector points strictly along . Because point has both and coordinates, the radial unit vector is , meaning the cross product produces both and components.
WHAT YOU DID WELL
Compliments from Your TeacherYou correctly identified and applied Ampère's Law formula for a long straight wire.
You correctly used the right-hand rule cross product orientation to determine field direction.
THE ERROR
Where Your ACEpath Teacher Spotted the Mistakeno
WHY IT HAPPENED
ACEpath Teacher's DiagnosisYou treated a three-dimensional point as a two-dimensional point , ignoring the non-zero -coordinate when calculating both the radial distance and the unit direction vector.
REASONING PATH
Your ACEpath teacher’s suggested approach- Distance to a Coordinate Axis
For a wire along the -axis, the perpendicular distance to any point is , not simply or .
Always write down the full radial position vector before computing its scalar magnitude.
- Azimuthal Unit Vector $\hat{\phi}$
The circular direction around current along is , where .
Evaluate the cross product using the full unit vector rather than rounding or projecting to a single coordinate axis.
CORRECTED PATH
ACEpath Teacher's DemonstrationFind the perpendicular distance from the wire along the -axis to point : .
Calculate the field magnitude: .
Find the radial unit vector in the -plane: .
Find the tangent unit vector via the right-hand rule: .
Multiply magnitude by direction: .
(a) ; (b) ; (c)
02 The student reverses the order of the cross product when finding the direction of the magnetic field, resulting in an overall sign error for the vector components.
Sample Student Work
Reviewed by ACEpath TeacherStep-by-Step Review
Walk Through It with Your Teacher- Step 1
- Step 2
- Step 3Correct
According to the Biot–Savart law and the right-hand rule, the circulating magnetic field direction is given by (current direction crossed into the radial unit vector), not . Because the vector cross product is anticommutative (), reversing the operands inverted the signs of both components.
- Step 4Correct
You correctly multiplied your calculated magnitude by your unit vector, but the final vector components inherited the overall negative sign from the reversed cross product.
WHAT YOU DID WELL
Compliments from Your TeacherYou correctly used the Pythagorean theorem in the cross-sectional -plane to find the perpendicular distance .
You correctly selected and computed Ampère's law for the field magnitude produced by a long, straight current-carrying wire.
You correctly computed individual Cartesian unit-vector cross products such as and .
THE ERROR
Where Your ACEpath Teacher Spotted the MistakeYou set up the direction as rather than , flipping the sign of the magnetic field vector.
WHY IT HAPPENED
ACEpath Teacher's DiagnosisConfusing the order of vectors in the Biot–Savart differential . The current element must always be the first vector in the cross product, and the displacement vector from wire to point must be the second vector.
REASONING PATH
Your ACEpath teacher’s suggested approach- Biot–Savart Cross-Product Order
The magnetic field direction follows .
Always write the current/wire unit vector first and the position/radial unit vector second.
- Right-Hand Rule Orientation
Point the right thumb along the current ; curled fingers at point indicate the direction of .
For current in viewed from the -axis looking toward the origin, fingers curl counterclockwise in the -plane, so at the field points toward and .
CORRECTED PATH
ACEpath Teacher's DemonstrationSet the circulating unit vector using the correct order: .
Substitute : .
Multiply by the field magnitude : .
03 The student confuses the magnetic field formula of a long straight wire with that of a circular loop at its center, omitting the factor of π in the denominator.
Sample Student Work
Reviewed by ACEpath TeacherStep-by-Step Review
Walk Through It with Your Teacher- Step 1
- Step 2Correct
You omitted the factor of in the denominator of the magnetic field formula for a long straight wire. The formula applies to the center of a circular current loop of radius , whereas Ampère's law for a long straight wire yields , giving .
- Step 3Correct
Your directional unit-vector calculation using the right-hand cross product was completely correct, but the final vector components inherited the incorrect magnitude from Step 2.
- Step 4
WHAT YOU DID WELL
Compliments from Your TeacherYou correctly identified that the distance to the wire depends only on the - and -coordinates.
You correctly applied the right-hand rule cross product to find the unit vector direction of the magnetic field.
You clearly demonstrated that the direction of aligns with the cylindrical azimuthal unit vector .
THE ERROR
Where Your ACEpath Teacher Spotted the MistakeYou wrote instead of in the denominator when calculating the magnetic field magnitude.
WHY IT HAPPENED
ACEpath Teacher's DiagnosisYou recalled the formula for the magnetic field at the center of a circular current loop () rather than using Ampère's law for a long straight wire, where the field line path length is the circumference , leading to .
REASONING PATH
Your ACEpath teacher’s suggested approach- Ampère's Law Connection
For a long straight wire, the circulation integral along a circular path of radius is .
Always remember the circumference factor in the denominator: .
- Straight Wire vs. Circular Coil
A straight wire has circular field lines with circumference , giving . A circular loop of radius has a straight axial field through its center with .
Check the geometry: if the source wire is straight, include in the denominator.
CORRECTED PATH
ACEpath Teacher's DemonstrationApply Ampère's law for a long straight wire: .
Substitute and : .
Multiply the corrected magnitude by the unit vector : .
(a) ; (b) ; (c)
Lock it in
What is the formula for the perpendicular distance from an arbitrary point to the -axis?
. Since the -axis is defined by and , the distance depends on both transverse coordinates.
Similar question
A long straight wire lies along the -axis carrying a current of in the -direction. Find the magnetic field magnitude at the point .
Answer
. Perpendicular distance to the -axis is . Then .
A long wire along the -axis carries current in the -direction. Determine the magnetic field vector at point in Cartesian unit-vector notation.
Answer
. Perpendicular distance , so . The unit radial vector is . The field direction is . Multiplying gives .
A long straight wire along the -axis carries current in the -direction. At a point , show analytically that and , where , proving the magnetic field lines are closed circles concentric with the wire.
Answer
The magnetic field is along . Thus . Computing the dot product with the radial vector gives . Since has no component, . Hence, is purely tangential to circles in planes perpendicular to the wire.