# How to take derivative using the Math Palette

I have a basic question on how to take derivatives using Math Palettes:

I would like to get the derivative of cos(k*x - w*t) with respect to x

Typing D[Cos[k*x - w*t], x] successfully returns k Sin[t w - k x], but I also want to learn to do it using Math Palette. When I use the tool like I did below, I cannot do it. How do I fix this? What am I doing wrong? • How did you get those differential ds? Did you copy them from the integral expression? Which palette are you using? – MarcoB Dec 11 '19 at 16:15
• The fancy notation for derivatives is like this in Mathematica: \!$$\*SubscriptBox[\(\[PartialD]$$, $$x$$]$$x^2$$\) (copy this to a notebook to see it formatted) – Szabolcs Dec 11 '19 at 16:16
• @MarcoB, I got the d's from Palettes > Basic Math Assistant > Typesetting. – user68738 Dec 11 '19 at 19:59

## 1 Answer

The palette's typesetting shortcut Derivative notation which looks like this: is intended for inline math typesetting in a text cell. You use it typeset math expressions in text cells. Like this: To take a derivative in a calculation, i.e., in an input cell, use the Single variable derivative shortcut. 