Bytelearn - cat image with glassesAI tutor

Welcome to Bytelearn!

Let’s check out your problem:

cos9xcos12xdx\int \cos 9x \cos 12x \, dx

Full solution

Q. cos9xcos12xdx\int \cos 9x \cos 12x \, dx
  1. Apply Product-to-Sum Identity: We will use the product-to-sum identities to simplify the integral of the product of two cosines. The identity we will use is:\newlinecos(A)cos(B)=12[cos(AB)+cos(A+B)]\cos(A)\cos(B) = \frac{1}{2}[\cos(A - B) + \cos(A + B)]\newlineLet's apply this identity to our integral with A=9xA = 9x and B=12xB = 12x.
  2. Simplify Using Identity: Using the product-to-sum identity, we get:\newlinecos(9x)cos(12x)dx=(12)[cos(9x12x)+cos(9x+12x)]dx\int \cos(9x)\cos(12x)\,dx = \int\left(\frac{1}{2}\right)\left[\cos(9x - 12x) + \cos(9x + 12x)\right]\,dx\newlineThis simplifies to:\newlinecos(9x)cos(12x)dx=(12)[cos(3x)+cos(21x)]dx\int \cos(9x)\cos(12x)\,dx = \left(\frac{1}{2}\right)\int\left[\cos(-3x) + \cos(21x)\right]\,dx
  3. Integrate Each Term: Now we integrate each term separately:\newline(\frac{1}{2})\int \cos(-3x)\,dx + (\frac{1}{2})\int \cos(21x)\,dx\(\newlineSince the integral of \$\cos(kx)\) is \((\frac{1}{k})\sin(kx)\), we can integrate each term.
  4. Integrate \(\cos(-3x)\): Integrating the first term gives us:\(\newline\)\((\frac{\(1\)}{\(2\)})\int \cos(\(-3\)x)\,dx = (\frac{\(1\)}{\(2\)})(\frac{\(1\)}{(\(-3\))})\sin(\(-3\)x) = -(\frac{\(1\)}{\(6\)})\sin(\(-3\)x)
  5. Integrate \(\cos(21x)\): Integrating the second term gives us:\(\newline\)\(\frac{\(1\)}{\(2\)}\int\cos(\(21\)x)\,dx = \frac{\(1\)}{\(2\)}(\frac{\(1\)}{\(21\)})\sin(\(21\)x) = \frac{\(1\)}{\(42\)}\sin(\(21\)x)
  6. Combine Terms: Combining both terms, we get the indefinite integral:\(\newline\)\(\int \cos(9x)\cos(12x)\,dx = -\frac{1}{6}\sin(-3x) + \frac{1}{42}\sin(21x) + C\)
  7. Simplify First Term: We can simplify the first term by using the property that \(\sin(-\theta) = -\sin(\theta)\):\(-\left(\frac{1}{6}\right)\sin(-3x) = \left(\frac{1}{6}\right)\sin(3x)\) So the final answer is: \(\int \cos(9x)\cos(12x)\,dx = \left(\frac{1}{6}\right)\sin(3x) + \left(\frac{1}{42}\right)\sin(21x) + C\)