Re: How would you write madness?

It depends on what type you're going for, and what style your prose is in. Generally, first person is a great way to portray madness, as you can narrate from the character's perspective directly. Plugging myself, the only entry so far in my SS collection follows a "maddened" character through first person narration. Check it out if you'd like!

H.P Lovecraft is kind of the master for first person madness narrative, so I'd recommend you check him out too.
If you were going for a third person perspective, consider playing with expectations. With words, either in dialogue or in character thoughts, what's happening. Set things up to seem a certain way from that character's individual perspective. Maybe show other characters around them reacting differently, signaling that someone is interpreting something differently. 

Madness can also be defined in character motivation. Would a religious zealot purging the unclean be considered mad? I'd say yes. Madness is not just in irregular thought, but also irregular action.

Re: How would you write madness?

Depends on the character and the story. I'm probably not going to use any sort of madness for say a villain. I rather a clear thinking villain. And I'm likely not going to use it for a POV character. I might use it for a neutral being or another main character. Because a POV character I think would be up to my skill as a writer, and I don't think I have that skill for that sort of thing.

Aside from that, I'm likely going to have to research it. Whether it's doing medical research or studying other novel in handling it. This is not a character type I've really written about. So yeah, I would have my research cut out for me.

Re: How would you write madness?

Obsession.  Where the rational mind says "hold, enough" the maddened mind says "the task is not yet done."  Past the point of reason, beyond what is proper and good, the goal whatever it is must be gained by any means necessary.  When you strip out the safety controls that guide human life, all manner of horrors are revealed as possible means.

False premises.  From a tiny acorn doth mighty oaks grow.  So does the madness when one proceeds from a single, fundamental error.  If eternal peace, prosperity, happiness and freedom from want could result, if such and end was real and tangible and true... to what ends would one go to reach for that Earthly paradise?  History is rife with lesser examples, lacking in foundational proofs and riddled with corruption within.  On the other hand, what if you could prevent a great vileness, an evil incarnate from growing did you but do one small thing to stop it...  When would you stop, if you were convinced of that the horrors were true?

Persecution.  All manner of harms and misfortunes visit us mere mortals on this Earth.  Some greater, some lesser.  What if you had proof that your various injuries were not merely happenstance, the ill luck that graces us all- but the result of a malevolent intent?  What if proof, valid, believable, testable proofs were offered you in secret, such that you knew that you were being targeted for some strange reason?  And what if no one believed you?  How far would you go to reveal the truth?

Other Worlds.  What if the reality of our own meager perception were not the limit?  Beyond the conscious mind might lay paradise- or entire worlds full of monsters.  What would you do if somehow, some way you became able to see and sense these monsters?  If you could but know the terrible creatures that lurk beyond what science and observable, testable facts reveal, do you honestly think that you could remain psychically intact, once the things learn of your unnatural perception?

Re: How would you write madness?

My thoughts on this are biased, but I think madness is best exemplified by characters who think they're sane.

In other words, having periods of time in the story that are exclusively from the 'insane' character's perspective before changing the perspective. This not only would allows the readers to understand the insanity of the character, but it would also show exactly how easy it is to fall into delusion.

In other words, the very real psychological horror that insanity is just as insidiously logical as sanity for those affected.

Re: How would you write madness?

‘Mad’ characters, by my definition, are slightly insane, so bearing that in mind, I tend to write them laughing. A lot, hysterically, for very little reason. For some reason, uncontrollable, insincere laughter is a sign of sanity slippage for my characters.

Other than that, I echo some of those above me, specifically obsessional and delusional. (Maybe an unclear example, but what comes to mind is a video game character from the Fire Emblem series—whose sole motivation is to kill those responsible for his family’s deaths, but still kills the people who aren’t related to that incident just because they’re on the same side as the person that is.)