EEI

Exercise 1: Worked solutions

Electrical Engineering I · Module 92315 · Exercise 1

Try every subpart before opening its answer. The steps show how the geometry determines the coordinates, how each integral is assembled, and how to check the result.

Task 1: Cylinder in cylindrical coordinates

A right circular cylinder has radius a and height h. Its axis is the z-axis, the origin is at the centre of the base, and positive z points upward.

Three faces, three outward directions. The disks have normals along the axis; the curved wall points radially outward. At the rims, two faces meet.

1a: Describe the three boundary surfaces

Try first: write the coordinate ranges for the base, curved side, and top.

Attempted it? Open the worked steps

1a · Surface coordinates

  1. In cylindrical coordinates, ρ measures distance from the axis, φ gives the angle around it, and z gives height. A point has position:

    r = ρ eρ + z ez

    The angle has no term of its own: it sits in the direction of eρ = cos φ ex + sin φ ey, which turns as you go round the axis. So r still depends on all three coordinates.

    To describe a surface, hold one coordinate fixed and let the other two run over the part of the surface we want.

  2. Base: every point is at height z = 0. The disk reaches from the axis to the wall, so:

    z = 0; 0 ≤ ρ ≤ a; 0 ≤ φ < 2π

  3. Curved side: every point is at radius ρ = a. Height runs from the base to the top:

    ρ = a; 0 ≤ z ≤ h; 0 ≤ φ < 2π

  4. Top: every point is at height z = h. It is another full disk:

    z = h; 0 ≤ ρ ≤ a; 0 ≤ φ < 2π

  5. Result: as position vectors, with the ranges above:

    base: r = ρ eρ

    side: r = a eρ + z ez

    top: r = ρ eρ + h ez

    In coordinates (ρ, φ, z) these are (ρ, φ, 0), (a, φ, z) and (ρ, φ, h).

    Check: only the side fixes the radius. Each disk includes the centre and reaches all the way to a.

1b: Give the outward unit normals

Try first: at each smooth face, which way points from the cylinder’s interior into the surrounding space?

Attempted it? Open the worked steps

1b · Outward normals

  1. A surface normal is perpendicular to the surface. “Outward” chooses between the two perpendicular directions by pointing away from the solid. Cylindrical coordinate unit vectors already have length 1.

  2. At the base, the interior lies above the plane z = 0. The outward direction is therefore downward: −ez.

  3. At the top, the interior lies below z = h. The outward direction is upward: +ez.

  4. On the curved side, the solid occupies ρ < a. Increasing ρ moves away from the axis and out of the cylinder, so the outward normal is +eρ.

  5. Result: the outward unit normals are:

    base −ez; side +eρ; top +ez

    Check: at either sharp rim, the base/top normal and side normal disagree. The rim has no single smooth-face normal; normals are defined face by face.

Task 2: Hemisphere of radius a

Take the upper half of a sphere and include its flat circular base in the total boundary area.

Keep the boundary pieces separate. The curved hemisphere contributes 2πa2; the flat base disk contributes πa2.

2a: Total surface area

Try first: find the curved area and base area separately, then add the two pieces.

Attempted it? Open the worked steps

2a · Curved surface plus base

  1. Use spherical coordinates with polar angle θ measured down from +z. The curved hemisphere lies at r = a, with 0 ≤ θ ≤ π/2 and 0 ≤ φ < 2π.

  2. A small surface patch grows with both directions around the sphere. Its area element is:

    dA = a2 sin θ dθ dφ

  3. Integrate over the curved part:

    Acurve = ∫02π ∫0π/2 a2 sin θ dθ dφ

  4. The angular integral gives 1 and the azimuthal integral gives 2π:

    ∫0π/2 sin θ dθ = [−cos θ]0π/2 = 1;   Acurve = 2πa2

  5. The flat base is a disk of radius a. Add the boundary pieces:

    Atotal = 2πa2 + πa2 = 3πa2

    Check: the curved half is half of 4πa2. The area has units of length squared. The shared circular edge has zero area, so it does not affect the sum.

2b: Volume

Try first: write the spherical volume element and integrate over the upper half-sphere.

Attempted it? Open the worked steps

2b · Spherical volume integral

  1. Inside the hemisphere, radius runs from the centre to the surface: 0 ≤ r ≤ a. The angles cover 0 ≤ θ ≤ π/2 and 0 ≤ φ < 2π.

  2. The spherical-coordinate volume element includes the coordinate Jacobian, which accounts for angular patches widening away from the origin:

    dV = r2 sin θ dr dθ dφ

  3. Set up the integral. The factors depend on separate variables:

    V = ∫02π ∫0π/2 ∫0a r2 sin θ dr dθ dφ

  4. Evaluate each factor:

    ∫0a r2 dr = a33;   ∫0π/2 sin θ dθ = 1;   ∫02π dφ = 2π

  5. Result:

    V = a33(1)(2π) = 2πa33

    Check: it is half the full sphere’s 4πa3/3 volume, and its units are length cubed.

Task 3: Field integral around a circle

For each supplied field, evaluate ∮ H · ds around a circle of radius b centred at the origin. The exercise does not specify which way to traverse the loop, so assume increasing φ from 0 to 2π (counterclockwise viewed from +z). Reversing the direction changes the sign of any nonzero answer.

At the right-hand point, the path tangent points up. A radial or x-directed field points sideways there; an azimuthal field follows the tangent. Around the full loop, the x-directed contributions cancel.

3a: Uniform x-directed field

Given H = H0ex. Try first: parameterize the loop and express its tangent in Cartesian components.

Attempted it? Open the worked steps

3a · Uniform field

  1. Parameterize the circle by its angle:

    r(φ) = b cos φ ex + b sin φ ey,   0 ≤ φ ≤ 2π

  2. Differentiate with respect to the path parameter to get the tangent line element:

    ds = (−b sin φ ex + b cos φ ey) dφ = b eφ dφ

  3. Take the dot product with the constant field:

    H · ds = −b H0 sin φ dφ

  4. Integrate over the whole circle:

    ∮ H · ds = −b H0 ∫02π sin φ dφ = b H0[cos φ]02π

  5. Result:

    ∮ H · ds = 0

    The positive and negative tangential contributions cancel over one full turn.

    Check: the zero is caused by cancellation around the loop, not by the field being perpendicular to the path at every point.

3b: Radial field

Given H = H0eρ. Try first: compare the local field direction with the tangent at every point.

Attempted it? Open the worked steps

3b · Radial field

  1. Use the same circle parameterization. At radius b, the tangent line element is:

    ds = b eφ dφ

  2. The radial unit vector eρ points out from the origin, while eφ follows the circle. In cylindrical coordinates these perpendicular directions satisfy eρ · eφ = 0.

  3. The dot product is zero at each point because the directions are perpendicular:

    H · ds = H0eρ · b eφ dφ = 0

  4. Result:

    ∮ H · ds = 0

    Check: unlike 3a, the integrand is zero point by point. No cancellation between different parts of the circle is needed.

3c: Azimuthal field growing with radius

Given H = H0(ρ/a)eφ. Try first: evaluate this field on the circle and compare it with ds.

Attempted it? Open the worked steps

3c · Tangential field

  1. The path is the circle ρ = b, with φ increasing:

    ds = b eφ dφ

  2. Substitute ρ = b into the field. Its magnitude is constant along this circle:

    H = H0baeφ

  3. Both vectors point along eφ, whose dot product with itself is 1:

    H · ds = H0b2a dφ

  4. Integrate the constant around one revolution:

    ∮ H · ds = ∫02π H0b2a dφ = 2πH0b2a

  5. Result:

    ∮ H · ds = 2πH0b2a

    It is positive for the assumed counterclockwise direction.

    Check: H0 has units A/m, and b2/a has units m, so the integral has units A. Reversing the loop makes it negative.

Personal worked-solution guide based on the supplied EEI Exercise 1 sheet, written in my own words; no exercise text or figures are reproduced. Not an official FAU publication; check course details against the current material. Made by Thanate Amornjiraporn (Focus).