Evaluate the integral \int \frac{x}{x tan(x) + 1} dx using integration by substitution, hence evaluate \int \frac{x}{x cot(x) - 1} dx.

(STEP I 2017, Q1i)For the first part, the hint u = x sin(x) + cos(x) is given. It can be seen that this is the denominator once the fraction is multiplied by cos(x) / cos(x). The answer is ln(x sin(x) + cos(x)) + c.For the second part, there is no hint given, but we can see it must be similar to the previous part. Multiplying the fraction by sin(x) / sin(x) makes the solution clear, to use another substitution, this time u = x cos(x) - sin(x). This will again give a similar answer of - ln(x cos(x) - sin(x)) + c.

SV
Answered by Shreyas V. STEP tutor

1053 Views

See similar STEP University tutors

Related STEP University answers

All answers ▸

What is the largest positive integer that always divides n^5-n^3 for n a natural number.


Prove that any number of the form pq, where p and q are prime numbers greater than 2, can be written as the difference of two squares in exactly two distinct ways.


Show that substituting y = xv, where v is a function of x, in the differential equation "xy(dy/dx) + y^2 − 2x^2 = 0" (with x is not equal to 0) leads to the differential equation "xv(dv/dx) + 2v^2 − 2 = 0"


By use of calculus, show that x − ln(1 + x) is positive for all positive x.


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning