Integrating cos(px) from 1 to 2 with a constant p

  • Thread starter Thread starter winston2020
  • Start date Start date
  • Tags Tags
    Integration
Click For Summary
SUMMARY

The integral of cos(px) from 1 to 2 can be solved using the substitution method. By letting u = px, the differential du becomes pdx, allowing for the transformation dx = du/p. The correct evaluation of the definite integral requires adjusting the limits of integration accordingly, resulting in the expression (1/p) * [sin(2p) - sin(p)]. This method emphasizes the importance of substitution and understanding the relationship between integration and differentiation.

PREREQUISITES
  • Understanding of integral calculus
  • Familiarity with substitution methods in integration
  • Knowledge of the properties of trigonometric functions
  • Ability to evaluate definite integrals
NEXT STEPS
  • Study the method of u-substitution in calculus
  • Learn how to evaluate definite integrals with variable limits
  • Explore the properties of trigonometric integrals
  • Practice solving integrals involving constants and parameters
USEFUL FOR

Students and educators in calculus, mathematicians focusing on integration techniques, and anyone looking to enhance their understanding of trigonometric integrals.

winston2020
Messages
35
Reaction score
0

Homework Statement


Solve the following Integral:
\int_{1}^2cos(px)dx
where p is a constant

Homework Equations


The Attempt at a Solution


I'm totally lost here...
 
Physics news on Phys.org
This isn't to bad. So, let u = px. du = pdx. So can you take it from there?
 
PowerIso said:
This isn't to bad. So, let u = px. du = pdx. So can you take it from there?

Not really... what is du = pdx? du is the same as \frac{d}{dx}u right? But why is that useful? And what is pdx?
 
It's just a subsitution.

If du = p*dx then dx = du / p. Now integrate normally and at the end re-substitute.
 
Substitution is important and knowing how to u-sub is the key to many integrals. But sometimes knowing that integration and differentiation are inverse operations allows you to guess the antiderivative.

What is the antiderivative of cos(x)? Where should the p be included? How do constants work when differentiating/integrating? You'll see that these questions aren't very hard to answer and it's more about thinking than just a routine substitution (though u-sub can get pretty tricky sometimes).
 
Ok, should it go something like this?:

\int_{1}^2cos(px)dx

Let u = px

Therefore, du = pdx

And, dx = \frac{du}{p}

So,

\int_{1}^2cos(px)dx = \int_{1}^2cos(u)\frac{du}{p}
= \frac{sin(u)}{p} + c

Is that correct?
 
anyone?
 
It would be more convenient to pull the 1/p out of the integral. Your solution seems correct.
 
You've evaluated the indefinite integral, but you still need to evaluate it at the limits you're given before the problem is complete.

i.e.,

\int_a^b f(x)~dx = F(b) - F(a)

where F(x) is the antiderivative of f(x).
 
  • #10
winston2020 said:
So,

\int_{1}^2cos(px)dx = \int_{1}^2cos(u)\frac{du}{p}
= \frac{sin(u)}{p} + c

Is that correct?

Almost, but

\int_{1}^2cos(px)dx \neq \int_{1}^2cos(u)\frac{du}{p}

...the limits are wrong on the RHS.

...in addition, you can easily see that your final equal sign is wrong by considering what happens if p=0. The answer should be 1... but your wrong answer is infinite at that value of p.
 
  • #11
It is true that \int cos(px)dx= (1/p)sin(px)+ C. In order to do the definite integral, evaluating at the limits of integration, you can either write
\int_1^2 cos(px)dx= \left \frac{1}{p}sin(px)+ C\left|_1^2
and evaluate at x= 1 and 2 or you can make the substitution u= px so that when x= 1, u= p and when x= 2, u= 2p and write
\int_1^2 cos(px)dx= \frac{1}{p}\int_p^{2p} cos(u)du=\left \frac{1}{p}sin(u)\right|_p^{2p}

In more complicated problems you might have to make several substitutions and then it is better to change the limits of integration as you go (second method).
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
5
Views
1K
Replies
7
Views
2K
Replies
3
Views
2K
Replies
2
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
27
Views
4K