Parameterising a Line Segment to Evaluate an Integral

  • Thread starter Thread starter bugatti79
  • Start date Start date
  • Tags Tags
    Integral Line
Click For Summary

Homework Help Overview

The discussion revolves around evaluating an integral along a line segment from (0,1) to (π,-1) by parameterizing the segment. The integral in question is expressed as ∫(y sin x) dx - (cos x) dy.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss how to parameterize the line segment connecting the two points, with suggestions to define a linear equation for the line. Questions arise regarding the choice of parameterization variable and the implications of the path taken for the integral's evaluation.

Discussion Status

Participants have offered various parameterization methods and discussed the significance of the line segment versus other paths. There is an ongoing exploration of the implications of the parameterization choices on the integral's evaluation, with some expressing uncertainty about the nature of the line segment.

Contextual Notes

Some participants note that the problem specifies a line segment, which includes the endpoints, and this may affect the evaluation of the integral compared to other potential paths. There is also mention of common practices in parameterization, such as mapping the parameter to specific endpoints.

bugatti79
Messages
786
Reaction score
4

Homework Statement



Evaluate this integral along the line segment from (0,1) to (pi, -1) by parameterising this segment

Homework Equations



[itex]\int y sin x dx - cos x dy[/itex]

The Attempt at a Solution



How would I parameterise this line segment?
 
Physics news on Phys.org
bugatti79 said:

Homework Statement



Evaluate this integral along the line segment from (0,1) to (pi, -1) by parameterising this segment

Homework Equations



[itex]\int y sin x dx - cos x dy[/itex]

The Attempt at a Solution



How would I parameterise this line segment?

Start by writing an equation for the line passing through those two points.
 
SammyS said:
Start by writing an equation for the line passing through those two points.

[itex]y= \frac{-2x}{\pi} +1[/itex]. How do I know whether to let x=t or not?
 
hi bugatti79! :smile:
bugatti79 said:
[itex]y= \frac{-2x}{\pi} +1[/itex]. How do I know whether to let x=t or not?

you can let t = x, or t = y, or t = any function of x and y so long as it's strictly increasing (or decreasing) along the line :wink:
 
bugatti79 said:
[itex]y= \frac{-2x}{\pi} +1[/itex]. How do I know whether to let x=t or not?
You may want t = 0 to correspond to x = -1 (the left end of the interval) and t = 1 to correspond to x = 1 (the right end of the interval).

That's a fairly common practice.
 
tiny-tim said:
hi bugatti79! :smile:


you can let t = x, or t = y, or t = any function of x and y so long as it's strictly increasing (or decreasing) along the line :wink:

Very good, that's a good tip. Will keep that in mind.

SammyS said:
You may want t = 0 to correspond to x = -1 (the left end of the interval) and t = 1 to correspond to x = 1 (the right end of the interval).

That's a fairly common practice.

I don't follow this to be honest. I am not sure what the line is. Is it an arc from (0,1) to (pi, -1)?

sheriff89 said:
Since they don't tell you which path to use, you should ask yourself: will it depend on the path? And NO, it won't, since [itex](ysin(x),-cos(x)[/itex] is the gradient of [itex]F(x,y)=-ycos(x)[/itex], and so the integral result is the difference between the values of F at the two points.

Does this mean the integral will evaluate to 0? I think that is only for closed simple curves and we are dealing with an open line hence it will be none 0..right?

sheriff89 said:
I'm sorry, you said SEGMENT and I didn't realize. But my post will help you anyway, I hope.
What is the significant of whether it was a segment or not?
 
bugatti79 said:
Very good, that's a good tip. Will keep that in mind.

I don't follow this to be honest. I am not sure what the line is. Is it an arc from (0,1) to (pi, -1)?

Does this mean the integral will evaluate to 0? I think that is only for closed simple curves and we are dealing with an open line hence it will be none 0..right?

What is the significant of whether it was a segment or not?
The problem states LINE SEGMENT from (0,1) to (π, -1). That means the portion of the (straight) line passing through the points which is between (0,1) and (π, -1) including the endpoints.

The simplest parametrization is to let x(t) = t, and [itex]\displaystyle y(t)=\frac{-2x(t)}{\pi} +1=\frac{-2t}{\pi} +1\,,[/itex] where t goes from 0 to π.

A parametrization I like is for t to go from 0 to 1. Then x(t) = π t, and [itex]\displaystyle y(t)=\frac{-2\pi t}{\pi} +1=-2t+1\,.[/itex]
 
SammyS said:
The problem states LINE SEGMENT from (0,1) to (π, -1). That means the portion of the (straight) line passing through the points which is between (0,1) and (π, -1) including the endpoints.

The simplest parametrization is to let x(t) = t, and [itex]\displaystyle y(t)=\frac{-2x(t)}{\pi} +1=\frac{-2t}{\pi} +1\,,[/itex] where t goes from 0 to π.

A parametrization I like is for t to go from 0 to 1. Then x(t) = π t, and [itex]\displaystyle y(t)=\frac{-2\pi t}{\pi} +1=-2t+1\,.[/itex]



Ok. I will work out both. Trying the first I get

[itex]\displaystyle \int y sin x dx - cos x dy = \int (\frac{-2 t}{\pi}+1) sin t dt+ \frac{2}{\pi} cos t dt=0[/itex]...
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
12
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
6
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K