AI Math Tutor

Blog · camera

App That Scans Homework: How Photo Math Solvers Work

· AI Math Tutor Team

An app that scans homework does something that sounds like magic and is really two ordinary jobs done one after the other. First it reads the problem off the page. Then it solves what it read. Every good result, and every bad one, comes from one of those two jobs, so once you understand them you can get a clean scan on the first try and you can tell in seconds when the app has gone wrong.

This guide covers what happens to your photo, what a scanner reads well and badly, how to frame a single problem, and how to check the steps that come back, with three photographed problems worked all the way through.

Key takeaways

What happens after you take the picture

In AI Math Tutor there are two ways to do this. You can take a photo with the in-app camera, where a resizable crop box lets you frame one problem. Or you can pick an existing photo or screenshot from your photos. Both hand the app a single image, and from there the path is the same for everyone, free or Pro.

The image is read by an AI vision model, which reads printed and handwritten math and describes a labelled diagram in words. The app then shows a "Here's what I read" screen with the problem as typeset math and as editable text. Nothing is solved until you check it and tap "Looks right, solve it". A few seconds later the steps appear, with the working as proper math notation rather than a flat string.

If the model cannot find readable math, the app says so and suggests a closer, well lit photo or typing the problem instead. That message is not a failure of the math. It means the photo did not give the reader enough to work with, which is almost always light, focus or framing.

The read is editable text on that screen. When the read is wrong you have three good options. Fix the misread symbol right there, for example changing 34 back to 3/4, then tap "Looks right, solve it". Retake the photo. Or type the problem, using the math key row for fractions and exponents, and the app solves the corrected version.

Before the first problem is sent, the app asks permission and explains that the problem is leaving your device to be read and solved. A model that sees the picture rather than a string of extracted characters can use the layout of the page: where the fraction bar sits, which numbers label which side of a triangle, which line is the problem and which lines are your scratch work. No reader is perfect, and you should treat every read the same way: check what came back before you confirm it and read the steps. Math OCR Explained: How an App Reads a Photo of a Problem goes deeper into how the two general approaches to reading a photo differ.

Once the problem is solved, every step has a "Why?" button, and follow-ups let you ask for a simpler explanation, another method, the answer as a decimal, or your own question, such as "why did you divide both sides?". Your history stays on the device so you can reopen a worked solution later.

What a scanner reads well and what it reads badly

Any photo reader, whether older text extraction or a vision model, is at its best on one thing: clean, printed characters on a plain background. A textbook exercise, a printed worksheet, a screenshot of a PDF, a clearly typed equation on a website. These have high contrast, consistent spacing and standard glyphs, and they come through well.

It gets weaker as the input moves away from that. Handwriting varies from person to person, and a fraction written with a short bar can look like two digits side by side. Faint pencil on white paper has low contrast. A page photographed at an angle squashes the characters at the far end. Glare from a glossy page wipes out whatever sits under the reflection. And a diagram is not text at all: a plain text extraction service can only pull the labels off a triangle, and even a vision model that describes the diagram in words can attach a label to the wrong side, which is exactly the information the problem needs.

The table below is a quick guide to what to expect by problem type, and what to look at by hand before you trust the steps.

Problem type What a scanner reads reliably What to check by hand
Arithmetic and order of operations Printed digits and the four operation signs That ×\times and ÷\div were not swapped, and that a fraction bar was read as division
Fractions Typed fractions with a clear horizontal bar That the numerator and denominator did not merge into one number
Linear equations Printed equations with spaced terms The sign on every term, especially a minus right before a variable
Exponents and roots Printed superscripts and radical signs That x2x^2 did not flatten to x2x2, and that the root covers the right terms
Geometry with a diagram The numbers and letters used as labels The diagram itself: which side is which, which angle is marked. Check the description on the read screen and add anything missed
Word problems Printed sentences That no line was cut at the edge of the frame and the question sentence is included
Handwritten work Dark, well-spaced writing Every symbol, since handwriting is where reads go wrong most often. Fix any misread symbol on the read screen

The pattern is simple. The more a problem depends on layout, the more carefully you need to check the read screen and type in any relationship it missed. The more it depends on plain characters, the more likely the first read is right.

How to frame one problem

Most bad scans are fixed before you press the capture button. A few habits make the difference.

Photograph one problem at a time. If the page has six exercises, drag the crop box in the in-app camera around the one you want, cover the neighbors with a sheet of paper, or move in close. Given several problems, the app reads the first complete one and says so, which may not be yours.

Hold the phone flat above the page, parallel to it. A tilted shot makes the characters at the far edge smaller and blurrier than the ones near you, and a superscript at the far end is the first thing to disappear.

Get light from the side and keep the flash off on glossy paper. A shadow from your hand or the phone cuts the line in half, and a bright reflection erases whatever sits under it. Daylight from a window, or a lamp off to one side, is usually enough.

Fill the frame but keep the whole line inside it. If the end of an equation is cut off, the read is missing a term, and the steps that follow will be for a different problem.

For handwriting, use dark ink, write larger than you normally would, and leave a gap between terms. Handwritten Equation Solver: How to Scan Your Own Writing covers this in detail.

For a problem on a screen, take a screenshot, crop it in the Photos app down to the one problem, and pick it from your photos instead of photographing the screen. Screenshot Solver: Solve a Math Problem From a Screenshot walks through that route.

How to check the steps, not just the answer

A scanned solution is only useful if you read it the way you would read a tutor's work on a whiteboard. Here is the routine that catches almost every problem.

Start with the "Here's what I read" screen. Compare it to the page symbol by symbol: every sign, every exponent, every fraction bar. If it does not match, do not confirm it. Fix the text there, retake, or type the problem.

Read the first step and say in your own words what it did and why. "It subtracted 7 from both sides to get the xx term alone." If you cannot say why, tap the "Why?" button on that step.

Before you read the next step, predict it. Then check whether the app did what you expected. When your prediction and the app's step disagree, one of you has made a mistake, and finding out which is where the learning happens.

At the end, substitute the answer back into the original problem, even when the answer card already shows "Checked". If both sides match, the answer is right. If they do not, either a step or the read went wrong, and you can trace back to find which. How to Solve Any Math Problem Step by Step is the general version of this routine, and How to Check a Math Answer covers checking methods beyond substitution.

Worked examples from three scanned problems

Each example below is a photographed problem: what was on the page, what the app read, the steps, and the check.

Example 1: solve 4x−9=194x - 9 = 19

The photo shows one printed textbook exercise taken flat under a desk lamp, with the neighboring exercises left outside the edge of the frame.

What the app read: 4x−9=194x - 9 = 19

  1. Add 9 to both sides. This undoes the subtraction and leaves the xx term alone on the left.
    4x=284x = 28
  2. Divide both sides by 4. This undoes the multiplication and gives xx by itself.
    x=7x = 7

So x=7x = 7. Check it by substituting back: 4(7)−9=28−9=194(7) - 9 = 28 - 9 = 19, which matches the right side.

Example 2: simplify 35−14\frac{3}{5} - \frac{1}{4}

The photo shows the problem written in dark pen on ruled paper, with each fraction bar drawn long and a finger width of space between the two fractions, taken from straight above.

What the app read: 35−14\frac{3}{5} - \frac{1}{4}

  1. Find a common denominator. The least common multiple of 5 and 4 is 20, so both fractions will be rewritten over 20.
  2. Rewrite each fraction with a denominator of 20 by multiplying the top and bottom by the same number.
    35=1220,14=520\frac{3}{5} = \frac{12}{20}, \quad \frac{1}{4} = \frac{5}{20}
  3. Subtract the numerators now that the denominators match.
    1220−520=720\frac{12}{20} - \frac{5}{20} = \frac{7}{20}

So 35−14=720\frac{3}{5} - \frac{1}{4} = \frac{7}{20}. Check it in decimals: 0.6−0.25=0.350.6 - 0.25 = 0.35, and 720=0.35\frac{7}{20} = 0.35.

Example 3: solve x2+3x−10=0x^2 + 3x - 10 = 0

The photo shows a printed worksheet question taken in window light, with the question number at the left and no other exercise in the frame.

What the app read: x2+3x−10=0x^2 + 3x - 10 = 0

  1. Look for two numbers that multiply to −10-10 and add to 33. Those numbers are 55 and −2-2, because 5×(−2)=−105 \times (-2) = -10 and 5+(−2)=35 + (-2) = 3.
  2. Write the factored form using those two numbers.
    (x+5)(x−2)=0(x + 5)(x - 2) = 0
  3. Set each factor equal to zero, because a product is zero only when one of its factors is zero, then solve each small equation.
    x+5=0orx−2=0x + 5 = 0 \quad \text{or} \quad x - 2 = 0
    x=−5orx=2x = -5 \quad \text{or} \quad x = 2

So x=−5x = -5 or x=2x = 2. Check both: (−5)2+3(−5)−10=25−15−10=0(-5)^2 + 3(-5) - 10 = 25 - 15 - 10 = 0, and 22+3(2)−10=4+6−10=02^2 + 3(2) - 10 = 4 + 6 - 10 = 0.

Common mistakes

Where to go next

This is the hub for the camera cluster, and each of the how-to posts takes one part of the routine further. For the mechanics of a good photo, read How to Take a Picture of a Math Problem the App Can Read. For arithmetic and percentages from the camera, read Scan Calculator: Point the Camera and Get Arithmetic Right. For the check-as-you-go method, read Questions Scanner: Scan a Math Question and Check the Steps. For what the read screen shows and what to do when a symbol is wrong, read Math Image to Text: Turn a Photo Into Typed Math. For problems that arrive as diagrams and visual models, read Picture Math Problems: Solving Problems Given as Images and Write an Equation That Represents This Picture: 6 Examples. If you want to try the camera on known problems first, Pictures of Math Problems: 20 Samples to Test a Photo Solver has twenty with the answers, and Math Snap: What Snapping a Photo of a Math Problem Gets You is the short version of everything above.

When the next problem stops you, photograph just that one, check what the app read, 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 does an app that scans homework actually do with my photo?

It reads the problem off the photo and then solves what it read. In AI Math Tutor an AI vision model reads the photo, the same way for everyone, free or Pro. The app then shows the Here's what I read screen with the problem as typeset math and as editable text, and nothing is solved until you check it and confirm. The app asks permission before the first problem is sent.

Can a homework scanner read handwriting?

Often, if the writing is dark, spaced out and photographed flat in good light. In AI Math Tutor a vision model reads printed and handwritten math for everyone, free or Pro, but cramped or faint handwriting can still come back wrong. That is why the app shows you what it read first: compare the read to your page, fix any misread symbol, and only then confirm it and trust the steps.

What do I do if the app reads the problem wrong?

The read is editable text on the Here's what I read screen, so fix the misread symbol right there, for example changing 34 back to 3/4, and then tap Looks right, solve it. Retaking the photo with better light and a tighter frame, or typing the problem yourself, also still work.

Can I scan a whole page of homework at once?

Frame one problem at a time. A page with several exercises in the frame gives the reader too much to sort through, and AI Math Tutor reads the first complete problem it finds and says so, which may not be the exercise you meant. One problem per photo is the single habit that fixes the most bad scans.

Is using an app that scans homework cheating?

It depends entirely on how you use it. Copying an answer teaches nothing and gets caught the moment a similar problem shows up on a test. Reading the steps, asking why each one was taken, and then trying the next problem without the app is the same thing a tutor would do with you.

Read next