Is there any difference between these two sentences?

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

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’.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.