Yo, listen up, I got a theorem to share
It's about right triangles, so be prepared
Pythagorean theorem, it's the real deal
A math formula that you can't conceal
Legs A and B, they just chillin' on the side
They wanna find the hypotenuse, gotta ride
Squared A and squared B, then you gotta add
The sides of a triangle, now that's kinda rad
Now let's break it down, step by step
We're gonna solve this equation, no need to fret
Take A and square it, then do the same with B
Add 'em together, that's the first part, you see
The hypotenuse is square root of that sum
And that's the Pythagorean theorem, son
It's a mathematical masterpiece, no doubt
Helping us find the missing side, no need to pout
Pythagorean theorem, it's the math we need
Solving right triangles, it's a dope speed
A squared plus B squared equals C squared
Mathematical magic, we're fully prepared
Now, let me drop some knowledge in your ear
This theorem is ancient, been around for years
Named after Pythagoras, a Greek mathematician
His legacy lives on with this mathematical precision