Differentiate ##f(x)=x\cos{x}+2\tan{x}: D/dx ##\tiny{2.4.2}##

  • Thread starter Thread starter karush
  • Start date Start date
  • Tags Tags
    Product rule Trig
Click For Summary
SUMMARY

The discussion focuses on differentiating the function f(x) = x cos(x) + 2 tan(x) using the Product Rule. The derivative is calculated as f'(x) = cos(x) - x sin(x) + 2 sec²(x). Participants also share insights on using LaTeX for mathematical expressions and keyboard shortcuts with AutoHotkey to enhance productivity in writing TeX files.

PREREQUISITES
  • Understanding of the Product Rule in calculus
  • Familiarity with differentiation of trigonometric functions
  • Basic knowledge of LaTeX for typesetting mathematical expressions
  • Experience with AutoHotkey for creating keyboard shortcuts
NEXT STEPS
  • Learn advanced differentiation techniques in calculus
  • Explore LaTeX formatting for complex mathematical expressions
  • Research AutoHotkey scripting for enhanced productivity
  • Study the implications of using displaystyle in LaTeX for mathematical clarity
USEFUL FOR

Students, educators, and professionals in mathematics, particularly those involved in calculus, LaTeX typesetting, and productivity enhancement through scripting tools.

karush
Gold Member
MHB
Messages
3,240
Reaction score
5
Homework Statement
s8.2.4.2
Relevant Equations
product rule
##\tiny{2.4.2}##
Differentiate ##f(x)=x\cos{x}+2\tan{x}##
Product Rule ##[-x\sin{x}+\cos{x}]+[2\sec^2]\implies \cos{x}-x\sin{x}+2\sec^2x##
mostly just seeing how posting here works

typos maybe
suggestions
what forum do I go to for tikz stuff
 
Last edited:
  • Like
Likes   Reactions: vanhees71 and fresh_42
Physics news on Phys.org
karush said:
Homework Statement:: s8.2.4.2
Relevant Equations:: product rule

##\tiny{2.4.2}##
Differentiate ##f(x)=x\cos{x}+2\tan{x}##
Product Rule ##[-x\sin{x}+\cos{x}]+[2\sec^2]\implies \cos{x}-x\sin{x}+2\sec^2x##
mostly just seeing how posting here works

typos maybe
suggestions
what forum do I go to for tikz stuff
The typos are the same. Otherwise, use ## instead of $ for inline LaTeX and $$ for extra lines.
Here is explained how you can type formulas on PF: https://www.physicsforums.com/help/latexhelp/
 
  • Like
Likes   Reactions: vanhees71 and karush
this did not render latex or preview
 
karush said:
this did not render latex or preview
See my previous post and the quotation where I changed the $ and the missing marks ## around \tiny.
 
  • Like
Likes   Reactions: vanhees71 and karush
still does not preview
 
karush said:
still does not preview
Reload the page to enforce a rendering.
 
  • Like
Likes   Reactions: vanhees71 and karush
got it mahalo
however don't see solved option is title
 
karush said:
however don't see solved option is title
We don't usually mark titles as Solved, since sometimes that status can change... :smile:
 
  • Like
Likes   Reactions: karush and topsquark
##\dfrac{a}{b} \quad \frac{a}{b}##

ok I'm surprized you didn't mention \dfrac{}{} in the pdf which is the same as \displaystyle\frac{}{}
 
  • #10
karush said:
##\dfrac{a}{b} \quad \frac{a}{b}##

ok I'm surprized you didn't mention \dfrac{}{} in the pdf which is the same as \displaystyle\frac{}{}
It isn't my manual.

I use AutoHotkey and an entire file of keyboard shortcuts to save time. E.g. Alt+I produces
\begin{align*}

\end{align*}
with the cursor in the middle. Or \operatorname{} is Ctrl+o, again with the cursor at the right position. Similar for two dozen other shortcuts like Ctrl+u for \subseteq and Alt+u for \left. \dfrac{d}{d}\right|_{}

The advantage is that I can write Tex files as quickly as MathJax here.

Displaystyle is important if you want limits and sums within the text written with indexes positioned above and below instead of next to the symbol: ##\sum_{k=0}^n## versus ##\displaystyle{\sum_{k=0}^n}## and the same for ##\lim_{n \to \infty}## versus ##\displaystyle{\lim_{n \to \infty}}.## (Alt+- and Ctrl+-)

Edit: I also abuse AutoHotkey to kill that da** capslock!
 
Last edited:
  • Informative
  • Like
Likes   Reactions: karush, SammyS and berkeman
  • #11
valuable to know that ... mahalo
 

Similar threads

Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
6
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K