introduction mathematics can be a complex subject, but it is also one of the most…