Consider the curve $C$ obtained by intersecting the surfaces defined by $$x^2+y^2 + z^2=3$$ and $$x^2-y^2+z^2 =1$$ At the point $(1,1,1)$, which of the following is a tangent vector to the curve?
The answer to this question is $(2, 0, -2)$ , but I don't understand why that is the case. I've tried finding the curve to the two surfaces, but I don't know how to properly do so in this case because I end up with $\pm$ square roots and I'm not sure you need to find it in this case.
I know how to find the tangent vector given a vector equation, just take the derivative and substitute in the point, but I'm missing the vector equation.
Recall that $df(x)/dx$ gives you a slope at $x$ for the function $f(x)$. Along the same lines the gradient of $f(x,y,z)$ will give you the "equivalent to the slope but in higher dimensions". The gradient of your first curve is the vector $(2x 2y 2z)^T$, where $T$ means transpose. The other is computed analogously. Since you have the point of intersection $P=(1,1,1)$, by replacing the coordinates of $P$ into the vectors determined via the gradient you will get 2 vectors (not necessarily parallel). The tangent you are looking for is perpendicular to the two tangents to the curves, so the cross product will lead to a vector pointing in the direction you are looking for up to a multiplicative constant (for example, if you remove the 2 in the gradient vectors and operate you will get a different vector, but the direction is the same).