I'm tried to do following and I can't see what went wrong. $$\begin{bmatrix} \hat r\\ \hat \theta \end{bmatrix} = \begin{bmatrix} \cos \theta & \sin \theta \\ -\sin \theta & \cos \theta \end{bmatrix} \times \begin{bmatrix} \hat i\\ \hat j \end{bmatrix} $$ Taking inverse, $$ \begin{bmatrix} \hat i\\ \hat j \end{bmatrix} = \begin{bmatrix} \cos \theta & -\sin \theta \\ \sin \theta & \cos \theta \end{bmatrix} \times \begin{bmatrix} \hat r\\ \hat \theta \end{bmatrix} $$ The gradient of function $ \phi $ $$\nabla \phi = \hat i \frac{\partial \phi}{\partial x} + \hat j \frac{\partial \phi}{\partial y}$$ $$= \hat r \left( \cos \theta \frac{\partial \phi}{\partial x} + \sin \theta \frac{\partial \phi}{\partial y} \right) + \hat \theta \left( -\sin \theta \frac{\partial \phi}{\partial x} + \cos \theta \frac{\partial \phi}{\partial y} \right)$$ $$= \hat r \left( \cos \theta \frac{\partial \phi}{\partial r} \frac{\partial r}{\partial x} + \sin \theta \frac{\partial \phi}{\partial r} \frac{\partial r}{\partial y} \right) + \hat \theta \left( -\sin \theta \frac{\partial \phi}{\partial \theta} \frac{\partial \theta}{\partial x} + \cos \theta \frac{\partial \phi}{\partial \theta}\frac{\partial \theta}{\partial y} \right)$$ $$= \hat r \left( \cos \theta \frac{\partial \phi}{\partial r} \frac{1}{\cos \theta} + \sin \theta \frac{\partial \phi}{\partial r} \frac{1}{\sin \theta} \right) + \hat \theta \left( -\sin \theta \frac{\partial \phi}{\partial \theta} \frac{1}{- r \sin \theta } + \cos \theta \frac{\partial \phi}{\partial \theta}\frac{1}{ r\cos \theta } \right)$$ $$ = 2 \left ( \frac{\partial \phi }{\partial r}\hat r + \frac{1}{r} \frac{\partial \phi}{\partial \theta } \hat \theta\right )$$ I don't know what went wrong. Please help. Thank you!!
2026-04-08 10:38:09.1775644689
gradient in polar coordinate by changing gradient in Cartesian coordinate
679 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in MULTIVARIABLE-CALCULUS
- Equality of Mixed Partial Derivatives - Simple proof is Confusing
- $\iint_{S} F.\eta dA$ where $F = [3x^2 , y^2 , 0]$ and $S : r(u,v) = [u,v,2u+3v]$
- Proving the differentiability of the following function of two variables
- optimization with strict inequality of variables
- How to find the unit tangent vector of a curve in R^3
- Prove all tangent plane to the cone $x^2+y^2=z^2$ goes through the origin
- Holding intermediate variables constant in partial derivative chain rule
- Find the directional derivative in the point $p$ in the direction $\vec{pp'}$
- Check if $\phi$ is convex
- Define in which points function is continuous
Related Questions in COORDINATE-SYSTEMS
- How to change a rectangle's area based on it's 4 coordinates?
- How to find 2 points in line?
- Am I right or wrong in this absolute value?
- Properties of a eclipse on a rotated plane to see a perfect circle from the original plane view?
- inhomogeneous coordinates to homogeneous coordinates
- Find the distance of the point $(7,1)$ from the line $3x+4y=4$ measured parallel to the line $3x-5y+2=0.$
- A Problem Based on Ellipse
- Convert a vector in Lambert Conformal Conical Projection to Cartesian
- Archimedean spiral in cartesian coordinates
- How to find the area of the square $|ABCD|$?
Related Questions in POLAR-COORDINATES
- Second directional derivative of a scaler in polar coordinate
- polar coordinate subtitution
- $dr$ in polar co-ordinates
- Finding the centroid of a triangle in hyperspherical polar coordinates
- Arc length of polar function and x interceps
- Evaluation of $I=\iint_R e^{-(x^2+y^2)} \,dx\,dy$ by change of variable
- Finding area bound by polar graph
- Question about the roots of a complex polynomial
- Polar Area Integral with Absolute Function
- How to compute 'polar form' of a line given two points in cartesian coordinate system?
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
You have incorrect expressions for $\dfrac{\partial r}{\partial x}, \dfrac{\partial r}{\partial y}, \dfrac{\partial \theta}{\partial x}$ and $\dfrac{\partial r}{\partial y}$. \begin{align} \dfrac{\partial r}{\partial x} & = \cos(\theta)\\ \dfrac{\partial r}{\partial y} & = \sin(\theta)\\ \dfrac{\partial \theta}{\partial x} & = -\dfrac1r \sin(\theta)\\ \dfrac{\partial \theta}{\partial y} & = \dfrac1r \cos(\theta) \end{align}
It is incorrect to think that $$\dfrac{\partial r}{\partial x} = \dfrac1{\dfrac{\partial x}{\partial r}}$$ $$\dfrac{\partial r}{\partial y} = \dfrac1{\dfrac{\partial y}{\partial r}}$$ $$\dfrac{\partial \theta}{\partial x} = \dfrac1{\dfrac{\partial x}{\partial \theta}}$$ $$\dfrac{\partial \theta}{\partial y} = \dfrac1{\dfrac{\partial y}{\partial \theta}}$$ which is what you seem to have done.
When you take partial derivatives, what you are doing is to hold the other variable fixed. So for instance if $f$ is a function of $n$ variables, $f(x_1,x_2,\ldots,x_n)$, $\dfrac{\partial f}{\partial x_i}$ means you hold all the other $x_j$'s constant except $x_i$ and vary $x_i$ by $\delta x_i$ and find out what happens to $\delta f$.
We have
$$x= r \cos(\theta) , y= r \sin(\theta), r^2= x^2 + y^2 \text{ and }\tan(\theta) = \frac{y}{x}$$
We are transforming from the $(x,y)$ space to $(r,\theta)$ space.
In the $(x,y)$ space, $x$ and $y$ are independent variables and in the $(r,\theta)$ space, $r$ and $\theta$ are independent variables.
$\dfrac{\partial x}{\partial r}$ means you are fixing $\theta$ and finding out how changing $r$ affects $x$.
So $\dfrac{\partial x}{\partial r} = \cos(\theta)$ since $\theta$ is fixed.
$\dfrac{\partial r}{\partial x}$ means you are fixing $y$ and finding out how changing $x$ affects $r$.
So $\dfrac{\partial r}{\partial x} = \dfrac{x}{\sqrt{x^2+y^2}}$ since $y$ is fixed.
When you do $r = \dfrac{x}{\cos(\theta)}$ and argue that $\dfrac{\partial r}{\partial x} = \dfrac{1}{\cos (\theta)}$ you are not holding $y$ constant.
If you were to hold $y$ constant, then $\theta$ would change as well.
If you want to use $r = \dfrac{x}{\cos(\theta)}$ and would like to get the right answer, you need to do as follows:
$r = \dfrac{x}{\cos(\theta)}$, $\delta r = \dfrac{\delta x}{\cos(\theta)} + \dfrac{-x}{\cos^2(\theta)} (-\sin(\theta)) \delta \theta$.
$\tan(\theta) = \dfrac{y}{x} \Rightarrow x \tan(\theta) = y$
$\delta x \tan(\theta) + x \sec^2(\theta) \delta \theta = 0$ (Since $y$ is held constant)
$x \delta \theta = - \dfrac{\delta x \tan(\theta)}{\sec^2{\theta}} = - \sin(\theta) \cos(\theta) \delta x$.
Plugging the above in the previous expression, we get
$\delta r = \dfrac{\delta x}{\cos(\theta)} + \dfrac{\sin(\theta)}{\cos^2(\theta)} (-\sin(\theta) \cos(\theta) \delta x) = \dfrac{1-\sin^2(\theta)}{\cos(\theta)} \delta x = \cos(\theta) \delta x$ and hence we get
$\dfrac{\partial r}{\partial x} = \cos(\theta) = \dfrac{x}{\sqrt{x^2+y^2}}$