How to solve for x in a triangle (SSS method step-by-step)

Mar 4, 2026

How to solve for x in a triangle
How to solve for x in a triangle

Geometry problems often require finding an unknown value inside a triangle. When all three sides of a triangle are known but an angle or expression contains x, the problem is usually solved using the SSS method, also known as the Law of Cosines. This method allows you to calculate unknown angles or expressions even when you only know the three sides of a triangle.


If you’re still learning structured problem solving in math, it helps to first understand how to solve math problems step by step. The same logical approach applies when solving triangle equations.


In this guide, you’ll learn how to solve for x in an SSS triangle, understand the Law of Cosines, and follow a clear step-by-step method to solve similar geometry problems.

What is an SSS triangle?

SSS stands for Side–Side–Side, which means all three sides of a triangle are known. When this happens, the triangle cannot be solved using simple angle rules alone. Instead, mathematicians use the Law of Cosines, a formula that connects the three sides of a triangle with one of its angles. This method helps calculate unknown angles or determine the value of a variable such as x.


For example, imagine a triangle where the side lengths are:

  • Side a = 6

  • Side b = 8

  • Side c = 10


Since all three sides are known, the SSS triangle method can be used to calculate the missing angle using the Law of Cosines. This approach is commonly used in geometry problems and real-world situations like surveying, construction, and engineering.

The Law of Cosines formula

The Law of Cosines is used when solving SSS triangles.


Formula: a² + b² − 2ab cos(C) = c²


Where:

a = first side
b = second side
c = third side
C = angle opposite side c


This formula helps determine the angle when all three sides are known.

Step-by-step example: Solving for x in an SSS triangle

Suppose a triangle has the following sides:

Side a = 7
Side b = 9
Side c = 12


Angle C is represented as x.


We want to solve for x.

Step 1: Write the Law of Cosines

a² + b² − 2ab cos(C) = c²

Step 2: Substitute known values

7² + 9² − 2(7)(9) cos(x) = 12²

Step 3: Simplify the numbers

49 + 81 − 126 cos(x) = 144

130 − 126 cos(x) = 144

Step 4: Isolate the cosine term

130 − 144 = 126 cos(x)

−14 = 126 cos(x)

cos(x) = −14 / 126

cos(x) ≈ −0.111

Step 5: Find the angle

Take the inverse cosine: x = cos⁻¹ (−0.111)

x ≈ 96.4°

Final answer: x ≈ 96.4 degrees

Using a scientific calculator to solve SSS triangles

Calculating inverse cosine requires a scientific calculator. Make sure your calculator is in degree mode, then use the cos⁻¹ function.


Many students solve these types of geometry problems using a scientific calculator to quickly evaluate trigonometric values and inverse functions. A calculator helps confirm the final angle after solving the equation.

How AI tools can help verify triangle solutions

SSS triangle problems often involve multiple algebra steps and trigonometric calculations. Small mistakes in substitution or simplification can lead to incorrect results.


Students often use an AI math solver with step by step explanations to verify each stage of the calculation and understand where errors occur. This is especially helpful for geometry homework and exam preparation.

Common mistakes when solving SSS triangle problems

Many students make simple mistakes when solving for x in triangles.

  • Forgetting to square the sides

    The Law of Cosines requires squared values.


  • Sign errors

    Incorrect negative signs can change the result completely.


  • Calculator mode errors

    Trigonometry problems must use degree mode unless specified otherwise.


  • Skipping algebra steps

    Always simplify carefully before using inverse cosine.

If you're checking homework answers, it helps to review your process using methods explained in best ways to check your math homework before submitting

Practice problems

Try solving these SSS triangle problems.

Problem 1

a = 5
b = 7
c = 9

Solve for angle C.

Problem 2

a = 8
b = 10
c = 13

Find the angle opposite side c.

Problem 3

a = 9
b = 11
c = 14

Solve for x.


Work through the steps using the Law of Cosines and check your answers.

When should you use the SSS method?

Use the SSS triangle method when:

• All three sides of a triangle are known
• You need to find an unknown angle
• A variable appears in an angle expression


This situation commonly appears in:

  • Geometry homework

  • Trigonometry exams

  • Engineering calculations

  • Physics vector problems

Final thoughts

Solving for x in an SSS triangle becomes much easier once you understand how the Law of Cosines works. The key steps are identifying the triangle type, applying the correct formula, simplifying carefully, and using inverse cosine to find the angle.


By following a structured step-by-step process, you can solve even complex triangle problems with confidence. Geometry problems often look difficult at first, but with practice and the right tools, they become much easier to understand and solve.

Ready to try Air Apps?