MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: integral question

  • To: mathgroup at
  • Subject: [mg49853] RE: [mg49834] integral question
  • From: "David Park" <djmp at>
  • Date: Wed, 4 Aug 2004 10:46:31 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Doing this in some detail, we have for the original integral in terms of

eqn0 = r^2 == x^2 + y^2
Sqrt /@ %
Simplify[%, r > 0]
eqn1 = Reverse[%]
r^2 == x^2 + y^2
Sqrt[r^2] == Sqrt[x^2 + y^2]
Sqrt[x^2 + y^2] == r
r == Sqrt[x^2 + y^2]

Now finding the r limits along your line.

eqn1 /. Thread[{x, y} -> {0, 0}]
eqn1 /. Thread[{x, y} -> {1, 1}]
r == 0
r == Sqrt[2]

Integrate[r^2, {r, 0, Sqrt[2]}]

Converting into an integral with x and dx. We first solve for dr (== Dt[r])

% /. y -> x
drrule = Solve[%, Dt[r]][[1,1]]
r^2 == x^2 + y^2
r^2 == 2*x^2
2 r Dt[r] == 4 x Dt[x]
Dt[r] -> (2*x*Dt[x])/r

Then calculating the new integral in terms of x and dx...

% /. drrule
% /. r -> Sqrt[x^2 + y^2]
% /. y -> x
Simplify[%, x > 0]
2*x*Sqrt[x^2 + y^2]*Dt[x]

We can then do the integral over x.

Integrate[2*Sqrt[2]*x^2, {x, 0, 1}]

David Park
djmp at

From: quest04 [mailto:na at]
To: mathgroup at

I have a question and was wondering if someone could help me with it.  This
is a general vector calculus problem, not specific to Mathematica.  I have a
simple integral as follows:
Given r^2= x^2+y^2, solve Integral[r^2, dr] from point1 (0,0) to point2
(1,1), which would be evaluated from r=0 to r=sqrt[2] and gives answer =
The above is pretty simple, however, I am not sure how to formulate the
problem when I convert the 'dr' back to cartesian coordinates as follows:
Integrate [x^2+y^2, d????] and the limits???  WHat should 'dr' be in terms
of dx? if my integrand is directly x^2+y^2.  It cannot be a double integral,
since the original problem was a single integral, but then how do you solve
Can anyone help?


  • Prev by Date: Re: integral question
  • Next by Date: Re: vector integral
  • Previous by thread: Re: integral question
  • Next by thread: vector integral