# Simple line integral problem I cant seem to get

1. Mar 19, 2009

### gr3g1

I have to evaluate the line integral :
$\oint_{}^{} (2x + y)dx + xydy$ between (-1,2) and (2,5)

on the curve: $y = x + 3$

So, what I did was:
$\int_{-1}^{2} (3x+3)dx + \int_{2}^{5} (x^{2} + 3x)dx$

However, this is wrong and im not sure why!
Thanks alot!
1. The problem statement, all variables and given/known data

2. Relevant equations

3. The attempt at a solution

2. Mar 19, 2009

### Dick

You are parametrizing the curve by the value of x which goes from -1 to 2. In BOTH parts. Since you've expressed the dy part of the integral in terms of x, why are you using the y limits there?

3. Mar 19, 2009

### gr3g1

Ahhh, thanks so much!