Tutorials › Calculus I › Antiderivatives Of Cosine

Antiderivatives and Basic Integrals · Tutorial 1069 of 1495

Antiderivatives Of Cosine

Use the derivative of sine to find and check antiderivatives of cosine and its constant multiples.

Beginner 9 min read

What You'll Learn

  • State the definition of an antiderivative and the meaning of indefinite integral notation
  • Use the derivative of sine to find an antiderivative of cosine
  • Apply the constant-multiple rule to cosine, including negative coefficients
  • Explain why the family of antiderivatives includes an arbitrary constant
  • Verify antiderivatives by differentiating them
  • Recognize and correct a common sign error

Introduction

Integration often reverses differentiation. For cosine, the key fact is the derivative rule for sine: when angles are measured in radians, the derivative of \(\sin x\) is \(\cos x\). Therefore sine provides a direct antiderivative of cosine.

The same idea works when cosine is multiplied by a constant. The coefficient remains in the antiderivative, and an arbitrary constant is added because differentiating any constant gives zero. These statements can be checked directly by differentiation.

Antiderivatives and Indefinite Integral Notation

Definition: A function \(F\) is an antiderivative of a function \(f\) on an interval if \(F'(x)=f(x)\) at every point \(x\) in that interval. The notation \(\int f(x)\,dx\) denotes the family of antiderivatives of \(f\), rather than one particular function.

For example, to say that \(\sin x\) is an antiderivative of \(\cos x\) means precisely that differentiating \(\sin x\) gives \(\cos x\). The derivative rule for sine states that this holds for every real \(x\), with the trigonometric functions understood to use radians.

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

It follows immediately that \(\sin x+C\) is also an antiderivative of \(\cos x\) for any constant \(C\), because the derivative of \(C\) is zero. In fact, on an interval, these are all the antiderivatives of cosine.

Result: On any interval of real numbers, the antiderivatives of \(\cos x\) are exactly the functions \(\sin x+C\), where \(C\) is a constant. Thus \(\int \cos x\,dx=\sin x+C\).

Why the Constant Multiple Rule Works

Suppose \(a\) is a constant. Differentiation takes a constant factor outside the derivative, so the derivative of \(a\sin x\) is \(a\cos x\). Adding any constant does not change that derivative. This gives an antiderivative for every constant multiple of cosine.

$$ \frac{d}{dx}\bigl(a\sin x+C\bigr) = a\frac{d}{dx}\sin x+\frac{d}{dx}C = a\cos x. $$
Theorem: For any real constant \(a\), the antiderivatives of \(a\cos x\) on an interval are exactly \(a\sin x+C\). Equivalently, \(\int a\cos x\,dx=a\sin x+C\).

This statement includes \(a=0\). In that case, the function being integrated is zero, and \(0\sin x+C=C\) is constant, as required.

Why All Antiderivatives Differ by a Constant

The derivative calculation verifies that \(a\sin x+C\) is an antiderivative. To see why there are no other antiderivatives on an interval, compare any two antiderivatives of the same function.

1
Compare two antiderivatives.
Let \(F\) and \(G\) both be antiderivatives of \(a\cos x\) on an interval \(I\). Then \(F'(x)=a\cos x\) and \(G'(x)=a\cos x\) for every \(x\) in \(I\).
2
Subtract their derivatives.
Set \(H=F-G\). Then \(H'(x)=F'(x)-G'(x)=a\cos x-a\cos x=0\) throughout \(I\).
3
Use the Mean Value Theorem.
For any two points \(u<v\) in \(I\), that theorem gives a point \(c\) between them such that \(H(v)-H(u)=H'(c)(v-u)=0\). Therefore \(H(v)=H(u)\).

Since any two points in the interval have the same value of \(H\), the function \(H\) is constant on the interval. Thus \(F-G=C\) for some constant \(C\). If one antiderivative is \(a\sin x\), every other one must have the form \(a\sin x+C\). This proves the stated family of antiderivatives.

Worked Examples

Worked Example: Find an Antiderivative of Cosine

Find the general antiderivative of \(\cos x\), then verify it.

The derivative of \(\sin x\) is \(\cos x\), so include an arbitrary constant \(C\):

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

Differentiate the proposed answer term by term:

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

The derivative matches the integrand, so \(\sin x+C\) is the general antiderivative.

Worked Example: Integrate a Negative Constant Multiple

Find the general antiderivative of \(-4\cos x\), and check the result.

Keep the constant multiplier \(-4\) in the antiderivative of cosine:

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

Differentiate to verify, showing how the sign and coefficient carry through:

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

This is exactly the given function, so the answer is correct. The negative coefficient does not require an extra sign change: it remains the coefficient of \(\sin x\).

Worked Example: Use a Value to Select One Antiderivative

Find the antiderivative \(F\) of \(\frac{3}{2}\cos x\) that satisfies \(F(\frac{\pi}{6})=1\).

First write the family of antiderivatives:

$$ F(x)=\frac{3}{2}\sin x+C. $$

At \(x=\frac{\pi}{6}\), the sine value is \(\sin(\frac{\pi}{6})=\frac{1}{2}\). Substitute the given function value and solve for \(C\):

$$ 1=F\left(\frac{\pi}{6}\right) =\frac{3}{2}\sin\left(\frac{\pi}{6}\right)+C =\frac{3}{2}\cdot\frac{1}{2}+C =\frac{3}{4}+C, $$ $$ C=1-\frac{3}{4}=\frac{1}{4}. $$

Thus the particular antiderivative is \(F(x)=\frac{3}{2}\sin x+\frac{1}{4}\). Check both requirements. Its derivative is

$$ F'(x)=\frac{3}{2}\cos x+0=\frac{3}{2}\cos x, $$

and its value at the specified input is

$$ F\left(\frac{\pi}{6}\right) = \frac{3}{2}\cdot\frac{1}{2}+\frac{1}{4} = \frac{3}{4}+\frac{1}{4} = 1. $$

Both the derivative condition and the prescribed value are satisfied.

A Common Sign Mistake

A frequent error is to attach a minus sign to the antiderivative of cosine, perhaps by confusing it with a different trigonometric derivative. The incorrect calculation is

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

Check it by differentiation rather than relying on memory:

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

which is not \(\cos x\). The proposed function is therefore an antiderivative of \(-\cos x\), not of \(\cos x\). The correction is to use the derivative rule \(\frac{d}{dx}\sin x=\cos x\): the antiderivative is \(\sin x+C\).

A second small but important issue is omitting \(C\) when the question asks for the general antiderivative. The expression \(\sin x\) is one antiderivative, but it does not describe the entire family. Since \(\frac{d}{dx}(\sin x+7)=\cos x\), for instance, other constants give other valid antiderivatives.

A Reliable Verification Routine

For an antiderivative involving a constant multiple of cosine, a short check can catch errors before they become embedded in a longer calculation.

  1. Identify the coefficient multiplying \(\cos x\), including its sign.
  2. Replace \(\cos x\) with \(\sin x\), retaining that same coefficient.
  3. Add \(C\) when writing the general antiderivative.
  4. Differentiate the proposed answer and compare the result with the original integrand.

This routine depends on the derivative rule for sine and the rule for differentiating a constant multiple. The final comparison is decisive: if the derivative does not reproduce the integrand exactly, the proposed antiderivative is not correct.

Why This Result Matters

Cosine is one of the basic functions whose antiderivative can be recognized directly from a derivative rule. That makes it a useful building block: expressions that are constant multiples of cosine can be integrated without changing the form of the trigonometric function, apart from replacing cosine by sine.

The central habit is to connect integration to differentiation. Rather than memorizing a sign in isolation, test the proposed answer by differentiating it. For cosine, this check shows why the antiderivative has a positive sine, why a coefficient stays in place, and why an arbitrary constant may be added.

Check Your Understanding

For each question, use differentiation to check any proposed antiderivative.

  1. What is the general antiderivative of \(\cos x\)?
  2. Find and verify the general antiderivative of \(6\cos x\).
  3. Differentiate \(-2\sin x+C\). Which function is it an antiderivative of?
  4. Why does the general antiderivative include an arbitrary constant?
  5. Find the antiderivative of \(-\frac{1}{3}\cos x\) that has value \(0\) at \(x=0\), and verify 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