Is there any difference between these two sentences?

  • We use algorithm A to solve the problem.
  • We use algorithm A for solving the problem.

1 Answer 1


No, there is no a semantic difference between the two sentences. They both have the same meaning.

First sentence uses an infinitive construction: ‘to solve’, while the second contains the preposition ‘for’, usually followed by the noun, that is: ‘solving’.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .