Press your lips together. Air flows through your nose. Vocal cords vibrate.

Americans pronounce mathematics as ma-thuh-MA-tuhks (/ˌmæθəˈmæɾəks/). In "mathematics", the "t" between vowels sounds like a quick "d" — the tongue briefly taps the ridge behind the upper teeth. This is called the Flap T, and it's one of the defining features of casual American English. It comes out as MA·thuh·MA·tuhks. Stress falls on the third syllable — keep everything else short and quick. You'll hear it in sentences like "She finds mathematics thought-provoking".
Record yourself saying "mathematics" and play it back. The mic stays on your device — nothing's uploaded.
4 syllables, 10 sounds. Tap a syllable to jump to its row, then explore each sound's mouth shape and how it's made.
Quickly bounce the front of your tongue against the roof of your mouth. Don't stop the airflow — just a quick tap.

Relax your lips, jaw, and tongue completely. Drop your jaw slightly and keep the tongue neutral.
Raise the back of your tongue to touch the soft palate (velum). Stop the air, then release.

Place your tongue tip near the roof of your mouth behind your top teeth. Push air through the narrow gap. No voicing.

The textbook way isn't wrong — it's just not how anyone actually says it.
In "mathematics", the "t" between vowels sounds like a quick "d" — the tongue briefly taps the ridge behind the upper teeth. /t/ or /d/ becomes a quick tap [ɾ] — sounds like a soft D. The tongue briefly taps the ridge behind the upper teeth.
Stress falls on the third syllable, not the others. Stretch MA — keep everything else short and quick.
Don't pronounce the first syllable too fully. The unstressed syllable reduces to a schwa — the lazy "uh" sound — in casual speech.