Free Mathematics Class 12 ICSE notes · practise this chapter with an AI quiz

← All study notes

How One Substitution Handles Integrals of Sine and Cosine Mixtures

Integrate reciprocals of linear combinations of sine and cosine and of their squares, integrate one sine-cosine combination divided by another, and use power substitutions for integrals such as 1 over x times x to the n plus 1.

Why do integrals mixing sine and cosine need special methods?

An integrand such as 13sin⁡x+4cos⁡x\dfrac{1}{3\sin x + 4\cos x} or 2sin⁡x+3cos⁡x3sin⁡x+4cos⁡x\dfrac{2\sin x + 3\cos x}{3\sin x + 4\cos x} does not match any simple standard form. A few reliable techniques — rewriting as a single sine, dividing by cos⁡2x\cos^2 x, or splitting the numerator — turn each one into something familiar.

This lesson covers reciprocals of sine-cosine combinations, ratios of such combinations, and power substitutions.

How do you integrate 1 over a linear combination of sine and cosine, or over a combination of their squares?

For 1asin⁡x+bcos⁡x\dfrac{1}{a\sin x + b\cos x}, write the denominator as rsin⁡(x+α)r\sin(x + \alpha) with r=a2+b2r = \sqrt{a^2 + b^2} and integrate a cosecant; for 1asin⁡2x+bcos⁡2x\dfrac{1}{a\sin^2 x + b\cos^2 x}, divide above and below by cos⁡2x\cos^2 x and substitute t=tan⁡xt = \tan x.

Worked example (linear combination).
Find ∫dx3sin⁡x+cos⁡x\int \dfrac{dx}{\sqrt{3}\sin x + \cos x}. Here r=2r = 2 and 3sin⁡x+cos⁡x=2sin⁡(x+π6)\sqrt{3}\sin x + \cos x = 2\sin\left(x + \dfrac{\pi}{6}\right), so

∫dx2sin⁡(x+π6)=12log⁡∣tan⁡(x2+π12)∣+C\int \frac{dx}{2\sin\left(x + \frac{\pi}{6}\right)} = \frac{1}{2}\log\left|\tan\left(\frac{x}{2} + \frac{\pi}{12}\right)\right| + C

using ∫cosec u du=log⁡∣tan⁡u2∣+C\int \text{cosec}\,u\,du = \log\left|\tan\dfrac{u}{2}\right| + C.

Worked example (squares). Find ∫dx4sin⁡2x+9cos⁡2x\int \dfrac{dx}{4\sin^2 x + 9\cos^2 x}. Dividing by cos⁡2x\cos^2 x gives ∫sec⁡2x dx4tan⁡2x+9\int \dfrac{\sec^2 x\,dx}{4\tan^2 x + 9}, and with t=tan⁡xt = \tan x,

∫dt4t2+9=14×23tan⁡−12t3=16tan⁡−1(2tan⁡x3)+C\int \frac{dt}{4t^2 + 9} = \frac{1}{4} \times \frac{2}{3}\tan^{-1}\frac{2t}{3} = \frac{1}{6}\tan^{-1}\left(\frac{2\tan x}{3}\right) + C

An everyday example. Two alternating currents slightly out of step add up to a single sine wave of the form rsin⁡(x+α)r\sin(x + \alpha) — the same combination used in the first example.

The substance. The substitution t=tan⁡x2t = \tan\dfrac{x}{2} always works — it turns any rational function of sine and cosine into a rational function of t, though the shortcuts above are usually quicker.

How do you integrate one linear combination of sine and cosine divided by another?

For ∫asin⁡x+bcos⁡xcsin⁡x+dcos⁡x dx\int \dfrac{a\sin x + b\cos x}{c\sin x + d\cos x}\,dx, write the numerator as A times the denominator plus B times the derivative of the denominator, find A and B by comparing coefficients, and the integral is Ax+Blog⁡∣csin⁡x+dcos⁡x∣+CAx + B\log|c\sin x + d\cos x| + C.

Worked example.
Find ∫2sin⁡x+3cos⁡x3sin⁡x+4cos⁡x dx\int \dfrac{2\sin x + 3\cos x}{3\sin x + 4\cos x}\,dx.

- The denominator is 3sin⁡x+4cos⁡x3\sin x + 4\cos x, with derivative 3cos⁡x−4sin⁡x3\cos x - 4\sin x
- Write 2sin⁡x+3cos⁡x=A(3sin⁡x+4cos⁡x)+B(3cos⁡x−4sin⁡x)2\sin x + 3\cos x = A(3\sin x + 4\cos x) + B(3\cos x - 4\sin x)
- Sine terms: 3A−4B=23A - 4B = 2; cosine terms: 4A+3B=34A + 3B = 3
- Solving gives A=1825A = \dfrac{18}{25} and B=125B = \dfrac{1}{25}

∫2sin⁡x+3cos⁡x3sin⁡x+4cos⁡x dx=1825x+125log⁡∣3sin⁡x+4cos⁡x∣+C\int \frac{2\sin x + 3\cos x}{3\sin x + 4\cos x}\,dx = \frac{18}{25}x + \frac{1}{25}\log|3\sin x + 4\cos x| + C

Worked example 2. ∫dx1+tan⁡x=∫cos⁡xsin⁡x+cos⁡x dx=x2+12log⁡∣sin⁡x+cos⁡x∣+C\int \dfrac{dx}{1 + \tan x} = \int \dfrac{\cos x}{\sin x + \cos x}\,dx = \dfrac{x}{2} + \dfrac{1}{2}\log|\sin x + \cos x| + C.

An everyday example. Splitting a shared electricity bill into a fixed share and a share based on use mirrors splitting the numerator into a multiple of the denominator and a multiple of its derivative.

The substance. Two equations always fix A and B — a numerator made of sine and cosine has exactly two coefficients to match.

How do you evaluate integrals like 1 over x times x to the n plus 1 using substitution?

For ∫dxx(xn+1)\int \dfrac{dx}{x(x^n + 1)}, multiply above and below by xn−1x^{n - 1} and substitute t=xnt = x^n, so that dt=nxn−1 dxdt = nx^{n - 1}\,dx and the integral becomes 1n∫dtt(t+1)\dfrac{1}{n}\int \dfrac{dt}{t(t + 1)}, which partial fractions finish.

The general result:


∫dxx(xn+1)=1nlog⁡∣xnxn+1∣+C\int \frac{dx}{x(x^n + 1)} = \frac{1}{n}\log\left|\frac{x^n}{x^n + 1}\right| + C

Worked example. Find ∫dxx(x4+1)\int \dfrac{dx}{x(x^4 + 1)}.

- Multiply above and below by x3x^3: ∫x3 dxx4(x4+1)\int \dfrac{x^3\,dx}{x^4(x^4 + 1)}
- Put t=x4t = x^4, so dt=4x3 dxdt = 4x^3\,dx: 14∫(1t−1t+1)dt\dfrac{1}{4}\int \left(\dfrac{1}{t} - \dfrac{1}{t + 1}\right)dt
- Result: 14log⁡∣x4x4+1∣+C\dfrac{1}{4}\log\left|\dfrac{x^4}{x^4 + 1}\right| + C

Worked example 2. For ∫dxx(x3−1)\int \dfrac{dx}{x(x^3 - 1)}, the same steps with t=x3t = x^3 give 13log⁡∣x3−1x3∣+C\dfrac{1}{3}\log\left|\dfrac{x^3 - 1}{x^3}\right| + C.

An everyday example. Grouping loose coins into stacks of ten before counting changes the unit to make the count easy, just as t=xnt = x^n changes the variable.

The substance. The trick is to create the derivative of xnx^n — multiplying by xn−1x^{n - 1} supplies exactly the factor the substitution needs.
Exam tip

What earns full marks on integrals of trigonometric combinations?

Show the values of A and B, or of r and the angle, on separate lines before integrating — they carry the method marks.

- asin⁡x+bcos⁡x=rsin⁡(x+α)a\sin x + b\cos x = r\sin(x + \alpha) with r=a2+b2r = \sqrt{a^2 + b^2}
- Squares of sine and cosine: divide by cos⁡2x\cos^2 x and put t=tan⁡xt = \tan x
- Ratio of combinations: A times the denominator plus B times its derivative
- 1x(xn+1)\dfrac{1}{x(x^n + 1)}: multiply by xn−1x^{n - 1} and put t=xnt = x^n

The trap. Writing ∫dxsin⁡x+cos⁡x\int \dfrac{dx}{\sin x + \cos x} as log⁡∣sin⁡x+cos⁡x∣\log|\sin x + \cos x|. The numerator is not the derivative of the denominator, so the log form does not apply.
Did you know

Why can two sound waves cancel each other out?

A combination asin⁡x+bcos⁡xa\sin x + b\cos x is always a single wave, rsin⁡(x+α)r\sin(x + \alpha), with a new height r and a shifted starting point. Adding two waves of the same frequency never creates a strange shape — only a larger, smaller or shifted wave.

When two equal waves are exactly half a cycle apart, r becomes zero and they cancel completely. Noise-cancelling headphones use this idea, producing a wave that is the mirror image of the incoming noise.

The same identity that simplifies these integrals explains why the sound disappears.
Exam relevance

How are integrals of trigonometric combinations tested in JEE Main?

Integrals is a recurring JEE Main chapter, and these forms often reappear inside definite integrals with symmetric limits.

What gets asked. Ratios of sine-cosine combinations such as 11+tan⁡x\dfrac{1}{1 + \tan x}, reciprocals of asin⁡x+bcos⁡xa\sin x + b\cos x, integrals with sin⁡2x\sin^2 x and cos⁡2x\cos^2 x in the denominator, and power substitutions such as 1x(xn+1)\dfrac{1}{x(x^n + 1)}.

Question types. Multiple-choice questions asking for constants in a given answer form, and numerical-value questions.

The trap that costs marks. Getting the sign of the derivative wrong while finding A and B — the derivative of cos⁡x\cos x is −sin⁡x-\sin x.
Key takeaways

What must you be able to do from this lesson?

- Reciprocal forms: rewrite asin⁡x+bcos⁡xa\sin x + b\cos x as rsin⁡(x+α)r\sin(x + \alpha); for squares, divide by cos⁡2x\cos^2 x and put t=tan⁡xt = \tan x
- Ratios of combinations: numerator equals A times the denominator plus B times its derivative, giving Ax+Blog⁡∣denominator∣Ax + B\log|\text{denominator}|
- Power substitutions: ∫dxx(xn+1)=1nlog⁡∣xnxn+1∣+C\int \dfrac{dx}{x(x^n + 1)} = \dfrac{1}{n}\log\left|\dfrac{x^n}{x^n + 1}\right| + C

Can you find ∫dx1+cot⁡x\int \dfrac{dx}{1 + \cot x}?

Ready to put this into practice?

Create a personalized quiz on this exact topic — free to start.

Create your own quiz on Integrals Involving Trigonometric CombinationsCreate a free account
← Back to all articles