What kind of prompts can be used to help GPT avoid such very simple calculation errors?

I have already clearly stated the problem in the prompt: ‘GPT often makes basic errors in arithmetic, especially when organizing equations and combining like terms. Please calculate strictly step by step without skipping any steps. Please follow the steps below to perform arithmetic operations, and check the result at each step to ensure the correctness of the calculation.’

However, GPT still didn’t calculate correctly. How should I modify this prompt? Thank you for your help.

   a^2x^2 + 2abx + b^2 + a^2 - 2abx + b^2x^2 = a^2 + b^2

   \]

   \[

   (a^2 + b^2)x^2 + a^2 = a^2 + b^2

the correct is : (a^2+b^2)X^2=0

Welcome @gthatrnmafiaboy

Part of the problem lies in the prompt where you’re telling the GPT that it makes mistakes.

I would use:

You are a mathematician. Please calculate strictly step by step without skipping any steps. Please follow the steps to perform arithmetic operations, and check the result at each step to ensure the correctness of the calculation.

Here’s a playground example for this.

1 Like

Yes, it’s works .Thank you very much!

1 Like