HexMathv1.0.4

Segment addition calculator

This segment addition calculator uses the fact that AB + BC = AC when B lies on segment AC. Type the lengths, as numbers or as expressions in x, or scan the problem. HexMath sets up the equation, solves for x and returns the length you ask for, with each step shown, including midpoint problems.

Loading math input...

What this page covers

  • The additive property of length: when BB lies on segment ACAC, AB+BC=ACAB + BC = AC.
  • Finding xx when the lengths are written as expressions, then any length you ask for.
  • Midpoint problems, where the two halves of a segment are equal.
  • Not covered here: lengths from coordinates (see the geometry calculator), and segments that do not lie on one line.

How to enter the problem

  • Type it or paste it. Say which point lies between the others, then give each length, for example AB = 2x + 3, BC = 4x - 1, AC = 26.
  • Scan it. Fit the one problem in the frame.
  • Choose a photo. Several problems in one photo are solved as a list.
  • Then tap Solve.

Worked examples

Example 1: B is between A and C, AB = 2x + 3, BC = 4x - 1 and AC = 26. Find x.

Problem

B\displaystyle B is between A\displaystyle A and C\displaystyle C, AB=2x+3\displaystyle AB = 2x + 3, BC=4x−1\displaystyle BC = 4x - 1 and AC=26\displaystyle AC = 26. Find x\displaystyle x.

Answer

Verified

The answer is

x=4x = 4

Explanation

  1. Write the segment addition postulate
    Because BB is between AA and CC
    AB+BC=ACAB + BC = AC
  2. Substitute the expressions
    (2x+3)+(4x−1)=26(2x + 3) + (4x - 1) = 26
  3. Combine like terms
    6x+2=266x + 2 = 26
  4. Solve
    6x=246x = 24, so x=4x = 4.
  5. Check the lengths
    AB=2⋅4+3=11AB = 2 \cdot 4 + 3 = 11 and BC=4⋅4−1=15BC = 4 \cdot 4 - 1 = 15. 11+15=2611 + 15 = 26, and both lengths are positive.

Example 2: Point B lies between A and C. AB = 3x, BC = 2x + 5 and AC = 40. Find BC.

Problem

Point B\displaystyle B lies between A\displaystyle A and C\displaystyle C. AB=3x\displaystyle AB = 3x, BC=2x+5\displaystyle BC = 2x + 5 and AC=40\displaystyle AC = 40. Find BC\displaystyle BC.

Answer

Verified

The answer is

BC=19BC = 19

Explanation

  1. Write the equation
    3x+(2x+5)=403x + (2x + 5) = 40
  2. Solve for xx
    5x+5=405x + 5 = 40, so 5x=355x = 35 and x=7x = 7.
  3. Find the length asked for
    BC=2(7)+5=19BC = 2(7) + 5 = 19
  4. Check the total
    AB=21AB = 21, and 21+19=4021 + 19 = 40.

Example 3: M is the midpoint of PQ. PM = 3x + 1 and MQ = 5x - 7. Find PQ.

Problem

M\displaystyle M is the midpoint of PQ\displaystyle PQ. PM=3x+1\displaystyle PM = 3x + 1 and MQ=5x−7\displaystyle MQ = 5x - 7. Find PQ\displaystyle PQ.

Answer

Verified

The answer is

PQ=26PQ = 26

Explanation

  1. Use the midpoint
    A midpoint splits the segment into two equal parts, so 3x+1=5x−73x + 1 = 5x - 7.
  2. Solve for xx
    8=2x8 = 2x, so x=4x = 4.
  3. Find each half
    PM=3(4)+1=13PM = 3(4) + 1 = 13 and MQ=5(4)−7=13MQ = 5(4) - 7 = 13.
  4. Add the halves
    PQ=13+13=26PQ = 13 + 13 = 26

Common mistakes

  • Stopping at xx when a length is asked for. In the second example x=7x = 7, but BC=19BC = 19.
  • Setting the two parts equal when BB is not a midpoint. Parts are equal only at a midpoint.
  • Giving only one half for a midpoint question. PQPQ is twice PMPM: 2626, not 1313.

Checks, assumptions and limits

  • Check by hand: put xx back into every length and confirm the parts add up to the whole.
  • Every length must come out positive. A value of xx that makes a length zero or negative means the setup is wrong.
  • HexMath can make mistakes. Double check important steps.

Frequently asked questions

If a point B lies on the segment from A to C, the two shorter pieces add up to the whole: AB + BC = AC.

Yes. Say which length you want. The steps solve for x first, then put it back in to find that length.

Yes. Say that the point is a midpoint. The two halves are set equal, and the whole is twice one half.

Then the rule does not apply. AB + BC = AC only holds when B lies on the segment AC. For lengths from coordinates use the geometry calculator.

Ready to solve your next math problem?

Create a free account for 3 math questions a day in your browser. No card.

Get HexMath on your phone

The same solver and camera scan on iPhone and Android.

Last updated: · HexMath