integral of-sin(x)sec(x)tan(x)

⚠ -sin(x)sec(x)tan(x) is read as -sin(x)*sec(x)*tan(x): use (...)*(...) for multiplication, use (...)^(...) for a power
The secant is read as sec(u) = 1cos(u), on each interval where cos(u) ≠ 0
1) Let's evaluate the domain of -sin(x)·1cos(x)·tan(x)
For the expression 1cos(x) to be defined, we must have: cos(x) ≠ 0
From cos(θ) ≠ 0, we deduce: θ ≠ π2 + kπ, k ∈ ℤ
Solution found: x ≠ π2 + kπ
Domain of definition:   { x ≠ π2 + kπ, k ∈ ℤ }
2) Before integrating, let's calculate: -sin(x)·1cos(x)·tan(x)
ⓘ Multiplying a fraction by a term multiplies its numerator: -sin(x)·1cos(x)·tan(x) = -sin(x)·1·tan(x)cos(x) = -sin(x)·tan(x)cos(x)
-sin(x)·tan(x)cos(x)
ⓘ When cos(x) ≠ 0, sin(x)cos(x) = tan(x): -sin(x)·tan(x)cos(x) = -tan(x)·tan(x)
-tan(x)·tan(x)
ⓘ Multiplying powers with the same base adds the exponents: -tan(x)·tan(x) = -tan(x)2
-tan(x)2
3) Let's integrate: ∫(-tan(x)2)dx
We reduce the square using the identity tan(x)2 = 1cos(x)2 -1
ⓘ ∫(-tan(x)2)dx = -∫(1cos(x)2 -1)dx
-∫(1cos(x)2 -1)dx
For the math expression: 1cos(x)2, knowing that (tan(a))' = a'cos(a)2, let's try differentiating tan(x)
4) Let's perform the differentiation: ddx(tan(x))
ⓘ Differentiating tan(x) gives 1cos(x)2: ddx(tan(x)) = 1cos(x)2
1cos(x)2
You observe that the computed derivative and the original math expression are the same, except for a coefficient. So the integral is:
ⓘ -∫(1cos(x)2 -1)dx = -(tan(x) + ∫(-1)dx)
-(tan(x) + ∫(-1)dx)
ⓘ With a minus sign before parentheses, change the sign of every term inside: -(tan(x) + ∫(-1)dx) = -tan(x) -∫(-1)dx
-tan(x) -∫(-1)dx
ⓘ Differentiating -(-1·x) gives 1, so -(-1·x) is an antiderivative of 1: -∫(-1)dx = -(-1·x)
-tan(x) -(-1·x)
ⓘ Multiplication by -1 gives the opposite value: -(-1·x) = x
-tan(x) + x
▶Indefinite integrals are defined up to an additive constant C, so this yields: x -tan(x) + C

The 100% free maths solver with steps

100% free

  • Access to every feature and every step
  • Unlimited queries
  • No signup required

Simple

  • Queries in natural language
  • Detailed explanations for every step
  • A simple interface for desktop and mobile

Reliable and lean

  • Fast calculations
  • Reproducible results
  • No AI, low energy use

For everyone

  • Calculation, differentiation, integration, solving, factoring, graphing...
  • Pupils, students, individuals, teachers…
  • Through high school and beyond