Learn English – “solved in two different ways” or “solved by two different ways”

passive-voicephrase-usageword-usage

I have two different methods to solve a problem, and I intend to specify this in a passive sentence by using the word verb.

This problem can be solved in two different ways.

This problem can be solved by two different ways.

Which one is more correct?

I think the second one is more conventional.

Best Answer

Using "Solved by" expects a description of the method or the person who can solve it.

This problem can be solved by using Pythagoras’ theorem.

This problem can be solved by a 5-year-old

If you are not describing the method "solved in" is better

This problem can be solved in 2 ways

This problem can be solved in 5 minutes