# 3-D Dirac Delta Function

## Homework Statement

\int_V (r^2 - \vec{2r} \cdot \vec{r}') \ \delta^3(\vec{r} - \vec{r}') d\tau

where:

\vec{r}' = 3\hat{x} + 2\hat{y} + \hat{z}

Where d $\tau$ is the volume element, and V is a solid sphere with radius 4, centered at the origin.

## The Attempt at a Solution

I know the following:

Suppose:

\int_V f(r) \delta^3(\vec{r}-\vec{r}') d\tau = f(\vec{r'})

(if r' is in the volume).

I'm just confused on how to plug in r' into f(r) which is

r^2 - 2\vec{r} \cdot \vec{r}'

Any help to get me started will be much appreciated.

strangerep
$$\int_V (r^2 - \vec{2r} \cdot \vec{r}') \ \delta^3(\vec{r} - \vec{r}') d\tau$$where:
$$\vec{r}' = 3\hat{x} + 2\hat{y} + \hat{z}$$ where ##d\tau## is the volume element, and V is a solid sphere with radius 4, centered at the origin.
First, write out your integral as an explicit triple integral.

First, write out your integral as an explicit triple integral.

Okay, so I can setup the integral.

\int_v (r^2 - 2\vec{r} \cdot \vec{r}') \delta_x(x-x_0) \delta_y (y-y_0) \delta_z (z-z_0) dx dy dz

I guess I'm confused how I plug ##\vec{r}'## into f(##\vec{r}##)

Never Mind, I figured it out. I was overthinking the problem. Thanks for your help! :)