Mathematics & Science

How to Solve Mathematics Problems Step by Step

A four-step method for solving maths problems, with fully worked examples in algebra, calculus and probability, plus ways to check your answers.

By StudyMina Editorial TeamPublished 8 min read

Mathematics & Science: StudyMina Journal cover artwork
In this article
  1. A four-step method that works for almost any problem
  2. Step 1: Understand the problem
  3. Step 2: Devise a plan
  4. Step 3: Carry out the plan, with worked examples
  5. Step 4: Look back and check
  6. Five habits that make the method stick
  7. Using AI as a maths tutor, carefully
  8. Sources

Most students who struggle with mathematics are not short of ability. They are short of a method. When a problem looks unfamiliar they either freeze or start writing symbols and hope. This guide gives you a repeatable process, then shows it working on six problems from algebra, calculus and probability. Every answer below has been checked independently, and you can use the same checks on your own work.

A four-step method that works for almost any problem

The mathematician George Pólya set out a simple framework in his 1945 book How to Solve It. It has four stages, and it is worth following them in order.

  1. Understand the problem. What is being asked? What is given? Can you restate it in your own words?
  2. Devise a plan. Have you seen something like it before? Can you draw a picture, work a simpler case, or break it into parts?
  3. Carry out the plan. Work carefully, one line at a time, and check each step as you go.
  4. Look back. Does the answer make sense? Can you check it another way?

Most errors happen because students skip steps 1 and 4. They rush to calculate, and they never ask whether the result is reasonable.

Step 1: Understand the problem

Before you calculate anything, write down three things: the unknown, the data, and the condition that connects them. If the problem is in words, translate it into symbols. If it is a diagram, label every quantity.

A useful test is to explain the question aloud without looking at it. If you cannot, you have not understood it yet, and no technique will rescue you.

Step 2: Devise a plan

Planning means choosing a method before you start. A few questions help:

  • Have I solved a problem with the same shape before?
  • Is there a standard tool that fits, such as factorising, substitution, the product rule or conditional probability?
  • Can I try a small, concrete case first?
  • Can I work backwards from what I want?

Write your plan in one sentence. “Isolate xx by undoing the operations in reverse order” is a plan. “Do algebra” is not.

Step 3: Carry out the plan, with worked examples

Example 1: a linear equation

Solve 3x+7=223x + 7 = 22.

Plan: undo the operations in reverse order. First remove the +7+7, then the multiplication by 3.

3x+7=223x=22−7=15x=153=5\begin{aligned} 3x + 7 &= 22 \\ 3x &= 22 - 7 = 15 \\ x &= \frac{15}{3} = 5 \end{aligned}

Check: substitute back. 3(5)+7=223(5) + 7 = 22, which matches. The answer is x=5x = 5.

Example 2: a quadratic equation

Solve 2x2+3x−2=02x^2 + 3x - 2 = 0.

Plan: this does not factorise at a glance, so use the quadratic formula. For ax2+bx+c=0ax^2 + bx + c = 0 the solutions are

x=−b±b2−4ac2a.x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}.

Here a=2a = 2, b=3b = 3 and c=−2c = -2. First find the discriminant, b2−4ac=32−4(2)(−2)=9+16=25b^2 - 4ac = 3^2 - 4(2)(-2) = 9 + 16 = 25. Because it is a perfect square, the roots will be rational.

x=−3±254=−3±54x = \frac{-3 \pm \sqrt{25}}{4} = \frac{-3 \pm 5}{4}

So x=24=12x = \dfrac{2}{4} = \dfrac{1}{2} or x=−84=−2x = \dfrac{-8}{4} = -2.

Check: with x=12x = \tfrac12, 2(14)+32−2=02\left(\tfrac14\right) + \tfrac32 - 2 = 0. With x=−2x = -2, 2(4)−6−2=02(4) - 6 - 2 = 0. Both work.

Example 3: completing the square

Solve x2+6x+5=0x^2 + 6x + 5 = 0 by completing the square.

x2+6x+5=0(x+3)2−9+5=0(x+3)2=4x+3=±2x=−1orx=−5\begin{aligned} x^2 + 6x + 5 &= 0 \\ (x + 3)^2 - 9 + 5 &= 0 \\ (x + 3)^2 &= 4 \\ x + 3 &= \pm 2 \\ x &= -1 \quad \text{or} \quad x = -5 \end{aligned}

The step that trips people up is the second line: (x+3)2=x2+6x+9(x+3)^2 = x^2 + 6x + 9, so you must subtract 99 to keep the expression equal to the original.

Example 4: a derivative using the product rule

Differentiate f(x)=x3e2xf(x) = x^3 e^{2x}.

Plan: this is a product of two functions, so use the product rule, (uv)′=u′v+uv′(uv)' = u'v + uv', with u=x3u = x^3 and v=e2xv = e^{2x}. Then u′=3x2u' = 3x^2, and by the chain rule v′=2e2xv' = 2e^{2x}.

f′(x)=3x2e2x+x3⋅2e2x=x2e2x (3+2x)\begin{aligned} f'(x) &= 3x^2 e^{2x} + x^3 \cdot 2e^{2x} \\ &= x^2 e^{2x}\,(3 + 2x) \end{aligned}

Check: at x=0x = 0 the function is 00 and rises slowly (the x3x^3 factor flattens it), so a derivative of 00 there is plausible. Plugging x=0x = 0 into the result gives 00, as expected.

Example 5: an integral by substitution

Evaluate ∫01x ex2 dx\displaystyle\int_0^1 x\,e^{x^2}\,dx.

Plan: the derivative of x2x^2 is 2x2x, and xx appears as a factor, so let u=x2u = x^2. Then du=2x dxdu = 2x\,dx, which means x dx=12 dux\,dx = \tfrac12\,du. Change the limits too: when x=0x = 0, u=0u = 0; when x=1x = 1, u=1u = 1.

∫01x ex2 dx=12∫01eu du=12[eu]01=e−12\int_0^1 x\,e^{x^2}\,dx = \frac12 \int_0^1 e^{u}\,du = \frac12 \Big[e^{u}\Big]_0^1 = \frac{e - 1}{2}

Check: e−12≈0.859\dfrac{e-1}{2} \approx 0.859. The integrand starts at 00, is only about 0.640.64 at x=0.5x = 0.5, and reaches e≈2.72e \approx 2.72 at x=1x = 1, so an area a little under 1 is plausible.

Example 6: conditional probability

A fair die is rolled twice. Given that the first roll is a 4, what is the probability that the sum is at least 9?

Plan: use the definition of conditional probability, P(A∣B)=P(A∩B)P(B)P(A \mid B) = \dfrac{P(A \cap B)}{P(B)}.

Let BB be “the first roll is 4”, so P(B)=16P(B) = \dfrac{1}{6}. Let AA be “the sum is at least 9”. With a first roll of 4, the second roll must be 5 or 6, giving two outcomes out of 36 equally likely pairs, so P(A∩B)=236P(A \cap B) = \dfrac{2}{36}.

P(A∣B)=2/361/6=13P(A \mid B) = \frac{2/36}{1/6} = \frac{1}{3}

Check by reasoning: once the first roll is known to be 4, only the second roll is uncertain. Two of its six outcomes (5 and 6) work, so 26=13\tfrac26 = \tfrac13. Two routes, one answer.

Step 4: Look back and check

Never hand in an answer you have not tested. Use whichever of these fits:

  • Substitute back into the original equation, as in Examples 1 and 2.
  • Estimate first. A rough sense of the size of the answer catches slips of a factor of ten.
  • Solve a second way. Example 6 used a formula and then plain counting.
  • Check units and signs. A negative length or a probability above 1 is a red flag.
  • Test a special case. Put in a simple value, such as n=1n = 1 or x=0x = 0, and see whether your general result behaves.

As an example of the last idea, the formula for the sum of the first nn whole numbers is

∑k=1nk=n(n+1)2.\sum_{k=1}^{n} k = \frac{n(n+1)}{2}.

Testing n=4n = 4 gives 1+2+3+4=101 + 2 + 3 + 4 = 10 and 4⋅52=10\dfrac{4 \cdot 5}{2} = 10. They agree, which does not prove the formula, but a mismatch would prove it wrong.

For problems with several equations, a matrix check can be quick. If

A=(2113),A−1=15(3−1−12),A = \begin{pmatrix} 2 & 1 \\ 1 & 3 \end{pmatrix}, \qquad A^{-1} = \frac{1}{5}\begin{pmatrix} 3 & -1 \\ -1 & 2 \end{pmatrix},

then multiplying AA−1A A^{-1} should give the identity matrix. Here det⁡A=2⋅3−1⋅1=5\det A = 2\cdot 3 - 1\cdot 1 = 5, and the product does come out as (1001)\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}.

Five habits that make the method stick

  1. Write every step. Skipping lines is where sign errors hide.
  2. Keep an error log. Note each mistake and its cause (misread the question, algebra slip, wrong method). Patterns appear quickly.
  3. Practise by retrieval. Close the book and try the problem cold before looking at the worked solution. Our guide to active recall explains why this beats rereading solutions.
  4. Space your practice. Revisit each topic over several days instead of in one long session.
  5. Explain it. If you can teach a step to a friend, you understand it.

Using AI as a maths tutor, carefully

An AI tutor can explain a step you did not follow, offer a second method, or generate similar problems to practise. It can also make arithmetic or logic mistakes and sound completely confident while doing so. Treat it like a classmate who is usually right, not a calculator.

A safe way to use it is to attempt the problem yourself first, then ask for a step-by-step explanation of the part you got stuck on, then verify the result with a substitution check. Never submit work you do not understand. Many universities have specific rules about AI use in assessed work, so check yours.

Sources

  • Pólya, G. (1945). How to Solve It: A New Aspect of Mathematical Method. Princeton University Press.
  • Roediger, H. L., & Karpicke, J. D. (2006). Test-enhanced learning: Taking memory tests improves long-term retention. Psychological Science, 17(3), 249–255. doi.org/10.1111/j.1467-9280.2006.01693.x
  • All worked examples above were verified with a computer algebra system before publication.
ShareWhatsAppXLinkedInFacebook

Keep reading