The Same Integral Two Different Answers

  • Thread starter Thread starter alba_ei
  • Start date Start date
  • Tags Tags
    Integral
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 3K views
alba_ei
Messages
38
Reaction score
1
The Same Integral... Two Different Answers!

Homework Statement



[tex]\int \frac{\tan x}{\cos^5 x} \,dx[/tex]


The Attempt at a Solution



Solution 1
[tex]\int \frac{\tan x}{\cos^5 x} \,dx = \int \frac{\sin x}{\cos^6 x}[/tex]

[tex]u = \cos x \,\,\,\, du = -\sin x \,dx[/tex]


[tex]= -\int u^-^5 \,du = \frac{1}{4 u^4} + C[/tex]

Answer 1: [tex]\frac{1}{4 \cos^4 x} + C[/tex]

Solution 2

[tex]\int \frac{\tan x}{\cos^5 x} \,dx = \int \tan x \sec^4 x \,dx = \int \tan x (1 + \tan^2 x) \sec^2 x \,dx[/tex]

[tex]u = \tan x \,\,\,\, du = \sec^2 x \,dx[/tex]

[tex]= \int \(u + u^3) \,du = \frac{1}{2} u^2 + \frac{1}{4} u^4 + C[/tex]

Answer 2: [tex]\frac{1}{2} \tan^2 x + \frac{1}{4} \tan^4^ x + C[/tex]

which one is right and why?
 
Last edited:
Physics news on Phys.org
In the first step of your second solution, you should have [tex]\sec^5{x}[/tex], not [tex]\sec^4{x}[/tex]. You're also off by a power in your first solution. Close, though.

P.S.: Check your answers by taking derivatives and see if you arrive back at the integrand.
 
In the first attempt you should have [tex]-\int u^-^6 \,du[/tex]

And similarly in the second attempt you have replaced [tex]\frac{1}{cos^5(x)}[/tex] with sec to the power 4 which is not correct.
 
I will tell you that neither of the answers are right. You find where the erroneous step is.(It's quite simple, really)
[EDIT]Hmm...never mind.

A further simplification of the second method is to write down the integral as
[tex]\int \frac{\tan x}{\cos^5 x} \,dx = \int \tan x \sec^5 x \,dx = \int \tan x \sec x \sec^4 x \,dx[/tex]
 
Whenever you seem to get two solutions, differentiate both of them. If they both arrive back at the integrand, then try and see why the 2 solutions have a difference of a constant, that's what the +C's there for = ]