// StartMathJax Script window.MathJax = {loader: {load: [ 'input/asciimath', 'ui/lazy', 'output/chtml', 'ui/menu']} }; (function() { var script = document.createElement('script'); script.src = "https://cdn.jsdelivr.net/npm/mathjax@3/es5/startup.js"; script.async = true; document.head.appendChild(script); })(); ---------- (Different files) ---------- // UpdateTypeset Script config = { attributes: true, childList: true, subtree: true }; // Callback function to execute when mutations are observed callback = (mutationList, observer) => { for (mutation of mutationList) { if (mutation.type === 'childList') { console.log('A child node has been added or removed.'); MathJax.typeset(); } else if (mutation.type === 'attributes') { console.log(`The ${mutation.attributeName} attribute was modified.`); } } }; // Create an observer instance linked to the callback function observer = new MutationObserver(callback); document.onreadystatechange = () => { if (document.readyState === 'complete') { console.log("Loaded fully according to readyState") targetNode = document.getElementById('content-wrapper') console.log(targetNode) // Start observing the target node for configured mutations observer.observe(targetNode, config); } }

Nucleophilic Substitution of Halogenoalkanes

Updated: May 7

A guide to the two pathways for nucleophilic substitution.

SN1 Mechanism

The mechanism involves two-steps.

With a tertiary halide:

In the first step, which is the slow step, the C-Cl bond will break and both electrons will go to Cl. A carbocation intermediate and Cl- form.

The second (fast) step sees the hydroxide, OH-, attacking the carbocation and forming the alcohol.

In the slow step, there is only one halogenoalkane, hence the rate is first order with respect to halogenoalkane and zero order with respect to hydroxide.

The rate equation:

rate = k[RX]

The overall order is one, hence SN1. Tertiary halides favour the SN1 mechanism - there are more electron-donating alkyl groups to stabilise the carbocation intermediate (carbocation is more likely to form).

SN2 Mechanism

The SN2 mechanism is a one-step reaction.

With a primary halide: