# No idea how to word this. Finding the gradient with vector?

1. Feb 1, 2015

### Flucky

1. The problem statement, all variables and given/known data
I need to find Λ using the equation below (I think).

2. Relevant equations
A
+ Λ = 0

where A(x,y,z,t) = B$\begin{pmatrix} x+y\\ x-y\\ 0 \end{pmatrix}$

3. The attempt at a solution
Is this at all possible?

2. Feb 1, 2015

### stevendaryl

Staff Emeritus
I'm not sure about your notation, is $A$ a matrix, or a vector? Do the three components $x+y, x-y, 0$ correspond to vector components, or matrix components?

3. Feb 1, 2015

### Flucky

Sorry it is a vector. I was trying to mimic exactly how it is written in front of me.

4. Feb 1, 2015

### stevendaryl

Staff Emeritus
Assuming that you mean that $A$ is a vector, then your problem is to find a function $\Lambda(x,y,z)$ such that

$\nabla \Lambda = -A = -B(x+y, x-y, 0)$

That means that there are three equations for $\Lambda$:
1. $\frac{\partial}{\partial x} \Lambda = -B (x + y)$
2. $\frac{\partial}{\partial y} \Lambda = -B (x - y)$
3. $\frac{\partial}{\partial z} \Lambda = 0$

5. Feb 1, 2015

### stevendaryl

Staff Emeritus
To solve the equation $\frac{\partial}{\partial x} \Lambda = -B (x + y)$, consider how you would solve the ordinary differential equation

$\frac{d}{d x} \Lambda = -B x + c$

where $c$ is a constant? What's the most general solution?

6. Feb 1, 2015

### Flucky

Hmm I think I may have to post the question in full. My original post is just a small part of a bigger question (about Gauge transformations) so I am probably going about it wrong.

7. Feb 1, 2015

### Orodruin

Staff Emeritus
You should always include the full problem as well as your attempts to solve it.