Here one variable x so....
CODE:
>> syms x
>> int(sin(2*x))% here int is the command
sin(x)^2 - 1/2
Added:
---------------------------
What???????
int[sin2(x)] dx
= (1/2)X - (1/4)sin2X + C
==================
That " answer " above ' added ' is left to show what not to do when integrating this function. This is a standard integration formula of this trig function in the bold.
cos(x)-cos(x)sin2(x)=[cos(x)][1-sin2(x)]cos(x)-cos(x)sin2(x)=[cos(x)][cos2(x)]cos(x)-cos(x)sin2(x)=cos3(x)
∫ cos(x)/sin2(x) dx = -cosec(x) + C C is the constant of integration.
∫ 1/sin2(x) dx = -cot(x) + CC is the constant of integration.
-cos2(x)1 = sin2(x) +cos2(x)1 - cos2(x) = sin2(x)-cos2(x) = sin2(x) - 1
3
y = sin2(x) y' = 2sin(x)cos(x) y'' = 2 [ cos(x)cos(x) + sin(x)(-sin(x)) ] = 2 [ cos2(x) - sin2(x) ] = 2 [ 1 - sin2(x) - sin2(x) ] = 2 [ 1 - 2sin2(x) ]
Since you did not specify any limits of integration, I assume you are looking for the indefinite integral of this expression: tan2(x)cos5(x) with respect to x (dx). Using the following identity: tan(x) = sin(x) / cos(x) The original expression can be rewritten as: (sin2(x) / cos2(x))cos5(x) Which further simplifies to: sin2(x)cos3(x) Which can be expanded to: sin2(x)cos2(x)cos(x) Using the identity: sin2(x) + cos2(x) = 1 which implies: cos2(x) = 1 - sin2(x) which makes the expression from above able to be simplified into: sin2(x)(1 - sin2(x))cos(x) From here, you can use u-substitution by using the substitution: u = sin(x) du = cos(x) dx => dx = du/cos(x) So after u substitution: int(sin2(x)(1 - sin2(x))cos(x)) dx becomes: int(u2(1-u2)) du int(u2-u4) du From here, elementary antiderivatives can be used: anti(u2) = (1/3)(u3) anti(u4) = (1/5)(u5) which yields a final indefinite integral in u of: (1/3)u3-(1/5)u5 + C where C is the constant of integration (since this is an indefinite integral). Back-substituting with the u-substitution from before (u=sin(x)), the final indefinite integral in x is: (1/3)sin3(x) - (1/5)sin5(x) + C
2
Sin2(x)/Cos2(x) is an expression, not an equation. Because it is an expression, it cannot be solved. It can be transformed to other, equivalent expressions, but that is as far as you can go. So, Sin2(x)/Cos2(x) = [Sin(x)/Cos(x)]2 = Tan2x or [1/Cos2(x) - 1] or [Sec2(x) - 1]
1
cos2 x + sin2 x = 1 cos2 x = 1 - sin2 x
One can use integration by parts to solve this. The answer is (x-1)e^x.