Skip to main content
1 of 3

Jelly, 13 bytes

Ø.,æ*Æṭ,ḢN*Nʋ

Try it online!

Takes input as [v, u] on the left, and a on the right. Outputs as [α, β]

Uses xnor's formula that

$$\alpha = \operatorname{tr} \left( \begin{bmatrix} 0 & 1 \\ v & u \end{bmatrix}^a \right) \\ \beta = -(-v)^a$$

Full explanation coming