I've been doing some computations and they don't seem to add up:
Consider an $n$-sphere immersed in $\mathbb{R}^{n+1}$.
Its Riemann tensor should be of the form $R_{abcd} = p *(g_{ac}g_{bd}-g_{ad}g_{bc})$, $p>0$.
Its second fundamental form should be of the form $\Pi_{ab}= k*g_{ab}$. https://en.wikipedia.org/wiki/Gauss%E2%80%93Codazzi_equations#Formal_statement
Wikipedia states that for $M\subset P$, the Gauss equation is
with $X,Y,Z,W\in TM$ .
Now, if I apply the Gauss equation for $P=\mathbb{R}^{n+1}, M= \mathbb{S}^n$, then $R'$ vanishes leaving $R_{abcd} = (-k^{2}) (g_{ac}g_{bd}-g_{ad}g_{bc})$.
However $-k^2$ should be positive which is why I suspect the Wikipedia formula has $R$ and $R'$ switched around.
This is not the only place I've seen the formula like this. I'm really confused. Can you help me figure out where the error is?
Edit: Knowing $R_{bd} = {R^{c}}_{bcd}$ and R = ${R^{a}}_a$, (see here), a curvature tensor $R_{abcd} = (-k^{2}) (g_{ac}g_{bd}-g_{ad}g_{bc})$ would result in a scalar curvature of
$R= -k^2(n(n-1)) < 0$ for the sphere. The scalar curvature of the sphere should be positive.
After Jason DeVito's advice that there are two conventions, long discussions with Seub, and checking the computations of various formulas on Wikipedia pages, I've come up with the following heuristic for Wikipedia formulas:
1)Equations written using linear operator notation use one convention: $$\langle R(X,Y)Z, W \rangle = \langle \Pi (Y, Z), \Pi(X, W)\rangle - \langle \Pi (X, Z), \Pi(Y, W)\rangle $$ $$R(X,Y)Z = \nabla_X \nabla_Y Z - \nabla_Y \nabla_X Z - \nabla_{[X,Y]}Z$$ (see Gauss Codazzi Equations, Second Fundamental Form,Ricci Curvature)
2)Equations written using Ricci calculus/Tensor notation use the opposite convention: $$ R_{xyzw} = \Pi_{xz} \Pi_{yw} - \Pi_{yz} \Pi_{xw}$$ $$A_{v;pq}-A_{v;qp}= A_{\beta}{R^{\beta}}_{vpq}$$ (see Riemann_curvature_tensor,List of formulas in Riemannian geometry)
The idea is to swap the sign of the Riemann curvature tensor when transcribing between tensor notation and operator notation. I haven't seen any formula in Wikipedia that doesn't agree with this heuristic.
I myself prefer tensor notation, and am used to said convention, tough many do Riemannian geometry using operators and may be using the opposite convention.
Edit: The convention does appear written out explicitly: $$R^\rho{}_{\sigma\mu\nu} = dx^\rho(R(\partial_{\mu},\partial_{\nu})\partial_{\sigma})$$ It's weird, but all the Wiki's formulas seem to follow it.