Why Rewrite an Integrand?
When a region is naturally described using distance from the origin and angle, Cartesian expressions in \(x\) and \(y\) can obscure useful structure. Rewriting the function in terms of \(r\) and \(\theta\) can reveal that structure and make a polar double integral easier to set up or evaluate.
The substitution itself is direct: replace \(x\) by \(r\cos\theta\) and \(y\) by \(r\sin\theta\). But there are two distinct changes to keep track of. The function changes because its inputs are being expressed in polar coordinates; the area element changes because a small polar region has a different area scale. These should be handled separately.
The Substitution and the Area Factor
For \(r\ge 0\), polar coordinates are related to Cartesian coordinates by
Thus, for a function \(f\) of two variables, its expression in polar coordinates is obtained by direct substitution:
This gives the transformed function. It does not yet include the area factor. The polar area element is \(dA=r\,dr\,d\theta\). Consequently, when a double integral over a region \(D\) is expressed over its corresponding polar parameter region \(R\), the change-of-variables formula is
Here \(R\) describes the radial and angular values for the region. Determining those limits is a separate part of setting up the integral. In this tutorial, the emphasis is on rewriting the function and keeping the area factor distinct.
The factor \(r\) comes from the area scaling of the polar coordinate map. Its Jacobian determinant is
Since \(r\ge 0\), the absolute value of this determinant is \(r\). It scales the area element; it is not part of the original function \(f\). This is why the substitution and the area factor should be written as separate steps.
A Useful Algebraic Rule
Applying the substitution to a product of powers gives a convenient rule. If \(m\) and \(n\) are nonnegative integers, then
The rule follows by replacing each occurrence of \(x\) and \(y\), then collecting the powers of \(r\), \(\cos\theta\), and \(\sin\theta\). In particular, a monomial of total degree \(m+n\) contributes \(r^{m+n}\) to the transformed function. The additional \(r\) from the area element is still applied afterward.
Worked Examples
Worked Example: A Quadratic Polynomial
Rewrite \(f(x,y)=3x^2+4y^2-2xy\) in polar coordinates, then include the area factor.
Substitute \(x=r\cos\theta\) and \(y=r\sin\theta\) into each term:
This is the transformed function. Multiplying it by the area factor gives the expression in the polar integral:
To check the transformed function, use \(r^2\cos^2\theta=x^2\), \(r^2\sin^2\theta=y^2\), and \(r^2\cos\theta\sin\theta=xy\). The expression becomes \(3x^2+4y^2-2xy\), as required. The extra \(r\) belongs to the area element, not to this check of the function.
Worked Example: A Function of \(x^2+y^2\)
Rewrite \(g(x,y)=(x^2+y^2)e^{-(x^2+y^2)}\) and then include the area factor.
Substitute into the sum of squares first:
Therefore, the transformed function is
Including the polar area factor gives
For a check, substitute \(r^2=x^2+y^2\) back into \(r^2e^{-r^2}\). The result is \((x^2+y^2)e^{-(x^2+y^2)}\), which is the original function. Again, the check concerns the transformed function alone; the factor \(r\) is added for area.
Worked Example: A Square Root and a Product
Rewrite \(h(x,y)=\sqrt{x^2+y^2}+xy\) in polar coordinates and include the area factor. Since \(r\ge 0\), the square root simplifies without an absolute-value sign:
The product becomes
Combining these terms, the transformed function is
The expression including the area factor is
To check, use \(r=\sqrt{x^2+y^2}\) and \(r^2\cos\theta\sin\theta=xy\). The transformed function returns to \(\sqrt{x^2+y^2}+xy\). The area-weighted expression is not meant to return to \(h(x,y)\), because it includes the separate area scaling factor.
Why the Substitution Works
The replacement is not a special rule for particular expressions. It follows from composing the original function with the coordinate map. The map sends a polar pair \((r,\theta)\) to the Cartesian point \((r\cos\theta,r\sin\theta)\). Evaluating \(f\) at that point therefore gives \(f(r\cos\theta,r\sin\theta)\). The area element then accounts for how the map scales small areas.
For example, for a monomial \(x^m y^n\), repeated multiplication gives
This proves the stated power rule. When the monomial is used in a polar double integral, the full factor multiplying \(dr\,d\theta\) is then
The exponent increases by one because of the area factor, not because the function itself changed again.
A Common Mistake: Counting the Area Factor Twice
A frequent error is to include \(r\) while rewriting the function and then multiply by another \(r\) for the area element. Take \(f(x,y)=x^2+y^2\). The function substitution is
The correct factor in the polar integral is \(r^2\cdot r=r^3\). A mistaken calculation might label \(r^3\) as the transformed function, then multiply by \(r\) again and use \(r^4\). That is wrong: \(r^3\) already includes the area factor. Checking the roles separately prevents the error: the function becomes \(r^2\), and the area element contributes one \(r\), giving \(r^3\).
Another useful check is to ask whether the expression being written is the function or the full factor in the integral. State that distinction explicitly during setup, especially when the original function already contains powers of \(x^2+y^2\), which themselves become powers of \(r\).
When This Rewriting Is Useful
Expressions built from \(x^2+y^2\) often simplify because that sum becomes \(r^2\). Products and powers become combinations of powers of \(r\), \(\cos\theta\), and \(\sin\theta\). Such forms can make radial dependence and angular dependence easier to recognize. They also help prevent a common conceptual mix-up: the transformed function describes the original quantity at a point, while the area factor accounts for the size of the polar area element around that point.
For a complete polar integral, both pieces are necessary. Omitting the area factor changes the area weighting; including it twice changes the integral as well. The region's radial and angular limits must also match the region being integrated over, but those limits do not alter the substitution rule for the function.
Check Your Understanding
For each question, distinguish the transformed function from the factor that includes the polar area element.
- Rewrite \(x^2+3y^2\) in polar coordinates. What is the expression after multiplying by the area factor?
- What does \(xy^2\) become under the substitution?
- If \(f(x,y)=e^{x^2+y^2}\), what is \(f(r\cos\theta,r\sin\theta)\)?
- For \(f(x,y)=x^2+y^2\), explain why the polar integral has a factor \(r^3\), not \(r^2\) or \(r^4\).
- How can you check that a proposed transformed function is correct?