Skip to content
Cambridge IGCSE0980

Pythagoras’ theorem and trigonometry in 3D

Mathematics 0980 Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Pythagoras’ theorem and trigonometry in 3D notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Pythagoras’ theorem and trigonometry in 3D notes as text: skim, search, and jump between subtopics.

~10 min read

1. Find the right-angled triangle

Every three-dimensional problem is solved in a right-angled triangle. Find it, then draw it flat and label its sides.

The triangle may lie in a face, in the base, or inside the solid. Work in stages: first a length in the base, then a length through the solid.

A vertical edge makes a right angle with every line in the base.

a² + b² = c²

Worked example 13 marks

Do not use a calculator. The base of a cuboid is a rectangle 15 cm by 8 cm. Find the length of the diagonal of the base.

  1. 1

    diagonal² = 15² + 8² [1]

  2. 2

    = 225 + 64 = 289 [1]

  3. 3

    diagonal = √(289) = 17 cm [1]

2. The diagonal of a cuboid

The longest diagonal joins opposite corners of a cuboid. It is the hypotenuse of a triangle whose other sides are the diagonal of the base and the height.

Square all three edges, add the squares, then take the square root.

d² = l² + w² + h²

Examiner insight

“This was a challenge to some candidates as a diagonal of a face was occasionally given as a final answer.” “Some less able candidates added the lengths of two or three sides of the cuboid.”

Worked example 13 marks

ABCDEFGH is a cuboid. AB = 18 cm, BC = 14 cm and AE = 16 cm. Calculate the length of the diagonal AG.

  1. 1

    AG² = 18² + 14² + 16² [1]

  2. 2

    = 324 + 196 + 256 = 776 [1]

  3. 3

    AG = √(776) = 27.9 cm [1]

3. Pyramids and the half-diagonal

When the apex of a square-based pyramid is vertically above the centre of the base, the sloping edge, the height and the line from the centre to a corner form a right-angled triangle.

The line from the centre to a corner is half of the length of the diagonal of the base. Find the base diagonal first, then halve it.

Examiner insight

“Candidates are advised that the requirement on the front of the question paper is to give non-exact answers correct to three significant figures in order to gain the accuracy marks.”

Worked example 14 marks

ABCDE is a square-based pyramid. EC and BD intersect at F. AF is perpendicular to the base BCDE. BC = 16.5 cm and AF = 28 cm. Calculate AB.

  1. 1

    BD² = 16.5² + 16.5² = 544.5 [1]

  2. 2

    BF = 1/2BD, so BF² = 544.5 ÷ 4 = 136.125 [1]

  3. 3

    AB² = 28² + 136.125 = 920.125 [1]

  4. 4

    AB = √(920.125) = 30.3 cm [1]

4. The angle between a line and a plane

To find the angle between a line and a plane, drop a perpendicular from the top of the line to the plane. Join the foot of the perpendicular to the point where the line meets the plane. The angle is between the line and this joining line.

The angle is not an angle in a face. Draw the right-angled triangle, then use sine, cosine or tangent.

sin x = opp/hyp

tan x = opp/adj

Examiner insight

“Candidates who added to the diagram often met with more success.”

Worked example 12 marks

ABCDE is a square-based pyramid. EC and BD intersect at F. AF is perpendicular to the base BCDE. BC = 16.5 cm and AF = 28 cm. Calculate the angle between AB and the base BCDE.

  1. 1

    AF is perpendicular to the base, so the angle is ABF. BF is half the diagonal of the base: BF = √(136.125) = 11.667... cm

  2. 2

    tan ABF = 28/11.667... [1]

  3. 3

    ABF = 67.4° [1]

5. The angle of a diagonal, in one step

For a cuboid, the height is the side opposite the angle and the diagonal is the hypotenuse. So sine needs no base diagonal.

Keep the unrounded value until the last line. Give an angle correct to 1 decimal place.

Examiner insight

“A few candidates demonstrated a correct method but rounded during their working and gave a final answer out of the required range of accuracy.”

Worked example 13 marks

A cuboid measures 8 cm by 5 cm by 3 cm. Calculate the angle between its longest diagonal and the base.

  1. 1

    d² = 8² + 5² + 3² = 98 [1]

  2. 2

    sin x = 3/(√98) [1]

  3. 3

    x = 17.6° [1]

Recap

  • Find a right-angled triangle, then draw it flat.
  • Cuboid diagonal: d² = l² + w² + h².
  • Square-based pyramid with its apex above the centre: the distance from the centre to a corner is half the base diagonal.
  • Angle between a line and a plane: drop a perpendicular to the plane and join its foot to the point where the line meets the plane.
  • Not an angle in a face. Add to the diagram.
  • Do not round until the last line. Three significant figures for lengths, one decimal place for angles.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. Do not use a calculator. A cuboid measures 2 cm by 3 cm by 6 cm. Find the length of its longest diagonal.2 marks
    Answer
    1. 2² + 3² + 6² = 4 + 9 + 36 = 49.
    2. √49 = 7 cm.

    Trap: Adding the lengths gives 11 cm, which is longer than the diagonal.

  2. Do not use a calculator. The base of a cuboid is 8 cm by 6 cm and its height is 24 cm. Find the length of the diagonal from one corner of the base to the opposite corner of the top.4 marks
    Answer
    1. Base diagonal² = 8² + 6² = 100, so the base diagonal is 10 cm.
    2. 10² + 24² = 100 + 576 = 676.
    3. √(676) = 26 cm.

    Trap: Stopping at the base diagonal, 10 cm, answers a different question.

  3. A room is 5.2 m long, 4.1 m wide and 2.8 m high. A straight cable runs from one corner of the floor to the opposite corner of the ceiling. Calculate the length of the cable.3 marks
    Answer
    1. 5.2² + 4.1² + 2.8² = 27.04 + 16.81 + 7.84 = 51.69.
    2. √(51.69) = 7.19 m.

    Trap: Rounding each square to a whole number before adding can move the answer out of range.

  4. Do not use a calculator. A pyramid has a square base of side 8 cm. Its apex is vertically above the centre of the base, at a height of 2 cm. Find the length of a sloping edge.4 marks
    Answer
    1. Base diagonal² = 8² + 8² = 128.
    2. Half the diagonal, squared: 128 ÷ 4 = 32.
    3. edge² = 32 + 2² = 36.
    4. edge = 6 cm.

    Trap: Using half the side, 4 cm, instead of half the diagonal.

  5. A cuboid is 12 cm long, 9 cm wide and 8 cm high. Calculate the angle between its longest diagonal and the base.4 marks
    Answer
    1. Base diagonal² = 12² + 9² = 225, so it is 15 cm.
    2. tan x = 8/15.
    3. x = 28.1°.

    Trap: Using tan x = 8 ÷ 12 gives 33.7°, an angle in a face.

  6. Do not use a calculator. Each sloping edge of a square-based pyramid is 12 cm long and makes an angle of 30° with the base. Find the height of the pyramid.2 marks
    Answer
    1. The height is opposite the 30° angle and the edge is the hypotenuse.
    2. h = 12 sin 30° = 12 × 1/2 = 6 cm.

    Trap: Using cosine gives the horizontal distance, not the height.

  7. A vertical mast, 15 m high, stands at corner P of a horizontal rectangular field PQRS. PQ = 80 m and QR = 60 m. Calculate the angle between the line from R to the top of the mast and the ground.4 marks
    Answer
    1. PR² = 80² + 60² = 10 000, so PR = 100 m.
    2. tan x = 15/100.
    3. x = 8.5°.

    Trap: Using 80 m or 60 m, a side of the field, instead of the diagonal PR.

  8. Do not use a calculator. A cube has edges of 4 cm. Find the length of its longest diagonal. Give your answer as a surd in its simplest form.3 marks
    Answer
    1. d² = 4² + 4² + 4² = 48.
    2. d = √48 = √16 × √3.
    3. d = 4√3 cm.

    Trap: Using only two edges gives √32, the diagonal of a face.

  9. Do not use a calculator. A pyramid has a rectangular base 12 cm by 16 cm. Its apex is vertically above the centre of the base. Each sloping edge is 26 cm long. (a) Find the height of the pyramid. (b) The angle between a sloping edge and the base is x°. Find the value of sin x°, as a fraction in its simplest form. (c) M is the midpoint of a 12 cm side of the base. The angle between the base and the line from the apex to M is y°. Find the value of tan y°.8 marks
    Answer
    1. (a)
    2. Base diagonal² = 12² + 16² = 400, so the base diagonal is 20 cm.
    3. Centre to a corner: 20 ÷ 2 = 10 cm.
    4. h² = 26² - 10² = 676 - 100 = 576.
    5. h = 24 cm.
    6. (b)
    7. The height is opposite x° and the sloping edge is the hypotenuse: sin x° = 24/26.
    8. sin x° = 12/13.
    9. (c)
    10. Centre to M is half the 16 cm side: 8 cm.
    11. tan y° = 24/8 = 3.

    Trap: Using the whole diagonal gives h² = 676 - 400 = 276: the centre is only half of the diagonal from a corner.

  10. A room is a cuboid. Its floor is a rectangle 12 m by 9 m and the room is 5 m high. A lamp hangs 1.4 m vertically below the centre of the ceiling. A straight wire runs from a corner A of the floor to the lamp. (a) Calculate the length of the wire. (b) Calculate the angle between the wire and the floor. (c) The longest diagonal of the room also starts at A. Calculate the angle between the wire and this diagonal.9 marks
    Answer
    1. (a)
    2. Floor diagonal² = 12² + 9² = 225, so the floor diagonal is 15 m.
    3. The lamp is above the centre of the floor: 15 ÷ 2 = 7.5 m from A along the floor.
    4. Height of the lamp: 5 - 1.4 = 3.6 m.
    5. wire² = 7.5² + 3.6² = 56.25 + 12.96 = 69.21, so the wire is 8.32 m.
    6. (b)
    7. tan x = 3.6/7.5.
    8. x = 25.64...° = 25.6°.
    9. (c)
    10. The diagonal is above the same line on the floor as the wire. Its angle with the floor: tan y = 5/15, so y = 18.43...°.
    11. 25.64... - 18.43... = 7.2°.

    Trap: Using the whole floor diagonal, 15 m, or the full height, 5 m, for the lamp. The lamp is above the centre and 1.4 m below the ceiling.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
the diagonal of a face as the diagonal of the cuboidthe diagonal of the cuboid: square all three lengths, add, square root
an angle in one of the faces of the cuboidthe angle between the diagonal and the base, in a triangle inside the cuboid
adding the lengths of two or three sidessquare each length, add, then take the square root
18, with no more accurate answer seen18.1, correct to three significant figures

Frequently asked questions

How do you find the longest diagonal of a cuboid?
Square all three edges, add the squares, then take the square root. The diagonal satisfies d² = l² + w² + h². For a cuboid with AB = 18 cm, BC = 14 cm and AE = 16 cm, AG² = 324 + 196 + 256 = 776, so AG = 27.9 cm.
How do you find the angle between the diagonal of a cuboid and its base?
Draw the right-angled triangle inside the cuboid, where the height is the side opposite the angle and the diagonal is the hypotenuse. So sine needs no base diagonal. For a cuboid 8 cm by 5 cm by 3 cm, sin x = 3/(√98) gives x = 17.6°. Do not give an angle in one of the faces.
How do you find the sloping edge of a square-based pyramid?
When the apex is vertically above the centre of the base, the distance from the centre to a corner is half the base diagonal. Find the base diagonal first, then halve it, and use Pythagoras with the height. For a base of side 8 cm and height 2 cm, the sloping edge is 6 cm.
Why is my height of a pyramid wrong when I use the base diagonal?
A common mistake is to use the whole base diagonal where the centre is only half of it from a corner. For a rectangular base 12 cm by 16 cm, the base diagonal is 20 cm, but the centre is 10 cm from a corner. Using 20 cm gives the wrong height, so halve the diagonal first.
How do you find the angle between a line and a plane?
Drop a perpendicular from the top of the line to the plane, then join its foot to the point where the line meets the plane. The angle is between the line and this joining line, not an angle in a face. For the pyramid with BF = 11.667… cm and AF = 28 cm, tan ABF = 28/(11.667…) gives 67.4°.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters