How to find integral of polynomail function between two limits

I need and urgrent response thanks alot dear developers.

Firstly, welcome to the forums.

While we are primarily here to help people with their Free Code Camp progress, we are open to people on other paths, too. Some of what you are asking is pretty trivial in the Free Code Camp context, so you might find that if you’re not getting the instruction and material you need in your current studies, the FCC curriculum will really help you get started. At a modest guess I’d say investing a 4-5 hours working through the curriculum here will really pay off. You can find the curriculum at

With your current questions, we don’t have enough context to know what you already know or don’t know, so it is impossible to guide you without just telling you the answer (which we won’t do).

It is pretty typical on here for people to share a codepen / / jsfiddle example of what they have tried so that anyone helping has more of an idea of what help is actually helpful.

Please provide some example of what you’ve tried and I’m sure you’ll get more help.

Happy coding :slight_smile:


A ratio of polynomials can be reduced to a polynomial plus a sum of fractions. Each of the fractions is a ratio of polynomials where the degree of the numerator is less than the degree of the denominator. If a denominator factorises you can split the fraction into further partial fractions. If you use complex numbers the denominators can all be linear, or you could leave it as a real quadratic factor. Repeated factors cause a bit of a problem, please read your textbook.

A factor of the form Aa+bxAa+bx can be integrated immediately giving Kln(a+bx)Kln⁡(a+bx), differentiate this again to work out what KK should be.

For a factor of the form Bx+Ca+bx+cx2Bx+Ca+bx+cx2 where the denominator does not factorise, complete the square in the denominator. The integral will either be a log or an inverse tangent or a sum of the two.

i hope this will help you