AI Math Tutor

Blog · Scanning homework

Picture Math Problems: Solving Problems Given as Images

Picture math problems mean two different things, and the difference decides how you should use a camera on them. In the first meaning, the problem is the picture: a bar model, a tape diagram, an area diagram, a shape with lengths written on its sides. The numbers live in the drawing, and reading the drawing is most of the work. In the second meaning, the picture is a photo of a problem, taken so an app can read it and show the steps.

The two meet when you photograph a diagram, and that is where a lot of people get a puzzling result. This post explains how to read a visual model before you scan it, why a diagram-only problem needs its description in words checked or typed, and how to check the steps, with a worked bar model and a worked area diagram.

Key takeaways

The first meaning: the problem is a picture

Textbooks draw problems for a reason. A bar model makes "three times as many" visible as a bar three times as long. An area diagram makes a product visible as a rectangle. A number line makes a difference visible as a gap. Those pictures, called visual models, carry the structure of the problem so that a student can see the equation before writing it.

That is the skill to practice: looking at a visual model and saying, in one sentence, what it shows. A bar split into two parts with the whole labeled 80 says "two parts make 80". A rectangle whose sides are labeled 12 and 8 says "12 times 8 gives the area". Once you can say the sentence, you can write the equation, and once you can write the equation, the rest is method.

The second meaning: a photo of a problem

The other kind of picture math problem is any problem you photograph. In AI Math Tutor you take a photo with the in-app camera, where a resizable crop box frames one problem, or pick an existing photo or screenshot. An AI vision model reads the image, the app shows the result on a "Here's what I read" screen as typeset math and as editable text, and nothing is solved until you tap "Looks right, solve it". The hub post App That Scans Homework: How Photo Math Solvers Work walks through that whole path.

A photo works well when the problem is text: an equation, a printed word problem, a column of arithmetic like the ones in Scan Calculator: Point the Camera and Get Arithmetic Right. It needs more care when the problem is a drawing, because a drawing has to be turned into words first. Math OCR Explained: How an App Reads a Photo of a Problem shows how a plain text reader flattens anything that is not on a line. A bar model is nothing but things that are not on a line, so the description is the part to check.

Where the two meanings meet: photographing a diagram

Photograph a bar model and the read screen will show you a description of the drawing in words, built from the labels: "48", "x", maybe "Find x". The relationships are what to look for: that one bar is three times the other, and that the bracket says they add up. Those facts are drawn, not written, so they are the ones most likely to be missing or wrong. If the read holds only the labels and no relationships, there is no problem to solve yet, and confirming it would leave the app to guess.

You have two good options. The first is to fix the read where it stands: the text on that screen is editable, so add the missing relationship and then tap "Looks right, solve it". The second is to type a one-line description of the picture, which takes about as long as taking the photo and carries everything the drawing carries: "A bar of 48 is split into one part x and one part three times as long. Find x." Either route still deserves a check, because a faint bracket or a cramped label can be misread, and the check is the first step: does the equation the app wrote match the picture?

There is a third case that is easy: a diagram with a printed question under it that already says everything. "A rectangle 12 cm by 8 cm has a 3 cm by 4 cm corner removed. Find the shaded area." The sentence carries the diagram, the app reads the sentence, and the picture becomes a check rather than the input.

Handwritten diagrams are a special case of a special case; Handwritten Equation Solver: How to Scan Your Own Writing covers how to write labels that at least survive the read.

How to read a visual model before you scan it

Three questions, in order, for any diagram.

What is the whole? In a bar model it is the full length, usually marked with a bracket. In an area diagram it is the big rectangle. On a number line it is the distance from start to finish.

What are the parts? The pieces the whole is split into, with their labels. Note which parts are equal: a bar drawn as three identical boxes means three equal parts, and that is the fact the equation will use.

What is unknown, and what is the question asking for? Sometimes the unknown is a part and the question asks for the whole; sometimes the reverse. Write the sentence, then the equation. That sentence is what you type, or what you compare the tutor's first step against.

Worked examples

Both are diagram problems with a printed question under the drawing. Each shows the picture in words, the read, the steps, and a check that goes back to the picture.

Example 1: a bar model, two parts totaling 48

The photo shows a bar model from a workbook: a short bar labeled xx for Ben, a bar three times as long labeled "Maya" directly beneath it, a bracket across both marked 48, and the printed question "Maya has three times as many stickers as Ben. Together they have 48. How many does each have?" under the drawing.

What the app read: Maya has three times as many stickers as Ben. Together they have 48. How many does each have?

  1. Name the unknown from the shorter bar, because everything else is described in terms of it. Ben has xx stickers, so Maya has 3x3x, and the bracket says the two bars add to 48.
    x+3x=48x + 3x = 48
  2. Combine the like terms on the left, because both are counts of the same thing.
    4x=484x = 48
  3. Divide both sides by 4 to find one part.
    x=12x = 12
  4. Find Maya's count from the picture: her bar is three of Ben's.
    3×12=363 \times 12 = 36

So Ben has 12 stickers and Maya has 36. Check it against the drawing: 12+36=4812 + 36 = 48, the whole bar, and 36 is three times 12, the longer bar.

Example 2: an area diagram with a corner removed

The photo shows a printed L-shaped figure: a rectangle 12 cm wide and 8 cm tall with a 3 cm by 4 cm rectangle cut from the top right corner, the cut edges labeled, and the question "A rectangle 12 cm by 8 cm has a 3 cm by 4 cm corner removed. Find the shaded area." printed below.

What the app read: A rectangle 12 cm by 8 cm has a 3 cm by 4 cm corner removed. Find the shaded area.

  1. Find the area of the full rectangle first, because the shaded shape is the full rectangle with a piece taken away.
    12×8=9612 \times 8 = 96
  2. Find the area of the removed corner.
    3×4=123 \times 4 = 12
  3. Subtract, because the corner is not shaded.
    96−12=8496 - 12 = 84

So the shaded area is 84 cm284 \text{ cm}^2. Check it by splitting the L a different way: the bottom strip is 12 by 4, which is 48, and the top left piece is 9 by 4, which is 36, and 48+36=8448 + 36 = 84.

Common mistakes

Photograph the next problem that comes with a drawing, or type the one sentence the drawing says, and follow every step in AI Math Tutor.

AI Math Tutor is a study aid, not a substitute for a teacher, and it can make mistakes: check every step, not just the answer.

Questions

What are picture math problems?

The phrase covers two things. One is a problem presented as a picture: a bar model, a tape diagram, an area diagram or a labeled shape, where the numbers live in the drawing rather than in a sentence. The other is any problem you photograph so an app can read it. This post covers both, and where they meet.

Can a photo solver read a diagram?

In AI Math Tutor an AI vision model reads the photo, the same way for everyone, and describes a labeled diagram in words on the Here's what I read screen. Check that description against the drawing before you confirm. If a relationship is missing, such as one bar being three times the other, add it in the editable text or type a one-line description of the diagram.

How do I describe a bar model in words?

Say what the whole is, what the parts are, and which part is unknown, for example: a bar of 48 is split into one part labeled xx and one part three times as long. That sentence carries the same information as the drawing, and the app can write the equation from it.

What should I check in the steps for a picture problem?

Check that the first equation matches the picture: the parts add to the whole, the lengths on the diagram are the lengths in the formula, and the unknown is the thing the question asked for. Then check the answer against the picture, which is usually a quick count or a rough size.

Read next