Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Number System and Arithmetic
  • Algebra
  • Set Theory
  • Probability
  • Statistics
  • Geometry
  • Calculus
  • Logarithms
  • Mensuration
  • Matrices
  • Trigonometry
  • Mathematics
Open In App
Next Article:
Integral of Cos x
Next article icon

Integral of Cos x

Last Updated : 26 Jul, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report

Integral of Cos x is equal to Sin x + C. Integral of a function is the process of finding the area under the curve. Integration of Cos x gives the area of the region covered by the cosine trigonometric function. The integral also called the Antiderivative of a function, exists when the function is differentiable. Integration of Cos x is possible as the cosine function is also differentiable in its domain.

In this article, we will learn what is Integral of cos x, the formula of the Integral of cos x, and how to integrate cos x.

Integral-of-Cos x

Table of Content

  • What is Integral of Cos x?
  • Integral of Cos x Formula
  • Integral of Cos x Formula Proof
  • Definite Integral of cos x
  • Integral of Cos x Graphical Significance
  • Integral of Cos x Solved Examples
  • Integral of Cos x Practice Problems

What is Integral of Cos x?

Integral of cos x is sin x + C where C is constant of integration. Integration of Cosine exists as cosine is a differentiable function. The Differentiation and Integration are reverse processes in calculus. When we know the derivate of a function, we can derive the function with the help of integration but with a constant as the constants are eliminated while finding out the derivate because derivative of a constant is 0. So we add a constant 'c' whenever we integrate. One of the applications of Integration is it is used to find area under the curve.

Integral-of-Cos-x

Integral of cos x gives information about the area under the curve of cos x and its definite integral gives area under the graph of cos x within specified bounds.

Integral of Cos x Formula

The integral of Cos x is sin x. Hence, the formula of integral of cos x is given as:

Since, d(sin x)/dx = cos x

∫cos x dx = sin x + c

Integral of Cos x Formula Proof

The Integral of Cos x Formula can be derived using following two ways:

  • By Fundamental Theorem of Calculus
  • By Trigonometric Substitution

Integral of Cos x by Fundamental Theorem of Calculus

The proof of integration of cos x using Fundamental Theorem of Calculus

Let us assume

y = cos x

dy/dx = -sin x

We know that : sin2x + cos2x = 1

sin x = √(1-cos2x)

dy/dx = - √(1-cos2x)

dx = dy/-√(1-cos2x)

[ cos x = y]

dx = dy/ -√(1 - y2 )

∫cos x dx = -y.dy / √(1 - y2 )

Let us assume 1 - y2 = t

-2ydy = dt

Substituting it in integral of cos x

∫cos x dx = dt / 2√t

∫cos x dx = √t

∫cos x dx = √(1 - y2)

∫cos x dx = √(1 - cos2x)

∫cos x dx = √sin2x

∫cos x dx = sin x

Hence Proved.

Integral of Cos x by Trigonometric Substitution

The proof of cos x using trigonometric substitution is given below:

I = ∫cos x.dx

Let cos x = (eix + e-ix)/2

I = ∫(eix + e-ix)dx / 2

I = ((eix/i) + (e-ix/-i))/2 + c

I = (eix - e-ix)/2i + c

We know that

sin x = (eix - e-ix)/2i

Hence

I = sin x + c

Hence Proved.

Learn,

  • Fundamental Theorem of Calculus
  • Integration by Substitution

Definite Integral of cos x

Definite Integral of cos x gives area under the graph of cos x with in given bounds [a,b]. It is given by ∫ab cos xdx where a and b are the limits of integration. Definite Integral formula is given as

∫ab f(x) dx = F(b) - F(a)

Definite Integral of cos x

The definite integral of cos x is given below

∫ab cos xdx = [sin x]ab= sinb - sina

Definite integral of cos x from 0 to π/2

∫π/20cos xdx = [sin x] π/20

= sin π/2 - sin 0

= 1 - 0

= 1

Definite integral of cos x from π/2 to π

∫ππ/2cos xdx = [sin x]ππ/2

= sinπ - sinπ /2

= 0 - 1

= -1

Integral of Cos x Graphical Significance

We know that the integration gives the idea about the area under the curve. Hence, the integral of cos x also gives the area under the cosine curve within a defined range. The area under the cosine curve is shown below:

Integral-of-Cos x - Area Graph

Area under Cosine Curve from 0 to π/2

Approximate calculation of Area under cosine curve is given as

Area of Triangle = 1/2 × b × h = 1/2 × π/2 × 1 = π/4 ≈ 0.8

Area under cosine curve from 0 to π/2 using integration is given as:

Area = ∫π/20cos xdx = [sin x] π/20

= sin π/2 - sin 0

= 1 - 0

= 1

Area under Cosine Curve from 0 to π

Approximate calculation of Area under Cosine Curve is given as:

Area of Triangle 1 + Area of Triangle 2 = (1/2 × π/2 × 1) - (1/2 × π/2 × 1) = 0

Area under Cosine curve using Integration is given as:

Area = ∫π0cos xdx = [sin x] π0

= sin π - sin 0

= 0 - 0

= 0

Hence, we verified that the integration of cos x gives the area under the cosine curve under the defined limits

Also, Check

  • Integration of Trigonometric Functions
  • Integration Formulas

Integral of Cos x Solved Examples

Example 1. I = ∫2cos x dx/3sin2x . Evaluate I.

Solution:

I = 2/3 ∫cosec x.cot x dx

I = (-2cosec x/3) + c

Example 2. Find the integral of sin x.cos x

Solution:

I = ∫(2sin x.cos x)/2

I = ∫sin2x/2

I = -cos2x/4 + c

Example 3. Find ∫(sin2x - cos2x).dx/(sin x cos x)

Solution:

I = ∫(sin2xdx/sin x.cos x) - ∫(cos2xdx/sin x.cos x)

I = ∫tan x dx - ∫cot x dx

= log|sec x|-[-log|cosec x|] + c

= log|sec x| + log|cosec x| + c

Example 4. Find ∫(sin2x - cos2x)dx / sin2x*cos2x.

Solution:

I = ∫sec2xdx - ∫cosec2xdx

= tan x + cotx + c

Example 5. Find ∫sin6xdx/cos8x.

Solution:

I = ∫sin6xdx/cos8x

= ∫tan6x.sec2xdx

Let tan x = t

sec2x dx = dt

I = ∫t6 dt

I = t7/7 + c

I = tan7x/7 + c

Example 6. Find ∫(cos x)2dx.

Solution:

cos2x = 2cos2x - 1

I = ∫(cos2x+1)dx/2

= (sin2x)/(2*2) + (x/2) + c

= sin2x/4 + x/2 + c

Example 7. Find ∫(cos x)-1 dx.

Solution:

By using ILATE

I = ∫1.cos-1x.dx

= cos-1x.x + ∫(-1)/(√1-x2) * xdx

= xcos-1x + (1/2) * ∫(2x dx)/(√(1-x2)

Let 1 - x2 = t

-2xdx = dt

= xcos-1x -(1/2)*t1/2/(1/2) + c

= xcos-1x - √t + c

= xcos-1x - √(1 - x2) + c

Example 8. Evaluate I = ∫(cos2x - cos2a)dx/(cos x - cos a).

Solution:

I = ∫(cos2x - cos2a)dx/(cos x-cos a)

We know that cos2x = 2cos2x - 1

= ∫((2cos2x - 1) - (2cos2a - 1))dx/(cos x - cos a)

= ∫(2(cos2x - cos2a))dx/(cos x - cos a)

= ∫(2(cos x + cos a)(cos x - cos a)dx/(cos x - cos a)

= ∫2(cos x + cos a)dx

= 2(sin x + xcos a) + c

Integral of Cos x Practice Problems

Try out the following practice problems on Integration of Cos x

Q1. Evaluate ∫dx/sin2x * cos2x.

Q2. Find the integral of cos-1(sin x).

Q3. Find ∫2.dx/(1 + cos2x).

Q4. Find the value of ∫cos3x.

Q5. Evaluate ∫dx/(sin4x + cos4x).

Summary

To find the integral of cos⁡(x), we look for a function whose derivative is cos⁡(x). The function that satisfies this condition is sin⁡(x), since the derivative of sin⁡(x) is cos⁡(x). Therefore, the integral of cos⁡(x) with respect to x is sin⁡(x) plus a constant of integration, C, which accounts for any constant term that would disappear when differentiating. Thus, the integral of cos⁡(x) is sin⁡(x)+C.


Next Article
Integral of Cos x

V

vermamk129
Improve
Article Tags :
  • Mathematics
  • School Learning
  • Class 12
  • Geeks Premier League
  • Maths-Class-12
  • Calculus
  • Geeks Premier League 2023

Similar Reads

    Integral of Cosec x
    Integral of the Cosec x is ∫cosec x dx = ln |cosec x - cot x| + C. Cosec is also called the cosecant function. Its integration is denoted as ∫(cosec x).dx. It is one of the fundamental integrations involving trigonometric functions. Cosec x is the reciprocal function of sin x. In this article, we wi
    6 min read
    Integral of Cot x
    Integral of Cot x is ln |sin x| + C. Cot x is among one of the trigonometric functions that is the ratio of cosine and sine. The integral of cot x is mathematically represented as ∫cot x dx = ln |sinx| + C. In this article, we will explore the integral of cot x, the integral of cot x formula, the de
    7 min read
    Integral of x
    The integral of x with respect to x is x2/2 + C, where C is the constant of integration.The integral of x is a fundamental concept in calculus, representing the area under the curve of the function x on a graph. In simple terms, finding the integral of x means determining a function whose derivative
    4 min read
    Integral of 1/x^3
    {\Huge \int \frac{1}{x^3} \, dx = -\frac{1}{2x^2} + C}Integrating functions is a fundamental aspect of Integral calculus that provides valuable insights into various mathematical problems. Calculating integrals is an essential skill in calculus, and understanding the techniques for different integra
    1 min read
    Integral of 1/x^2
    Integrals are essential in various fields such as physics, engineering, economics, and statistics. They help solve problems related to motion, area, volume, and total accumulation, making them a powerful tool for understanding and modeling continuous change.Integral of 1/x2 is - (1/x) + CIn this art
    3 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences