Tutorials › Calculus I › Antiderivatives Of Sine

Antiderivatives and Basic Integrals · Tutorial 1068 of 1495

Antiderivatives Of Sine

Use the derivative of cosine to find and check antiderivatives of sine, including constant multiples and the essential negative sign.

Beginner 9 min read

What You'll Learn

  • Define an antiderivative of sine on an interval.
  • Derive why the antiderivative of sine is negative cosine.
  • Find antiderivatives of constant multiples of sine.
  • Explain the role of the arbitrary constant.
  • Check an antiderivative by differentiating it.
  • Recognize and correct the common sign error.

Introduction

An antiderivative reverses differentiation: if \(F'(x)=f(x)\), then \(F\) is an antiderivative of \(f\). For sine, the key fact is that the derivative of cosine is negative sine. That negative sign determines the answer.

In this tutorial, we use that derivative rule to find antiderivatives of \(\sin x\) and of constant multiples of \(\sin x\). The quickest way to check each answer is to differentiate it and compare the result with the function we started with.

Definition and the Basic Formula

Definition: Let \(I\) be an interval and let \(f\) be a function defined on \(I\). A function \(F\) is an antiderivative of \(f\) on \(I\) if \(F\) is differentiable on \(I\) and \(F'(x)=f(x)\) for every \(x\in I\).

We use radians for angles, as is standard in calculus. The derivative rule needed here is \(\frac{d}{dx}\cos x=-\sin x\). Therefore, applying the constant multiple rule for differentiation gives

$$ \frac{d}{dx}\bigl(-\cos x\bigr) = -\frac{d}{dx}(\cos x) = -(-\sin x) = \sin x. $$

Thus \(-\cos x\) is an antiderivative of \(\sin x\). Also, adding a constant does not change a derivative, because the derivative of a constant is zero. The whole family of antiderivatives is therefore

$$ \int \sin x\,dx=-\cos x+C, \qquad C\in\mathbb{R}. $$

The indefinite integral notation on the left represents a family of antiderivatives, not a single function. Different choices of \(C\) give functions that differ only by a constant, and each has derivative \(\sin x\).

Why the Negative Sign Is Required

The sign is not a convention to memorize without explanation. It follows directly from the derivative of cosine. Differentiating \(\cos x\) produces \(-\sin x\), so \(\cos x\) itself has the wrong derivative for an antiderivative of positive sine. Negating cosine reverses that sign.

$$ \frac{d}{dx}(\cos x)=-\sin x \qquad\text{but}\qquad \frac{d}{dx}(-\cos x)=\sin x. $$

This check is also a useful way to remember the formula: differentiate the proposed answer and see whether it returns the original integrand. The required negative sign is visible in that verification.

Key formula: On any interval of real numbers, the antiderivatives of \(\sin x\) are exactly the functions \(-\cos x+C\), where \(C\) is a real constant.

Worked Examples

Worked Example: Find an Antiderivative of \(\sin x\)

Find the general antiderivative of \(f(x)=\sin x\).

From the derivative rule for cosine, \(\frac{d}{dx}(\cos x)=-\sin x\). Hence

$$ \frac{d}{dx}(-\cos x) = -\frac{d}{dx}(\cos x) = -(-\sin x) = \sin x. $$

All antiderivatives differ by a constant, so the general answer is

$$ F(x)=-\cos x+C. $$

Check: Differentiating the answer gives \(F'(x)=\sin x\), as required.

Worked Example: Integrate a Negative Constant Multiple

Find the general antiderivative of \(f(x)=-4\sin x\).

By the constant multiple rule, a constant factor can be taken outside the integral. Applying the sine formula gives

$$ \int -4\sin x\,dx = -4\int\sin x\,dx = -4(-\cos x)+C = 4\cos x+C. $$

Check: Differentiate the proposed answer term by term:

$$ \frac{d}{dx}(4\cos x+C) = 4(-\sin x)+0 = -4\sin x. $$

This matches the original function. Notice that the negative coefficient in the integrand combines with the negative sign in the sine antiderivative, producing positive \(4\cos x\).

Worked Example: Use a Value to Determine the Constant

Suppose \(F'(x)=\frac{3}{2}\sin x\) and \(F\left(\frac{\pi}{3}\right)=2\). Find \(F(x)\).

First find the general antiderivative:

$$ F(x) = \frac{3}{2}\int\sin x\,dx = -\frac{3}{2}\cos x+C. $$

Substitute \(x=\frac{\pi}{3}\) and \(F\left(\frac{\pi}{3}\right)=2\). Since \(\cos\left(\frac{\pi}{3}\right)=\frac{1}{2}\),

$$ 2 = -\frac{3}{2}\cos\left(\frac{\pi}{3}\right)+C = -\frac{3}{2}\left(\frac{1}{2}\right)+C = -\frac{3}{4}+C. $$

Adding \(\frac{3}{4}\) to both sides gives \(C=\frac{11}{4}\). Thus

$$ F(x)=-\frac{3}{2}\cos x+\frac{11}{4}. $$

Check the derivative:

$$ F'(x) = -\frac{3}{2}(-\sin x)+0 = \frac{3}{2}\sin x. $$

Check the given value:

$$ F\left(\frac{\pi}{3}\right) = -\frac{3}{2}\left(\frac{1}{2}\right)+\frac{11}{4} = -\frac{3}{4}+\frac{11}{4} = \frac{8}{4} = 2. $$

Both the derivative condition and the specified function value are satisfied.

Constant Multiples of Sine

Let \(k\) be any real constant. The constant multiple rule for integration and the basic sine formula give

$$ \int k\sin x\,dx = k\int\sin x\,dx = -k\cos x+C. $$

The formula works whether \(k\) is positive, negative, or zero. When \(k=0\), it gives \(C\), which is correct because every constant function has derivative zero. When \(k\) is negative, the two negative signs—the one in the coefficient and the one in the basic antiderivative—must both be accounted for.

Rule: For every real constant \(k\), the antiderivatives of \(k\sin x\) on an interval are \(-k\cos x+C\), where \(C\in\mathbb{R}\).

To verify the rule, differentiate the proposed expression:

$$ \frac{d}{dx}\bigl(-k\cos x+C\bigr) = -k(-\sin x)+0 = k\sin x. $$

Since its derivative is the given integrand, \(-k\cos x+C\) is an antiderivative. The constant \(C\) remains arbitrary because differentiating it contributes zero.

Why These Are All the Antiderivatives

Checking that a formula differentiates to the integrand proves it is an antiderivative. To see why the formula gives every antiderivative on an interval, let \(F\) be any antiderivative of \(\sin x\). Then \(F'(x)=\sin x\). Define \(G(x)=F(x)+\cos x\). By the sum rule and the derivative of cosine,

$$ G'(x) = F'(x)+\frac{d}{dx}(\cos x) = \sin x-\sin x = 0. $$

Now take any two points \(a,b\) in the interval. The mean value theorem applies to \(G\) between those points because \(G\) is continuous on the closed interval between them and differentiable in its interior. It gives a point \(c\) between \(a\) and \(b\) such that

$$ G(b)-G(a)=G'(c)(b-a)=0. $$

Thus \(G(b)=G(a)\) for every pair of points in the interval, so \(G\) is constant there. Write that constant as \(C\). Since \(G(x)=F(x)+\cos x\), rearranging yields \(F(x)=-\cos x+C\). Therefore every antiderivative has the stated form, not merely the particular one we checked.

Common Sign Error

A frequent mistake is to omit the negative sign and write \(\int\sin x\,dx=\cos x+C\). This fails the defining test for an antiderivative:

$$ \frac{d}{dx}(\cos x+C) = -\sin x+0 = -\sin x, $$

which is the negative of the requested integrand. The correction is to negate cosine:

$$ \frac{d}{dx}(-\cos x+C) = -(-\sin x)+0 = \sin x. $$

Another way this error appears is mishandling a negative coefficient. For example, integrating \(-4\sin x\) does not give \(-4\cos x+C\), because

$$ \frac{d}{dx}(-4\cos x+C) = -4(-\sin x) = 4\sin x, $$

which has the wrong sign. The correct answer is \(4\cos x+C\), whose derivative is \(-4\sin x\).

Why the Formula Is Useful

Antiderivatives allow us to reconstruct functions from their rates of change. If a quantity changes at a rate proportional to \(\sin x\), the formula identifies a function whose derivative is that rate. The arbitrary constant records the fact that a rate alone does not determine a unique function: adding a constant changes the function's level but leaves its derivative unchanged.

When an initial or boundary value is also known, that extra condition determines the constant, as in the third example. The main procedure remains compact: use the negative cosine formula, include the coefficient, retain \(C\), and verify by differentiation.

Check Your Understanding

For each question, use differentiation to check your reasoning.

  1. What is the general antiderivative of \(\sin x\), and why must its cosine term have a negative sign?
  2. Find the general antiderivative of \(6\sin x\).
  3. Find the general antiderivative of \(-\frac{2}{5}\sin x\).
  4. Does \(\cos x+C\) have derivative \(\sin x\)? Show the derivative that determines your answer.
  5. If \(F'(x)=2\sin x\) and \(F(0)=3\), find \(F(x)\) and check both conditions.

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon