इस पर अटक गए? इसे AI से हल करें
Calculus · real student question

Find the indefinite integral of (1 + tan^2 y) with respect to y.

Question

Find the indefinite integral

∫(1+tan⁡2y)dy.\int\left(1+\tan^{2}y\right)dy.

Step-by-step solution

  1. Do not integrate term by term. Splitting into ∫1 dy+∫tan⁡2y dy\int 1\,dy+\int\tan^{2}y\,dy is legal but pointless: the second piece has no elementary antiderivative you can write down without first using the very identity that solves the whole problem.

  2. Apply the Pythagorean identity. Starting from sin⁡2θ+cos⁡2θ=1\sin^2\theta+\cos^2\theta=1 and dividing every term by cos⁡2θ\cos^2\theta gives

    tan⁡2y+1=sec⁡2y.\tan^{2}y+1=\sec^{2}y.

    So the integrand is simply sec⁡2y\sec^{2}y.

  3. Recognise the derivative you already know. Since

    ddytan⁡y=sec⁡2y,\frac{d}{dy}\tan y=\sec^{2}y,

    the integral is immediate:

    ∫sec⁡2y dy=tan⁡y+C.\int\sec^{2}y\,dy=\tan y+C.

  4. State the result with its constant of integration.

    ∫(1+tan⁡2y)dy=tan⁡y+C.\int\left(1+\tan^{2}y\right)dy=\tan y+C.

  5. Verify by differentiating back. Using the quotient rule on tan⁡y=sin⁡ycos⁡y\tan y=\dfrac{\sin y}{\cos y}:

    ddytan⁡y=cos⁡2y+sin⁡2ycos⁡2y=1cos⁡2y=sec⁡2y=1+tan⁡2y,\frac{d}{dy}\tan y=\frac{\cos^{2}y+\sin^{2}y}{\cos^{2}y}=\frac{1}{\cos^{2}y}=\sec^{2}y=1+\tan^{2}y,

    which is the original integrand exactly. Note the antiderivative is valid on each interval where cos⁡y≠0\cos y\neq 0, that is between consecutive odd multiples of π2\tfrac{\pi}{2}.

Answer

tan⁡y+C\tan y+C

Need to solve a different problem like this? Open the solver →