# Integral help

#### Giuseppe

I was wondering what the best way to do this integral was:

Integral of 1+sin(x) all over cos(x)^2

Is subsitution the best way?

#### hypermorphism

The easiest way is to write the fraction as the sum of fractions ((a+b)/c = a/c + b/c)) and integrate the first and second terms of the sum separately. One is a basic antiderivative and the other is a simple substitution.

#### TD

Homework Helper
So what hypermorphism means is that you do:

$$\int {\frac{{1 + \sin x}}{{\cos ^2 x}}} dx = \int {\frac{1}{{\cos ^2 x}}} dx + \int {\frac{{\sin x}}{{\cos ^2 x}}} dx$$

As he said, the first one is a standard antiderivative, for the second one try $y = \cos x$

### Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving