How to use AI to solve math problems (step-by-step)
How to use AI to solve math problems
Struggling with your Maths homework?
Join the club. There is probably no other subject out there that causes as many problems as Maths. We all have been there dreading our maths homework out of fear of utter confusion.
Luckily AI and LLMs are a game changer when it comes to solving and explaining Maths. With just a few simple steps you can use modern tools like ChatGPT or Knowunity to help you not only solve but also understand your maths homework.
In this article I am going to show you with an example how ChatGPT & Knowunity can help you with your maths homework. We will go over an example once with ChatGPT, including prompting and best practices. Afterwards I am going to show you how you can use Knowunity.
Using Analysis as example
To walk through an exercise we will use the example below:

We are looking at a standard analysis task. We need to first build the derivative and then find the high & low points of the function .
This is a great example since it covers the core concepts one needs to learn for analysis:
-
Building derivative functions
-
Solving formulas for x and 0
-
Finding x and y coordinates of a function
Lets jump right in and solve this example tasks with one of the common AI tools.
Solving Maths homework with ChatGPT
In this section I will walk you through the example step by step within ChatGPT.
Firstly open ChatGPT and upload a picture of your task or homework.
To do so go on the home page of the ChatGPT App, klick on the plus icon in the bottom left corner. This will open a section in the App in which you can choose between different tools like Camera, Photos and Files. Select the picture upload, then take a photo of the task. You will end up with the photo of your task uploaded to the chat.

In the next step we need to write the prompt for the model. In the prompt we need to specify what our goal is and how we would like to receive the answer. For example we can ask ChatGPT to only solve our homework or to also explain us the step by step.
A well working prompt would be the following:
Solve the task in the image.
Show all steps (derivative, critical points, classification, etc.) of the
exercise along the way.
Explain them step by step so a student can follow.
Insert this prompt and you are basically done. ChatGPT will send you back a well formatted solution and explanation for the task.

The solution you will receive will look like the following:
In case you have follow up questions or are not sure if you understood all concepts of the task here are some follow up prompts that you can ask the model to sharpen you understanding:
-
Can you explain the core idea behind this topic in simple words?
-
Can you explain what this result means graphically?
-
Can you re-explain the most important part again, but simpler?
-
What are common mistakes students make with this topic?
-
Give me a quick cheatsheet.
With the very quick and simple walk through above you are fully ready to tackle your Maths homework with AI.
Knowunity SchoolGPT, specialized for school & maths
At Knowunity we are constantly working on building a specialized School AI and School GPT. Of course you can also solve your Maths homework with our AI.
Within the Knowunity App getting solutions and explanations to your Math homework is even easier. To do so, first go to the home tab of the Knowunity App. On there click on the camera icon on the top left or the Scan Speech bubble in the middle to open our Homework Scanner. Choose the Solve chip within the camera wheel. From there simply snap a photo and mark the exercise you want to solve.

As easy as that you will receive the solution for your homework.
Your answer will look like this:
The Knowunity AI will automatically suggest follow up prompts to continue the conversation and deepen your understanding.
Additionally to that you can also create quizzes and flashcards with the Knowunity App so you can continue learning if you want to. Simply ask the Ai to generate a Quiz or Flashcard set.

And thats it. Now you know how to use AI Tools like ChatGPT or Knowunity to solve and explain your math homework.
Pitfalls
Before you head off to try it out yourself please have a look at these two common mistakes when using AI for Maths:
-
Over relying on AI: Despite the high quality of the models please always recap the calculation of the AI. Try to understand how it got to the solution and verify the outcome ourself.
-
Cheating yourself: Just because your homework is done now doesn't mean you fully grasped the concept. The goal is to learn alongside the AI, not to let it replace your own thinking. To understand the topic walk through the exercise yourself.
Avoid these two mistakes in order to get the best learning outcome.
Conclusion
LLMs & AI can be incredibly useful for your math exercises and homework. If used correctly they can make your learning journey way easier and faster. Use the tools responsible, recap the exercises on your own and you will be ready to ace your exams in no time.
Master Math with AI
Get step-by-step solutions and explanations for your math homework with Knowunity's specialized AI tutor. Learn smarter, not harder.
About the Author
Niklas Heist
Product Manager at Knowunity. Passionate about making learning more accessible through AI.
Related Articles

Best ChatGPT Alternatives for School
ChatGPT is great, but it's not your only option. Discover the best AI tools for high school students, from research and writing to homework help and studying.

The 10 Best Prompts for School
Master AI for schoolwork with these 10 ready-to-use prompts. Learn how to write effective prompts that get you exactly what you need for homework, studying, and test prep.

How to Automatically Turn Your Notes into Flashcards with AI
Stop spending hours creating flashcards manually. Learn how to use AI tools like ChatGPT and Knowunity to automatically generate effective flashcards from your notes in minutes.
Want to learn smarter?
Explore more articles, tutorials, and best practices to help you study with AI.
Browse All Articles