Integration. Where is the mistake? (if there is)

3 replies · 2K views · last reply
Sarah00
Messages
64
Reaction score
1

Homework Statement


Printed text reading "Integrate:" above the integral of (tan^3 x + tan x) dx.


Homework Equations

The Attempt at a Solution


My Solution:
Step-by-step integration of tan^3 x + tan x: integral of (tan x)(1 + tan^2 x) dx, then (tan x)(sec^2 x), then (sec x tan x)(sec x), ending at sec^2 x / 2 + C.


My Friend Solution:
Handwritten integration working: integral of tan^3 x dx plus integral of tan x dx, rewritten as tan x tan^2 x and tan x (sec^2 x - 1), leading to tan x sec^2 x minus tan x plus tan x, and finally tan^2 x over 2 plus C.
Are we both right?
If not, who is right? and what is the mistake in other's solution!

Thanks![/B]
 
You are correct. The problem with your friend's solution is the integration itself, what is the integral of tan(x)sec2(x)?
 
Both answers are correct.
 
Sarah00 said:

Homework Statement


View attachment 195086

Homework Equations

The Attempt at a Solution


My Solution:
View attachment 195087

My Friend Solution:
View attachment 195088Are we both right?
If not, who is right? and what is the mistake in other's solution!

Thanks![/B]
Your solution is correct, and your friend's solution is almost correct. Your friend wrote ##\frac{\tan x^2} 2 + C##, but possibly meant to write ##\frac{\tan^2(x)} 2 + C##. Although this is different from what you found, the corrected answer from your friend differs only by a constant from your answer. Note that ##\sec^2(x) = \tan^2(x) + 1##, so ##\frac{\sec^2(x)}{2} = \frac{\tan^2(x)}{2} + \frac 1 2##
 
  • Like
Likes   Reactions: FreezingFire