Q. \[ \int \cos^2(x)\,dx \]

Answer

Use the identity \( \cos^2(x) = \frac{1+\cos(2x)}{2} \).

\[
\int \cos^2(x)\,dx=\int \frac{1+\cos(2x)}{2}\,dx
=\frac{1}{2}\int 1\,dx+\frac{1}{2}\int \cos(2x)\,dx
\]

\[
=\frac{x}{2}+\frac{1}{2}\cdot \frac{\sin(2x)}{2}+C
=\frac{x}{2}+\frac{\sin(2x)}{4}+C
\]

Final result: \( \frac{x}{2}+\frac{\sin(2x)}{4}+C \).

Detailed Explanation

We want to compute the indefinite integral:

\[
\int \cos^2(x)\,dx
\]

Step 1: Use a power-reduction identity.

To integrate \(\cos^2(x)\), it helps to rewrite it as a combination of \(\cos(2x)\) terms. A standard identity is:

\[
\cos^2(x)=\frac{1+\cos(2x)}{2}
\]

Step 2: Substitute the identity into the integral.

Replace \(\cos^2(x)\) with \(\frac{1+\cos(2x)}{2}\):

\[
\int \cos^2(x)\,dx=\int \frac{1+\cos(2x)}{2}\,dx
\]

Step 3: Pull out the constant factor.

Factor out \(\frac{1}{2}\):

\[
\int \frac{1+\cos(2x)}{2}\,dx=\frac{1}{2}\int \left(1+\cos(2x)\right)\,dx
\]

Step 4: Split the integral into two simpler integrals.

Use linearity of integrals:

\[
\frac{1}{2}\int \left(1+\cos(2x)\right)\,dx=\frac{1}{2}\left(\int 1\,dx+\int \cos(2x)\,dx\right)
\]

Step 5: Integrate each part.

First part:

\[
\int 1\,dx=x
\]

Second part: integrate \(\cos(2x)\). Let’s use the fact that:

\[
\int \cos(kx)\,dx=\frac{1}{k}\sin(kx)+C
\]

Here \(k=2\), so:

\[
\int \cos(2x)\,dx=\frac{1}{2}\sin(2x)
\]

Step 6: Combine everything and simplify.

Substitute the results back:

\[
\frac{1}{2}\left(\int 1\,dx+\int \cos(2x)\,dx\right)
=\frac{1}{2}\left(x+\frac{1}{2}\sin(2x)\right)+C
\]

Distribute \(\frac{1}{2}\):

\[
\frac{1}{2}\left(x+\frac{1}{2}\sin(2x)\right)
=\frac{x}{2}+\frac{1}{4}\sin(2x)
\]

So the final answer is:

\[
\int \cos^2(x)\,dx=\frac{x}{2}+\frac{1}{4}\sin(2x)+C
\]

See full solution
image
Need help with integrals? Try our AI homework tools!
AI Homework Helper

Calculus FAQ

How do I integrate \( \cos^2(x) \) using a power-reduction identity?

Use \( \cos^2(x)=\frac{1+\cos(2x)}{2} \). Then \[ \int \cos^2(x)\,dx=\frac{1}{2}\int 1\,dx+\frac{1}{2}\int \cos(2x)\,dx=\frac{x}{2}+\frac{\sin(2x)}{4}+C. \]

What is a quick way using \( \sin(2x) \) form?

Since \( \sin(2x)=2\sin(x)\cos(x) \), from the identity above you get \[ \int \cos^2(x)\,dx=\frac{x}{2}+\frac{\sin(2x)}{4}+C. \]

Can I integrate \( \cos^2(x) \) by rewriting as \( 1-\sin^2(x) \)?

Use \( \cos^2(x)=1-\sin^2(x) \). Then \[ \int \cos^2(x)\,dx=\int 1\,dx-\int \sin^2(x)\,dx. \] With \( \int \sin^2(x)\,dx=\frac{x}{2}-\frac{\sin(2x)}{4}+C \), the result is \( \frac{x}{2}+\frac{\sin(2x)}{4}+C \).

What if the upper limit is used: compute \( \int_{0}^{\pi/2} \cos^2(x)\,dx \)?

Using \[ \int \cos^2(x)\,dx=\frac{x}{2}+\frac{\sin(2x)}{4}+C, \] evaluate: \[ \frac{\pi/2}{2}+\frac{\sin(\pi)}{4}-\left(0+\frac{\sin(0)}{4}\right)=\frac{\pi}{4}. \]

How do I check my answer by differentiating?

Differentiate \( \frac{x}{2}+\frac{\sin(2x)}{4} \): \[ \frac{d}{dx}\left(\frac{x}{2}\right)=\frac{1}{2},\quad \frac{d}{dx}\left(\frac{\sin(2x)}{4}\right)=\frac{1}{4}\cdot 2\cos(2x)=\frac{\cos(2x)}{2}. \] Sum gives \( \frac{1+\cos(2x)}{2}=\cos^2(x). \)

What is the general method for \( \int \cos^n(x)\,dx \) when \( n \) is even?

For even powers, use identities like power-reduction for \( \cos^2(x) \). Often you rewrite \( \cos^n(x) \) into sums of cosines of multiples of \( x \) (via half-angle formulas) and integrate term-by-term.
Solve ∫cos²(x) with a tool.
Ask any AI to check steps.
image
298,376+ active customers
Math, Geometry, Trigonometry, etc.
top
Upgrade to Edubrain Premium
Unlimited help across all subjects
$16
$3.99
/week
Core benefits:
  • ok Unlimited AI homework help
  • ok A+ quality answers
  • ok Faster responses, no limits
Tools:
  • ok Notes generator
  • ok Diagram generator
  • ok AI detector and humanizer
Extras:
  • ok Ad-free experience
  • ok Share responses with others
  • ok Advanced reasoning
expert
Expert-level help at discounted prices
Cancel anytime
Star
4.6Trusted by 14,623 students
🚀 Upgrade Plan
You’ve reached the free limit of 5 slides.
To generate a full presentation, please subscribe.
Unlock with subscription:
  • ok Unlimited slide generation for presentations
  • ok AI-designed, well-structured slide content
  • ok Faster workflow for bigger decks
-
Plus, get unlimited access to:
  • ok Diagram Generator, Flashcard Maker, Notes Generator, Research Assistant, Answer Generator, AI Homework Helper & AI Detector
  • ok Discounted designer expert help
Star
4.6Trusted by 14,623 students